Commit Graph

33 Commits

Author SHA1 Message Date
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
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
2791164f27 document search syntax in magneticow docs 2017-07-05 16:44:37 +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
2b99fb3675 fix for the feed, and added sorting support! 2017-07-04 18:51:46 +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
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
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
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
c96cb7de0e created index for discovered_on to speedup statistics 2017-06-06 15:13:26 +03:00
Bora M. Alper
6bceb9c784 v0.4.0 is released!
Changes are below.

magneticod:
* Performance improvements
  * Unregistering WRITE event when possible
  * Using files instead of memory for temporary SQLite
    objects
* Stability improvements
  * Limit metadata size to prevent crashes due to
    malicious or malformed answers.
  * Flushing metadata buffer while exiting gracefully

magneticow:
* Stability improvements
  * Homepage crash due to count functionality when the
    database is empty, is fixed.
* Statistics page added, although very slow!
2017-05-30 12:28:34 +03:00
Bora M. Alper
273237bd39 magneticow: fix 30-days period issue in stats
Previously magenticow calculated 30-days period as
literally 30 days (30 * 24 * 60 * 60 seconds) from NOW,
which was counter-intuitive for the user as it did not
correspond to whole days. Now that is fixed.
2017-05-30 12:01:51 +03:00
Adam Dobrawy
a98ec61e84 Fix count torrents on homepage in magneticow 2017-05-14 22:06:34 +02:00
Bora M. ALPER
a3adf88b45 Statistics page added to magneticow. 2017-05-06 01:25:44 +04:00
Bora M. ALPER
3b39c99206 v0.3.0 released, with very significant improvements!
magneticod:
* Stalled DisposablePeers are shut down after 120 seconds (fixes #47 and #38)
* Improved performance, thanks to @ngosang, @ad-m, and all other contributors (fixes #48)
* Default logging level is now set to INFO (since many users would freak out after seeing "peer failed" messages...)

magneticow:
* Search speed improved A LOT, like "A  L O T"! (fixes #8)
  (for the curious, the problem was that magneticow initialised database *every* *single* *time* a request is made because
  "the global application context" (`flask.g`) didn't work for some reason I don't know. Now it's blazing fast!
* A bit of logging added to assist the user. This is especially important as magneticow now takes a bit of time to initialize itself
  (as reasonably expected) and will not be able to handle any requests until it's complete.
* A faster but possibly less accurate (and not-guaranteed behaviour dependent) calculation of the number of torrents.
* Thousands separator for the torrent count in the homepage.
2017-04-26 01:47:13 +04:00
Bora M. Alper
7ffe670147 Merge pull request #13 from offbyone/master
Dockerize magnetico as a pair of conjoined containers
2017-04-16 22:08:37 +04:00
g_goessel
059330c188 Remove unused variable and resolve styling issues 2017-04-13 22:07:18 +02:00
guimoz
d3ff2419aa Refactoring of the counter code 2017-04-13 19:20:34 +02:00
guimoz
28109eb586 Adds a counter of indexed torrents on the homepage 2017-04-12 21:06:59 +02:00
Chris Rose
dd40222fd6 Dockerize magnetico as a pair of conjoined containers
docker-compose links them, they share a DB on a volume container, and
expose the web interface on the host port 12345
2017-04-10 09:13:14 -07:00
Bora M. Alper
0e48dff4fc Updated PATH instructions for macOS 2017-04-10 17:57:59 +04:00
Bora M. ALPER
1c15afb45a v0.2.0 released
## Changes
### mangeticod
* Cython-based bencoder.pyx is  used instead of our own pure Python solution.
* `--node-addr` commandline argument added.
* TCP QUICKACK is automatically enabled (instead of by default) so that magneticod can work on macOS as well.
* Database index added for `info_hash` column of `torrents` table.

### magneticow
* Some small performance improvements for search.
2017-04-10 17:44:09 +04:00
Bora M. ALPER
8a62e6bc2a fixed installation instructions to install locally 2017-04-03 02:59:09 +04:00
Bora M. ALPER
257912a12f initial commit 2017-04-03 00:11:58 +04:00