Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide filtered XMPP provider lists on https://xmpp.net #14

Closed
melvo opened this issue Jun 26, 2021 · 11 comments
Closed

Provide filtered XMPP provider lists on https://xmpp.net #14

melvo opened this issue Jun 26, 2021 · 11 comments
Labels
enhancement New feature or request

Comments

@melvo
Copy link
Contributor

melvo commented Jun 26, 2021

@mwild1 proposed that a subdomain of https://xmpp.net could provide the filtered lists of category A, B and C of the XMPP Providers project.

Steps

  1. git clone https://invent.kde.org/melvo/xmpp-providers.git && cd xmpp-providers only once
  2. git pull && ./filter.py -A && ./filter.py -B && ./filter.py -C once a day or even more often

Software Requirements

Python >= 3.7 is required for running ./filter.py.

Additional Thoughts

We could link from https://invent.kde.org/melvo/xmpp-providers to the three created JSON files on https://providers.xmpp.net or a similar subdomain.
It would be great if we could provide those lists as a first easy goal. In the future, we could create a welcome page with links to all lists or even a nice formatted table on https://providers.xmpp.net.

@melvo melvo changed the title Provide XMPP provider list on https://xmpp.net Provide filtered XMPP provider lists on https://xmpp.net Jun 26, 2021
@melvo
Copy link
Contributor Author

melvo commented Jun 26, 2021

@Echolon This is the issue for providing the filtered lists by a web server.

@Echolon
Copy link
Member

Echolon commented Jun 26, 2021

Great @melvo

@Echolon Echolon added the enhancement New feature or request label Jun 26, 2021
@mwild1
Copy link
Contributor

mwild1 commented Jun 26, 2021

Thanks for filing this! If someone can put together a Dockerfile, it should be pretty easy to get deployed. Otherwise I'll try to do it, but whether I have time this week depends on how the jabber.org migration goes.

@Echolon
Copy link
Member

Echolon commented Jun 26, 2021

@mwild1 great - thanks for your support. lets see what we can do here!

@mwild1
Copy link
Contributor

mwild1 commented Jul 20, 2021

I've made a Dockerfile for this, but I'm uneasy about the automatic git pull from a non-XSF code repository. If the repository were ever compromised, it would allow executing arbitrary code on our server (within a container, but containers are not sufficient for isolation of untrusted code).

Some options that would be okay:

  • Automatic update of non-code files only (e.g. auto-update for providers.json, but not filter.py)
  • Pulling pre-built JSON files from somewhere else
  • Moving the repo to github.com/xsf so that XSF iteam members can review and approve changes to the code before they are deployed.

@melvo
Copy link
Contributor Author

melvo commented Jul 23, 2021

@mwild1 Thanks!

The latest provider lists are now automatically created and must only be fetched:
providers-A.json
providers-B.json
providers-C.json

I propose to do that once a day if possible.

@Echolon
Copy link
Member

Echolon commented Jul 26, 2021

Category A via data.xmpp.net

https://data.xmpp.net/providers/v1/providers-A.json

@melvo
Copy link
Contributor Author

melvo commented Aug 26, 2021

@mwild1 Are the provider lists
https://data.xmpp.net/providers/v1/providers-A.json
https://data.xmpp.net/providers/v1/providers-B.json
https://data.xmpp.net/providers/v1/providers-C.json
regularly updated and will you add the Dockerfile to this repository?

@mwild1
Copy link
Contributor

mwild1 commented Feb 22, 2022

They are (now) and yes, I have. Thanks for your patience :)

@mwild1 mwild1 closed this as completed Feb 22, 2022
@Echolon
Copy link
Member

Echolon commented Feb 22, 2022

❤❤❤

@melvo
Copy link
Contributor Author

melvo commented Feb 23, 2022

@mwild1 Thanks! I created two new issues (xsf/xmpp.org#1083 and #19) for the next steps :)
The XMPP Providers service has been added by f4e923a.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants