Compare commits
	
		
			433 Commits
		
	
	
		
			slix-1.7.2
			...
			pyproject-
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | e45901064c | ||
|   | 0b6496a7b1 | ||
|   | 7732af8991 | ||
|   | 25c28ff5d1 | ||
|   | e3e0d8f43e | ||
|   | 13729e47a6 | ||
|   | f12860bfad | ||
|   | bcbc7281e7 | ||
|   | 8787aa1064 | ||
|   | f3522eb84b | ||
|   | da9646cdaa | ||
|   | db1fc5fbc5 | ||
|   | 209554e63f | ||
|   | 2d02ef9bcb | ||
|   | 18c3db4d6e | ||
|   | 6d6fdc6419 | ||
|   | 4936fb06bf | ||
|   | 5e47286445 | ||
|   | 8bead23799 | ||
|   | 56c906f207 | ||
|   | 876c82037f | ||
|   | fae4a38e84 | ||
|   | 2b59d299a1 | ||
|   | 51a4efb0f4 | ||
|   | 8f77bd4ee5 | ||
|   | 71128349a4 | ||
|   | bc2cebae6c | ||
|   | 2080d08d63 | ||
|   | e16f72d32d | ||
|   | 4fa068da54 | ||
|   | 21e5cd4435 | ||
|   | 1a40699bcc | ||
|   | ebb8bd1e71 | ||
|   | 78b42bdbbe | ||
|   | abd3f40e96 | ||
|   | b6f148e4e6 | ||
|   | 968fb0bac3 | ||
|   | 8dcbcbf8a0 | ||
|   | de7b2d33a3 | ||
|   | fd1af054c5 | ||
|   | e34fbfb28f | ||
|   | af16832ad0 | ||
|   | 40a857de65 | ||
|   | 79ffa1668f | ||
|   | b4b1efe058 | ||
|   | de358464d0 | ||
|   | 92b4f2a7eb | ||
|   | 1f934d375c | ||
|   | 700ce6b32e | ||
|   | 5efa9804ba | ||
|   | 9b0be1ca2b | ||
|   | 5c19f16287 | ||
|   | af07864cbb | ||
|   | dc4b1c7367 | ||
|   | 4a6064772c | ||
|   | 80a89061f1 | ||
|   | 8f4d8f76d1 | ||
|   | 656248ede7 | ||
|   | 980afe791f | ||
|   | 3725177d0b | ||
|   | 26fb0d1f91 | ||
|   | 5eb17e7633 | ||
|   | fdca7d82c4 | ||
|   | 9b89401b36 | ||
|   | 7300f1285e | ||
|   | 9b51be1e17 | ||
|   | 89b1e1e682 | ||
|   | a7501abe56 | ||
|   | 6940e4276b | ||
|   | 752f4258df | ||
|   | b60b1b985d | ||
|   | e93e43df66 | ||
|   | cfd1af88eb | ||
|   | 65636b8cce | ||
|   | 7a0fb97083 | ||
|   | 189bbcce19 | ||
|   | 79607e43f1 | ||
|   | e062181f84 | ||
|   | 97b0c7ffac | ||
|   | c2ece57dee | ||
|   | afdfa1ee57 | ||
|   | cba5dc7ddc | ||
|   | b3a6c7a4ea | ||
|   | 11e27d1d7d | ||
|   | fbdff30dda | ||
|   | 62701bc562 | ||
|   | b14918808c | ||
|   | f5cb9fe66b | ||
|   | 8bd53f7098 | ||
|   | c955cf1c66 | ||
|   | 6904ae63f5 | ||
|   | 1caada197a | ||
|   | 450aaa7f86 | ||
|   | d43c83800e | ||
|   | 14786abd34 | ||
|   | 1f47acaec1 | ||
|   | ed820bf551 | ||
|   | afedfa4b06 | ||
|   | 5998069203 | ||
|   | 356f16f5af | ||
|   | b8f301b26f | ||
|   | ffaeb31219 | ||
|   | 9560f39de7 | ||
|   | f7a38a028a | ||
|   | 65d70fe417 | ||
|   | 108a256537 | ||
|   | 78a5f79240 | ||
|   | fc63768cfc | ||
|   | 90e79af18a | ||
|   | 5e5a741994 | ||
|   | b44ab17c8f | ||
|   | afb5419b68 | ||
|   | a1a5f3984d | ||
|   | 8eb8769862 | ||
|   | 5ceb48bbcd | ||
|   | 916894ab7c | ||
|   | 2b45c22fcb | ||
|   | 566e7dc771 | ||
|   | aa492f905c | ||
|   | e1a240ec6c | ||
|   | 771839242c | ||
|   | 8bac744009 | ||
|   | 88d2f5dae4 | ||
|   | f7902d056e | ||
|   | 41afbb10df | ||
|   | aca4addb9c | ||
|   | 914ce40fd5 | ||
|   | 82ff68cfac | ||
|   | 28d44ecf74 | ||
|   | fcec6742cf | ||
|   | fedbb248ec | ||
|   | e8679fe32b | ||
|   | 06e4e480c1 | ||
|   | 82ee250295 | ||
|   | 53d38a8115 | ||
|   | 41d733e77f | ||
|   | 0fba8fd7f8 | ||
|   | b899baabd8 | ||
|   | acad41f3b7 | ||
|   | bde5aaaf3e | ||
|   | 7222ade0dd | ||
|   | 14a6c7801d | ||
|   | b52540e49f | ||
|   | c1aeab328b | ||
|   | 51644e301b | ||
|   | bc8af3cc61 | ||
|   | 3c08f471cf | ||
|   | 54b724c28b | ||
|   | abd699593f | ||
|   | 4202ed4cd5 | ||
|   | 60df4ef7aa | ||
|   | ad610c7ded | ||
|   | e8f45dedfe | ||
|   | 51a7cad7e1 | ||
|   | 389a358996 | ||
|   | 001e0c7060 | ||
|   | 5c4c867dee | ||
|   | b23b805dc5 | ||
|   | 11b555af20 | ||
|   | 06172ea896 | ||
|   | 815b7d5af7 | ||
|   | 28fe68c7d3 | ||
|   | d15a37e146 | ||
|   | 98dba869c7 | ||
|   | bcb4495c6d | ||
|   | 22b00c6073 | ||
|   | a50bffae89 | ||
|   | 92c3f69829 | ||
|   | 1e7d7bf8cb | ||
|   | 53f0971fd0 | ||
|   | e543e22e78 | ||
|   | 714f9aae0d | ||
|   | 9eb4462acc | ||
|   | d5502c9be7 | ||
|   | 33efbd4d7b | ||
|   | e344c0c303 | ||
|   | 9f38c8944d | ||
|   | e56930e0a1 | ||
|   | d733c54518 | ||
|   | 834ea8ed74 | ||
|   | 90662d148e | ||
|   | 237405e3a0 | ||
|   | 623d2cc27e | ||
|   | 6fb4617732 | ||
|   | 0e5a4726af | ||
|   | 8ba054dd53 | ||
|   | e1b135c667 | ||
|   | 4ca1de92b3 | ||
|   | 799a6a07a9 | ||
|   | be6dde17f1 | ||
|   | 14ae84d666 | ||
|   | 0cc1095ffc | ||
|   | 4cab1f62aa | ||
|   | 4d7786a830 | ||
|   | 8fccfc452b | ||
|   | ed514e6f73 | ||
|   | bac6a4b2bf | ||
|   | d4067275ff | ||
|   | 91d32bd066 | ||
|   | 22fa8bc4d9 | ||
|   | 5c54806578 | ||
|   | 42ca51e2b1 | ||
|   | de6c19c9cd | ||
|   | ca1cc73c79 | ||
|   | 9489586cb4 | ||
|   | 524c352da3 | ||
|   | 35eafadb44 | ||
|   | af958fd1fe | ||
|   | 0971bab30a | ||
|   | ed3bb878a7 | ||
|   | f2d7e86fc7 | ||
|   | fe1a325aa7 | ||
|   | ea7f7d8119 | ||
|   | 3516016f32 | ||
|   | a57aae792d | ||
|   | d6924fa7ad | ||
|   | 20e4c2c257 | ||
|   | df963542c1 | ||
|   | 7fc3c48cad | ||
|   | 7d4172808f | ||
|   | 95b034797f | ||
|   | f1b429199f | ||
|   | db48c8f4da | ||
|   | c07476e7de | ||
|   | 62e66e7d03 | ||
|   | 79f71ec0c1 | ||
|   | 451bee0892 | ||
|   | 00d38c1b29 | ||
|   | fed55d3dda | ||
|   | 4931e7e604 | ||
|   | 9f01d368c0 | ||
|   | ef06429941 | ||
|   | b1411d8ed7 | ||
|   | 889cfaa95b | ||
|   | b7f0160c0d | ||
|   | 528553be57 | ||
|   | 6f4ac7e7ce | ||
|   | aaab58d229 | ||
|   | 0b5f6cb0a8 | ||
|   | 027545eb71 | ||
|   | 290d84cd0f | ||
|   | f058e62680 | ||
|   | 104917163d | ||
|   | d184442337 | ||
|   | a4789acbfb | ||
|   | 3630c3d1cc | ||
|   | 41fc6a2e6b | ||
|   | 7f0febb929 | ||
|   | 44392fa2d9 | ||
|   | 7bb94afdc8 | ||
|   | 8828a5b99d | ||
|   | 0d52344a31 | ||
|   | 768089d457 | ||
|   | eee185ff90 | ||
|   | 99c6fc923a | ||
|   | d4e1b68534 | ||
|   | 3bb01de120 | ||
|   | 7057773d18 | ||
|   | 894131d772 | ||
|   | fcf666e3cb | ||
|   | 3e5943f458 | ||
|   | 7ddcc3428f | ||
|   | d77eb3a7e8 | ||
|   | 7f90fb594a | ||
|   | 1cf6393b61 | ||
|   | 7c86c43fc7 | ||
|   | 8a1f9bec56 | ||
|   | ad2673fd2c | ||
|   | 0115feaa31 | ||
|   | 3613cd5f14 | ||
|   | 644ebfe89f | ||
|   | e329eadbed | ||
|   | 4cdcc4d155 | ||
|   | 97a63b9f25 | ||
|   | dbbc47e02d | ||
|   | 7d2b245bb0 | ||
|   | e5f4794a36 | ||
|   | d7d4baefa3 | ||
|   | 1289cf575c | ||
|   | a568363a6c | ||
|   | eac5ad50a8 | ||
|   | e97f5ccb9c | ||
|   | 432a332636 | ||
|   | 30b1d27fc1 | ||
|   | cb83ebe32c | ||
|   | cd0845515a | ||
|   | ade1b010ed | ||
|   | 5ff46d6245 | ||
|   | 5a3ab2c5c1 | ||
|   | 27cf97458b | ||
|   | ae31f78b63 | ||
|   | c1a598c34b | ||
|   | 2314ee422a | ||
|   | 9b5f3d9df0 | ||
|   | 49416dacbc | ||
|   | e3027dabb2 | ||
|   | 10611525a0 | ||
|   | 2ff72d88fd | ||
|   | 9561a2a305 | ||
|   | 2dac77e680 | ||
|   | 0726b79345 | ||
|   | 9f1ded7f5f | ||
|   | bea2669907 | ||
|   | a288094b64 | ||
|   | f12b04bd0b | ||
|   | 059cb290d8 | ||
|   | 3cdec464a5 | ||
|   | 9927e69435 | ||
|   | 8e388df8e0 | ||
|   | 8eee559d39 | ||
|   | 2fed9f9ad2 | ||
|   | 9947d3db85 | ||
|   | ab87b25030 | ||
|   | e24e2f58d4 | ||
|   | 4960cffcb4 | ||
|   | f0aec1614f | ||
|   | 504067d5a8 | ||
|   | 0b3233a6e8 | ||
|   | f7ecce42ac | ||
|   | d17967f58e | ||
|   | 13de36baa1 | ||
|   | 7772e26a8c | ||
|   | 0b6326e1cc | ||
|   | d51c4e307d | ||
|   | 8da5310ea6 | ||
|   | 5f9ab45a5e | ||
|   | 6d241be789 | ||
|   | babd98dac7 | ||
|   | b8b57960f1 | ||
|   | 5764ef7ff7 | ||
|   | 7381460556 | ||
|   | 8b7648502b | ||
|   | 17a663b0fd | ||
|   | 9270d1e538 | ||
|   | 35c68738a7 | ||
|   | 751987e2b0 | ||
|   | 35a9526a4c | ||
|   | 7e3e056e6b | ||
|   | 94700de7a3 | ||
|   | 2f0660c6ff | ||
|   | ba7e5e417f | ||
|   | 2ba89727a6 | ||
|   | a397cc3a7d | ||
|   | 626bf5ff8a | ||
|   | cef7b5cf05 | ||
|   | 8d92027d01 | ||
|   | dcab3de1b4 | ||
|   | 3453ebf0c5 | ||
|   | 699a2620b7 | ||
|   | 5d7918b122 | ||
|   | 3eeef6b4b6 | ||
|   | f50dfd6644 | ||
|   | bbcc977d1d | ||
|   | 3668e79fbc | ||
|   | febfb6d6ca | ||
|   | 3b43d8eb7f | ||
|   | 6520376977 | ||
|   | 8b5776faec | ||
|   | ea2d851a93 | ||
|   | a7d690813c | ||
|   | 02262679e9 | ||
|   | 654178b960 | ||
|   | 02e0afbf0f | ||
|   | ace82c9bc4 | ||
|   | 53dc9847e2 | ||
|   | bfbc433c8d | ||
|   | ba7c7f4bb9 | ||
|   | 7cde0db4aa | ||
|   | 1c4e06d510 | ||
|   | 80ee551acd | ||
|   | f0601cdb84 | ||
|   | 0978f66736 | ||
|   | 679432591e | ||
|   | bc04da256a | ||
|   | b9e479f213 | ||
|   | 648ca16b4c | ||
|   | 622cfd4ed7 | ||
|   | d850b9a9f7 | ||
|   | fb74e46c35 | ||
|   | 603cbccddd | ||
|   | bbd351e9c1 | ||
|   | cff4588499 | ||
|   | 89601289fe | ||
|   | 6c3f26161e | ||
|   | d6ab3124ce | ||
|   | cb8d2edc8d | ||
|   | 69e04d7d2e | ||
|   | ace5aeb80e | ||
|   | 712ac671e1 | ||
|   | 99c2e5cafd | ||
|   | 8e612bf229 | ||
|   | 7860edefe9 | ||
|   | fbb8993244 | ||
|   | 77c8caf205 | ||
|   | c82e1a4039 | ||
|   | 69b265b975 | ||
|   | 917cb555d5 | ||
|   | d3fb993b29 | ||
|   | ccbba89cbd | ||
|   | d3063a0368 | ||
|   | 40196aefeb | ||
|   | 782dbdea65 | ||
|   | 650e1a2ed5 | ||
|   | c486c0e821 | ||
|   | f8c39bae60 | ||
|   | d9975aa4c0 | ||
|   | 17f08929f9 | ||
|   | d8dbfaa37e | ||
|   | cb3d9dd41c | ||
|   | e6e57f6e8c | ||
|   | 64299d6a54 | ||
|   | f6761e513d | ||
|   | f2878e1764 | ||
|   | 2585764b46 | ||
|   | a16792e990 | ||
|   | 6448d09c30 | ||
|   | a85e5225f9 | ||
|   | 3c19f69c25 | ||
|   | 846c42e386 | ||
|   | 1f97462391 | ||
|   | c7d87a27e1 | ||
|   | a8113dca49 | ||
|   | eda692d1c6 | ||
|   | 7932a03378 | ||
|   | e9b07e32bb | ||
|   | 8689212602 | ||
|   | 68649d0089 | ||
|   | 473575d276 | ||
|   | ab9b7115de | ||
|   | 58f4ccf5c7 | ||
|   | f41fd7cce4 | ||
|   | 04a3f609e2 | ||
|   | 119f59ecbe | 
							
								
								
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -13,3 +13,5 @@ slixmpp.egg-info/ | |||||||
| .baboon/ | .baboon/ | ||||||
| .DS_STORE | .DS_STORE | ||||||
| .idea/ | .idea/ | ||||||
|  | .vscode/ | ||||||
|  | venv/ | ||||||
| @@ -1,30 +1,74 @@ | |||||||
| stages: | stages: | ||||||
|  |   - lint | ||||||
|   - test |   - test | ||||||
|   - trigger |   - trigger | ||||||
|  |  | ||||||
| test: | mypy: | ||||||
|  |   stage: lint | ||||||
|  |   tags: | ||||||
|  |     - docker | ||||||
|  |   image: python:3 | ||||||
|  |   script: | ||||||
|  |     - pip3 install mypy | ||||||
|  |     - mypy slixmpp | ||||||
|  |  | ||||||
|  | test-3.7: | ||||||
|   stage: test |   stage: test | ||||||
|   tags: |   tags: | ||||||
|     - docker |     - docker | ||||||
|   image: ubuntu:latest |   image: python:3.7 | ||||||
|  |   script: | ||||||
|  |     - apt-get update | ||||||
|  |     - apt-get install -y python3 python3-pip cython3 gpg | ||||||
|  |     - pip3 install emoji aiohttp cryptography | ||||||
|  |     - ./run_tests.py | ||||||
|  |  | ||||||
|  | test-3.10: | ||||||
|  |   stage: test | ||||||
|  |   tags: | ||||||
|  |     - docker | ||||||
|  |   image: python:3.10 | ||||||
|   script: |   script: | ||||||
|     - apt update |     - apt update | ||||||
|     - apt install -y python3 python3-pip cython3 gpg |     - apt-get install -y python3 python3-pip cython3 gpg | ||||||
|     - pip3 install emoji aiohttp |     - pip3 install emoji aiohttp cryptography | ||||||
|  |     - ./run_tests.py | ||||||
|  |  | ||||||
|  | test-3.11: | ||||||
|  |   stage: test | ||||||
|  |   tags: | ||||||
|  |     - docker | ||||||
|  |   image: python:3.11 | ||||||
|  |   script: | ||||||
|  |     - apt-get update | ||||||
|  |     - apt-get install -y python3 python3-pip cython3 gpg | ||||||
|  |     - pip3 install emoji aiohttp cryptography | ||||||
|  |     - ./run_tests.py | ||||||
|  |  | ||||||
|  | test-3.12: | ||||||
|  |   stage: test | ||||||
|  |   tags: | ||||||
|  |     - docker | ||||||
|  |   image: python:3.12-rc | ||||||
|  |   allow_failure: true | ||||||
|  |   script: | ||||||
|  |     - apt-get update | ||||||
|  |     - apt-get install -y python3 python3-pip cython3 gpg | ||||||
|  |     - pip3 install emoji aiohttp cryptography | ||||||
|     - ./run_tests.py |     - ./run_tests.py | ||||||
|  |  | ||||||
| test_integration: | test_integration: | ||||||
|   stage: test |   stage: test | ||||||
|   tags: |   tags: | ||||||
|     - docker |     - docker | ||||||
|   image: ubuntu:latest |   image: python:3 | ||||||
|   only: |   only: | ||||||
|     variables: |     variables: | ||||||
|         - $CI_ACCOUNT1 |         - $CI_ACCOUNT1 | ||||||
|         - $CI_ACCOUNT2 |         - $CI_ACCOUNT2 | ||||||
|   script: |   script: | ||||||
|     - apt update |     - apt-get update | ||||||
|     - apt install -y python3 python3-pip cython3 gpg |     - apt-get install -y python3 python3-pip cython3 gpg | ||||||
|     - pip3 install emoji aiohttp aiodns |     - pip3 install emoji aiohttp aiodns | ||||||
|     - ./run_integration_tests.py |     - ./run_integration_tests.py | ||||||
|  |  | ||||||
| @@ -32,6 +76,6 @@ trigger_poezio: | |||||||
|   stage: trigger |   stage: trigger | ||||||
|   tags: |   tags: | ||||||
|     - docker |     - docker | ||||||
|   image: appropriate/curl:latest |   image: curlimages/curl:7.79.1 | ||||||
|   script: |   script: | ||||||
|     - curl --request POST -F token="$SLIXMPP_TRIGGER_TOKEN" -F ref=master https://lab.louiz.org/api/v4/projects/18/trigger/pipeline |     - curl --request POST -F token="$SLIXMPP_TRIGGER_TOKEN" -F ref=master https://lab.louiz.org/api/v4/projects/18/trigger/pipeline | ||||||
|   | |||||||
| @@ -1,7 +0,0 @@ | |||||||
| language: python |  | ||||||
| python: |  | ||||||
|   - "3.7" |  | ||||||
|   - "3.8-dev" |  | ||||||
| install: |  | ||||||
|   - "pip install ." |  | ||||||
| script: testall.py |  | ||||||
| @@ -5,7 +5,7 @@ To contribute, the preferred way is to commit your changes on some | |||||||
| publicly-available git repository (on a fork `on github | publicly-available git repository (on a fork `on github | ||||||
| <https://github.com/poezio/slixmpp>`_ or on your own repository) and to | <https://github.com/poezio/slixmpp>`_ or on your own repository) and to | ||||||
| notify the developers with either: | notify the developers with either: | ||||||
|  - a ticket `on the bug tracker <https://lab.louiz.org/poezio/slixmpp/issues/new>`_ |  - a ticket `on the bug tracker <https://codeberg.org/poezio/slixmpp/issues/new>`_ | ||||||
|  - a pull request on github |  - a pull request on github | ||||||
|  - a simple message on `the XMPP MUC <xmpp:slixmpp@muc.poez.io>`_ |  - a simple message on `the XMPP MUC <xmpp:slixmpp@muc.poez.io>`_ | ||||||
|  |  | ||||||
|   | |||||||
							
								
								
									
										50
									
								
								_custom_build.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										50
									
								
								_custom_build.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,50 @@ | |||||||
|  | """ | ||||||
|  | Cythonize the .pyx file for sdist, and compile it for wheels. | ||||||
|  | NB: produced wheels are not valid, but the sdist should be. | ||||||
|  | """ | ||||||
|  |  | ||||||
|  | import os | ||||||
|  | from Cython.Build import cythonize | ||||||
|  | from subprocess import check_output, CalledProcessError, DEVNULL, call | ||||||
|  | from tempfile import TemporaryFile | ||||||
|  |  | ||||||
|  | from setuptools.command.build_py import build_py | ||||||
|  |  | ||||||
|  |  | ||||||
|  | def check_include(library_name, header): | ||||||
|  |     command = [os.environ.get("PKG_CONFIG", "pkg-config"), "--cflags", library_name] | ||||||
|  |     try: | ||||||
|  |         cflags = check_output(command).decode("utf-8").split() | ||||||
|  |     except FileNotFoundError: | ||||||
|  |         print("pkg-config not found.") | ||||||
|  |         return False | ||||||
|  |     except CalledProcessError: | ||||||
|  |         # pkg-config already prints the missing libraries on stderr. | ||||||
|  |         return False | ||||||
|  |     command = [os.environ.get("CC", "cc")] + cflags + ["-E", "-"] | ||||||
|  |     with TemporaryFile("w+") as c_file: | ||||||
|  |         c_file.write("#include <%s>" % header) | ||||||
|  |         c_file.seek(0) | ||||||
|  |         try: | ||||||
|  |             return call(command, stdin=c_file, stdout=DEVNULL, stderr=DEVNULL) == 0 | ||||||
|  |         except FileNotFoundError: | ||||||
|  |             print("%s headers not found." % library_name) | ||||||
|  |             return False | ||||||
|  |  | ||||||
|  |  | ||||||
|  | class Build(build_py): | ||||||
|  |     def run(self): | ||||||
|  |         self.run_command("build_ext") | ||||||
|  |         return super().run() | ||||||
|  |  | ||||||
|  |     def initialize_options(self): | ||||||
|  |         super().initialize_options() | ||||||
|  |  | ||||||
|  |         has_python_headers = check_include("python3", "Python.h") | ||||||
|  |         has_stringprep_headers = check_include("libidn", "stringprep.h") | ||||||
|  |  | ||||||
|  |         if has_python_headers and has_stringprep_headers: | ||||||
|  |             self.distribution.ext_modules = cythonize("slixmpp/stringprep.pyx") | ||||||
|  |  | ||||||
|  |         else: | ||||||
|  |             print("Falling back to the slow stringprep module.") | ||||||
							
								
								
									
										77
									
								
								doap.xml
									
									
									
									
									
								
							
							
						
						
									
										77
									
								
								doap.xml
									
									
									
									
									
								
							| @@ -8,13 +8,13 @@ | |||||||
|     <shortdesc xml:lang="en">Elegant Python library for XMPP</shortdesc> |     <shortdesc xml:lang="en">Elegant Python library for XMPP</shortdesc> | ||||||
|     <shortdesc xml:lang="fr">Bibliothèque pour XMPP élégante, en Python</shortdesc> |     <shortdesc xml:lang="fr">Bibliothèque pour XMPP élégante, en Python</shortdesc> | ||||||
|  |  | ||||||
|     <homepage rdf:resource="https://lab.louiz.org/poezio/slixmpp/"/> |     <homepage rdf:resource="https://codeberg.org/poezio/slixmpp/"/> | ||||||
|     <download-page rdf:resource="https://lab.louiz.org/poezio/slixmpp/tags"/> |     <download-page rdf:resource="https://codeberg.org/poezio/slixmpp/tags"/> | ||||||
|     <bug-database rdf:resource="https://lab.louiz.org/poezio/slixmpp/issues"/> |     <bug-database rdf:resource="https://codeberg.org/poezio/slixmpp/issues"/> | ||||||
|     <developer-forum rdf:resource="xmpp:slixmpp@muc.poez.io?join"/> |     <developer-forum rdf:resource="xmpp:slixmpp@muc.poez.io?join"/> | ||||||
|     <support-forum rdf:resource="xmpp:slixmpp@muc.poez.io?join"/> |     <support-forum rdf:resource="xmpp:slixmpp@muc.poez.io?join"/> | ||||||
|  |  | ||||||
|     <license rdf:resource="https://lab.louiz.org/poezio/slixmpp/blob/master/LICENSE"/> |     <license rdf:resource="https://codeberg.org/poezio/slixmpp/raw/brach/master/LICENSE"/> | ||||||
|  |  | ||||||
|     <language>en</language> |     <language>en</language> | ||||||
|  |  | ||||||
| @@ -59,8 +59,8 @@ | |||||||
|  |  | ||||||
|     <repository> |     <repository> | ||||||
|         <GitRepository> |         <GitRepository> | ||||||
|             <browse rdf:resource="https://lab.louiz.org/poezio/slixmpp"/> |             <browse rdf:resource="https://codeberg.org/poezio/slixmpp"/> | ||||||
|             <location rdf:resource="https://lab.louiz.org/poezio/slixmpp.git"/> |             <location rdf:resource="https://codeberg.org/poezio/slixmpp.git"/> | ||||||
|         </GitRepository> |         </GitRepository> | ||||||
|     </repository> |     </repository> | ||||||
|  |  | ||||||
| @@ -455,6 +455,14 @@ | |||||||
|             <xmpp:since>1.0</xmpp:since> |             <xmpp:since>1.0</xmpp:since> | ||||||
|         </xmpp:SupportedXep> |         </xmpp:SupportedXep> | ||||||
|     </implements> |     </implements> | ||||||
|  |     <implements> | ||||||
|  |         <xmpp:SupportedXep> | ||||||
|  |             <xmpp:xep rdf:resource="https://xmpp.org/extensions/xep-0175.html"/> | ||||||
|  |             <xmpp:status>complete</xmpp:status> | ||||||
|  |             <xmpp:version>1.2</xmpp:version> | ||||||
|  |             <xmpp:since>1.0</xmpp:since> | ||||||
|  |         </xmpp:SupportedXep> | ||||||
|  |     </implements> | ||||||
|     <implements> |     <implements> | ||||||
|         <xmpp:SupportedXep> |         <xmpp:SupportedXep> | ||||||
|             <xmpp:xep rdf:resource="https://xmpp.org/extensions/xep-0184.html"/> |             <xmpp:xep rdf:resource="https://xmpp.org/extensions/xep-0184.html"/> | ||||||
| @@ -776,7 +784,7 @@ | |||||||
|         <xmpp:SupportedXep> |         <xmpp:SupportedXep> | ||||||
|             <xmpp:xep rdf:resource="https://xmpp.org/extensions/xep-0377.html"/> |             <xmpp:xep rdf:resource="https://xmpp.org/extensions/xep-0377.html"/> | ||||||
|             <xmpp:status>complete</xmpp:status> |             <xmpp:status>complete</xmpp:status> | ||||||
|             <xmpp:version>0.2</xmpp:version> |             <xmpp:version>0.3</xmpp:version> | ||||||
|             <xmpp:since>1.6.0</xmpp:since> |             <xmpp:since>1.6.0</xmpp:since> | ||||||
|         </xmpp:SupportedXep> |         </xmpp:SupportedXep> | ||||||
|     </implements> |     </implements> | ||||||
| @@ -892,6 +900,15 @@ | |||||||
|             <xmpp:since>1.6.0</xmpp:since> |             <xmpp:since>1.6.0</xmpp:since> | ||||||
|         </xmpp:SupportedXep> |         </xmpp:SupportedXep> | ||||||
|     </implements> |     </implements> | ||||||
|  |     <implements> | ||||||
|  |         <xmpp:SupportedXep> | ||||||
|  |             <xmpp:xep rdf:resource="https://xmpp.org/extensions/xep-0454.html"/> | ||||||
|  |             <xmpp:status>partial</xmpp:status> | ||||||
|  |             <xmpp:version>0.1.0</xmpp:version> | ||||||
|  |             <xmpp:since>1.8.1</xmpp:since> | ||||||
|  | 						<xmpp:note>no thumbnail support</xmpp:note> | ||||||
|  |         </xmpp:SupportedXep> | ||||||
|  |     </implements> | ||||||
|  |  | ||||||
|     <release> |     <release> | ||||||
|         <Version> |         <Version> | ||||||
| @@ -995,14 +1012,56 @@ | |||||||
|         <Version> |         <Version> | ||||||
|             <revision>1.6.0</revision> |             <revision>1.6.0</revision> | ||||||
|             <created>2020-12-12</created> |             <created>2020-12-12</created> | ||||||
|             <file-release rdf:resource="https://lab.louiz.org/poezio/slixmpp/-/archive/slix-1.6.0/slixmpp-slix-1.6.0.tar.gz"/> |             <file-release rdf:resource="https://codeberg.org/poezio/slixmpp/archive/slix-1.6.0.tar.gz"/> | ||||||
|         </Version> |         </Version> | ||||||
|     </release> |     </release> | ||||||
|     <release> |     <release> | ||||||
|         <Version> |         <Version> | ||||||
|             <revision>1.7.0</revision> |             <revision>1.7.0</revision> | ||||||
|             <created>2021-01-29</created> |             <created>2021-01-29</created> | ||||||
|             <file-release rdf:resource="https://lab.louiz.org/poezio/slixmpp/-/archive/slix-1.7.9/slixmpp-slix-1.7.9.tar.gz"/> |             <file-release rdf:resource="https://codeberg.org/poezio/slixmpp/archive/slix-1.7.0.tar.gz"/> | ||||||
|  |         </Version> | ||||||
|  |     </release> | ||||||
|  |     <release> | ||||||
|  |         <Version> | ||||||
|  |             <revision>1.7.1</revision> | ||||||
|  |             <created>2021-04-30</created> | ||||||
|  |             <file-release rdf:resource="https://codeberg.org/poezio/slixmpp/archive/slix-1.7.1.tar.gz"/> | ||||||
|  |         </Version> | ||||||
|  |     </release> | ||||||
|  |     <release> | ||||||
|  |         <Version> | ||||||
|  |             <revision>1.8.0</revision> | ||||||
|  |             <created>2022-02-27</created> | ||||||
|  |             <file-release rdf:resource="https://codeberg.org/poezio/slixmpp/archive/slix-1.8.0.tar.gz"/> | ||||||
|  |         </Version> | ||||||
|  |     </release> | ||||||
|  |     <release> | ||||||
|  |         <Version> | ||||||
|  |             <revision>1.8.1</revision> | ||||||
|  |             <created>2022-03-20</created> | ||||||
|  |             <file-release rdf:resource="https://codeberg.org/poezio/slixmpp/archive/slix-1.8.1.tar.gz"/> | ||||||
|  |         </Version> | ||||||
|  |     </release> | ||||||
|  |     <release> | ||||||
|  |         <Version> | ||||||
|  |             <revision>1.8.2</revision> | ||||||
|  |             <created>2022-04-06</created> | ||||||
|  |             <file-release rdf:resource="https://codeberg.org/poezio/slixmpp/archive/slix-1.8.2.tar.gz"/> | ||||||
|  |         </Version> | ||||||
|  |     </release> | ||||||
|  |     <release> | ||||||
|  |         <Version> | ||||||
|  |             <revision>1.8.3</revision> | ||||||
|  |             <created>2022-11-12</created> | ||||||
|  |             <file-release rdf:resource="https://codeberg.org/poezio/slixmpp/archive/slix-1.8.3.tar.gz"/> | ||||||
|  |         </Version> | ||||||
|  |     </release> | ||||||
|  |     <release> | ||||||
|  |         <Version> | ||||||
|  |             <revision>1.8.4</revision> | ||||||
|  |             <created>2023-05-28</created> | ||||||
|  |             <file-release rdf:resource="https://codeberg.org/poezio/slixmpp/archive/slix-1.8.4.tar.gz"/> | ||||||
|         </Version> |         </Version> | ||||||
|     </release> |     </release> | ||||||
| </Project> | </Project> | ||||||
|   | |||||||
							
								
								
									
										452
									
								
								docs/_static/agogo.css
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										452
									
								
								docs/_static/agogo.css
									
									
									
									
										vendored
									
									
								
							| @@ -1,452 +0,0 @@ | |||||||
| /* |  | ||||||
|  * agogo.css_t |  | ||||||
|  * ~~~~~~~~~~~ |  | ||||||
|  * |  | ||||||
|  * Sphinx stylesheet -- agogo theme. |  | ||||||
|  * |  | ||||||
|  * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS. |  | ||||||
|  * :license: BSD, see LICENSE for details. |  | ||||||
|  * |  | ||||||
|  */ |  | ||||||
|  |  | ||||||
| * { |  | ||||||
|   margin: 0px; |  | ||||||
|   padding: 0px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| body { |  | ||||||
|   font-family: "Verdana", Arial, sans-serif; |  | ||||||
|   line-height: 1.4em; |  | ||||||
|   color: black; |  | ||||||
|   background-color: #eeeeec; |  | ||||||
| } |  | ||||||
|  |  | ||||||
|  |  | ||||||
| /* Page layout */ |  | ||||||
|  |  | ||||||
| div.header, div.content, div.footer { |  | ||||||
|   width: 70em; |  | ||||||
|   margin-left: auto; |  | ||||||
|   margin-right: auto; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.header-wrapper { |  | ||||||
|   background: url(bgtop.png) top left repeat-x; |  | ||||||
|   border-bottom: 3px solid #2e3436; |  | ||||||
| } |  | ||||||
|  |  | ||||||
|  |  | ||||||
| /* Default body styles */ |  | ||||||
| a { |  | ||||||
|   color: #ce5c00; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.bodywrapper a, div.footer a { |  | ||||||
|   text-decoration: underline; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .clearer { |  | ||||||
|   clear: both; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .left { |  | ||||||
|   float: left; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .right { |  | ||||||
|   float: right; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .line-block { |  | ||||||
|     display: block; |  | ||||||
|     margin-top: 1em; |  | ||||||
|     margin-bottom: 1em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .line-block .line-block { |  | ||||||
|     margin-top: 0; |  | ||||||
|     margin-bottom: 0; |  | ||||||
|     margin-left: 1.5em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| h1, h2, h3, h4 { |  | ||||||
|   font-family: "Georgia", "Times New Roman", serif; |  | ||||||
|   font-weight: normal; |  | ||||||
|   color: #3465a4; |  | ||||||
|   margin-bottom: .8em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| h1 { |  | ||||||
|   color: #204a87; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| h2 { |  | ||||||
|   padding-bottom: .5em; |  | ||||||
|   border-bottom: 1px solid #3465a4; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| a.headerlink { |  | ||||||
|   visibility: hidden; |  | ||||||
|   color: #dddddd; |  | ||||||
|   padding-left: .3em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| h1:hover > a.headerlink, |  | ||||||
| h2:hover > a.headerlink, |  | ||||||
| h3:hover > a.headerlink, |  | ||||||
| h4:hover > a.headerlink, |  | ||||||
| h5:hover > a.headerlink, |  | ||||||
| h6:hover > a.headerlink, |  | ||||||
| dt:hover > a.headerlink { |  | ||||||
|   visibility: visible; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| img { |  | ||||||
|   border: 0; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.admonition { |  | ||||||
|   margin-top: 10px; |  | ||||||
|   margin-bottom: 10px; |  | ||||||
|   padding: 2px 7px 1px 7px; |  | ||||||
|   border-left: 0.2em solid black; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| p.admonition-title { |  | ||||||
|   margin: 0px 10px 5px 0px; |  | ||||||
|   font-weight: bold; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| dt:target, .highlighted { |  | ||||||
|   background-color: #fbe54e; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| /* Header */ |  | ||||||
|  |  | ||||||
| div.header { |  | ||||||
|   padding-top: 10px; |  | ||||||
|   padding-bottom: 10px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.header h1 { |  | ||||||
|   font-family: "Georgia", "Times New Roman", serif; |  | ||||||
|   font-weight: normal; |  | ||||||
|   font-size: 180%; |  | ||||||
|   letter-spacing: .08em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.header h1 a { |  | ||||||
|   color: white; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.header div.rel { |  | ||||||
|   margin-top: 1em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.header div.rel a { |  | ||||||
|   color: #fcaf3e; |  | ||||||
|   letter-spacing: .1em; |  | ||||||
|   text-transform: uppercase; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| p.logo { |  | ||||||
|     float: right; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| img.logo { |  | ||||||
|     border: 0; |  | ||||||
| } |  | ||||||
|  |  | ||||||
|  |  | ||||||
| /* Content */ |  | ||||||
| div.content-wrapper { |  | ||||||
|   background-color: white; |  | ||||||
|   padding-top: 20px; |  | ||||||
|   padding-bottom: 20px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.document { |  | ||||||
|   width: 50em; |  | ||||||
|   float: left; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.body { |  | ||||||
|   padding-right: 2em; |  | ||||||
|   text-align: justify; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.document ul { |  | ||||||
|   margin: 1.5em; |  | ||||||
|   list-style-type: square; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.document dd { |  | ||||||
|   margin-left: 1.2em; |  | ||||||
|   margin-top: .4em; |  | ||||||
|   margin-bottom: 1em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.document .section { |  | ||||||
|   margin-top: 1.7em; |  | ||||||
| } |  | ||||||
| div.document .section:first-child { |  | ||||||
|   margin-top: 0px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.document div.highlight { |  | ||||||
|   padding: 3px; |  | ||||||
|   background-color: #eeeeec; |  | ||||||
|   border-top: 2px solid #dddddd; |  | ||||||
|   border-bottom: 2px solid #dddddd; |  | ||||||
|   margin-top: .8em; |  | ||||||
|   margin-bottom: .8em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.document h2 { |  | ||||||
|   margin-top: .7em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.document p { |  | ||||||
|   margin-bottom: .5em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.document li.toctree-l1 { |  | ||||||
|   margin-bottom: 1em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.document .descname { |  | ||||||
|   font-weight: bold; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.document .docutils.literal { |  | ||||||
|   background-color: #eeeeec; |  | ||||||
|   padding: 1px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.document .docutils.xref.literal { |  | ||||||
|   background-color: transparent; |  | ||||||
|   padding: 0px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.document blockquote { |  | ||||||
|   margin: 1em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.document ol { |  | ||||||
|   margin: 1.5em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
|  |  | ||||||
| /* Sidebar */ |  | ||||||
|  |  | ||||||
| div.sidebar { |  | ||||||
|   width: 20em; |  | ||||||
|   float: right; |  | ||||||
|   font-size: .9em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sidebar a, div.header a { |  | ||||||
|   text-decoration: none; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sidebar a:hover, div.header a:hover { |  | ||||||
|   text-decoration: underline; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sidebar h3 { |  | ||||||
|   color: #2e3436; |  | ||||||
|   text-transform: uppercase; |  | ||||||
|   font-size: 130%; |  | ||||||
|   letter-spacing: .1em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sidebar ul { |  | ||||||
|   list-style-type: none; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sidebar li.toctree-l1 a { |  | ||||||
|   display: block; |  | ||||||
|   padding: 1px; |  | ||||||
|   border: 1px solid #dddddd; |  | ||||||
|   background-color: #eeeeec; |  | ||||||
|   margin-bottom: .4em; |  | ||||||
|   padding-left: 3px; |  | ||||||
|   color: #2e3436; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sidebar li.toctree-l2 a { |  | ||||||
|   background-color: transparent; |  | ||||||
|   border: none; |  | ||||||
|   margin-left: 1em; |  | ||||||
|   border-bottom: 1px solid #dddddd; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sidebar li.toctree-l3 a { |  | ||||||
|   background-color: transparent; |  | ||||||
|   border: none; |  | ||||||
|   margin-left: 2em; |  | ||||||
|   border-bottom: 1px solid #dddddd; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sidebar li.toctree-l2:last-child a { |  | ||||||
|   border-bottom: none; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sidebar li.toctree-l1.current a { |  | ||||||
|   border-right: 5px solid #fcaf3e; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sidebar li.toctree-l1.current li.toctree-l2 a { |  | ||||||
|   border-right: none; |  | ||||||
| } |  | ||||||
|  |  | ||||||
|  |  | ||||||
| /* Footer */ |  | ||||||
|  |  | ||||||
| div.footer-wrapper { |  | ||||||
|   background: url(bgfooter.png) top left repeat-x; |  | ||||||
|   border-top: 4px solid #babdb6; |  | ||||||
|   padding-top: 10px; |  | ||||||
|   padding-bottom: 10px; |  | ||||||
|   min-height: 80px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.footer, div.footer a { |  | ||||||
|   color: #888a85; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.footer .right { |  | ||||||
|   text-align: right; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.footer .left { |  | ||||||
|   text-transform: uppercase; |  | ||||||
| } |  | ||||||
|  |  | ||||||
|  |  | ||||||
| /* Styles copied from basic theme */ |  | ||||||
|  |  | ||||||
| img.align-left, .figure.align-left, object.align-left { |  | ||||||
|     clear: left; |  | ||||||
|     float: left; |  | ||||||
|     margin-right: 1em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| img.align-right, .figure.align-right, object.align-right { |  | ||||||
|     clear: right; |  | ||||||
|     float: right; |  | ||||||
|     margin-left: 1em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| img.align-center, .figure.align-center, object.align-center { |  | ||||||
|   display: block; |  | ||||||
|   margin-left: auto; |  | ||||||
|   margin-right: auto; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .align-left { |  | ||||||
|     text-align: left; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .align-center { |  | ||||||
|     clear: both; |  | ||||||
|     text-align: center; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .align-right { |  | ||||||
|     text-align: right; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| /* -- search page ----------------------------------------------------------- */ |  | ||||||
|  |  | ||||||
| ul.search { |  | ||||||
|     margin: 10px 0 0 20px; |  | ||||||
|     padding: 0; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| ul.search li { |  | ||||||
|     padding: 5px 0 5px 20px; |  | ||||||
|     background-image: url(file.png); |  | ||||||
|     background-repeat: no-repeat; |  | ||||||
|     background-position: 0 7px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| ul.search li a { |  | ||||||
|     font-weight: bold; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| ul.search li div.context { |  | ||||||
|     color: #888; |  | ||||||
|     margin: 2px 0 0 30px; |  | ||||||
|     text-align: left; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| ul.keywordmatches li.goodmatch a { |  | ||||||
|     font-weight: bold; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| /* -- index page ------------------------------------------------------------ */ |  | ||||||
|  |  | ||||||
| table.contentstable { |  | ||||||
|     width: 90%; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| table.contentstable p.biglink { |  | ||||||
|     line-height: 150%; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| a.biglink { |  | ||||||
|     font-size: 1.3em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| span.linkdescr { |  | ||||||
|     font-style: italic; |  | ||||||
|     padding-top: 5px; |  | ||||||
|     font-size: 90%; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| /* -- general index --------------------------------------------------------- */ |  | ||||||
|  |  | ||||||
| table.indextable td { |  | ||||||
|     text-align: left; |  | ||||||
|     vertical-align: top; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| table.indextable dl, table.indextable dd { |  | ||||||
|     margin-top: 0; |  | ||||||
|     margin-bottom: 0; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| table.indextable tr.pcap { |  | ||||||
|     height: 10px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| table.indextable tr.cap { |  | ||||||
|     margin-top: 10px; |  | ||||||
|     background-color: #f2f2f2; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| img.toggler { |  | ||||||
|     margin-right: 3px; |  | ||||||
|     margin-top: 3px; |  | ||||||
|     cursor: pointer; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| /* -- viewcode extension ---------------------------------------------------- */ |  | ||||||
|  |  | ||||||
| .viewcode-link { |  | ||||||
|     float: right; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .viewcode-back { |  | ||||||
|     float: right; |  | ||||||
|     font-family:: "Verdana", Arial, sans-serif; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.viewcode-block:target { |  | ||||||
|     margin: -1px -3px; |  | ||||||
|     padding: 0 3px; |  | ||||||
|     background-color: #f4debf; |  | ||||||
|     border-top: 1px solid #ac9; |  | ||||||
|     border-bottom: 1px solid #ac9; |  | ||||||
| } |  | ||||||
							
								
								
									
										532
									
								
								docs/_static/basic.css
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										532
									
								
								docs/_static/basic.css
									
									
									
									
										vendored
									
									
								
							| @@ -1,532 +0,0 @@ | |||||||
| /* |  | ||||||
|  * basic.css |  | ||||||
|  * ~~~~~~~~~ |  | ||||||
|  * |  | ||||||
|  * Sphinx stylesheet -- basic theme. |  | ||||||
|  * |  | ||||||
|  * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS. |  | ||||||
|  * :license: BSD, see LICENSE for details. |  | ||||||
|  * |  | ||||||
|  */ |  | ||||||
|  |  | ||||||
| /* -- main layout ----------------------------------------------------------- */ |  | ||||||
|  |  | ||||||
| div.clearer { |  | ||||||
|     clear: both; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| /* -- relbar ---------------------------------------------------------------- */ |  | ||||||
|  |  | ||||||
| div.related { |  | ||||||
|     width: 100%; |  | ||||||
|     font-size: 90%; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.related h3 { |  | ||||||
|     display: none; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.related ul { |  | ||||||
|     margin: 0; |  | ||||||
|     padding: 0 0 0 10px; |  | ||||||
|     list-style: none; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.related li { |  | ||||||
|     display: inline; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.related li.right { |  | ||||||
|     float: right; |  | ||||||
|     margin-right: 5px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| /* -- sidebar --------------------------------------------------------------- */ |  | ||||||
|  |  | ||||||
| div.sphinxsidebarwrapper { |  | ||||||
|     padding: 10px 5px 0 10px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sphinxsidebar { |  | ||||||
|     float: left; |  | ||||||
|     width: 230px; |  | ||||||
|     margin-left: -100%; |  | ||||||
|     font-size: 90%; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sphinxsidebar ul { |  | ||||||
|     list-style: none; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sphinxsidebar ul ul, |  | ||||||
| div.sphinxsidebar ul.want-points { |  | ||||||
|     margin-left: 20px; |  | ||||||
|     list-style: square; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sphinxsidebar ul ul { |  | ||||||
|     margin-top: 0; |  | ||||||
|     margin-bottom: 0; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sphinxsidebar form { |  | ||||||
|     margin-top: 10px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sphinxsidebar input { |  | ||||||
|     border: 1px solid #98dbcc; |  | ||||||
|     font-family: sans-serif; |  | ||||||
|     font-size: 1em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| img { |  | ||||||
|     border: 0; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| /* -- search page ----------------------------------------------------------- */ |  | ||||||
|  |  | ||||||
| ul.search { |  | ||||||
|     margin: 10px 0 0 20px; |  | ||||||
|     padding: 0; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| ul.search li { |  | ||||||
|     padding: 5px 0 5px 20px; |  | ||||||
|     background-image: url(file.png); |  | ||||||
|     background-repeat: no-repeat; |  | ||||||
|     background-position: 0 7px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| ul.search li a { |  | ||||||
|     font-weight: bold; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| ul.search li div.context { |  | ||||||
|     color: #888; |  | ||||||
|     margin: 2px 0 0 30px; |  | ||||||
|     text-align: left; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| ul.keywordmatches li.goodmatch a { |  | ||||||
|     font-weight: bold; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| /* -- index page ------------------------------------------------------------ */ |  | ||||||
|  |  | ||||||
| table.contentstable { |  | ||||||
|     width: 90%; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| table.contentstable p.biglink { |  | ||||||
|     line-height: 150%; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| a.biglink { |  | ||||||
|     font-size: 1.3em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| span.linkdescr { |  | ||||||
|     font-style: italic; |  | ||||||
|     padding-top: 5px; |  | ||||||
|     font-size: 90%; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| /* -- general index --------------------------------------------------------- */ |  | ||||||
|  |  | ||||||
| table.indextable { |  | ||||||
|     width: 100%; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| table.indextable td { |  | ||||||
|     text-align: left; |  | ||||||
|     vertical-align: top; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| table.indextable dl, table.indextable dd { |  | ||||||
|     margin-top: 0; |  | ||||||
|     margin-bottom: 0; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| table.indextable tr.pcap { |  | ||||||
|     height: 10px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| table.indextable tr.cap { |  | ||||||
|     margin-top: 10px; |  | ||||||
|     background-color: #f2f2f2; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| img.toggler { |  | ||||||
|     margin-right: 3px; |  | ||||||
|     margin-top: 3px; |  | ||||||
|     cursor: pointer; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.modindex-jumpbox { |  | ||||||
|     border-top: 1px solid #ddd; |  | ||||||
|     border-bottom: 1px solid #ddd; |  | ||||||
|     margin: 1em 0 1em 0; |  | ||||||
|     padding: 0.4em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.genindex-jumpbox { |  | ||||||
|     border-top: 1px solid #ddd; |  | ||||||
|     border-bottom: 1px solid #ddd; |  | ||||||
|     margin: 1em 0 1em 0; |  | ||||||
|     padding: 0.4em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| /* -- general body styles --------------------------------------------------- */ |  | ||||||
|  |  | ||||||
| a.headerlink { |  | ||||||
|     visibility: hidden; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| h1:hover > a.headerlink, |  | ||||||
| h2:hover > a.headerlink, |  | ||||||
| h3:hover > a.headerlink, |  | ||||||
| h4:hover > a.headerlink, |  | ||||||
| h5:hover > a.headerlink, |  | ||||||
| h6:hover > a.headerlink, |  | ||||||
| dt:hover > a.headerlink { |  | ||||||
|     visibility: visible; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.body p.caption { |  | ||||||
|     text-align: inherit; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.body td { |  | ||||||
|     text-align: left; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .field-list ul { |  | ||||||
|     padding-left: 1em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .first { |  | ||||||
|     margin-top: 0 !important; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| p.rubric { |  | ||||||
|     margin-top: 30px; |  | ||||||
|     font-weight: bold; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| img.align-left, .figure.align-left, object.align-left { |  | ||||||
|     clear: left; |  | ||||||
|     float: left; |  | ||||||
|     margin-right: 1em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| img.align-right, .figure.align-right, object.align-right { |  | ||||||
|     clear: right; |  | ||||||
|     float: right; |  | ||||||
|     margin-left: 1em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| img.align-center, .figure.align-center, object.align-center { |  | ||||||
|   display: block; |  | ||||||
|   margin-left: auto; |  | ||||||
|   margin-right: auto; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .align-left { |  | ||||||
|     text-align: left; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .align-center { |  | ||||||
|     clear: both; |  | ||||||
|     text-align: center; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .align-right { |  | ||||||
|     text-align: right; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| /* -- sidebars -------------------------------------------------------------- */ |  | ||||||
|  |  | ||||||
| div.sidebar { |  | ||||||
|     margin: 0 0 0.5em 1em; |  | ||||||
|     border: 1px solid #ddb; |  | ||||||
|     padding: 7px 7px 0 7px; |  | ||||||
|     background-color: #efefef; |  | ||||||
|     width: 40%; |  | ||||||
|     float: right; |  | ||||||
|     -mox-border-radius: 4px; |  | ||||||
|     -webkit-border-radius: 4px; |  | ||||||
|     border-radius: 4px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| p.sidebar-title { |  | ||||||
|     font-weight: bold; |  | ||||||
|     text-transform: uppercase; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| /* -- topics ---------------------------------------------------------------- */ |  | ||||||
|  |  | ||||||
| div.topic { |  | ||||||
|     border: 1px solid #ccc; |  | ||||||
|     padding: 7px 7px 0 7px; |  | ||||||
|     margin: 10px 0 10px 0; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| p.topic-title { |  | ||||||
|     font-size: 1.1em; |  | ||||||
|     font-weight: bold; |  | ||||||
|     margin-top: 10px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| /* -- admonitions ----------------------------------------------------------- */ |  | ||||||
|  |  | ||||||
| div.admonition { |  | ||||||
|     margin-top: 10px; |  | ||||||
|     margin-bottom: 10px; |  | ||||||
|     padding: 7px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.admonition dt { |  | ||||||
|     font-weight: bold; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.admonition dl { |  | ||||||
|     margin-bottom: 0; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| p.admonition-title { |  | ||||||
|     margin: 0px 10px 5px 0px; |  | ||||||
|     font-weight: bold; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.body p.centered { |  | ||||||
|     text-align: center; |  | ||||||
|     margin-top: 25px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| /* -- tables ---------------------------------------------------------------- */ |  | ||||||
|  |  | ||||||
| table.docutils { |  | ||||||
|     border: 0; |  | ||||||
|     border-collapse: collapse; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| table.docutils td, table.docutils th { |  | ||||||
|     padding: 1px 8px 1px 5px; |  | ||||||
|     border-top: 0; |  | ||||||
|     border-left: 0; |  | ||||||
|     border-right: 0; |  | ||||||
|     border-bottom: 1px solid #aaa; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| table.field-list td, table.field-list th { |  | ||||||
|     border: 0 !important; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| table.footnote td, table.footnote th { |  | ||||||
|     border: 0 !important; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| th { |  | ||||||
|     text-align: left; |  | ||||||
|     padding-right: 5px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| table.citation { |  | ||||||
|     border-left: solid 1px gray; |  | ||||||
|     margin-left: 1px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| table.citation td { |  | ||||||
|     border-bottom: none; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| /* -- other body styles ----------------------------------------------------- */ |  | ||||||
|  |  | ||||||
| ol.arabic { |  | ||||||
|     list-style: decimal; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| ol.loweralpha { |  | ||||||
|     list-style: lower-alpha; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| ol.upperalpha { |  | ||||||
|     list-style: upper-alpha; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| ol.lowerroman { |  | ||||||
|     list-style: lower-roman; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| ol.upperroman { |  | ||||||
|     list-style: upper-roman; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| dl { |  | ||||||
|     margin-bottom: 15px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| dd p { |  | ||||||
|     margin-top: 0px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| dd ul, dd table { |  | ||||||
|     margin-bottom: 10px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| dd { |  | ||||||
|     margin-top: 3px; |  | ||||||
|     margin-bottom: 10px; |  | ||||||
|     margin-left: 30px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| dt:target, .highlighted { |  | ||||||
| } |  | ||||||
|  |  | ||||||
| dl.glossary dt { |  | ||||||
|     font-weight: bold; |  | ||||||
|     font-size: 1.1em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .field-list ul { |  | ||||||
|     margin: 0; |  | ||||||
|     padding-left: 1em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .field-list p { |  | ||||||
|     margin: 0; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .refcount { |  | ||||||
|     color: #060; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .optional { |  | ||||||
|     font-size: 1.3em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .versionmodified { |  | ||||||
|     font-style: italic; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .system-message { |  | ||||||
|     background-color: #fda; |  | ||||||
|     padding: 5px; |  | ||||||
|     border: 3px solid red; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .footnote:target  { |  | ||||||
|     background-color: #ffa; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .line-block { |  | ||||||
|     display: block; |  | ||||||
|     margin-top: 1em; |  | ||||||
|     margin-bottom: 1em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .line-block .line-block { |  | ||||||
|     margin-top: 0; |  | ||||||
|     margin-bottom: 0; |  | ||||||
|     margin-left: 1.5em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .guilabel, .menuselection { |  | ||||||
|     font-family: sans-serif; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .accelerator { |  | ||||||
|     text-decoration: underline; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .classifier { |  | ||||||
|     font-style: oblique; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| /* -- code displays --------------------------------------------------------- */ |  | ||||||
|  |  | ||||||
| pre { |  | ||||||
|     overflow: auto; |  | ||||||
|     overflow-y: hidden;  /* fixes display issues on Chrome browsers */ |  | ||||||
| } |  | ||||||
|  |  | ||||||
| td.linenos pre { |  | ||||||
|     padding: 5px 0px; |  | ||||||
|     border: 0; |  | ||||||
|     background-color: transparent; |  | ||||||
|     color: #aaa; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| table.highlighttable { |  | ||||||
|     margin-left: 0.5em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| table.highlighttable td { |  | ||||||
|     padding: 0 0.5em 0 0.5em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| tt.descname { |  | ||||||
|     background-color: transparent; |  | ||||||
|     font-weight: bold; |  | ||||||
|     font-size: 1.2em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| tt.descclassname { |  | ||||||
|     background-color: transparent; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| tt.xref, a tt { |  | ||||||
|     background-color: transparent; |  | ||||||
|     font-weight: bold; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt { |  | ||||||
|     background-color: transparent; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .viewcode-link { |  | ||||||
|     float: right; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .viewcode-back { |  | ||||||
|     float: right; |  | ||||||
|     font-family: sans-serif; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.viewcode-block:target { |  | ||||||
|     margin: -1px -10px; |  | ||||||
|     padding: 0 10px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| /* -- math display ---------------------------------------------------------- */ |  | ||||||
|  |  | ||||||
| img.math { |  | ||||||
|     vertical-align: middle; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.body div.math p { |  | ||||||
|     text-align: center; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| span.eqno { |  | ||||||
|     float: right; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| /* -- printout stylesheet --------------------------------------------------- */ |  | ||||||
|  |  | ||||||
| @media print { |  | ||||||
|     div.document, |  | ||||||
|     div.documentwrapper, |  | ||||||
|     div.bodywrapper { |  | ||||||
|         margin: 0 !important; |  | ||||||
|         width: 100%; |  | ||||||
|     } |  | ||||||
|  |  | ||||||
|     div.sphinxsidebar, |  | ||||||
|     div.related, |  | ||||||
|     div.footer, |  | ||||||
|     #top-link { |  | ||||||
|         display: none; |  | ||||||
|     } |  | ||||||
| } |  | ||||||
|  |  | ||||||
							
								
								
									
										256
									
								
								docs/_static/default.css
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										256
									
								
								docs/_static/default.css
									
									
									
									
										vendored
									
									
								
							| @@ -1,256 +0,0 @@ | |||||||
| /* |  | ||||||
|  * default.css_t |  | ||||||
|  * ~~~~~~~~~~~~~ |  | ||||||
|  * |  | ||||||
|  * Sphinx stylesheet -- default theme. |  | ||||||
|  * |  | ||||||
|  * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS. |  | ||||||
|  * :license: BSD, see LICENSE for details. |  | ||||||
|  * |  | ||||||
|  */ |  | ||||||
|  |  | ||||||
| @import url("basic.css"); |  | ||||||
|  |  | ||||||
| /* -- page layout ----------------------------------------------------------- */ |  | ||||||
|  |  | ||||||
| body { |  | ||||||
|     font-family: sans-serif; |  | ||||||
|     font-size: 100%; |  | ||||||
|     background-color: #11303d; |  | ||||||
|     color: #000; |  | ||||||
|     margin: 0; |  | ||||||
|     padding: 0; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.document { |  | ||||||
|     background-color: #1c4e63; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.documentwrapper { |  | ||||||
|     float: left; |  | ||||||
|     width: 100%; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.bodywrapper { |  | ||||||
|     margin: 0 0 0 230px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.body { |  | ||||||
|     background-color: #ffffff; |  | ||||||
|     color: #000000; |  | ||||||
|     padding: 0 20px 30px 20px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.footer { |  | ||||||
|     color: #ffffff; |  | ||||||
|     width: 100%; |  | ||||||
|     padding: 9px 0 9px 0; |  | ||||||
|     text-align: center; |  | ||||||
|     font-size: 75%; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.footer a { |  | ||||||
|     color: #ffffff; |  | ||||||
|     text-decoration: underline; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.related { |  | ||||||
|     background-color: #133f52; |  | ||||||
|     line-height: 30px; |  | ||||||
|     color: #ffffff; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.related a { |  | ||||||
|     color: #ffffff; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sphinxsidebar { |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sphinxsidebar h3 { |  | ||||||
|     font-family: 'Trebuchet MS', sans-serif; |  | ||||||
|     color: #ffffff; |  | ||||||
|     font-size: 1.4em; |  | ||||||
|     font-weight: normal; |  | ||||||
|     margin: 0; |  | ||||||
|     padding: 0; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sphinxsidebar h3 a { |  | ||||||
|     color: #ffffff; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sphinxsidebar h4 { |  | ||||||
|     font-family: 'Trebuchet MS', sans-serif; |  | ||||||
|     color: #ffffff; |  | ||||||
|     font-size: 1.3em; |  | ||||||
|     font-weight: normal; |  | ||||||
|     margin: 5px 0 0 0; |  | ||||||
|     padding: 0; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sphinxsidebar p { |  | ||||||
|     color: #ffffff; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sphinxsidebar p.topless { |  | ||||||
|     margin: 5px 10px 10px 10px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sphinxsidebar ul { |  | ||||||
|     margin: 10px; |  | ||||||
|     padding: 0; |  | ||||||
|     color: #ffffff; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sphinxsidebar a { |  | ||||||
|     color: #98dbcc; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sphinxsidebar input { |  | ||||||
|     border: 1px solid #98dbcc; |  | ||||||
|     font-family: sans-serif; |  | ||||||
|     font-size: 1em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
| /* -- hyperlink styles ------------------------------------------------------ */ |  | ||||||
|  |  | ||||||
| a { |  | ||||||
|     color: #355f7c; |  | ||||||
|     text-decoration: none; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| a:visited { |  | ||||||
|     color: #355f7c; |  | ||||||
|     text-decoration: none; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| a:hover { |  | ||||||
|     text-decoration: underline; |  | ||||||
| } |  | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
| /* -- body styles ----------------------------------------------------------- */ |  | ||||||
|  |  | ||||||
| div.body h1, |  | ||||||
| div.body h2, |  | ||||||
| div.body h3, |  | ||||||
| div.body h4, |  | ||||||
| div.body h5, |  | ||||||
| div.body h6 { |  | ||||||
|     font-family: 'Trebuchet MS', sans-serif; |  | ||||||
|     background-color: #f2f2f2; |  | ||||||
|     font-weight: normal; |  | ||||||
|     color: #20435c; |  | ||||||
|     border-bottom: 1px solid #ccc; |  | ||||||
|     margin: 20px -20px 10px -20px; |  | ||||||
|     padding: 3px 0 3px 10px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.body h1 { margin-top: 0; font-size: 200%; } |  | ||||||
| div.body h2 { font-size: 160%; } |  | ||||||
| div.body h3 { font-size: 140%; } |  | ||||||
| div.body h4 { font-size: 120%; } |  | ||||||
| div.body h5 { font-size: 110%; } |  | ||||||
| div.body h6 { font-size: 100%; } |  | ||||||
|  |  | ||||||
| a.headerlink { |  | ||||||
|     color: #c60f0f; |  | ||||||
|     font-size: 0.8em; |  | ||||||
|     padding: 0 4px 0 4px; |  | ||||||
|     text-decoration: none; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| a.headerlink:hover { |  | ||||||
|     background-color: #c60f0f; |  | ||||||
|     color: white; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.body p, div.body dd, div.body li { |  | ||||||
|     text-align: justify; |  | ||||||
|     line-height: 130%; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.admonition p.admonition-title + p { |  | ||||||
|     display: inline; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.admonition p { |  | ||||||
|     margin-bottom: 5px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.admonition pre { |  | ||||||
|     margin-bottom: 5px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.admonition ul, div.admonition ol { |  | ||||||
|     margin-bottom: 5px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.note { |  | ||||||
|     background-color: #eee; |  | ||||||
|     border: 1px solid #ccc; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.seealso { |  | ||||||
|     background-color: #ffc; |  | ||||||
|     border: 1px solid #ff6; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.topic { |  | ||||||
|     background-color: #eee; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.warning { |  | ||||||
|     background-color: #ffe4e4; |  | ||||||
|     border: 1px solid #f66; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| p.admonition-title { |  | ||||||
|     display: inline; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| p.admonition-title:after { |  | ||||||
|     content: ":"; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| pre { |  | ||||||
|     padding: 5px; |  | ||||||
|     background-color: #eeffcc; |  | ||||||
|     color: #333333; |  | ||||||
|     line-height: 120%; |  | ||||||
|     border: 1px solid #ac9; |  | ||||||
|     border-left: none; |  | ||||||
|     border-right: none; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| tt { |  | ||||||
|     background-color: #ecf0f3; |  | ||||||
|     padding: 0 1px 0 1px; |  | ||||||
|     font-size: 0.95em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| th { |  | ||||||
|     background-color: #ede; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .warning tt { |  | ||||||
|     background: #efc2c2; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .note tt { |  | ||||||
|     background: #d6d6d6; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .viewcode-back { |  | ||||||
|     font-family: sans-serif; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.viewcode-block:target { |  | ||||||
|     background-color: #f4debf; |  | ||||||
|     border-top: 1px solid #ac9; |  | ||||||
|     border-bottom: 1px solid #ac9; |  | ||||||
| } |  | ||||||
							
								
								
									
										
											BIN
										
									
								
								docs/_static/fonts/Museo_Slab_500.otf
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								docs/_static/fonts/Museo_Slab_500.otf
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								docs/_static/fonts/Museo_Slab_500italic.otf
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								docs/_static/fonts/Museo_Slab_500italic.otf
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								docs/_static/fonts/OFLGoudyStMTT-Italic.ttf
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								docs/_static/fonts/OFLGoudyStMTT-Italic.ttf
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								docs/_static/fonts/OFLGoudyStMTT.ttf
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								docs/_static/fonts/OFLGoudyStMTT.ttf
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								docs/_static/fonts/YanoneKaffeesatz-Bold.ttf
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								docs/_static/fonts/YanoneKaffeesatz-Bold.ttf
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								docs/_static/fonts/YanoneKaffeesatz-Light.ttf
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								docs/_static/fonts/YanoneKaffeesatz-Light.ttf
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								docs/_static/fonts/YanoneKaffeesatz-Regular.ttf
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								docs/_static/fonts/YanoneKaffeesatz-Regular.ttf
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								docs/_static/fonts/YanoneKaffeesatz-Thin.ttf
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								docs/_static/fonts/YanoneKaffeesatz-Thin.ttf
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										410
									
								
								docs/_static/haiku.css
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										410
									
								
								docs/_static/haiku.css
									
									
									
									
										vendored
									
									
								
							| @@ -1,410 +0,0 @@ | |||||||
| /* |  | ||||||
|  * haiku.css_t |  | ||||||
|  * ~~~~~~~~~~~ |  | ||||||
|  * |  | ||||||
|  * Sphinx stylesheet -- haiku theme. |  | ||||||
|  * |  | ||||||
|  * Adapted from http://haiku-os.org/docs/Haiku-doc.css. |  | ||||||
|  * Original copyright message: |  | ||||||
|  * |  | ||||||
|  *     Copyright 2008-2009, Haiku. All rights reserved. |  | ||||||
|  *     Distributed under the terms of the MIT License. |  | ||||||
|  * |  | ||||||
|  *     Authors: |  | ||||||
|  *              Francois Revol <revol@free.fr> |  | ||||||
|  *              Stephan Assmus <superstippi@gmx.de> |  | ||||||
|  *              Braden Ewing <brewin@gmail.com> |  | ||||||
|  *              Humdinger <humdingerb@gmail.com> |  | ||||||
|  * |  | ||||||
|  * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS. |  | ||||||
|  * :license: BSD, see LICENSE for details. |  | ||||||
|  * |  | ||||||
|  */ |  | ||||||
|  |  | ||||||
| @import url("basic.css"); |  | ||||||
|  |  | ||||||
|  |  | ||||||
| @font-face { |  | ||||||
|     font-family: "Museo Slab"; |  | ||||||
|     font-weight: normal; |  | ||||||
|     font-style: normal; |  | ||||||
|     src: local("Museo Slab"), |  | ||||||
|          url("fonts/Museo_Slab_500.otf") format("opentype"); |  | ||||||
| } |  | ||||||
|  |  | ||||||
| @font-face { |  | ||||||
|     font-family: "Yanone Kaffeesatz"; |  | ||||||
|     font-weight: bold; |  | ||||||
|     font-style: normal; |  | ||||||
|     src: local("Yanone Kaffeesatz"), |  | ||||||
|          url("fonts/YanoneKaffeesatz-Bold.ttf") format("truetype"); |  | ||||||
| } |  | ||||||
|  |  | ||||||
| @font-face { |  | ||||||
|     font-family: "Yanone Kaffeesatz"; |  | ||||||
|     font-weight: lighter; |  | ||||||
|     font-style: normal; |  | ||||||
|     src: local("Yanone Kaffeesatz"), |  | ||||||
|          url("fonts/YanoneKaffeesatz-Regular.ttf") format("truetype"); |  | ||||||
| } |  | ||||||
|  |  | ||||||
| html { |  | ||||||
|     margin: 0px; |  | ||||||
|     padding: 0px; |  | ||||||
|     background: #FFF url(header.png) top left repeat-x; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| body { |  | ||||||
|     line-height: 1.5; |  | ||||||
|     margin: auto; |  | ||||||
|     padding: 0px; |  | ||||||
|     font-family: "Helvetica Neueu", Helvetica, sans-serif; |  | ||||||
|     min-width: 30em; |  | ||||||
|     max-width: 70em; |  | ||||||
|     color: #444; |  | ||||||
|     text-align: center; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.footer { |  | ||||||
|     padding: 8px; |  | ||||||
|     font-size: 11px; |  | ||||||
|     text-align: center; |  | ||||||
|     letter-spacing: 0.5px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| /* link colors and text decoration */ |  | ||||||
|  |  | ||||||
| a:link { |  | ||||||
|     font-weight: bold; |  | ||||||
|     text-decoration: none; |  | ||||||
|     color: #00ADEE; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| a:visited { |  | ||||||
|     font-weight: bold; |  | ||||||
|     text-decoration: none; |  | ||||||
|     color: #00ADEE; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| a:hover, a:active { |  | ||||||
|     text-decoration: underline; |  | ||||||
|     color: #F46DBA; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| /* Some headers act as anchors, don't give them a hover effect */ |  | ||||||
|  |  | ||||||
| h1 a:hover, a:active { |  | ||||||
|     text-decoration: none; |  | ||||||
|     color: #CFCFCF; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| h2 a:hover, a:active { |  | ||||||
|     text-decoration: none; |  | ||||||
|     color: #CFCFCF; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| h3 a:hover, a:active { |  | ||||||
|     text-decoration: none; |  | ||||||
|     color: #CFCFCF; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| h4 a:hover, a:active { |  | ||||||
|     text-decoration: none; |  | ||||||
|     color: #CFCFCF; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| a.headerlink { |  | ||||||
|     color: #a7ce38; |  | ||||||
|     padding-left: 5px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| a.headerlink:hover { |  | ||||||
|     color: #a7ce38; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| /* basic text elements */ |  | ||||||
|  |  | ||||||
| div.content { |  | ||||||
|     margin: auto; |  | ||||||
|     margin-top: 20px; |  | ||||||
|     margin-bottom: 50px; |  | ||||||
|     font-size: 0.9em; |  | ||||||
|     width: 700px; |  | ||||||
|     text-align: left; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| /* heading and navigation */ |  | ||||||
|  |  | ||||||
| div.header { |  | ||||||
|     position: relative; |  | ||||||
|     margin: auto; |  | ||||||
|     margin-top: 125px; |  | ||||||
|     height: 85px; |  | ||||||
|     padding: 0 40px; |  | ||||||
|     font-family: "Yanone Kaffeesatz"; |  | ||||||
|     text-align: left; |  | ||||||
|     width: 750px; |  | ||||||
| } |  | ||||||
| div.header h1 { |  | ||||||
|     font-size: 2.6em; |  | ||||||
|     font-weight: normal; |  | ||||||
|     letter-spacing: 1px; |  | ||||||
|     color: #CFCFCF; |  | ||||||
|     border: 0; |  | ||||||
|     margin: 0; |  | ||||||
|     padding-top: 15px; |  | ||||||
|     font-family: "Yanone Kaffeesatz"; |  | ||||||
|     text-shadow: 1px 1px 1px rgba(175, 175, 175, .8); |  | ||||||
|     font-variant: small-caps; |  | ||||||
| } |  | ||||||
| div.header h1 a { |  | ||||||
|     font-weight: normal; |  | ||||||
|     color: #00ADEE; |  | ||||||
| } |  | ||||||
| div.header h2 { |  | ||||||
|     font-size: 1.3em; |  | ||||||
|     font-weight: normal; |  | ||||||
|     letter-spacing: 1px; |  | ||||||
|     text-transform: uppercase; |  | ||||||
|     color: #aaa; |  | ||||||
|     border: 0; |  | ||||||
|     margin-top: -3px; |  | ||||||
|     padding: 0; |  | ||||||
|     font-family: "Yanone Kaffeesatz"; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.header img.rightlogo { |  | ||||||
|     float: right; |  | ||||||
| } |  | ||||||
|  |  | ||||||
|  |  | ||||||
| div.title { |  | ||||||
|     font-size: 1.3em; |  | ||||||
|     font-weight: bold; |  | ||||||
|     color: #CFCFCF; |  | ||||||
|     border-bottom: dotted thin #e0e0e0; |  | ||||||
|     margin-bottom: 25px; |  | ||||||
| } |  | ||||||
| div.topnav { |  | ||||||
|     position: relative; |  | ||||||
|     z-index: 0; |  | ||||||
| } |  | ||||||
| div.topnav p { |  | ||||||
|     margin: auto; |  | ||||||
|     margin-top: 0; |  | ||||||
|     margin-bottom: 0px; |  | ||||||
|     text-align: right; |  | ||||||
|     font-size: 0.8em; |  | ||||||
|     width: 750px; |  | ||||||
| } |  | ||||||
| div.bottomnav { |  | ||||||
|     background: #eeeeee; |  | ||||||
| } |  | ||||||
| div.bottomnav p { |  | ||||||
|     margin-right: 40px; |  | ||||||
|     text-align: right; |  | ||||||
|     font-size: 0.8em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| a.uplink { |  | ||||||
|     font-weight: normal; |  | ||||||
| } |  | ||||||
|  |  | ||||||
|  |  | ||||||
| /* contents box */ |  | ||||||
|  |  | ||||||
| table.index { |  | ||||||
|     margin: 0px 0px 30px 30px; |  | ||||||
|     padding: 1px; |  | ||||||
|     border-width: 1px; |  | ||||||
|     border-style: dotted; |  | ||||||
|     border-color: #e0e0e0; |  | ||||||
| } |  | ||||||
| table.index tr.heading { |  | ||||||
|     background-color: #e0e0e0; |  | ||||||
|     text-align: center; |  | ||||||
|     font-weight: bold; |  | ||||||
|     font-size: 1.1em; |  | ||||||
| } |  | ||||||
| table.index tr.index { |  | ||||||
|     background-color: #eeeeee; |  | ||||||
| } |  | ||||||
| table.index td { |  | ||||||
|     padding: 5px 20px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| table.index a:link, table.index a:visited { |  | ||||||
|     font-weight: normal; |  | ||||||
|     text-decoration: none; |  | ||||||
|     color: #4A7389; |  | ||||||
| } |  | ||||||
| table.index a:hover, table.index a:active { |  | ||||||
|     text-decoration: underline; |  | ||||||
|     color: #ff4500; |  | ||||||
| } |  | ||||||
|  |  | ||||||
|  |  | ||||||
| /* Haiku User Guide styles and layout */ |  | ||||||
|  |  | ||||||
| /* Rounded corner boxes */ |  | ||||||
| /* Common declarations */ |  | ||||||
| div.admonition { |  | ||||||
|     -webkit-border-radius: 10px; |  | ||||||
|     -khtml-border-radius: 10px; |  | ||||||
|     -moz-border-radius: 10px; |  | ||||||
|     border-radius: 10px; |  | ||||||
|     border-style: dotted; |  | ||||||
|     border-width: thin; |  | ||||||
|     border-color: #dcdcdc; |  | ||||||
|     padding: 10px 15px 10px 15px; |  | ||||||
|     margin-bottom: 15px; |  | ||||||
|     margin-top: 15px; |  | ||||||
| } |  | ||||||
| div.note { |  | ||||||
|     padding: 10px 15px 10px 15px; |  | ||||||
|     background-color: #e4ffde; |  | ||||||
|     /*background: #e4ffde url(alert_info_32.png) 15px 15px no-repeat;*/ |  | ||||||
|     min-height: 42px; |  | ||||||
| } |  | ||||||
| div.warning { |  | ||||||
|     padding: 10px 15px 10px 15px; |  | ||||||
|     background-color: #fffbc6; |  | ||||||
|     /*background: #fffbc6 url(alert_warning_32.png) 15px 15px no-repeat;*/ |  | ||||||
|     min-height: 42px; |  | ||||||
| } |  | ||||||
| div.seealso { |  | ||||||
|     background: #e4ffde; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| /* More layout and styles */ |  | ||||||
| h1 { |  | ||||||
|     font-size: 1.6em; |  | ||||||
|     color: #aaa; |  | ||||||
|     border-bottom: dotted thin #e0e0e0; |  | ||||||
|     margin-top: 30px; |  | ||||||
|     font-family: "Museo Slab"; |  | ||||||
|     text-shadow: 1px 1px 1px rgba(175, 175, 175, .25); |  | ||||||
| } |  | ||||||
|  |  | ||||||
| h2 { |  | ||||||
|     font-size: 1.5em; |  | ||||||
|     font-weight: normal; |  | ||||||
|     color: #aaa; |  | ||||||
|     border-bottom: dotted thin #e0e0e0; |  | ||||||
|     margin-top: 30px; |  | ||||||
|     font-family: "Museo Slab"; |  | ||||||
|     text-shadow: 1px 1px 1px rgba(175, 175, 175, .25); |  | ||||||
| } |  | ||||||
|  |  | ||||||
| h3 { |  | ||||||
|     font-size: 1.4em; |  | ||||||
|     font-weight: normal; |  | ||||||
|     color: #aaa; |  | ||||||
|     margin-top: 30px; |  | ||||||
|     font-family: "Museo Slab"; |  | ||||||
|     text-shadow: 1px 1px 1px rgba(175, 175, 175, .25); |  | ||||||
| } |  | ||||||
|  |  | ||||||
| h4 { |  | ||||||
|     font-size: 1.3em; |  | ||||||
|     font-weight: normal; |  | ||||||
|     color: #CFCFCF; |  | ||||||
|     margin-top: 30px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| p { |  | ||||||
|     text-align: justify; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| p.last { |  | ||||||
|     margin-bottom: 0; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| ol { |  | ||||||
|     padding-left: 20px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| ul { |  | ||||||
|     padding-left: 5px; |  | ||||||
|     margin-top: 3px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| li { |  | ||||||
|     line-height: 1.3; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.content ul > li { |  | ||||||
|     -moz-background-clip:border; |  | ||||||
|     -moz-background-inline-policy:continuous; |  | ||||||
|     -moz-background-origin:padding; |  | ||||||
|     background: transparent url(bullet_orange.png) no-repeat scroll left 0.45em; |  | ||||||
|     list-style-image: none; |  | ||||||
|     list-style-type: none; |  | ||||||
|     padding: 0 0 0 1.666em; |  | ||||||
|     margin-bottom: 3px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| td { |  | ||||||
|     vertical-align: top; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| tt { |  | ||||||
|     background-color: #e2e2e2; |  | ||||||
|     font-size: 1.0em; |  | ||||||
|     font-family: monospace; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| pre { |  | ||||||
|     font-size: 1.1em; |  | ||||||
|     margin: 0 0 12px 0; |  | ||||||
|     padding: 0.8em; |  | ||||||
|     background-image: url(noise_dk.png); |  | ||||||
|     background-color: #222; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| hr { |  | ||||||
|     border-top: 1px solid #ccc; |  | ||||||
|     border-bottom: 0; |  | ||||||
|     border-right: 0; |  | ||||||
|     border-left: 0; |  | ||||||
|     margin-bottom: 10px; |  | ||||||
|     margin-top: 20px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| /* printer only pretty stuff */ |  | ||||||
| @media print { |  | ||||||
|     .noprint { |  | ||||||
|         display: none; |  | ||||||
|     } |  | ||||||
|     /* for acronyms we want their definitions inlined at print time */ |  | ||||||
|     acronym[title]:after { |  | ||||||
|         font-size: small; |  | ||||||
|         content: " (" attr(title) ")"; |  | ||||||
|         font-style: italic; |  | ||||||
|     } |  | ||||||
|     /* and not have mozilla dotted underline */ |  | ||||||
|     acronym { |  | ||||||
|         border: none; |  | ||||||
|     } |  | ||||||
|     div.topnav, div.bottomnav, div.header, table.index { |  | ||||||
|         display: none; |  | ||||||
|     } |  | ||||||
|     div.content { |  | ||||||
|         margin: 0px; |  | ||||||
|         padding: 0px; |  | ||||||
|     } |  | ||||||
|     html { |  | ||||||
|         background: #FFF; |  | ||||||
|     } |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .viewcode-back { |  | ||||||
|     font-family: "DejaVu Sans", Arial, Helvetica, sans-serif; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.viewcode-block:target { |  | ||||||
|     border-top: 1px solid #ac9; |  | ||||||
|     border-bottom: 1px solid #ac9; |  | ||||||
|     margin: -1px -12px; |  | ||||||
|     padding: 0 12px; |  | ||||||
| } |  | ||||||
							
								
								
									
										
											BIN
										
									
								
								docs/_static/header.png
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								docs/_static/header.png
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 16 KiB | 
							
								
								
									
										70
									
								
								docs/_static/ir_black.css
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										70
									
								
								docs/_static/ir_black.css
									
									
									
									
										vendored
									
									
								
							| @@ -1,70 +0,0 @@ | |||||||
| .highlight .hll { background-color: #ffffcc } |  | ||||||
| .highlight  { background: #000000; color: #f6f3e8; } |  | ||||||
| .highlight .c { color: #7C7C7C; } /* Comment */ |  | ||||||
| .highlight .err { color: #f6f3e8; } /* Error */ |  | ||||||
| .highlight .g { color: #f6f3e8; } /* Generic */ |  | ||||||
| .highlight .k { color: #00ADEE; } /* Keyword */ |  | ||||||
| .highlight .l { color: #f6f3e8; } /* Literal */ |  | ||||||
| .highlight .n { color: #f6f3e8; } /* Name */ |  | ||||||
| .highlight .o { color: #f6f3e8; } /* Operator */ |  | ||||||
| .highlight .x { color: #f6f3e8; } /* Other */ |  | ||||||
| .highlight .p { color: #f6f3e8; } /* Punctuation */ |  | ||||||
| .highlight .cm { color: #7C7C7C; } /* Comment.Multiline */ |  | ||||||
| .highlight .cp { color: #96CBFE; } /* Comment.Preproc */ |  | ||||||
| .highlight .c1 { color: #7C7C7C; } /* Comment.Single */ |  | ||||||
| .highlight .cs { color: #7C7C7C; } /* Comment.Special */ |  | ||||||
| .highlight .gd { color: #f6f3e8; } /* Generic.Deleted */ |  | ||||||
| .highlight .ge { color: #f6f3e8; } /* Generic.Emph */ |  | ||||||
| .highlight .gr { color: #ffffff; background-color: #ff0000 } /* Generic.Error */ |  | ||||||
| .highlight .gh { color: #f6f3e8; font-weight: bold; } /* Generic.Heading */ |  | ||||||
| .highlight .gi { color: #f6f3e8; } /* Generic.Inserted */ |  | ||||||
| .highlight .go { color: #070707; } /* Generic.Output */ |  | ||||||
| .highlight .gp { color: #f6f3e8; } /* Generic.Prompt */ |  | ||||||
| .highlight .gs { color: #f6f3e8; } /* Generic.Strong */ |  | ||||||
| .highlight .gu { color: #f6f3e8; font-weight: bold; } /* Generic.Subheading */ |  | ||||||
| .highlight .gt { color: #ffffff; font-weight: bold; background-color: #FF6C60 } /* Generic.Traceback */ |  | ||||||
| .highlight .kc { color: #6699CC; } /* Keyword.Constant */ |  | ||||||
| .highlight .kd { color: #6699CC; } /* Keyword.Declaration */ |  | ||||||
| .highlight .kn { color: #6699CC; } /* Keyword.Namespace */ |  | ||||||
| .highlight .kp { color: #6699CC; } /* Keyword.Pseudo */ |  | ||||||
| .highlight .kr { color: #6699CC; } /* Keyword.Reserved */ |  | ||||||
| .highlight .kt { color: #FFFFB6; } /* Keyword.Type */ |  | ||||||
| .highlight .ld { color: #f6f3e8; } /* Literal.Date */ |  | ||||||
| .highlight .m { color: #FF73FD; } /* Literal.Number */ |  | ||||||
| .highlight .s { color: #F46DBA;/*#A8FF60;*/ } /* Literal.String */ |  | ||||||
| .highlight .na { color: #f6f3e8; } /* Name.Attribute */ |  | ||||||
| .highlight .nb { color: #f6f3e8; } /* Name.Builtin */ |  | ||||||
| .highlight .nc { color: #f6f3e8; } /* Name.Class */ |  | ||||||
| .highlight .no { color: #99CC99; } /* Name.Constant */ |  | ||||||
| .highlight .nd { color: #f6f3e8; } /* Name.Decorator */ |  | ||||||
| .highlight .ni { color: #E18964; } /* Name.Entity */ |  | ||||||
| .highlight .ne { color: #f6f3e8; } /* Name.Exception */ |  | ||||||
| .highlight .nf { color: #F64DBA; } /* Name.Function */ |  | ||||||
| .highlight .nl { color: #f6f3e8; } /* Name.Label */ |  | ||||||
| .highlight .nn { color: #f6f3e8; } /* Name.Namespace */ |  | ||||||
| .highlight .nx { color: #f6f3e8; } /* Name.Other */ |  | ||||||
| .highlight .py { color: #f6f3e8; } /* Name.Property */ |  | ||||||
| .highlight .nt { color: #00ADEE; } /* Name.Tag */ |  | ||||||
| .highlight .nv { color: #C6C5FE; } /* Name.Variable */ |  | ||||||
| .highlight .ow { color: #ffffff; } /* Operator.Word */ |  | ||||||
| .highlight .w { color: #f6f3e8; } /* Text.Whitespace */ |  | ||||||
| .highlight .mf { color: #FF73FD; } /* Literal.Number.Float */ |  | ||||||
| .highlight .mh { color: #FF73FD; } /* Literal.Number.Hex */ |  | ||||||
| .highlight .mi { color: #FF73FD; } /* Literal.Number.Integer */ |  | ||||||
| .highlight .mo { color: #FF73FD; } /* Literal.Number.Oct */ |  | ||||||
| .highlight .sb { color: #A8FF60; } /* Literal.String.Backtick */ |  | ||||||
| .highlight .sc { color: #A8FF60; } /* Literal.String.Char */ |  | ||||||
| .highlight .sd { color: #A8FF60; } /* Literal.String.Doc */ |  | ||||||
| .highlight .s2 { color: #A8FF60; } /* Literal.String.Double */ |  | ||||||
| .highlight .se { color: #A8FF60; } /* Literal.String.Escape */ |  | ||||||
| .highlight .sh { color: #A8FF60; } /* Literal.String.Heredoc */ |  | ||||||
| .highlight .si { color: #A8FF60; } /* Literal.String.Interpol */ |  | ||||||
| .highlight .sx { color: #A8FF60; } /* Literal.String.Other */ |  | ||||||
| .highlight .sr { color: #A8FF60; } /* Literal.String.Regex */ |  | ||||||
| .highlight .s1 { color: #A8FF60; } /* Literal.String.Single */ |  | ||||||
| .highlight .ss { color: #A8FF60; } /* Literal.String.Symbol */ |  | ||||||
| .highlight .bp { color: #f6f3e8; } /* Name.Builtin.Pseudo */ |  | ||||||
| .highlight .vc { color: #C6C5FE; } /* Name.Variable.Class */ |  | ||||||
| .highlight .vg { color: #C6C5FE; } /* Name.Variable.Global */ |  | ||||||
| .highlight .vi { color: #C6C5FE; } /* Name.Variable.Instance */ |  | ||||||
| .highlight .il { color: #FF73FD; } /* Literal.Number.Integer.Long */ |  | ||||||
							
								
								
									
										245
									
								
								docs/_static/nature.css
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										245
									
								
								docs/_static/nature.css
									
									
									
									
										vendored
									
									
								
							| @@ -1,245 +0,0 @@ | |||||||
| /* |  | ||||||
|  * nature.css_t |  | ||||||
|  * ~~~~~~~~~~~~ |  | ||||||
|  * |  | ||||||
|  * Sphinx stylesheet -- nature theme. |  | ||||||
|  * |  | ||||||
|  * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS. |  | ||||||
|  * :license: BSD, see LICENSE for details. |  | ||||||
|  * |  | ||||||
|  */ |  | ||||||
|  |  | ||||||
| @import url("basic.css"); |  | ||||||
|  |  | ||||||
| /* -- page layout ----------------------------------------------------------- */ |  | ||||||
|  |  | ||||||
| body { |  | ||||||
|     font-family: Arial, sans-serif; |  | ||||||
|     font-size: 100%; |  | ||||||
|     background-color: #111; |  | ||||||
|     color: #555; |  | ||||||
|     margin: 0; |  | ||||||
|     padding: 0; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.documentwrapper { |  | ||||||
|     float: left; |  | ||||||
|     width: 100%; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.bodywrapper { |  | ||||||
|     margin: 0 0 0 230px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| hr { |  | ||||||
|     border: 1px solid #B1B4B6; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.document { |  | ||||||
|     background-color: #eee; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.body { |  | ||||||
|     background-color: #ffffff; |  | ||||||
|     color: #3E4349; |  | ||||||
|     padding: 0 30px 30px 30px; |  | ||||||
|     font-size: 0.9em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.footer { |  | ||||||
|     color: #555; |  | ||||||
|     width: 100%; |  | ||||||
|     padding: 13px 0; |  | ||||||
|     text-align: center; |  | ||||||
|     font-size: 75%; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.footer a { |  | ||||||
|     color: #444; |  | ||||||
|     text-decoration: underline; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.related { |  | ||||||
|     background-color: #6BA81E; |  | ||||||
|     line-height: 32px; |  | ||||||
|     color: #fff; |  | ||||||
|     text-shadow: 0px 1px 0 #444; |  | ||||||
|     font-size: 0.9em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.related a { |  | ||||||
|     color: #E2F3CC; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sphinxsidebar { |  | ||||||
|     font-size: 0.75em; |  | ||||||
|     line-height: 1.5em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sphinxsidebarwrapper{ |  | ||||||
|     padding: 20px 0; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sphinxsidebar h3, |  | ||||||
| div.sphinxsidebar h4 { |  | ||||||
|     font-family: Arial, sans-serif; |  | ||||||
|     color: #222; |  | ||||||
|     font-size: 1.2em; |  | ||||||
|     font-weight: normal; |  | ||||||
|     margin: 0; |  | ||||||
|     padding: 5px 10px; |  | ||||||
|     background-color: #ddd; |  | ||||||
|     text-shadow: 1px 1px 0 white |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sphinxsidebar h4{ |  | ||||||
|     font-size: 1.1em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sphinxsidebar h3 a { |  | ||||||
|     color: #444; |  | ||||||
| } |  | ||||||
|  |  | ||||||
|  |  | ||||||
| div.sphinxsidebar p { |  | ||||||
|     color: #888; |  | ||||||
|     padding: 5px 20px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sphinxsidebar p.topless { |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sphinxsidebar ul { |  | ||||||
|     margin: 10px 20px; |  | ||||||
|     padding: 0; |  | ||||||
|     color: #000; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sphinxsidebar a { |  | ||||||
|     color: #444; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sphinxsidebar input { |  | ||||||
|     border: 1px solid #ccc; |  | ||||||
|     font-family: sans-serif; |  | ||||||
|     font-size: 1em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sphinxsidebar input[type=text]{ |  | ||||||
|     margin-left: 20px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| /* -- body styles ----------------------------------------------------------- */ |  | ||||||
|  |  | ||||||
| a { |  | ||||||
|     color: #005B81; |  | ||||||
|     text-decoration: none; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| a:hover { |  | ||||||
|     color: #E32E00; |  | ||||||
|     text-decoration: underline; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.body h1, |  | ||||||
| div.body h2, |  | ||||||
| div.body h3, |  | ||||||
| div.body h4, |  | ||||||
| div.body h5, |  | ||||||
| div.body h6 { |  | ||||||
|     font-family: Arial, sans-serif; |  | ||||||
|     background-color: #BED4EB; |  | ||||||
|     font-weight: normal; |  | ||||||
|     color: #212224; |  | ||||||
|     margin: 30px 0px 10px 0px; |  | ||||||
|     padding: 5px 0 5px 10px; |  | ||||||
|     text-shadow: 0px 1px 0 white |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.body h1 { border-top: 20px solid white; margin-top: 0; font-size: 200%; } |  | ||||||
| div.body h2 { font-size: 150%; background-color: #C8D5E3; } |  | ||||||
| div.body h3 { font-size: 120%; background-color: #D8DEE3; } |  | ||||||
| div.body h4 { font-size: 110%; background-color: #D8DEE3; } |  | ||||||
| div.body h5 { font-size: 100%; background-color: #D8DEE3; } |  | ||||||
| div.body h6 { font-size: 100%; background-color: #D8DEE3; } |  | ||||||
|  |  | ||||||
| a.headerlink { |  | ||||||
|     color: #c60f0f; |  | ||||||
|     font-size: 0.8em; |  | ||||||
|     padding: 0 4px 0 4px; |  | ||||||
|     text-decoration: none; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| a.headerlink:hover { |  | ||||||
|     background-color: #c60f0f; |  | ||||||
|     color: white; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.body p, div.body dd, div.body li { |  | ||||||
|     line-height: 1.5em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.admonition p.admonition-title + p { |  | ||||||
|     display: inline; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.highlight{ |  | ||||||
|     background-color: white; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.note { |  | ||||||
|     background-color: #eee; |  | ||||||
|     border: 1px solid #ccc; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.seealso { |  | ||||||
|     background-color: #ffc; |  | ||||||
|     border: 1px solid #ff6; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.topic { |  | ||||||
|     background-color: #eee; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.warning { |  | ||||||
|     background-color: #ffe4e4; |  | ||||||
|     border: 1px solid #f66; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| p.admonition-title { |  | ||||||
|     display: inline; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| p.admonition-title:after { |  | ||||||
|     content: ":"; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| pre { |  | ||||||
|     padding: 10px; |  | ||||||
|     background-color: White; |  | ||||||
|     color: #222; |  | ||||||
|     line-height: 1.2em; |  | ||||||
|     border: 1px solid #C6C9CB; |  | ||||||
|     font-size: 1.1em; |  | ||||||
|     margin: 1.5em 0 1.5em 0; |  | ||||||
|     -webkit-box-shadow: 1px 1px 1px #d8d8d8; |  | ||||||
|     -moz-box-shadow: 1px 1px 1px #d8d8d8; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| tt { |  | ||||||
|     background-color: #ecf0f3; |  | ||||||
|     color: #222; |  | ||||||
|     /* padding: 1px 2px; */ |  | ||||||
|     font-size: 1.1em; |  | ||||||
|     font-family: monospace; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .viewcode-back { |  | ||||||
|     font-family: Arial, sans-serif; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.viewcode-block:target { |  | ||||||
|     background-color: #f4debf; |  | ||||||
|     border-top: 1px solid #ac9; |  | ||||||
|     border-bottom: 1px solid #ac9; |  | ||||||
| } |  | ||||||
							
								
								
									
										
											BIN
										
									
								
								docs/_static/noise_dk.png
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								docs/_static/noise_dk.png
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 22 KiB | 
							
								
								
									
										70
									
								
								docs/_static/pygments.css
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										70
									
								
								docs/_static/pygments.css
									
									
									
									
										vendored
									
									
								
							| @@ -1,70 +0,0 @@ | |||||||
| .highlight .hll { background-color: #ffffcc } |  | ||||||
| .highlight  { background: #000000; color: #f6f3e8; } |  | ||||||
| .highlight .c { color: #7C7C7C; } /* Comment */ |  | ||||||
| .highlight .err { color: #f6f3e8; } /* Error */ |  | ||||||
| .highlight .g { color: #f6f3e8; } /* Generic */ |  | ||||||
| .highlight .k { color: #00ADEE; } /* Keyword */ |  | ||||||
| .highlight .l { color: #f6f3e8; } /* Literal */ |  | ||||||
| .highlight .n { color: #f6f3e8; } /* Name */ |  | ||||||
| .highlight .o { color: #f6f3e8; } /* Operator */ |  | ||||||
| .highlight .x { color: #f6f3e8; } /* Other */ |  | ||||||
| .highlight .p { color: #f6f3e8; } /* Punctuation */ |  | ||||||
| .highlight .cm { color: #7C7C7C; } /* Comment.Multiline */ |  | ||||||
| .highlight .cp { color: #96CBFE; } /* Comment.Preproc */ |  | ||||||
| .highlight .c1 { color: #7C7C7C; } /* Comment.Single */ |  | ||||||
| .highlight .cs { color: #7C7C7C; } /* Comment.Special */ |  | ||||||
| .highlight .gd { color: #f6f3e8; } /* Generic.Deleted */ |  | ||||||
| .highlight .ge { color: #f6f3e8; } /* Generic.Emph */ |  | ||||||
| .highlight .gr { color: #ffffff; background-color: #ff0000 } /* Generic.Error */ |  | ||||||
| .highlight .gh { color: #f6f3e8; font-weight: bold; } /* Generic.Heading */ |  | ||||||
| .highlight .gi { color: #f6f3e8; } /* Generic.Inserted */ |  | ||||||
| .highlight .go { color: #070707; } /* Generic.Output */ |  | ||||||
| .highlight .gp { color: #f6f3e8; } /* Generic.Prompt */ |  | ||||||
| .highlight .gs { color: #f6f3e8; } /* Generic.Strong */ |  | ||||||
| .highlight .gu { color: #f6f3e8; font-weight: bold; } /* Generic.Subheading */ |  | ||||||
| .highlight .gt { color: #ffffff; font-weight: bold; background-color: #FF6C60 } /* Generic.Traceback */ |  | ||||||
| .highlight .kc { color: #6699CC; } /* Keyword.Constant */ |  | ||||||
| .highlight .kd { color: #6699CC; } /* Keyword.Declaration */ |  | ||||||
| .highlight .kn { color: #6699CC; } /* Keyword.Namespace */ |  | ||||||
| .highlight .kp { color: #6699CC; } /* Keyword.Pseudo */ |  | ||||||
| .highlight .kr { color: #6699CC; } /* Keyword.Reserved */ |  | ||||||
| .highlight .kt { color: #FFFFB6; } /* Keyword.Type */ |  | ||||||
| .highlight .ld { color: #f6f3e8; } /* Literal.Date */ |  | ||||||
| .highlight .m { color: #FF73FD; } /* Literal.Number */ |  | ||||||
| .highlight .s { color: #F46DBA;/*#A8FF60;*/ } /* Literal.String */ |  | ||||||
| .highlight .na { color: #f6f3e8; } /* Name.Attribute */ |  | ||||||
| .highlight .nb { color: #f6f3e8; } /* Name.Builtin */ |  | ||||||
| .highlight .nc { color: #f6f3e8; } /* Name.Class */ |  | ||||||
| .highlight .no { color: #99CC99; } /* Name.Constant */ |  | ||||||
| .highlight .nd { color: #f6f3e8; } /* Name.Decorator */ |  | ||||||
| .highlight .ni { color: #E18964; } /* Name.Entity */ |  | ||||||
| .highlight .ne { color: #f6f3e8; } /* Name.Exception */ |  | ||||||
| .highlight .nf { color: #F64DBA; } /* Name.Function */ |  | ||||||
| .highlight .nl { color: #f6f3e8; } /* Name.Label */ |  | ||||||
| .highlight .nn { color: #f6f3e8; } /* Name.Namespace */ |  | ||||||
| .highlight .nx { color: #f6f3e8; } /* Name.Other */ |  | ||||||
| .highlight .py { color: #f6f3e8; } /* Name.Property */ |  | ||||||
| .highlight .nt { color: #00ADEE; } /* Name.Tag */ |  | ||||||
| .highlight .nv { color: #C6C5FE; } /* Name.Variable */ |  | ||||||
| .highlight .ow { color: #ffffff; } /* Operator.Word */ |  | ||||||
| .highlight .w { color: #f6f3e8; } /* Text.Whitespace */ |  | ||||||
| .highlight .mf { color: #FF73FD; } /* Literal.Number.Float */ |  | ||||||
| .highlight .mh { color: #FF73FD; } /* Literal.Number.Hex */ |  | ||||||
| .highlight .mi { color: #FF73FD; } /* Literal.Number.Integer */ |  | ||||||
| .highlight .mo { color: #FF73FD; } /* Literal.Number.Oct */ |  | ||||||
| .highlight .sb { color: #A8FF60; } /* Literal.String.Backtick */ |  | ||||||
| .highlight .sc { color: #A8FF60; } /* Literal.String.Char */ |  | ||||||
| .highlight .sd { color: #A8FF60; } /* Literal.String.Doc */ |  | ||||||
| .highlight .s2 { color: #A8FF60; } /* Literal.String.Double */ |  | ||||||
| .highlight .se { color: #A8FF60; } /* Literal.String.Escape */ |  | ||||||
| .highlight .sh { color: #A8FF60; } /* Literal.String.Heredoc */ |  | ||||||
| .highlight .si { color: #A8FF60; } /* Literal.String.Interpol */ |  | ||||||
| .highlight .sx { color: #A8FF60; } /* Literal.String.Other */ |  | ||||||
| .highlight .sr { color: #A8FF60; } /* Literal.String.Regex */ |  | ||||||
| .highlight .s1 { color: #A8FF60; } /* Literal.String.Single */ |  | ||||||
| .highlight .ss { color: #A8FF60; } /* Literal.String.Symbol */ |  | ||||||
| .highlight .bp { color: #f6f3e8; } /* Name.Builtin.Pseudo */ |  | ||||||
| .highlight .vc { color: #C6C5FE; } /* Name.Variable.Class */ |  | ||||||
| .highlight .vg { color: #C6C5FE; } /* Name.Variable.Global */ |  | ||||||
| .highlight .vi { color: #C6C5FE; } /* Name.Variable.Instance */ |  | ||||||
| .highlight .il { color: #FF73FD; } /* Literal.Number.Integer.Long */ |  | ||||||
							
								
								
									
										339
									
								
								docs/_static/sphinxdoc.css
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										339
									
								
								docs/_static/sphinxdoc.css
									
									
									
									
										vendored
									
									
								
							| @@ -1,339 +0,0 @@ | |||||||
| /* |  | ||||||
|  * sphinxdoc.css_t |  | ||||||
|  * ~~~~~~~~~~~~~~~ |  | ||||||
|  * |  | ||||||
|  * Sphinx stylesheet -- sphinxdoc theme.  Originally created by |  | ||||||
|  * Armin Ronacher for Werkzeug. |  | ||||||
|  * |  | ||||||
|  * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS. |  | ||||||
|  * :license: BSD, see LICENSE for details. |  | ||||||
|  * |  | ||||||
|  */ |  | ||||||
|  |  | ||||||
| @import url("basic.css"); |  | ||||||
|  |  | ||||||
| /* -- page layout ----------------------------------------------------------- */ |  | ||||||
|  |  | ||||||
| body { |  | ||||||
|     font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', |  | ||||||
|                  'Verdana', sans-serif; |  | ||||||
|     font-size: 14px; |  | ||||||
|     letter-spacing: -0.01em; |  | ||||||
|     line-height: 150%; |  | ||||||
|     text-align: center; |  | ||||||
|     background-color: #BFD1D4; |  | ||||||
|     color: black; |  | ||||||
|     padding: 0; |  | ||||||
|     border: 1px solid #aaa; |  | ||||||
|  |  | ||||||
|     margin: 0px 80px 0px 80px; |  | ||||||
|     min-width: 740px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.document { |  | ||||||
|     background-color: white; |  | ||||||
|     text-align: left; |  | ||||||
|     background-image: url(contents.png); |  | ||||||
|     background-repeat: repeat-x; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.bodywrapper { |  | ||||||
|     margin: 0 240px 0 0; |  | ||||||
|     border-right: 1px solid #ccc; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.body { |  | ||||||
|     margin: 0; |  | ||||||
|     padding: 0.5em 20px 20px 20px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.related { |  | ||||||
|     font-size: 1em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.related ul { |  | ||||||
|     background-image: url(navigation.png); |  | ||||||
|     height: 2em; |  | ||||||
|     border-top: 1px solid #ddd; |  | ||||||
|     border-bottom: 1px solid #ddd; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.related ul li { |  | ||||||
|     margin: 0; |  | ||||||
|     padding: 0; |  | ||||||
|     height: 2em; |  | ||||||
|     float: left; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.related ul li.right { |  | ||||||
|     float: right; |  | ||||||
|     margin-right: 5px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.related ul li a { |  | ||||||
|     margin: 0; |  | ||||||
|     padding: 0 5px 0 5px; |  | ||||||
|     line-height: 1.75em; |  | ||||||
|     color: #EE9816; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.related ul li a:hover { |  | ||||||
|     color: #3CA8E7; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sphinxsidebarwrapper { |  | ||||||
|     padding: 0; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sphinxsidebar { |  | ||||||
|     margin: 0; |  | ||||||
|     padding: 0.5em 15px 15px 0; |  | ||||||
|     width: 210px; |  | ||||||
|     float: right; |  | ||||||
|     font-size: 1em; |  | ||||||
|     text-align: left; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sphinxsidebar h3, div.sphinxsidebar h4 { |  | ||||||
|     margin: 1em 0 0.5em 0; |  | ||||||
|     font-size: 1em; |  | ||||||
|     padding: 0.1em 0 0.1em 0.5em; |  | ||||||
|     color: white; |  | ||||||
|     border: 1px solid #86989B; |  | ||||||
|     background-color: #AFC1C4; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sphinxsidebar h3 a { |  | ||||||
|     color: white; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sphinxsidebar ul { |  | ||||||
|     padding-left: 1.5em; |  | ||||||
|     margin-top: 7px; |  | ||||||
|     padding: 0; |  | ||||||
|     line-height: 130%; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.sphinxsidebar ul ul { |  | ||||||
|     margin-left: 20px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.footer { |  | ||||||
|     background-color: #E3EFF1; |  | ||||||
|     color: #86989B; |  | ||||||
|     padding: 3px 8px 3px 0; |  | ||||||
|     clear: both; |  | ||||||
|     font-size: 0.8em; |  | ||||||
|     text-align: right; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.footer a { |  | ||||||
|     color: #86989B; |  | ||||||
|     text-decoration: underline; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| /* -- body styles ----------------------------------------------------------- */ |  | ||||||
|  |  | ||||||
| p { |  | ||||||
|     margin: 0.8em 0 0.5em 0; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| a { |  | ||||||
|     color: #CA7900; |  | ||||||
|     text-decoration: none; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| a:hover { |  | ||||||
|     color: #2491CF; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.body a { |  | ||||||
|     text-decoration: underline; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| h1 { |  | ||||||
|     margin: 0; |  | ||||||
|     padding: 0.7em 0 0.3em 0; |  | ||||||
|     font-size: 1.5em; |  | ||||||
|     color: #11557C; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| h2 { |  | ||||||
|     margin: 1.3em 0 0.2em 0; |  | ||||||
|     font-size: 1.35em; |  | ||||||
|     padding: 0; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| h3 { |  | ||||||
|     margin: 1em 0 -0.3em 0; |  | ||||||
|     font-size: 1.2em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.body h1 a, div.body h2 a, div.body h3 a, div.body h4 a, div.body h5 a, div.body h6 a { |  | ||||||
|     color: black!important; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| h1 a.anchor, h2 a.anchor, h3 a.anchor, h4 a.anchor, h5 a.anchor, h6 a.anchor { |  | ||||||
|     display: none; |  | ||||||
|     margin: 0 0 0 0.3em; |  | ||||||
|     padding: 0 0.2em 0 0.2em; |  | ||||||
|     color: #aaa!important; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| h1:hover a.anchor, h2:hover a.anchor, h3:hover a.anchor, h4:hover a.anchor, |  | ||||||
| h5:hover a.anchor, h6:hover a.anchor { |  | ||||||
|     display: inline; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| h1 a.anchor:hover, h2 a.anchor:hover, h3 a.anchor:hover, h4 a.anchor:hover, |  | ||||||
| h5 a.anchor:hover, h6 a.anchor:hover { |  | ||||||
|     color: #777; |  | ||||||
|     background-color: #eee; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| a.headerlink { |  | ||||||
|     color: #c60f0f!important; |  | ||||||
|     font-size: 1em; |  | ||||||
|     margin-left: 6px; |  | ||||||
|     padding: 0 4px 0 4px; |  | ||||||
|     text-decoration: none!important; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| a.headerlink:hover { |  | ||||||
|     background-color: #ccc; |  | ||||||
|     color: white!important; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| cite, code, tt { |  | ||||||
|     font-family: 'Consolas', 'Deja Vu Sans Mono', |  | ||||||
|                  'Bitstream Vera Sans Mono', monospace; |  | ||||||
|     font-size: 0.95em; |  | ||||||
|     letter-spacing: 0.01em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| tt { |  | ||||||
|     background-color: #f2f2f2; |  | ||||||
|     border-bottom: 1px solid #ddd; |  | ||||||
|     color: #333; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| tt.descname, tt.descclassname, tt.xref { |  | ||||||
|     border: 0; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| hr { |  | ||||||
|     border: 1px solid #abc; |  | ||||||
|     margin: 2em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| a tt { |  | ||||||
|     border: 0; |  | ||||||
|     color: #CA7900; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| a tt:hover { |  | ||||||
|     color: #2491CF; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| pre { |  | ||||||
|     font-family: 'Consolas', 'Deja Vu Sans Mono', |  | ||||||
|                  'Bitstream Vera Sans Mono', monospace; |  | ||||||
|     font-size: 0.95em; |  | ||||||
|     letter-spacing: 0.015em; |  | ||||||
|     line-height: 120%; |  | ||||||
|     padding: 0.5em; |  | ||||||
|     border: 1px solid #ccc; |  | ||||||
|     background-color: #f8f8f8; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| pre a { |  | ||||||
|     color: inherit; |  | ||||||
|     text-decoration: underline; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| td.linenos pre { |  | ||||||
|     padding: 0.5em 0; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.quotebar { |  | ||||||
|     background-color: #f8f8f8; |  | ||||||
|     max-width: 250px; |  | ||||||
|     float: right; |  | ||||||
|     padding: 2px 7px; |  | ||||||
|     border: 1px solid #ccc; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.topic { |  | ||||||
|     background-color: #f8f8f8; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| table { |  | ||||||
|     border-collapse: collapse; |  | ||||||
|     margin: 0 -0.5em 0 -0.5em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| table td, table th { |  | ||||||
|     padding: 0.2em 0.5em 0.2em 0.5em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.admonition, div.warning { |  | ||||||
|     font-size: 0.9em; |  | ||||||
|     margin: 1em 0 1em 0; |  | ||||||
|     border: 1px solid #86989B; |  | ||||||
|     background-color: #f7f7f7; |  | ||||||
|     padding: 0; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.admonition p, div.warning p { |  | ||||||
|     margin: 0.5em 1em 0.5em 1em; |  | ||||||
|     padding: 0; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.admonition pre, div.warning pre { |  | ||||||
|     margin: 0.4em 1em 0.4em 1em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.admonition p.admonition-title, |  | ||||||
| div.warning p.admonition-title { |  | ||||||
|     margin: 0; |  | ||||||
|     padding: 0.1em 0 0.1em 0.5em; |  | ||||||
|     color: white; |  | ||||||
|     border-bottom: 1px solid #86989B; |  | ||||||
|     font-weight: bold; |  | ||||||
|     background-color: #AFC1C4; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.warning { |  | ||||||
|     border: 1px solid #940000; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.warning p.admonition-title { |  | ||||||
|     background-color: #CF0000; |  | ||||||
|     border-bottom-color: #940000; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.admonition ul, div.admonition ol, |  | ||||||
| div.warning ul, div.warning ol { |  | ||||||
|     margin: 0.1em 0.5em 0.5em 3em; |  | ||||||
|     padding: 0; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.versioninfo { |  | ||||||
|     margin: 1em 0 0 0; |  | ||||||
|     border: 1px solid #ccc; |  | ||||||
|     background-color: #DDEAF0; |  | ||||||
|     padding: 8px; |  | ||||||
|     line-height: 1.3em; |  | ||||||
|     font-size: 0.9em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .viewcode-back { |  | ||||||
|     font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', |  | ||||||
|                  'Verdana', sans-serif; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| div.viewcode-block:target { |  | ||||||
|     background-color: #f4debf; |  | ||||||
|     border-top: 1px solid #ac9; |  | ||||||
|     border-bottom: 1px solid #ac9; |  | ||||||
| } |  | ||||||
							
								
								
									
										69
									
								
								docs/_templates/layout.html
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										69
									
								
								docs/_templates/layout.html
									
									
									
									
										vendored
									
									
								
							| @@ -1,69 +0,0 @@ | |||||||
| {# |  | ||||||
|     haiku/layout.html |  | ||||||
|     ~~~~~~~~~~~~~~~~~ |  | ||||||
|  |  | ||||||
|     Sphinx layout template for the haiku theme. |  | ||||||
|  |  | ||||||
|     :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS. |  | ||||||
|     :license: BSD, see LICENSE for details. |  | ||||||
| #} |  | ||||||
| {% extends "basic/layout.html" %} |  | ||||||
| {% set script_files = script_files + ['_static/theme_extras.js'] %} |  | ||||||
| {% set css_files = css_files + ['_static/print.css'] %} |  | ||||||
|  |  | ||||||
| {# do not display relbars #} |  | ||||||
| {% block relbar1 %}{% endblock %} |  | ||||||
| {% block relbar2 %}{% endblock %} |  | ||||||
|  |  | ||||||
| {% macro nav() %} |  | ||||||
|         <p> |  | ||||||
|         {%- block haikurel1 %} |  | ||||||
|         {%- endblock %} |  | ||||||
|         {%- if prev %} |  | ||||||
|         «  <a href="{{ prev.link|e }}">{{ prev.title }}</a> |  | ||||||
|           ::   |  | ||||||
|         {%- endif %} |  | ||||||
|         <a class="uplink" href="{{ pathto(master_doc) }}">{{ _('Contents') }}</a> |  | ||||||
|         {%- if next %} |  | ||||||
|           ::   |  | ||||||
|         <a href="{{ next.link|e }}">{{ next.title }}</a>  » |  | ||||||
|         {%- endif %} |  | ||||||
|         {%- block haikurel2 %} |  | ||||||
|         {%- endblock %} |  | ||||||
|         </p> |  | ||||||
| {% endmacro %} |  | ||||||
|  |  | ||||||
| {% block content %} |  | ||||||
|       <div class="header"> |  | ||||||
|         {%- block haikuheader %} |  | ||||||
|         {%- if theme_full_logo != "false" %} |  | ||||||
|         <a href="{{ pathto('index') }}"> |  | ||||||
|           <img class="logo" src="{{ pathto('_static/' + logo, 1) }}" alt="Logo"/> |  | ||||||
|         </a> |  | ||||||
|         {%- else %} |  | ||||||
|         {%- if logo -%} |  | ||||||
|           <img class="rightlogo" src="{{ pathto('_static/' + logo, 1) }}" alt="Logo"/> |  | ||||||
|         {%- endif -%} |  | ||||||
|         <h1 class="heading"><a href="{{ pathto('index') }}"> |  | ||||||
|           <span>{{ title|striptags }}</span></a></h1> |  | ||||||
|         <h2 class="heading"><span>{{ shorttitle|e }}</span></h2> |  | ||||||
|         {%- endif %} |  | ||||||
|         {%- endblock %} |  | ||||||
|       </div> |  | ||||||
|       <div class="topnav"> |  | ||||||
|       {{ nav() }} |  | ||||||
|       </div> |  | ||||||
|       <div class="content"> |  | ||||||
|         {#{%- if display_toc %} |  | ||||||
|         <div id="toc"> |  | ||||||
|           <h3>Table Of Contents</h3> |  | ||||||
|           {{ toc }} |  | ||||||
|         </div> |  | ||||||
|         {%- endif %}#} |  | ||||||
|         {% block body %}{% endblock %} |  | ||||||
|       </div> |  | ||||||
|       <div class="bottomnav"> |  | ||||||
|       {{ nav() }} |  | ||||||
|       </div> |  | ||||||
| {% endblock %} |  | ||||||
|  |  | ||||||
							
								
								
									
										88
									
								
								docs/api/api.rst
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										88
									
								
								docs/api/api.rst
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,88 @@ | |||||||
|  | .. _internal-api: | ||||||
|  |  | ||||||
|  | Internal "API" | ||||||
|  | ============== | ||||||
|  |  | ||||||
|  | Slixmpp has a generic API registry that can be used by its plugins to allow | ||||||
|  | access control, redefinition of behaviour, without having to inherit from the | ||||||
|  | plugin or do more dark magic. | ||||||
|  |  | ||||||
|  | The idea is that each api call can be replaced, most of them use a form | ||||||
|  | of in-memory storage that can be, for example, replaced with database | ||||||
|  | or file-based storaged. | ||||||
|  |  | ||||||
|  |  | ||||||
|  | Each plugin is assigned an API proxy bound to itself, but only a few make use | ||||||
|  | of it. | ||||||
|  |  | ||||||
|  | See also :ref:`api-simple-tuto`. | ||||||
|  |  | ||||||
|  | Description of a generic API call | ||||||
|  | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||||||
|  |  | ||||||
|  | .. code-block:: python | ||||||
|  |  | ||||||
|  |     def get_toto(jid, node, ifrom, args): | ||||||
|  |         return 'toto' | ||||||
|  |  | ||||||
|  |     self.xmpp.plugin['xep_XXXX'].api.register(handler, 'get_toto') | ||||||
|  |  | ||||||
|  | Each API call will receive 4 parameters (which can be ``None`` if data | ||||||
|  | is not relevant to the operation), which are ``jid`` (``Optional[JID]``), | ||||||
|  | ``node`` (``Optional[str]``), ``ifrom`` (``Optional[JID]``), and ``args`` | ||||||
|  | (``Any``). | ||||||
|  |  | ||||||
|  | - ``jid``, if relevant, represents the JID targeted by that operation | ||||||
|  | - ``node``, if relevant is an arbitrary string, but was thought for, e.g., | ||||||
|  |   a pubsub or disco node. | ||||||
|  | - ``ifrom``, if relevant, is the JID the event is coming from. | ||||||
|  | - ``args`` is the event-specific data passed on by the plugin, often a dict | ||||||
|  |   of arguments (can be None as well). | ||||||
|  |  | ||||||
|  | .. note:: | ||||||
|  |     Since 1.8.0, API calls can be coroutines. | ||||||
|  |  | ||||||
|  |  | ||||||
|  | Handler hierarchy | ||||||
|  | ~~~~~~~~~~~~~~~~~ | ||||||
|  |  | ||||||
|  | The ``self.api.register()`` signature is as follows: | ||||||
|  |  | ||||||
|  | .. code-block:: python | ||||||
|  |  | ||||||
|  |     def register(handler, op, jid=None, node=None, default=False): | ||||||
|  |         pass | ||||||
|  |  | ||||||
|  | As you can see, :meth:`~.APIRegistry.register` takes an additional ctype | ||||||
|  | parameter, but the :class:`~.APIWrapper` takes care of that for us (in most | ||||||
|  | cases, it is the name of the XEP plugin, such as ``'xep_0XXX'``). | ||||||
|  |  | ||||||
|  | When you register a handler, you register it for an ``op``, for **operation**. | ||||||
|  | For example, ``get_vcard``. | ||||||
|  |  | ||||||
|  | ``handler`` and ``op`` are the only two required parameters (and in many cases, | ||||||
|  | all you will ever need). You can, however, go further and register handlers | ||||||
|  | for specific values of the ``jid`` and ``node`` parameters of the calls. | ||||||
|  |  | ||||||
|  | The priority of the execution of handlers is as follows: | ||||||
|  |  | ||||||
|  | - Check if a handler for both values of ``node`` and ``jid`` has been defined | ||||||
|  | - If not found, check if a handler for this value of ``jid`` has been defined | ||||||
|  | - If not found, check if a handler for this value of ``node`` has been defined | ||||||
|  | - If still not found, get the global handler (no parameter registered) | ||||||
|  |  | ||||||
|  |  | ||||||
|  | Raw documentation | ||||||
|  | ~~~~~~~~~~~~~~~~~ | ||||||
|  |  | ||||||
|  | This documentation is provided for reference, but :meth:`~.APIRegistry.register` | ||||||
|  | should be all you need. | ||||||
|  |  | ||||||
|  |  | ||||||
|  | .. module:: slixmpp.api | ||||||
|  |  | ||||||
|  | .. autoclass:: APIRegistry | ||||||
|  |     :members: | ||||||
|  |  | ||||||
|  | .. autoclass:: APIWrapper | ||||||
|  |  | ||||||
							
								
								
									
										17
									
								
								docs/api/index.rst
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								docs/api/index.rst
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | |||||||
|  | API Reference | ||||||
|  | ------------- | ||||||
|  |  | ||||||
|  | .. toctree:: | ||||||
|  |     :maxdepth: 3 | ||||||
|  |  | ||||||
|  |     clientxmpp | ||||||
|  |     componentxmpp | ||||||
|  |     basexmpp | ||||||
|  |     exceptions | ||||||
|  |     xmlstream/jid | ||||||
|  |     xmlstream/stanzabase | ||||||
|  |     xmlstream/handler | ||||||
|  |     xmlstream/matcher | ||||||
|  |     xmlstream/xmlstream | ||||||
|  |     xmlstream/tostring | ||||||
|  |     api | ||||||
| @@ -75,6 +75,7 @@ Plugin index | |||||||
|     xep_0335 |     xep_0335 | ||||||
|     xep_0352 |     xep_0352 | ||||||
|     xep_0353 |     xep_0353 | ||||||
|  |     xep_0356 | ||||||
|     xep_0359 |     xep_0359 | ||||||
|     xep_0363 |     xep_0363 | ||||||
|     xep_0369 |     xep_0369 | ||||||
| @@ -91,6 +92,5 @@ Plugin index | |||||||
|     xep_0428 |     xep_0428 | ||||||
|     xep_0437 |     xep_0437 | ||||||
|     xep_0439 |     xep_0439 | ||||||
|  |     xep_0441 | ||||||
|     xep_0444 |     xep_0444 | ||||||
|  |  | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0004 | XEP-0004: Data Forms | ||||||
| ======== | ==================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0004 | .. module:: slixmpp.plugins.xep_0004 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0009 | XEP-0009: Jabber-RPC | ||||||
| ======== | ==================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0009 | .. module:: slixmpp.plugins.xep_0009 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0012 | XEP-0012: Last Activity | ||||||
| ======== | ======================= | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0012 | .. module:: slixmpp.plugins.xep_0012 | ||||||
|  |  | ||||||
| @@ -9,6 +9,44 @@ XEP 0012 | |||||||
|     :exclude-members: session_bind, plugin_init, plugin_end |     :exclude-members: session_bind, plugin_init, plugin_end | ||||||
|  |  | ||||||
|  |  | ||||||
|  | .. _api-0012: | ||||||
|  |  | ||||||
|  | Internal API methods | ||||||
|  | -------------------- | ||||||
|  |  | ||||||
|  | This plugin uses an in-memory storage by default to keep track of the | ||||||
|  | received and sent last activities. | ||||||
|  |  | ||||||
|  | .. glossary:: | ||||||
|  |  | ||||||
|  |     get_last_activity | ||||||
|  |         - **jid**: :class:`~.JID` of whom to retrieve the last activity | ||||||
|  |         - **node**: unused | ||||||
|  |         - **ifrom**: who the request is from (None = local) | ||||||
|  |         - **args**: ``None`` or an :class:`~.Iq` that is requesting the | ||||||
|  |         - **returns** | ||||||
|  |           information. | ||||||
|  |  | ||||||
|  |         Get the last activity of a JID from the storage. | ||||||
|  |  | ||||||
|  |     set_last_activity | ||||||
|  |         - **jid**: :class:`~.JID` of whom to set the last activity | ||||||
|  |         - **node**: unused | ||||||
|  |         - **ifrom**: unused | ||||||
|  |         - **args**: A dict containing ``'seconds'`` and ``'status'`` | ||||||
|  |           ``{'seconds': Optional[int], 'status': Optional[str]}`` | ||||||
|  |  | ||||||
|  |         Set the last activity of a JID in the storage. | ||||||
|  |  | ||||||
|  |     del_last_activity | ||||||
|  |         - **jid**: :class:`~.JID` to delete from the storage | ||||||
|  |         - **node**: unused | ||||||
|  |         - **ifrom**: unused | ||||||
|  |         - **args**: unused | ||||||
|  |  | ||||||
|  |         Remove the last activity of a JID from the storage. | ||||||
|  |  | ||||||
|  |  | ||||||
| Stanza elements | Stanza elements | ||||||
| --------------- | --------------- | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0013 | XEP-0013: Flexible Offline Message Retrieval | ||||||
| ======== | ============================================ | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0013 | .. module:: slixmpp.plugins.xep_0013 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0020 | XEP-0020: Feature Negotiation | ||||||
| ======== | ============================= | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0020 | .. module:: slixmpp.plugins.xep_0020 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0027 | XEP-0027: Current Jabber OpenPGP Usage | ||||||
| ======== | ====================================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0027 | .. module:: slixmpp.plugins.xep_0027 | ||||||
|  |  | ||||||
| @@ -9,6 +9,50 @@ XEP 0027 | |||||||
|     :exclude-members: session_bind, plugin_init, plugin_end |     :exclude-members: session_bind, plugin_init, plugin_end | ||||||
|  |  | ||||||
|  |  | ||||||
|  | .. _api-0027: | ||||||
|  |  | ||||||
|  | Internal API methods | ||||||
|  | -------------------- | ||||||
|  |  | ||||||
|  | The default API here is managing a JID→Keyid dict in-memory. | ||||||
|  |  | ||||||
|  | .. glossary:: | ||||||
|  |  | ||||||
|  |     get_keyid | ||||||
|  |         - **jid**: :class:`~.JID` to get. | ||||||
|  |         - **node**: unused | ||||||
|  |         - **ifrom**: unused | ||||||
|  |         - **args**: unused | ||||||
|  |         - **returns**: ``Optional[str]``, the keyid or None | ||||||
|  |  | ||||||
|  |         Get the KeyiD for a JID, None if it is not found. | ||||||
|  |  | ||||||
|  |     set_keyid | ||||||
|  |         - **jid**: :class:`~.JID` to set the id for. | ||||||
|  |         - **node**: unused | ||||||
|  |         - **ifrom**: unused | ||||||
|  |         - **args**: ``str``, keyid to set | ||||||
|  |  | ||||||
|  |         Set the KeyiD for a JID. | ||||||
|  |  | ||||||
|  |     del_keyid | ||||||
|  |         - **jid**: :class:`~.JID` to delete from the mapping. | ||||||
|  |         - **node**: unused | ||||||
|  |         - **ifrom**: unused | ||||||
|  |         - **args**: unused | ||||||
|  |  | ||||||
|  |         Delete the KeyiD for a JID. | ||||||
|  |  | ||||||
|  |     get_keyids | ||||||
|  |         - **jid**: unused | ||||||
|  |         - **node**: unused | ||||||
|  |         - **ifrom**: unused | ||||||
|  |         - **args**: unused | ||||||
|  |         - **returns**: ``Dict[JID, str]`` the full internal mapping | ||||||
|  |  | ||||||
|  |         Get all currently stored KeyIDs. | ||||||
|  |  | ||||||
|  |  | ||||||
| Stanza elements | Stanza elements | ||||||
| --------------- | --------------- | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0030 | XEP-0030: Service Discovery | ||||||
| ======== | =========================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0030 | .. module:: slixmpp.plugins.xep_0030 | ||||||
|  |  | ||||||
| @@ -9,14 +9,31 @@ XEP 0030 | |||||||
|     :exclude-members: session_bind, plugin_init, plugin_end |     :exclude-members: session_bind, plugin_init, plugin_end | ||||||
|  |  | ||||||
|  |  | ||||||
|  | .. _api-0030: | ||||||
|  |  | ||||||
|  | Internal API Methods | ||||||
|  | -------------------- | ||||||
|  |  | ||||||
|  | All ``api`` operations supported by the 0030 plugin are implemented as part of | ||||||
|  | the :class:`~.StaticDisco` class which implement an in-memory cache for disco | ||||||
|  | info and items. | ||||||
|  |  | ||||||
|  |  | ||||||
|  | .. automodule:: slixmpp.plugins.xep_0030.static | ||||||
|  |     :members: | ||||||
|  |     :member-order: bysource | ||||||
|  |  | ||||||
|  |  | ||||||
| Stanza elements | Stanza elements | ||||||
| --------------- | --------------- | ||||||
|  |  | ||||||
| .. automodule:: slixmpp.plugins.xep_0030.stanza.info | .. automodule:: slixmpp.plugins.xep_0030.stanza.info | ||||||
|     :members: |     :members: | ||||||
|  |     :member-order: bysource | ||||||
|     :undoc-members: |     :undoc-members: | ||||||
|  |  | ||||||
| .. automodule:: slixmpp.plugins.xep_0030.stanza.items | .. automodule:: slixmpp.plugins.xep_0030.stanza.items | ||||||
|     :members: |     :members: | ||||||
|  |     :member-order: bysource | ||||||
|     :undoc-members: |     :undoc-members: | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0033 | XEP-0033: Extended Stanza Addressing | ||||||
| ======== | ==================================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0033 | .. module:: slixmpp.plugins.xep_0033 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,10 +1,11 @@ | |||||||
|  |  | ||||||
| XEP 0045 | XEP-0045: Multi-User Chat | ||||||
| ======== | ========================= | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0045 | .. module:: slixmpp.plugins.xep_0045 | ||||||
|  |  | ||||||
| .. autoclass:: XEP_0045 | .. autoclass:: XEP_0045 | ||||||
|  |     :member-order: bysource | ||||||
|     :members: |     :members: | ||||||
|     :exclude-members: session_bind, plugin_init, plugin_end |     :exclude-members: session_bind, plugin_init, plugin_end | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0047 | XEP-0047: In-band Bytestreams | ||||||
| ======== | ============================= | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0047 | .. module:: slixmpp.plugins.xep_0047 | ||||||
|  |  | ||||||
| @@ -8,6 +8,77 @@ XEP 0047 | |||||||
|     :members: |     :members: | ||||||
|     :exclude-members: session_bind, plugin_init, plugin_end |     :exclude-members: session_bind, plugin_init, plugin_end | ||||||
|  |  | ||||||
|  | .. autoclass:: IBBytestream | ||||||
|  |     :members: | ||||||
|  |  | ||||||
|  | .. _api-0047: | ||||||
|  |  | ||||||
|  | Internal API methods | ||||||
|  | -------------------- | ||||||
|  |  | ||||||
|  | The API here is used to manage streams and authorize. The default handlers | ||||||
|  | work with the config parameters. | ||||||
|  |  | ||||||
|  | .. glossary:: | ||||||
|  |  | ||||||
|  |     authorized_sid (0047 version) | ||||||
|  |         - **jid**: :class:`~.JID` receiving the stream initiation. | ||||||
|  |         - **node**:  stream id | ||||||
|  |         - **ifrom**: who the stream is from. | ||||||
|  |         - **args**: :class:`~.Iq` of the stream request. | ||||||
|  |         - **returns**: ``True`` if the stream should be accepted, | ||||||
|  |           ``False`` otherwise. | ||||||
|  |  | ||||||
|  |         Check if the stream should be accepted. Uses | ||||||
|  |         the information setup by :term:`preauthorize_sid (0047 version)` | ||||||
|  |         by default. | ||||||
|  |  | ||||||
|  |     authorized (0047 version) | ||||||
|  |         - **jid**: :class:`~.JID` receiving the stream initiation. | ||||||
|  |         - **node**:  stream id | ||||||
|  |         - **ifrom**: who the stream is from. | ||||||
|  |         - **args**: :class:`~.Iq` of the stream request. | ||||||
|  |         - **returns**: ``True`` if the stream should be accepted, | ||||||
|  |           ``False`` otherwise. | ||||||
|  |  | ||||||
|  |         A fallback handler (run after :term:`authorized_sid (0047 version)`) | ||||||
|  |         to check if a stream should be accepted. Uses the ``auto_accept`` | ||||||
|  |         parameter by default. | ||||||
|  |  | ||||||
|  |     preauthorize_sid (0047 version) | ||||||
|  |         - **jid**: :class:`~.JID` receiving the stream initiation. | ||||||
|  |         - **node**:  stream id | ||||||
|  |         - **ifrom**: who the stream will be from. | ||||||
|  |         - **args**: Unused. | ||||||
|  |  | ||||||
|  |         Register a stream id to be accepted automatically (called from | ||||||
|  |         other plugins such as XEP-0095). | ||||||
|  |  | ||||||
|  |     get_stream | ||||||
|  |         - **jid**: :class:`~.JID` of local receiver. | ||||||
|  |         - **node**:  stream id | ||||||
|  |         - **ifrom**: who the stream is from. | ||||||
|  |         - **args**: unused | ||||||
|  |         - **returns**: :class:`~.IBBytestream` | ||||||
|  |  | ||||||
|  |         Return a currently opened stream between two JIDs. | ||||||
|  |  | ||||||
|  |     set_stream | ||||||
|  |         - **jid**: :class:`~.JID` of local receiver. | ||||||
|  |         - **node**:  stream id | ||||||
|  |         - **ifrom**: who the stream is from. | ||||||
|  |         - **args**: unused | ||||||
|  |  | ||||||
|  |         Register an opened stream between two JIDs. | ||||||
|  |  | ||||||
|  |     del_stream | ||||||
|  |         - **jid**: :class:`~.JID` of local receiver. | ||||||
|  |         - **node**:  stream id | ||||||
|  |         - **ifrom**: who the stream is from. | ||||||
|  |         - **args**: unused | ||||||
|  |  | ||||||
|  |         Delete a stream between two JIDs. | ||||||
|  |  | ||||||
|  |  | ||||||
| Stanza elements | Stanza elements | ||||||
| --------------- | --------------- | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0049 | XEP-0049: Private XML Storage | ||||||
| ======== | ============================= | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0049 | .. module:: slixmpp.plugins.xep_0049 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0050 | XEP-0050: Ad-Hoc Commands | ||||||
| ======== | ========================= | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0050 | .. module:: slixmpp.plugins.xep_0050 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0054 | XEP-0054: vcard-temp | ||||||
| ======== | ==================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0054 | .. module:: slixmpp.plugins.xep_0054 | ||||||
|  |  | ||||||
| @@ -8,6 +8,40 @@ XEP 0054 | |||||||
|     :members: |     :members: | ||||||
|     :exclude-members: session_bind, plugin_init, plugin_end |     :exclude-members: session_bind, plugin_init, plugin_end | ||||||
|  |  | ||||||
|  | .. _api-0054: | ||||||
|  |  | ||||||
|  | Internal API methods | ||||||
|  | -------------------- | ||||||
|  |  | ||||||
|  | This plugin maintains by default an in-memory cache of the received | ||||||
|  | VCards. | ||||||
|  |  | ||||||
|  | .. glossary:: | ||||||
|  |  | ||||||
|  |     set_vcard | ||||||
|  |         - **jid**: :class:`~.JID` of whom to set the vcard | ||||||
|  |         - **node**: unused | ||||||
|  |         - **ifrom**: unused | ||||||
|  |         - **args**: :class:`~.VCardTemp` object to store for this JID. | ||||||
|  |  | ||||||
|  |         Set a VCard for a JID. | ||||||
|  |  | ||||||
|  |     get_vcard | ||||||
|  |         - **jid**: :class:`~.JID` of whom to set the vcard | ||||||
|  |         - **node**: unused | ||||||
|  |         - **ifrom**: :class:`~.JID` the request is coming from | ||||||
|  |         - **args**: unused | ||||||
|  |         - **returns**: :class:`~.VCardTemp` object for this JID or None. | ||||||
|  |  | ||||||
|  |         Get a stored VCard for a JID. | ||||||
|  |  | ||||||
|  |     del_vcard | ||||||
|  |         - **jid**: :class:`~.JID` of whom to set the vcard | ||||||
|  |         - **node**: unused | ||||||
|  |         - **ifrom**: unused | ||||||
|  |         - **args**: unused | ||||||
|  |  | ||||||
|  |         Delete a stored VCard for a JID. | ||||||
|  |  | ||||||
| Stanza elements | Stanza elements | ||||||
| --------------- | --------------- | ||||||
|   | |||||||
							
								
								
									
										18
									
								
								docs/api/plugins/xep_0055.rst
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								docs/api/plugins/xep_0055.rst
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,18 @@ | |||||||
|  |  | ||||||
|  | XEP-0055: Jabber search | ||||||
|  | ======================= | ||||||
|  |  | ||||||
|  | .. module:: slixmpp.plugins.xep_0055 | ||||||
|  |  | ||||||
|  | .. autoclass:: XEP_0055 | ||||||
|  |     :members: | ||||||
|  |     :exclude-members: session_bind, plugin_init, plugin_end | ||||||
|  |  | ||||||
|  |  | ||||||
|  | Stanza elements | ||||||
|  | --------------- | ||||||
|  |  | ||||||
|  | .. automodule:: slixmpp.plugins.xep_0055.stanza | ||||||
|  |     :members: | ||||||
|  |     :undoc-members: | ||||||
|  |  | ||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0059 | XEP-0059: Result Set Management | ||||||
| ======== | =============================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0059 | .. module:: slixmpp.plugins.xep_0059 | ||||||
|  |  | ||||||
| @@ -8,6 +8,9 @@ XEP 0059 | |||||||
|     :members: |     :members: | ||||||
|     :exclude-members: session_bind, plugin_init, plugin_end |     :exclude-members: session_bind, plugin_init, plugin_end | ||||||
|  |  | ||||||
|  | .. autoclass:: ResultIterator | ||||||
|  |     :members: | ||||||
|  |     :member-order: bysource | ||||||
|  |  | ||||||
| Stanza elements | Stanza elements | ||||||
| --------------- | --------------- | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0060 | XEP-0060: Publish-Subscribe | ||||||
| ======== | =========================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0060 | .. module:: slixmpp.plugins.xep_0060 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0065 | XEP-0065: SOCKS5 Bytestreams | ||||||
| ======== | ============================ | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0065 | .. module:: slixmpp.plugins.xep_0065 | ||||||
|  |  | ||||||
| @@ -8,6 +8,48 @@ XEP 0065 | |||||||
|     :members: |     :members: | ||||||
|     :exclude-members: session_bind, plugin_init, plugin_end |     :exclude-members: session_bind, plugin_init, plugin_end | ||||||
|  |  | ||||||
|  | .. _api-0065: | ||||||
|  |  | ||||||
|  | Internal API methods | ||||||
|  | -------------------- | ||||||
|  |  | ||||||
|  | The internal API is used here to authorize or pre-authorize streams. | ||||||
|  |  | ||||||
|  | .. glossary:: | ||||||
|  |  | ||||||
|  |     authorized_sid (0065 version) | ||||||
|  |         - **jid**: :class:`~.JID` receiving the stream initiation. | ||||||
|  |         - **node**:  stream id | ||||||
|  |         - **ifrom**: who the stream is from. | ||||||
|  |         - **args**: :class:`~.Iq` of the stream request. | ||||||
|  |         - **returns**: ``True`` if the stream should be accepted, | ||||||
|  |           ``False`` otherwise. | ||||||
|  |  | ||||||
|  |         Check if the stream should be accepted. Uses | ||||||
|  |         the information setup by :term:`preauthorize_sid (0065 version)` | ||||||
|  |         by default. | ||||||
|  |  | ||||||
|  |     authorized (0065 version) | ||||||
|  |         - **jid**: :class:`~.JID` receiving the stream initiation. | ||||||
|  |         - **node**:  stream id | ||||||
|  |         - **ifrom**: who the stream is from. | ||||||
|  |         - **args**: :class:`~.Iq` of the stream request. | ||||||
|  |         - **returns**: ``True`` if the stream should be accepted, | ||||||
|  |           ``False`` otherwise. | ||||||
|  |  | ||||||
|  |         A fallback handler (run after :term:`authorized_sid (0065 version)`) | ||||||
|  |         to check if a stream should be accepted. Uses the ``auto_accept`` | ||||||
|  |         parameter by default. | ||||||
|  |  | ||||||
|  |     preauthorize_sid (0065 version) | ||||||
|  |         - **jid**: :class:`~.JID` receiving the stream initiation. | ||||||
|  |         - **node**:  stream id | ||||||
|  |         - **ifrom**: who the stream will be from. | ||||||
|  |         - **args**: Unused. | ||||||
|  |  | ||||||
|  |         Register a stream id to be accepted automatically (called from | ||||||
|  |         other plugins such as XEP-0095). | ||||||
|  |  | ||||||
|  |  | ||||||
| Stanza elements | Stanza elements | ||||||
| --------------- | --------------- | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0066 | XEP-0066: Out of Band Data | ||||||
| ======== | ========================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0066 | .. module:: slixmpp.plugins.xep_0066 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0070 | XEP-0070: Verifying HTTP Requests via XMPP | ||||||
| ======== | ========================================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0070 | .. module:: slixmpp.plugins.xep_0070 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0071 | XEP-0071: XHTML-IM | ||||||
| ======== | ================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0071 | .. module:: slixmpp.plugins.xep_0071 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0077 | XEP-0077: In-Band Registration | ||||||
| ======== | ============================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0077 | .. module:: slixmpp.plugins.xep_0077 | ||||||
|  |  | ||||||
| @@ -8,6 +8,53 @@ XEP 0077 | |||||||
|     :members: |     :members: | ||||||
|     :exclude-members: session_bind, plugin_init, plugin_end |     :exclude-members: session_bind, plugin_init, plugin_end | ||||||
|  |  | ||||||
|  | Internal APi methods | ||||||
|  | -------------------- | ||||||
|  |  | ||||||
|  | The API here is made to allow components to manage registered users. | ||||||
|  | The default handlers make use of the plugin options and store users | ||||||
|  | in memory. | ||||||
|  |  | ||||||
|  | .. glossary:: | ||||||
|  |  | ||||||
|  |     user_get | ||||||
|  |         - **jid**: unused | ||||||
|  |         - **node**: unused | ||||||
|  |         - **ifrom**: who the request is coming from | ||||||
|  |         - **args**: :class:`~.Iq` registration request. | ||||||
|  |         - **returns**: ``dict`` containing user data or None. | ||||||
|  |  | ||||||
|  |         Get user data for a user. | ||||||
|  |  | ||||||
|  |     user_validate | ||||||
|  |         - **jid**: unused | ||||||
|  |         - **node**: unused | ||||||
|  |         - **ifrom**: who the request is coming from | ||||||
|  |         - **args**: :class:`~.Iq` registration request, 'register' payload. | ||||||
|  |         - **raises**: ValueError if some fields are invalid | ||||||
|  |  | ||||||
|  |         Validate form fields and save user data. | ||||||
|  |  | ||||||
|  |     user_remove | ||||||
|  |         - **jid**: unused | ||||||
|  |         - **node**: unused | ||||||
|  |         - **ifrom**: who the request is coming from | ||||||
|  |         - **args**: :class:`~.Iq` registration removal request. | ||||||
|  |         - **raises**: KeyError if the user is not found. | ||||||
|  |  | ||||||
|  |         Remove a user from the store. | ||||||
|  |  | ||||||
|  |     make_registration_form | ||||||
|  |         - **jid**: unused | ||||||
|  |         - **node**: unused | ||||||
|  |         - **ifrom**: who the request is coming from | ||||||
|  |         - **args**: :class:`~.Iq` registration request. | ||||||
|  |         - **raises**: KeyError if the user is not found. | ||||||
|  |  | ||||||
|  |         Return an :class:`~.Iq` reply for the request, with a form and | ||||||
|  |         options set. By default, use ``form_fields`` and ``form_instructions`` | ||||||
|  |         plugin config options. | ||||||
|  |  | ||||||
|  |  | ||||||
| Stanza elements | Stanza elements | ||||||
| --------------- | --------------- | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0079 | XEP-0079: Advanced Message Processing | ||||||
| ======== | ===================================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0079 | .. module:: slixmpp.plugins.xep_0079 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0080 | XEP-0080: User Location | ||||||
| ======== | ======================= | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0080 | .. module:: slixmpp.plugins.xep_0080 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0082 | XEP-0082: XMPP Date and Time Profiles | ||||||
| ======== | ===================================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0082 | .. module:: slixmpp.plugins.xep_0082 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0084 | XEP-0084: User Avatar | ||||||
| ======== | ===================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0084 | .. module:: slixmpp.plugins.xep_0084 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0085 | XEP-0085: Chat State Notifications | ||||||
| ======== | ================================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0085 | .. module:: slixmpp.plugins.xep_0085 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0086 | XEP-0086: Error Condition Mappings | ||||||
| ======== | ================================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0086 | .. module:: slixmpp.plugins.xep_0086 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0092 | XEP-0092: Software Version | ||||||
| ======== | ========================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0092 | .. module:: slixmpp.plugins.xep_0092 | ||||||
|  |  | ||||||
|   | |||||||
							
								
								
									
										9
									
								
								docs/api/plugins/xep_0100.rst
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								docs/api/plugins/xep_0100.rst
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  |  | ||||||
|  | XEP-0106: Gateway interaction | ||||||
|  | ============================= | ||||||
|  |  | ||||||
|  | .. module:: slixmpp.plugins.xep_0100 | ||||||
|  |  | ||||||
|  | .. autoclass:: XEP_0100 | ||||||
|  |     :members: | ||||||
|  |     :exclude-members: session_bind, plugin_init, plugin_end | ||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0106 | XEP-0106: JID Escaping | ||||||
| ======== | ====================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0106 | .. module:: slixmpp.plugins.xep_0106 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0107 | XEP-0107: User Mood | ||||||
| ======== | =================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0107 | .. module:: slixmpp.plugins.xep_0107 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0108 | XEP-0108: User Activity | ||||||
| ======== | ======================= | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0108 | .. module:: slixmpp.plugins.xep_0108 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0115 | XEP-0115: Entity Capabilities | ||||||
| ======== | ============================= | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0115 | .. module:: slixmpp.plugins.xep_0115 | ||||||
|  |  | ||||||
| @@ -8,6 +8,54 @@ XEP 0115 | |||||||
|     :members: |     :members: | ||||||
|     :exclude-members: session_bind, plugin_init, plugin_end |     :exclude-members: session_bind, plugin_init, plugin_end | ||||||
|  |  | ||||||
|  | .. _api-0115: | ||||||
|  |  | ||||||
|  | Internal API methods | ||||||
|  | -------------------- | ||||||
|  |  | ||||||
|  | This internal API extends the Disco internal API, and also manages an | ||||||
|  | in-memory cache of verstring→disco info, and fulljid→verstring. | ||||||
|  |  | ||||||
|  | .. glossary:: | ||||||
|  |  | ||||||
|  |     cache_caps | ||||||
|  |         - **jid**: unused | ||||||
|  |         - **node**:  unused | ||||||
|  |         - **ifrom**: unused | ||||||
|  |         - **args**: a ``dict`` containing the verstring and | ||||||
|  |           :class:`~.DiscoInfo` payload ( | ||||||
|  |           ``{'verstring': Optional[str], 'info': Optional[DiscoInfo]}``) | ||||||
|  |  | ||||||
|  |         Cache a verification string with its payload. | ||||||
|  |  | ||||||
|  |     get_caps | ||||||
|  |         - **jid**: JID to retrieve the verstring for (unused with the default | ||||||
|  |           handler) | ||||||
|  |         - **node**:  unused | ||||||
|  |         - **ifrom**: unused | ||||||
|  |         - **args**: a ``dict`` containing the verstring | ||||||
|  |           ``{'verstring': str}`` | ||||||
|  |         - **returns**: The :class:`~.DiscoInfo` payload for that verstring. | ||||||
|  |  | ||||||
|  |         Get a disco payload from a verstring. | ||||||
|  |  | ||||||
|  |     assign_verstring | ||||||
|  |         - **jid**: :class:`~.JID` (full) to assign the verstring to | ||||||
|  |         - **node**:  unused | ||||||
|  |         - **ifrom**: unused | ||||||
|  |         - **args**: a ``dict`` containing the verstring | ||||||
|  |           ``{'verstring': str}`` | ||||||
|  |  | ||||||
|  |         Cache JID→verstring information. | ||||||
|  |  | ||||||
|  |     get_verstring | ||||||
|  |         - **jid**: :class:`~.JID` to use for fetching the verstring | ||||||
|  |         - **node**:  unused | ||||||
|  |         - **ifrom**: unused | ||||||
|  |         - **args**: unused | ||||||
|  |         - **returns**: ``str``, the verstring | ||||||
|  |  | ||||||
|  |         Retrieve a verstring for a JID. | ||||||
|  |  | ||||||
| Stanza elements | Stanza elements | ||||||
| --------------- | --------------- | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0118 | XEP-0118: User Tune | ||||||
| ======== | =================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0118 | .. module:: slixmpp.plugins.xep_0118 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0122 | XEP-0122: Data Forms Validation | ||||||
| ======== | =============================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0122 | .. module:: slixmpp.plugins.xep_0122 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,9 +1,44 @@ | |||||||
|  |  | ||||||
| XEP 0128 | XEP-0128: Service Discovery Extensions | ||||||
| ======== | ====================================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0128 | .. module:: slixmpp.plugins.xep_0128 | ||||||
|  |  | ||||||
| .. autoclass:: XEP_0128 | .. autoclass:: XEP_0128 | ||||||
|     :members: |     :members: | ||||||
|     :exclude-members: session_bind, plugin_init, plugin_end |     :exclude-members: session_bind, plugin_init, plugin_end | ||||||
|  |  | ||||||
|  | .. _api-0128: | ||||||
|  |  | ||||||
|  | Internal API methods | ||||||
|  | -------------------- | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
|  | .. glossary:: | ||||||
|  |  | ||||||
|  |     add_extended_info | ||||||
|  |         - **jid**: JID to set the extended info for | ||||||
|  |         - **node**:  note to set the info at | ||||||
|  |         - **ifrom**: unused | ||||||
|  |         - **args**: A :class:`~.Form` or list of forms to add to the disco | ||||||
|  |           extended info for this JID/node. | ||||||
|  |  | ||||||
|  |         Add extended info for a JID/node. | ||||||
|  |  | ||||||
|  |     set_extended_info | ||||||
|  |         - **jid**: JID to set the extended info for | ||||||
|  |         - **node**:  note to set the info at | ||||||
|  |         - **ifrom**: unused | ||||||
|  |         - **args**: A :class:`~.Form` or list of forms to set as the disco | ||||||
|  |           extended info for this JID/node. | ||||||
|  |  | ||||||
|  |         Set extended info for a JID/node. | ||||||
|  |  | ||||||
|  |     del_extended_info | ||||||
|  |         - **jid**: JID to delete the extended info from | ||||||
|  |         - **node**:  note to delete the info from | ||||||
|  |         - **ifrom**: unused | ||||||
|  |         - **args**: unused | ||||||
|  |  | ||||||
|  |         Delete extended info for a JID/node. | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0131 | XEP-0131: Stanza Headers and Internet Metadata | ||||||
| ======== | ============================================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0131 | .. module:: slixmpp.plugins.xep_0131 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0133 | XEP-0133: Service Administration | ||||||
| ======== | ================================ | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0133 | .. module:: slixmpp.plugins.xep_0133 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0152 | XEP-0152: Reachability Addresses | ||||||
| ======== | ================================ | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0152 | .. module:: slixmpp.plugins.xep_0152 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0153 | XEP-0153: vCard-Based Avatars | ||||||
| ======== | ============================= | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0153 | .. module:: slixmpp.plugins.xep_0153 | ||||||
|  |  | ||||||
| @@ -8,6 +8,43 @@ XEP 0153 | |||||||
|     :members: |     :members: | ||||||
|     :exclude-members: session_bind, plugin_init, plugin_end |     :exclude-members: session_bind, plugin_init, plugin_end | ||||||
|  |  | ||||||
|  | .. _api-0153: | ||||||
|  |  | ||||||
|  | Internal API methods | ||||||
|  | -------------------- | ||||||
|  |  | ||||||
|  | The internal API is used here to maintain an in-memory JID→avatar hash | ||||||
|  | cache. | ||||||
|  |  | ||||||
|  | .. glossary:: | ||||||
|  |  | ||||||
|  |     set_hash | ||||||
|  |         - **jid**: :class:`~.JID` of whom to retrieve the last activity | ||||||
|  |         - **node**: unused | ||||||
|  |         - **ifrom**: unused | ||||||
|  |         - **args**: ``str``, avatar hash | ||||||
|  |  | ||||||
|  |         Set the avatar hash for a JID. | ||||||
|  |  | ||||||
|  |     reset_hash | ||||||
|  |         - **jid**: :class:`~.JID` of whom to retrieve the last activity | ||||||
|  |         - **node**: unused | ||||||
|  |         - **ifrom**: :class:`~.JID` of the entity requesting the reset. | ||||||
|  |         - **args**: unused | ||||||
|  |         - **returns** | ||||||
|  |           information. | ||||||
|  |  | ||||||
|  |         Reset the avatar hash for a JID. This downloads the vcard and computes | ||||||
|  |         the hash. | ||||||
|  |  | ||||||
|  |     get_hash | ||||||
|  |         - **jid**: :class:`~.JID` of whom to retrieve the last activity | ||||||
|  |         - **node**: unused | ||||||
|  |         - **ifrom**: unused | ||||||
|  |         - **args**: unused | ||||||
|  |         - **returns**: ``Optional[str]``, the avatar hash | ||||||
|  |  | ||||||
|  |         Get the avatar hash for a JID. | ||||||
|  |  | ||||||
| Stanza elements | Stanza elements | ||||||
| --------------- | --------------- | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0163 | XEP-0163: Personal Eventing Protocol (PEP) | ||||||
| ======== | ========================================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0163 | .. module:: slixmpp.plugins.xep_0163 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0172 | XEP-0172: User Nickname | ||||||
| ======== | ======================= | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0172 | .. module:: slixmpp.plugins.xep_0172 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0184 | XEP-0184: Message Delivery Receipts | ||||||
| ======== | =================================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0184 | .. module:: slixmpp.plugins.xep_0184 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0186 | XEP-0186: Invisible Command | ||||||
| ======== | =========================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0186 | .. module:: slixmpp.plugins.xep_0186 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0191 | XEP-0191: Blocking Command | ||||||
| ======== | ========================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0191 | .. module:: slixmpp.plugins.xep_0191 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0196 | XEP-0196: User Gaming | ||||||
| ======== | ===================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0196 | .. module:: slixmpp.plugins.xep_0196 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0198 | XEP-0198: Stream Management | ||||||
| ======== | =========================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0198 | .. module:: slixmpp.plugins.xep_0198 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0199 | XEP-0199: XMPP Ping | ||||||
| ======== | =================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0199 | .. module:: slixmpp.plugins.xep_0199 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0202 | XEP-0202: Entity Time | ||||||
| ======== | ===================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0202 | .. module:: slixmpp.plugins.xep_0202 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0203 | XEP-0203: Delayed Delivery | ||||||
| ======== | ========================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0203 | .. module:: slixmpp.plugins.xep_0203 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0221 | XEP-0221: Data Forms Media Element | ||||||
| ======== | ================================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0221 | .. module:: slixmpp.plugins.xep_0221 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0222 | XEP-0222: Persistent Storage of Public Data via PubSub | ||||||
| ======== | ====================================================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0222 | .. module:: slixmpp.plugins.xep_0222 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0223 | XEP-0223: Persistent Storage of Private Data via PubSub | ||||||
| ======== | ======================================================= | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0223 | .. module:: slixmpp.plugins.xep_0223 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0224 | XEP-0224: Attention | ||||||
| ======== | =================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0224 | .. module:: slixmpp.plugins.xep_0224 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0231 | XEP-0231: Bits of Binary | ||||||
| ======== | ======================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0231 | .. module:: slixmpp.plugins.xep_0231 | ||||||
|  |  | ||||||
| @@ -8,6 +8,41 @@ XEP 0231 | |||||||
|     :members: |     :members: | ||||||
|     :exclude-members: session_bind, plugin_init, plugin_end |     :exclude-members: session_bind, plugin_init, plugin_end | ||||||
|  |  | ||||||
|  | .. _api-0231: | ||||||
|  |  | ||||||
|  | Internal API methods | ||||||
|  | -------------------- | ||||||
|  |  | ||||||
|  | The default API handlers for this plugin manage an in-memory cache of | ||||||
|  | bits of binary by content-id. | ||||||
|  |  | ||||||
|  | .. glossary:: | ||||||
|  |  | ||||||
|  |     set_bob | ||||||
|  |         - **jid**: :class:`~.JID` sending the bob | ||||||
|  |         - **node**: unused | ||||||
|  |         - **ifrom**: :class:`~JID` receiving the bob | ||||||
|  |         - **args**: :class:`~.BitsOfBinary` element. | ||||||
|  |  | ||||||
|  |         Set a BoB in the cache. | ||||||
|  |  | ||||||
|  |     get_bob | ||||||
|  |         - **jid**: :class:`~.JID` receiving the bob | ||||||
|  |         - **node**: unused | ||||||
|  |         - **ifrom**: :class:`~JID` sending the bob | ||||||
|  |         - **args**: ``str`` content-id of the bob | ||||||
|  |         - **returns**: :class:`~.BitsOfBinary` element. | ||||||
|  |  | ||||||
|  |         Get a BoB from the cache. | ||||||
|  |  | ||||||
|  |     del_bob | ||||||
|  |         - **jid**: unused | ||||||
|  |         - **node**: unused | ||||||
|  |         - **ifrom**: :class:`~JID` sending the bob | ||||||
|  |         - **args**: ``str`` content-id of the bob | ||||||
|  |  | ||||||
|  |         Delete a BoB from the cache. | ||||||
|  |  | ||||||
|  |  | ||||||
| Stanza elements | Stanza elements | ||||||
| --------------- | --------------- | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0235 | XEP-0235: OAuth Over XMPP | ||||||
| ======== | ========================= | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0235 | .. module:: slixmpp.plugins.xep_0235 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0249 | XEP-0249: Direct MUC Invitations | ||||||
| ======== | ================================ | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0249 | .. module:: slixmpp.plugins.xep_0249 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0256 | XEP-0256: Last Activity in Presence | ||||||
| ======== | =================================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0256 | .. module:: slixmpp.plugins.xep_0256 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0257 | XEP-0257: Client Certificate Management for SASL EXTERNAL | ||||||
| ======== | ========================================================= | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0257 | .. module:: slixmpp.plugins.xep_0257 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0258 | XEP-0258: Security Labels in XMPP | ||||||
| ======== | ================================= | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0258 | .. module:: slixmpp.plugins.xep_0258 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0279 | XEP-0279: Server IP Check | ||||||
| ======== | ========================= | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0279 | .. module:: slixmpp.plugins.xep_0279 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0280 | XEP-0280: Message Carbons | ||||||
| ======== | ========================= | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0280 | .. module:: slixmpp.plugins.xep_0280 | ||||||
|  |  | ||||||
|   | |||||||
							
								
								
									
										17
									
								
								docs/api/plugins/xep_0292.rst
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								docs/api/plugins/xep_0292.rst
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | |||||||
|  |  | ||||||
|  | XEP-0292: vCard4 Over XMPP | ||||||
|  | ========================== | ||||||
|  |  | ||||||
|  | .. module:: slixmpp.plugins.xep_0292 | ||||||
|  |  | ||||||
|  | .. autoclass:: XEP_0292 | ||||||
|  |     :members: | ||||||
|  |     :exclude-members: plugin_init, plugin_end | ||||||
|  |  | ||||||
|  |  | ||||||
|  | Stanza elements | ||||||
|  | --------------- | ||||||
|  |  | ||||||
|  | .. automodule:: slixmpp.plugins.xep_0292.stanza | ||||||
|  |     :members: | ||||||
|  |     :undoc-members: | ||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0297 | XEP-0297: Stanza Forwarding | ||||||
| ======== | =========================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0297 | .. module:: slixmpp.plugins.xep_0297 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0300 | XEP-0300: Use of Cryptographic Hash Functions in XMPP | ||||||
| ======== | ===================================================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0300 | .. module:: slixmpp.plugins.xep_0300 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0308 | XEP-0308: Last Message Correction | ||||||
| ======== | ================================= | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0308 | .. module:: slixmpp.plugins.xep_0308 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0313 | XEP-0313: Message Archive Management | ||||||
| ======== | ==================================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0313 | .. module:: slixmpp.plugins.xep_0313 | ||||||
|  |  | ||||||
| @@ -14,5 +14,6 @@ Stanza elements | |||||||
|  |  | ||||||
| .. automodule:: slixmpp.plugins.xep_0313.stanza | .. automodule:: slixmpp.plugins.xep_0313.stanza | ||||||
|     :members: |     :members: | ||||||
|  |     :member-order: bysource | ||||||
|     :undoc-members: |     :undoc-members: | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0319 | XEP-0319: Last User Interaction in Presence | ||||||
| ======== | =========================================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0319 | .. module:: slixmpp.plugins.xep_0319 | ||||||
|  |  | ||||||
| @@ -9,6 +9,33 @@ XEP 0319 | |||||||
|     :exclude-members: session_bind, plugin_init, plugin_end |     :exclude-members: session_bind, plugin_init, plugin_end | ||||||
|  |  | ||||||
|  |  | ||||||
|  | .. _api-0319: | ||||||
|  |  | ||||||
|  | Internal API methods | ||||||
|  | -------------------- | ||||||
|  |  | ||||||
|  | The default API manages an in-memory cache of idle periods. | ||||||
|  |  | ||||||
|  | .. glossary:: | ||||||
|  |  | ||||||
|  |     set_idle | ||||||
|  |         - **jid**: :class:`~.JID` who has been idling | ||||||
|  |         - **node**: unused | ||||||
|  |         - **ifrom**: unused | ||||||
|  |         - **args**: :class:`datetime`, timestamp of the idle start | ||||||
|  |  | ||||||
|  |         Set the idle start for a JID. | ||||||
|  |  | ||||||
|  |     get_idle | ||||||
|  |         - **jid**: :class:`~.JID` to get the idle time of | ||||||
|  |         - **node**: unused | ||||||
|  |         - **ifrom**: unused | ||||||
|  |         - **args**: : unused | ||||||
|  |         - **returns**: :class:`datetime` | ||||||
|  |  | ||||||
|  |         Get the idle start timestamp for a JID. | ||||||
|  |  | ||||||
|  |  | ||||||
| Stanza elements | Stanza elements | ||||||
| --------------- | --------------- | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0332 | XEP-0332: HTTP over XMPP transport | ||||||
| ======== | ================================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0332 | .. module:: slixmpp.plugins.xep_0332 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0333 | XEP-0333: Chat Markers | ||||||
| ======== | ====================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0333 | .. module:: slixmpp.plugins.xep_0333 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0334 | XEP-0334: Message Processing Hints | ||||||
| ======== | ================================== | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0334 | .. module:: slixmpp.plugins.xep_0334 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
|  |  | ||||||
| XEP 0335 | XEP-0335: JSON Containers | ||||||
| ======== | ========================= | ||||||
|  |  | ||||||
| .. module:: slixmpp.plugins.xep_0335 | .. module:: slixmpp.plugins.xep_0335 | ||||||
|  |  | ||||||
|   | |||||||
Some files were not shown because too many files have changed in this diff Show More
		Reference in New Issue
	
	Block a user