Skip to content
This repository has been archived by the owner on Nov 2, 2020. It is now read-only.

v0.1.7-alpha

Pre-release
Pre-release
Compare
Choose a tag to compare
@Rhilip Rhilip released this 28 Apr 14:37
· 92 commits to master since this release

Build

  • Composer: remove unnecessary ext and some fix (0729389)
  • Composer: remove unnecessary ext and some fix (1235d86)
  • PHP: bump PHP major version to min 7.4 (d5b1ff1)

Chore

  • composer: bump adhocore/cli (6647c9d)

Docs

  • README: fix typo of start command (657c71a)
  • Redis: Fix phpdoc for Redis Component (70ac399)
  • Sponsor: Add Sponsor MeiHeZi (ae612e0)
  • Tracker: Change comment for announce query. (9856652)
  • phpstorm: Add .phpstorm.meat.php for config() function (407bb66)

Feat

  • Cache: Allow ttl key for Redis Hash type (85a9587)
  • IpUtils: Rename to Ip and add isPublicIp function (a99e7c5)
  • Request: Move some Component prop to Request attributes (2f22b89)
  • Requests: Make Response Component extends from Symfony\Component\HttpFoundation\Response (dd001d2)
  • Requests: Make Request Component extends from Symfony\Component\HttpFoundation\Request (9cd715b)
  • Torrent: Per-add torrent edit (f06b342)
  • Torrents: Allow search in user's favour (or you can say bookmark) (c0aa627)
  • Validator: Add magic function __get() as alias of getInput() (3c23927)
  • composer: Add nesbot/carbon to deal with Date and Time (9e37c41)
  • i18n: Use symfony/translation and JSON format for locale (02cc251)
  • layout: Add anti-robots html meta tag (9c21e73)

Fix

  • API: ApiMiddleware not work after change Response Component (6da82a7)
  • Bencode: Fix dict keys may not in sorted order (81f0783)
  • Composer: Fix wrong composer.json format (2c4459c)
  • Config: Fix JSON type config return False (1129008)
  • Cron: Fix components lost in CronTabProcess (1ced4bf)
  • Redis: Fix wrong type of Redis call function hMset() to hMSet() (a163150)
  • Response: Fix Header Set-Cookie header don't clean (144eef7)
  • Response: Fix Response header and status not clean (82977ea)
  • Route: Fix user can access maintenance page even not on maintenance status (b29c2f6)
  • Tracker: Send all ip:port to peer without ip judge (7d7d6eb)
  • Tracker: Disable retry in feature by default (4b1f767)
  • Tracker: Fix typo in TrackerController (323c8ec)
  • Tracker: Client Double Announce may Locked (8fe638a)
  • User: Fix all user class info become cur_user (77c7345)

Perf

  • Array: Copy Array function from Laravel (e622472)
  • Component: View Become a component to perf load time (660c1f1)
  • Log: Separate Site Log Level from component Site (d110c2b)
  • Session_Log: Use insert with select to log session (d786243)
  • Tracker: Use endpoints field to record peer's ip:port (87ae9bb)
  • Tracker: Reduce Redis Calls for get User and Torrent Info in Tracker (e813435)
  • User: Sort class User and create UserFactory (8fced36)
  • User: Add Entity\User\AbstractUserInterface (1d8e9e4)
  • User: Simple sql to get user real_transfer from table snatched (547c772)

Refactor

  • Database: Rename function creatCommand() to prepare() (09f6701)
  • Entity: Separate Entity User, Torrent 's const to App\Repository (50ecdbf)
  • Entity: Move Class Torrent,User to namespace App\Entity (7814d88)
  • Torrent: Add TorrentFactory (e7dc26e)

Style

  • Bencode: Separate Bencode library to Rhilip/Bencode (18cbfa1)
  • Request: Move route as a part of attributes (f63ed00)
  • StringHelper: Split part of StringHelper to Rid\Utils\Random (511e79f)
  • cs-fixer: Update Composer config and php-cs-fixer whole project (e734812)
  • gitignore: Add .php_cs.cache to .gitignore (15a2a15)

Test

  • Validator: Remove Autoload from requests (3b3e585)

BREAKING CHANGE

structure of Table peers changed