(self, to, connecting_sites=False)
| 874 | # List all site info |
| 875 | @flag.admin |
| 876 | def actionSiteList(self, to, connecting_sites=False): |
| 877 | ret = [] |
| 878 | SiteManager.site_manager.load() # Reload sites |
| 879 | for site in list(self.server.sites.values()): |
| 880 | if not site.content_manager.contents.get("content.json") and not connecting_sites: |
| 881 | continue # Incomplete site |
| 882 | ret.append(self.formatSiteInfo(site, create_user=False)) # Dont generate the auth_address on listing |
| 883 | self.response(to, ret) |
| 884 | |
| 885 | # Join to an event channel on all sites |
| 886 | @flag.admin |
nothing calls this directly
no test coverage detected