Commit graph

61 commits

Author SHA1 Message Date
Alexey Skobkin 11d89c8a10 Separated Entity Managers for magneticod SQLite database and app's PostgreSQL database implemented. Some refactoring has been made. 2018-06-23 17:57:10 +03:00
Alexey Skobkin fb8d62f991 API V1 response modified. Pager metadata added. 2018-06-23 16:08:23 +03:00
Alexey Skobkin 81eb903d21 API V1 torrents list/search URI changed. 2018-06-22 22:58:36 +03:00
Alexey Skobkin 296850e482 Torrent::getInfoHashAsHex() removed in favor of Torrent::getInfoHash() which is now returns cached HEX string. 2018-06-22 22:47:51 +03:00
Alexey Skobkin 027476c553 Simple API V1 implemented using Symfony Serializer. 2018-06-22 22:45:17 +03:00
Alexey Skobkin e35a855319 Entity type-hinting and phpDoc cleanup. 2018-06-22 18:22:25 +03:00
Alexey Skobkin a02d7685cc Twig extensions added. 'magnet' function implemented for magnet-links easy generation. 'readable_size' filter implemented to show human-readable torrent and file sizes. Templates changed to use new features. Public torrent trackers list implemented. It is stored now in the 'config/public_trackers.json' file and is injected using constructor. Some small cleanup in configs. 2018-06-22 18:16:55 +03:00
Alexey Skobkin 888f02687e Torrent::getInfoHashAsHex() bug fixed. Now info-hash HEX value is cached in the entity property after first read. 2018-06-22 18:12:51 +03:00
Alexey Skobkin 8ab6acf620 Torrent search and torrent show implemented. Simple imdex page implemented. 2018-06-21 02:37:35 +03:00
Alexey Skobkin 0fe7910fd3 Test implementation of torrent data reading. Entities, repositories, templates. 2018-06-20 22:30:00 +03:00
Alexey Skobkin 2df246a15d initial commit. 2018-06-20 19:35:08 +03:00