Ammar Askar
ca4fd6680e
Connect to localhost instead of the socket's binding address.
...
The bound address is 0.0.0.0 which usually implies all
available interfaces, which makes sense when listening
for something. However, when connecting to an address,
a specific address needs to be targeted. Hopefully, any
properly configured computer should have `localhost`
pointing to its loopback interface. Fixes #64
2017-07-16 00:19:30 -07:00
Ammar Askar
89ca73532a
Fully cover authentication module
2016-12-19 06:57:45 -05:00
Ammar Askar
10fb291752
Add some additional tests for the authentication module
2016-12-19 06:39:01 -05:00
Ammar Askar
0c31e748e8
Fix flake error caused by doc change.
...
Love that 79 character line limit >.>
2016-12-19 05:41:28 -05:00
Ammar Askar
9aa369c7da
Fix outdated documentation
2016-12-19 05:26:12 -05:00
Ammar Askar
79ee31c44e
Fix two python3 compatibility problems:
...
We need to explicitly encode the serverID before hashing it
Pass read/binary modes to the file made from socket to avoid encoding problems, fixes #29
2015-04-17 17:57:34 +05:00
Ammar Askar
a5a76a8e1c
Added more tests, fixed compat.py to run on py3 as well
2015-04-12 07:26:12 +05:00
Ammar Askar
5d56162300
Quick little base test for connection
2015-04-03 22:04:45 +05:00
Ammar Askar
ea11461e76
Fully test the encryption package, and add a test for uncompressed packets when packet compression is enabled
2015-04-03 21:30:31 +05:00
Ammar Askar
89f788f3ea
Remove unused test environment
2015-04-03 09:01:07 +05:00
Ammar Askar
1249f99a1e
Packet tests
2015-04-03 08:51:53 +05:00
Ammar Askar
08e126188a
Add a serialization test
2015-04-03 08:06:20 +05:00
Ammar Askar
a073ee35d8
Add more encryption tests
2015-04-03 07:19:46 +05:00
Ammar Askar
d0f6120043
Oops, ignore pylint warnings not errors
2015-04-03 04:29:40 +05:00
Ammar Askar
398050c248
Only execute coveralls on the cover build
2015-04-03 04:15:16 +05:00
Ammar Askar
4dfdb6282b
coveralls support
2015-04-03 03:53:13 +05:00
Ammar Askar
e966237d54
Add travis support
2015-04-03 03:24:01 +05:00
Ammar Askar
d3917b42a4
split up pylint into errors and warning runners
2015-04-03 03:13:22 +05:00
Ammar Askar
c353d8bb86
Address more pylint and py3 compatibility problems
2015-04-03 02:25:34 +05:00
Ammar Askar
dcb2845ac4
Fix some pylint concerns
2015-04-03 01:44:03 +05:00
Ammar Askar
f7ed4da0d0
Platform independent manifest verification
2015-04-02 23:43:03 +05:00
Ammar Askar
4fe5caa7d9
Added an easy encryption test
2015-04-02 22:02:47 +05:00
Ammar Askar
b37c095039
Fix connection to work with new authentication module
2015-04-02 22:02:08 +05:00
Ammar Askar
0347894fd8
Read the docs will always default to their theme, no need to explicitly define it there
2015-04-02 21:14:44 +05:00
Ammar Askar
b021bab08b
Re-add pycharm/intellij files to .gitignore
2015-04-02 21:07:26 +05:00
Ammar Askar
c1b3beab11
Fall back to classic theme if rtd_theme not available
2015-04-02 21:06:59 +05:00
Ammar Askar
1b4a0955c3
Handle compression thresholds of -1 properly
2015-04-01 19:58:37 +05:00
Ammar Askar
ee4319dbb4
Document the ability to listen for packets
2015-03-22 20:00:45 +05:00
Ammar Askar
2cc1d64b6d
Added a way to listen for certain packets
2015-03-22 19:05:55 +05:00
Ammar Askar
20c4c87510
Add a variable to indicate if the client is spawned
2015-03-22 18:20:01 +05:00
Ammar Askar
463b48414e
Implemented packet compression when sending packets and added code to make the client actually spawn
2015-03-22 18:16:47 +05:00
Ammar Askar
ba70a169e3
Just buffer data when reading packets.
...
As of this commit, the rewrite is complete and pyCraft is back to a usable state
2015-03-22 17:39:15 +05:00
Ammar Askar
c7b71d87a7
Update arbitrary request example to follow better practices
2015-03-22 03:44:45 +05:00
Ammar Askar
2cecdfdb66
Use default theme for readthedocs
2015-03-22 03:15:40 +05:00
Ammar Askar
37fd9cee3b
Documentation with sphinx
2015-03-22 03:08:44 +05:00
Ammar Askar
7e8df47352
Significant headway on the rewrite.
...
Handle crypto with the excellent crytography library, still a lot of TODOs to take care of but at least we can connect now
2015-03-17 22:15:27 +05:00
Ammar Askar
f68206140b
Add some client logic, status to function state
2014-11-10 20:25:30 +05:00
Ammar Askar
1982716f73
Minor cleanup, pep8 compliance
2014-10-08 22:12:37 +05:00
Ammar Askar
85112fba1d
Lay down the foundations for a complete rewrite, the new framework is far more easy to maintain
2014-06-07 01:47:34 +02:00
Ammar Askar
59e4706b25
Merge pull request #24 from jkcclemens/master
...
Fixed: Chat messages are parsed
2013-11-19 08:53:48 -08:00
Ammar Askar
42344ada6c
Merge pull request #19 from mbax/master
...
1.6.4 support
2013-09-22 09:02:15 -07:00
Ammar Askar
33f143d8be
Merge pull request #17 from EXio4/implement_74
...
Update to protocol 74
2013-07-24 09:31:02 -07:00
Ammar Askar
db5e603a2e
Merge pull request #15 from roblabla/patch-1
...
Return the content of packet CF.
2013-04-08 08:33:50 -07:00