├── .gitignore ├── .vscode └── settings.json ├── Dockerfile ├── LICENSE ├── README.md ├── agora ├── __init__.py ├── config.py ├── db │ ├── __init__.py │ ├── channel.py │ ├── identity.py │ ├── message.py │ └── realm.py ├── http │ ├── __init__.py │ ├── util │ │ ├── __init__.py │ │ ├── auth.py │ │ ├── converter.py │ │ └── decos.py │ └── views │ │ ├── __init__.py │ │ ├── auth.py │ │ ├── channel.py │ │ ├── identity.py │ │ ├── instance.py │ │ ├── message.py │ │ ├── realm.py │ │ └── stream.py ├── permissions.py ├── redis.py ├── stream │ └── __init__.py └── util │ ├── __init__.py │ └── json.py ├── bin └── agora-cli ├── docker-compose.yaml ├── docs └── protocol.txt ├── manage.py ├── pytest.ini ├── requirements.txt ├── schema ├── channel.sql ├── identity.sql ├── message.sql └── realm.sql └── tests ├── conftest.py └── http └── views └── test_auth_challenge.py /.gitignore: -------------------------------------------------------------------------------- 1 | .identity 2 | agora.json 3 | todo.txt 4 | scratch.sql 5 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/b1naryth1ef/agora/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/b1naryth1ef/agora/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/b1naryth1ef/agora/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/b1naryth1ef/agora/HEAD/README.md -------------------------------------------------------------------------------- /agora/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /agora/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/b1naryth1ef/agora/HEAD/agora/config.py -------------------------------------------------------------------------------- /agora/db/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/b1naryth1ef/agora/HEAD/agora/db/__init__.py -------------------------------------------------------------------------------- /agora/db/channel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/b1naryth1ef/agora/HEAD/agora/db/channel.py -------------------------------------------------------------------------------- /agora/db/identity.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/b1naryth1ef/agora/HEAD/agora/db/identity.py -------------------------------------------------------------------------------- /agora/db/message.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/b1naryth1ef/agora/HEAD/agora/db/message.py -------------------------------------------------------------------------------- /agora/db/realm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/b1naryth1ef/agora/HEAD/agora/db/realm.py -------------------------------------------------------------------------------- /agora/http/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/b1naryth1ef/agora/HEAD/agora/http/__init__.py -------------------------------------------------------------------------------- /agora/http/util/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/b1naryth1ef/agora/HEAD/agora/http/util/__init__.py -------------------------------------------------------------------------------- /agora/http/util/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/b1naryth1ef/agora/HEAD/agora/http/util/auth.py -------------------------------------------------------------------------------- /agora/http/util/converter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/b1naryth1ef/agora/HEAD/agora/http/util/converter.py -------------------------------------------------------------------------------- /agora/http/util/decos.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/b1naryth1ef/agora/HEAD/agora/http/util/decos.py -------------------------------------------------------------------------------- /agora/http/views/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /agora/http/views/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/b1naryth1ef/agora/HEAD/agora/http/views/auth.py -------------------------------------------------------------------------------- /agora/http/views/channel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/b1naryth1ef/agora/HEAD/agora/http/views/channel.py -------------------------------------------------------------------------------- /agora/http/views/identity.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/b1naryth1ef/agora/HEAD/agora/http/views/identity.py -------------------------------------------------------------------------------- /agora/http/views/instance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/b1naryth1ef/agora/HEAD/agora/http/views/instance.py -------------------------------------------------------------------------------- /agora/http/views/message.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/b1naryth1ef/agora/HEAD/agora/http/views/message.py -------------------------------------------------------------------------------- /agora/http/views/realm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/b1naryth1ef/agora/HEAD/agora/http/views/realm.py -------------------------------------------------------------------------------- /agora/http/views/stream.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/b1naryth1ef/agora/HEAD/agora/http/views/stream.py -------------------------------------------------------------------------------- /agora/permissions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/b1naryth1ef/agora/HEAD/agora/permissions.py -------------------------------------------------------------------------------- /agora/redis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/b1naryth1ef/agora/HEAD/agora/redis.py -------------------------------------------------------------------------------- /agora/stream/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /agora/util/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /agora/util/json.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/b1naryth1ef/agora/HEAD/agora/util/json.py -------------------------------------------------------------------------------- /bin/agora-cli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/b1naryth1ef/agora/HEAD/bin/agora-cli -------------------------------------------------------------------------------- /docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/b1naryth1ef/agora/HEAD/docker-compose.yaml -------------------------------------------------------------------------------- /docs/protocol.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/b1naryth1ef/agora/HEAD/docs/protocol.txt -------------------------------------------------------------------------------- /manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/b1naryth1ef/agora/HEAD/manage.py -------------------------------------------------------------------------------- /pytest.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/b1naryth1ef/agora/HEAD/pytest.ini -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/b1naryth1ef/agora/HEAD/requirements.txt -------------------------------------------------------------------------------- /schema/channel.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/b1naryth1ef/agora/HEAD/schema/channel.sql -------------------------------------------------------------------------------- /schema/identity.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/b1naryth1ef/agora/HEAD/schema/identity.sql -------------------------------------------------------------------------------- /schema/message.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/b1naryth1ef/agora/HEAD/schema/message.sql -------------------------------------------------------------------------------- /schema/realm.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/b1naryth1ef/agora/HEAD/schema/realm.sql -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/b1naryth1ef/agora/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/http/views/test_auth_challenge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/b1naryth1ef/agora/HEAD/tests/http/views/test_auth_challenge.py --------------------------------------------------------------------------------