Bora M. Alper
35f07d84b9
Merge pull request #128 from mweinelt/magnetico-noauth
...
magneticow: allow no-auth also in feed url
2017-07-23 15:54:55 +03:00
Martin Weinelt
9a8d59c85e
magneticow: allow no-auth also in feed url
2017-07-23 12:40:46 +02:00
Bora M. Alper
3a7de3daaf
Merge pull request #126 from mweinelt/magneticow-noauth
...
magneticow: add --noauth argument to disable basic-auth
2017-07-21 21:45:22 +03:00
Bora M. Alper
91183f57d7
Merge pull request #124 from pcamelo/magneticow-host
...
Make magneticow listening host available to the user
2017-07-21 21:44:18 +03:00
Martin Weinelt
2ad6415586
magneticow: add --noauth argument to disable basic-auth
...
fixes #125
2017-07-21 20:42:33 +02:00
Pedro Camelo
487f038643
Make magneticow listening host available to the user
2017-07-19 02:02:29 +01:00
Bora M. Alper
5ee325f8f5
changed directory structure, bittorrent is still being refactored
2017-07-18 17:51:33 +03:00
Bora M. Alper
e0241fe48c
mainline/service done, also changed the signatures of transport signals
2017-07-15 23:27:45 +03:00
Bora M. Alper
57d466a666
d/dht/mainline/protocol completed
2017-07-14 21:19:07 +03:00
Bora M. Alper
1df6204a5f
initial commit for refactoring magneticod (far, far away from complete!)
2017-07-09 11:59:48 +03:00
Bora M. Alper
90538b10af
removed unused metadata queue
2017-07-07 13:31:29 +03:00
Bora M. Alper
2791164f27
document search syntax in magneticow docs
2017-07-05 16:44:37 +03:00
Bora M. Alper
45a2679e33
i hate restructedtext
2017-07-05 15:32:30 +03:00
Bora M. Alper
c9b7d8a58b
fixed formatting in magneticod docs
2017-07-05 15:30:16 +03:00
Bora M. Alper
9d62575cf5
fixed both docs and added iptables commands in magneticod docs
2017-07-05 15:25:15 +03:00
Bora M. Alper
bd1154be2f
fixes #113 ("enable"ing systemd service instead of just "start"ing it)
2017-07-05 10:35:52 +03:00
Bora M. Alper
affb500623
fixed unknown reference "_is_info_hash_new"
2017-07-05 09:50:56 +03:00
Bora M. Alper
b3e77e60b6
presumably fixes #97 (UNIQUE constaint failed)
2017-07-05 09:44:37 +03:00
Bora M. Alper
ecd04a84a0
re-add info_hash_index creation in magneticod:persistence
...
As @Glandos pointed out, we use it in magneticod too for determining
whether an info hash is new or not.
2017-07-04 22:22:31 +03:00
Bora M. Alper
2b99fb3675
fix for the feed, and added sorting support!
2017-07-04 18:51:46 +03:00
Bora M. Alper
07fe0d3eb4
corrected naming
2017-06-17 15:20:06 +03:00
Bora M. Alper
0c6d01184b
fixed wrong naming (query/response confusion)
2017-06-17 15:18:17 +03:00
Bora M. Alper
e624837059
create indices in magneticow rather than magneticod (rationale below)
...
It's better to create indices in magneticow rather than magneticod,
because magneticod does NOT need them, but magneticow does.
2017-06-16 12:08:30 +03:00
Bora M. Alper
c4b4773fdd
updated .gitignore to ignore .mypy_cache
2017-06-16 12:04:33 +03:00
Bora M. Alper
5b46734baa
added feed.png (required for magneticow feeds)
2017-06-16 12:04:15 +03:00
Bora M. Alper
0462d3b8a2
fixed a rare bug (when you remove the title of the torrent from the URL)
2017-06-16 12:02:24 +03:00
Bora M. Alper
74f5fb6f79
add a notice that preparing FTS might take a while
2017-06-16 11:31:16 +03:00
Bora M. Alper
65dc6737e1
implemented BEP 36 (Torrent RSS feeds) in magneticow
...
http://www.bittorrent.org/beps/bep_0036.html
2017-06-16 10:54:28 +03:00
Bora M. Alper
d877ba2475
eliminate unnecessary calls to __decode_nodes in __on_FIND_NODE_resp.
...
fixes #102 , thanks @Glandos!
2017-06-16 00:40:10 +03:00
Bora M. Alper
804fc10f1d
fixed "sqlite3.ProgrammingError: Cannot operate on a closed database."
...
p.c. you should stop running what is using the database before closing
it!
2017-06-15 15:49:41 +03:00
Bora M. Alper
f4651fc6e3
fix mypy errors (although there are many # type: ignore
lying around)
2017-06-15 13:40:03 +03:00
Bora M. Alper
6088ef6eec
fix pylint errors (now it is rated 10.00/10 yeah!)
2017-06-14 18:05:14 +03:00
Bora M. Alper
235a42884f
v0.6.0 is out!
...
v0.6.0, overall, tries to make magnetico more stable rather than
introducing new features.
## magneticod
* Removed better_bencode internal fork (but we are still using it so no
loss at performance). This has caused some issues for some users and
this release should solve the issue (e.g. #98 ).
* General cleanup, performance improvements, minor bug fixes...
* Most notably among all, we improved our still-primitive congestion
control support for BSD-based OSes, including OS X.
## magneticow
* There are no changes in magneticow, but version number is bumped to
stay in-sync with magneticod.
2017-06-14 11:35:35 +03:00
Bora M. Alper
5e5d152cc1
initial proposal for the magneticow REST-ful HTTP API!
2017-06-13 15:17:52 +03:00
Bora M. Alper
dea0778511
fixed checking errno in dht.py
2017-06-13 15:16:48 +03:00
Bora M. Alper
11f573a01d
Merge pull request #96 from matega/master
...
Removed ext_modules section from magneticod/setup.py
2017-06-12 22:12:29 +03:00
Galambos Máté
ef9c8a6855
Removed bencode.pyx requirement from magneticod/setup.py
2017-06-12 20:11:32 +02:00
Galambos Máté
ee5d4d2724
Removed ext_modules section from magneticod/setup.py
2017-06-12 19:28:24 +02:00
Bora M. Alper
2ab518a240
Merge remote-tracking branch 'origin/master'
2017-06-11 15:28:01 +03:00
Bora M. Alper
f1f0b9531d
general cleanup, performance improvements, bug fixes
...
* Removed unnecessary functions such as those that just wraps a standard
library function (e.g. '__random_bytes()' in SybilNode), and those
that are wrongly abstracted (e.g. `cleanup` in __main__.py)
* Created `__build_GET_PEERS_query()` and `__build_ANNOUNCE_PEER()` in
SybilNode to eliminate the cost of calling `bencode.dumps()` in these
critical functions.
* Added some more comments to explain the rationale behind some
decisions in-place.
* Improved our still-primitive congestion control support for BSD-based
OSes, including OS X.
2017-06-11 15:27:31 +03:00
Bora M. Alper
200b1b65fd
fixed formatting in CONTRIBTUING.rst
2017-06-11 10:05:35 +03:00
Bora M. Alper
a083bf40f9
ignore nodes with port 0, fixes #93 (presumably)
2017-06-10 22:10:33 +03:00
Bora M. Alper
ec708db607
removed better_bencode fork as I found a saner way for "loads2"
2017-06-10 22:04:23 +03:00
Bora M. Alper
643c72ee16
magnetico v0.5.0 is out!
...
Phew, what an effort it was to ship magnetico out this time!
CHANGELOG
=========
magneticod
----------
* Thanks to @richardkiss' heoric effort, magneticod now is ported to Python's
asyncio (and uses uvloop for further performance improvements).
CPU usage is reduced by 60%, and many older bugs are eliminated: #3 , #55 , #61
* Switched to better-bencode from bencoder.pyx for performance reasons. CPU
utilization dropped by half.
magneticow
----------
* magneticow is finally became _fast_! Database indexes are created to speed-up
file-list page (i.e. torrent info) and statistics.
Thanks to everyone who were involved in contributing to this release!
Special thanks to @ad-m who has been nagging me day and night to make me
take informed decision, I appreciate that.
2017-06-06 15:44:23 +03:00
Bora M. Alper
7fb2f19d2a
improved uvloop support on different platforms (minor update)
2017-06-06 15:33:10 +03:00
Bora M. Alper
c96cb7de0e
created index for discovered_on to speedup statistics
2017-06-06 15:13:26 +03:00
Bora M. Alper
3960915812
fixes #62 "TypeError: argument of type 'int' is not iterable"
2017-06-06 14:33:11 +03:00
Bora M. Alper
a0ee71a81d
fixes infinite-recursion error in bencode.py
2017-06-06 12:58:01 +03:00
Bora M. Alper
58364dfb3f
replaced better_bencode with bencoder.pyx
...
fixes #72
2017-06-05 22:26:08 +03:00
Bora M. Alper
3ed5a86c46
Added contribution guidelines.
2017-06-05 17:54:11 +03:00