Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits:
49ae50f6 by lovetox at 2020-03-15T16:59:18+01:00
Client: Fix method call
- - - - -
1 changed file:
- nbxmpp/client.py
Changes:
=====================================
nbxmpp/client.py
=====================================
@@ -662,7 +662,7 @@ class Client(Observable):
elif self.is_stream_secure:
if self._mode.is_register:
- if features.has_register:
+ if features.has_register():
self.state = StreamState.ACTIVE
self._dispatcher.set_dispatch_callback(None)
self.notify('connected')
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/49ae50f646ae9c8afe92bb78…
--
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/49ae50f646ae9c8afe92bb78…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits:
96961854 by lovetox at 2020-03-15T09:51:01+01:00
NodeBuilder: Don't add empty strings to cdata list
It seems to serv no purpose and messes up the pretty printing
- - - - -
1 changed file:
- nbxmpp/simplexml.py
Changes:
=====================================
nbxmpp/simplexml.py
=====================================
@@ -625,8 +625,6 @@ class NodeBuilder:
except ValueError as e:
self._document_attrs = None
raise ValueError(str(e))
- if not self.last_is_data and self._ptr.parent:
- self._ptr.parent.data.append('')
self.last_is_data = 0
def _check_stream_start(self, ns, tag):
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/96961854ec58dff104eb6726…
--
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/96961854ec58dff104eb6726…
You're receiving this email because of your account on dev.gajim.org.
André pushed to branch master at gajim / gajim
Commits:
e568cad5 by André Apitzsch at 2020-03-13T00:14:22+01:00
Flatpak: Fix line ending in README
- - - - -
57cb8142 by André Apitzsch at 2020-03-14T19:38:55+01:00
Flatpak: Update nightly version information
- - - - -
1 changed file:
- flatpak/README.md
Changes:
=====================================
flatpak/README.md
=====================================
@@ -1,118 +1,126 @@
-# Install Gajim via Flatpak
-
-## Install pre-built version
-
-Make sure to follow the [setup guide](https://flatpak.org/setup/) before installing.
-
-*Note: Remove `--user` if you want a system-wide installation.*
-
-### Stable
-
-```bash
-flatpak install --user https://flathub.org/repo/appstream/org.gajim.Gajim.flatpakref
-```
-
-### Nightly/master
-
-```bash
-flatpak install --user https://ftp.gajim.org/flatpak/appstream/org.gajim.Gajim.flatpakref
-```
-
-[Migrate your profile data](#migrate-your-data) if you like.
-
-### Install plugins
-
-To list available plugins, run
-
-```bash
-flatpak search gajim.plugin
-```
-
-To install the stable/nightly version of OMEMO, for example, run
-
-```bash
-flatpak install --user flathub org.gajim.Gajim.Plugin.omemo
-```
-
-or
-
-```bash
-flatpak install --user gajim-nightly org.gajim.Gajim.Plugin.omemo
-```
-
-respectively.
-
-Note that **you need to restart Gajim** for Plugins to be enabled.
-
-## Install from source
-
-**Prerequisites:**
-
-You need to have `flatpak` and `flatpak-builder` installed. For this example, we use `git` for downloading/updating Gajim's sources.
-
-### Download Gajim's sources
-
-In this example, we do a `git clone` of the repository, so you need to have `git` installed.
-Alternatively, you can also download the sources from our Gitlab via web browser.
-
-```bash
-git clone https://dev.gajim.org/gajim/gajim.git ~/Gajim
-cd ~/Gajim
-```
-
-*Note: Source tarballs and snapshots do _not_ include 'org.gajim.Gajim.yaml', which is necessary for installation via Flatpak.*
-
-### Install Gajim and dependencies
-
-Replace install path `~/Gajim/gajim_flatpak` with an install path of your choice.
-
-*Note: Remove `--user` if you want a system-wide installation.*
-
-```bash
-flatpak --user remote-add --from gnome https://sdk.gnome.org/gnome.flatpakrepo
-flatpak --user install gnome org.gnome.Platform//3.34
-flatpak --user install gnome org.gnome.Sdk//3.34
-flatpak-builder --repo=gajim_flatpak_repo ~/Gajim/gajim_flatpak ~/Gajim/flatpak/org.gajim.Gajim.yaml
-flatpak --user remote-add --no-gpg-verify gajim_flatpak_repo gajim_flatpak_repo
-flatpak --user install gajim_flatpak_repo org.gajim.Gajim
-flatpak run org.gajim.Gajim
-```
-
-That's it, you are now running Gajim via Flatpak!
-
-[Migrate your profile data](#migrate-your-data) if you like.
-
-## How to update
-
-### Update Gajim's sources
-
-In this example, we use `git` to update the repository. You can also download the sources from our Gitlab via webbrowser.
-
-```bash
-cd ~/Gajim
-git pull --rebase
-```
-
-### Remove previous Flatpak directory
-
-```bash
-rm -r ~/Gajim/gajim_flatpak
-```
-
-### Install and update Gajim
-
-```bash
-flatpak-builder --repo=gajim_flatpak_repo ~/Gajim/gajim_flatpak ~/Gajim/flatpak/org.gajim.Gajim.yaml
-flatpak --user update
-flatpak run org.gajim.Gajim
-```
-
-Gajim is now updated.
-
-## Migrate your data
-
-When switching to Flatpak you might want to migrate your user data (accounts, history, ...) from your previous installation. Just copy your user data from/to the following directories:
-
-Copy `.local/share/gajim` -> `.var/app/org.gajim.Gajim/data/gajim`
-
-Copy `.config/gajim` -> `.var/app/org.gajim.Gajim/config/gajim`
+# Install Gajim via Flatpak
+
+## Install pre-built version
+
+Make sure to follow the [setup guide](https://flatpak.org/setup/) before installing.
+
+*Note: Remove `--user` if you want a system-wide installation.*
+
+### Stable
+
+```bash
+flatpak install --user https://flathub.org/repo/appstream/org.gajim.Gajim.flatpakref
+```
+
+### Nightly/master
+
+```bash
+flatpak install --user https://ftp.gajim.org/flatpak/appstream/org.gajim.Gajim.Devel.flatpakref
+```
+
+[Migrate your profile data](#migrate-your-data) if you like.
+
+### Install plugins
+
+To list available stable/nightly plugins, run
+
+```bash
+flatpak search gajim.plugin
+```
+
+or
+
+```bash
+flatpak remote-ls gajim-nightly
+```
+
+respectively.
+
+To install the stable/nightly version of OMEMO, for example, run
+
+```bash
+flatpak install --user flathub org.gajim.Gajim.Plugin.omemo
+```
+
+or
+
+```bash
+flatpak install --user gajim-nightly org.gajim.Gajim.Devel.Plugin.omemo
+```
+
+respectively.
+
+Note that **you need to restart Gajim** for Plugins to be enabled.
+
+## Install from source
+
+**Prerequisites:**
+
+You need to have `flatpak` and `flatpak-builder` installed. For this example, we use `git` for downloading/updating Gajim's sources.
+
+### Download Gajim's sources
+
+In this example, we do a `git clone` of the repository, so you need to have `git` installed.
+Alternatively, you can also download the sources from our Gitlab via web browser.
+
+```bash
+git clone https://dev.gajim.org/gajim/gajim.git ~/Gajim
+cd ~/Gajim
+```
+
+*Note: Source tarballs and snapshots do _not_ include 'org.gajim.Gajim.yaml', which is necessary for installation via Flatpak.*
+
+### Install Gajim and dependencies
+
+Replace install path `~/Gajim/gajim_flatpak` with an install path of your choice.
+
+*Note: Remove `--user` if you want a system-wide installation.*
+
+```bash
+flatpak --user remote-add --from gnome https://sdk.gnome.org/gnome.flatpakrepo
+flatpak --user install gnome org.gnome.Platform//3.34
+flatpak --user install gnome org.gnome.Sdk//3.34
+flatpak-builder --repo=gajim_flatpak_repo ~/Gajim/gajim_flatpak ~/Gajim/flatpak/org.gajim.Gajim.yaml
+flatpak --user remote-add --no-gpg-verify gajim_flatpak_repo gajim_flatpak_repo
+flatpak --user install gajim_flatpak_repo org.gajim.Gajim
+flatpak run org.gajim.Gajim
+```
+
+That's it, you are now running Gajim via Flatpak!
+
+[Migrate your profile data](#migrate-your-data) if you like.
+
+## How to update
+
+### Update Gajim's sources
+
+In this example, we use `git` to update the repository. You can also download the sources from our Gitlab via webbrowser.
+
+```bash
+cd ~/Gajim
+git pull --rebase
+```
+
+### Remove previous Flatpak directory
+
+```bash
+rm -r ~/Gajim/gajim_flatpak
+```
+
+### Install and update Gajim
+
+```bash
+flatpak-builder --repo=gajim_flatpak_repo ~/Gajim/gajim_flatpak ~/Gajim/flatpak/org.gajim.Gajim.yaml
+flatpak --user update
+flatpak run org.gajim.Gajim
+```
+
+Gajim is now updated.
+
+## Migrate your data
+
+When switching to Flatpak you might want to migrate your user data (accounts, history, ...) from your previous installation. Just copy your user data from/to the following directories:
+
+Copy `.local/share/gajim` -> `.var/app/org.gajim.Gajim/data/gajim`
+
+Copy `.config/gajim` -> `.var/app/org.gajim.Gajim/config/gajim`
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/compare/8b9da8f9ab69142848bf866254b7221…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/compare/8b9da8f9ab69142848bf866254b7221…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits:
86064be3 by lovetox at 2020-03-12T22:37:25+01:00
Update README.md
- - - - -
02464885 by lovetox at 2020-03-12T22:37:58+01:00
Update setup.cfg
Remove pyOpenSSL dependency
- - - - -
2 changed files:
- README.md
- setup.cfg
Changes:
=====================================
README.md
=====================================
@@ -2,14 +2,15 @@
`python-nbxmpp` is a Python library that provides a way for Python applications to use the Jabber/XMPP network in a non-blocking way. This library was initially a fork of `xmpppy`, but is now using non-blocking sockets.
+## Runtime Requirements
+
+- PyGObject
+- GLib >= 2.60
+- libsoup
+- precis-i18n
+
## Features
-* Asynchronous
-* Supports ANONYMOUS, EXTERNAL, GSSAPI, SCRAM-SHA-1, DIGEST-MD5, PLAIN, and X-MESSENGER-OAUTH2 authentication mechanisms.
-* Supports connection via proxies
-* Supports TLS
-* Supports [BOSH (XEP-0124)](https://xmpp.org/extensions/xep-0124.html)
-* Supports [Stream Management (XEP-0198)](https://xmpp.org/extensions/xep-0198.html)
* List of [supported XEPs](https://dev.gajim.org/gajim/python-nbxmpp/-/wikis/Supported-XEPs-in-p…
## Starting Points
@@ -26,3 +27,5 @@ Run the following:
### Usage
To use python-nbxmpp, `import nbxmpp` in your application.
+
+or use the example client `python3 -m nbxmpp.examples.client`
=====================================
setup.cfg
=====================================
@@ -15,7 +15,6 @@ python_requires = >=3.5
packages = find:
install_requires =
precis-i18n>=1.0.0
- pyOpenSSL>=16.2
[options.packages.find]
exclude =
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/compare/b714f7c468efe481f72d8bf…
--
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/compare/b714f7c468efe481f72d8bf…
You're receiving this email because of your account on dev.gajim.org.