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

v0.1.6-alpha

Pre-release
Pre-release
Compare
Choose a tag to compare
@Rhilip Rhilip released this 20 Sep 13:40
· 149 commits to master since this release

Build

  • Validator: Upgrade siriusphp/validation to 2.3 (eb039eb)

Docs

  • bin: Add doc for bin/rid-httpd (59e0828)
  • template: Add git commit hash in CHANGELOG.md (76bc527)

Feat

  • Auth: Use JWT to set cookies content (bf897c6)
  • Auth: Sep Auth part from Site to new components (f36884e)
  • Auth: Add Auth By passkey support for special route (aff1f87)
  • Auth/Login: Add full Advanced Options support (6009dc8)
  • Bonus: Pre-Add Bonus system (59ddd39)
  • Secret: Check session and user_id match or not in jwt payload (358ba5d)
  • Secret: Protect jwt key for env('APP_SECRET_KEY') (dfa67da)
  • Sessions: record user access information at Auth->onRequestAfter() (e2a22a7)
  • Sessions/List: Use SessionsListForm to show user sessions (9ecfb97)
  • Site: Add page Site/{Logs,Rules} (65cea9e)
  • Torrent: Show team, quality information in torrent/details page (44314e3)
  • Torrent/Download: Add user download pos check (db6d5ff)
  • Torrent/Search: Use MySQL fulltext search. (354c07b)
  • ban: Sync site ban list of username and email in Crontab Jobs (33cc1e6)
  • ban_ips: Store banned ip in components/Site (01084c9)
  • console: use adhocore/cli to simple console application (a1bce3a)
  • torrents/tags: Store torrent tags in TABLE torrents (4d573e2)

Fix

  • Auth: Fix user session can't storage in database (30b1049)
  • Auth: Fix class check for route in AuthMiddleware failed (007d262)
  • Auth/Login: Fix user can't login after commit 6009dc8 (d509127)
  • Component: Fix parent::onRequest{Before,After} miss (200926f)
  • Search: Search keywords in NPHP ways (ccde9c0)
  • Server: Fix daemon and hot-reload not work (a206217)
  • Torrent: Fix can't download torrent due to Declaration compatible (36588cc)
  • Torrent/Comment: Fix user can't see anonymous uploader's comment (bd2d821)
  • User: Fix User Class miss in string format (3680444)
  • fix: Fix torrent can't upload after last commits (69fdce9)

Perf

  • Auth/Login: Simple The Auth Login Fail (6f11931)
  • IpBan: Move ip ban list to runtime config (e0fb4f6)
  • JWT: Short JWT payload key (7895158)
  • Process: Disable Pdo And Redis called data in custom process (b744e81)
  • WorkerId: Use getServ()->worker_id to Get workerId instead of set then getWorkerId() (bfdddde)

Refactor

  • Array: Move setDefault for Array as global function array_set_default (b825eca)
  • Auth: Fix Certification process (687a2d0)
  • Auth/JWT: Better for auth by JWT (36f49a0)
  • Auth/Middleware: merge Old Auth{ByCookies, ByPasskey}Middleware (71cd7d7)
  • Config: Add define of config key type and can add runtime config (d57aede)
  • Config: Remove params $throw in Config()->get() (706cc9a)
  • Config: Sort Config of httpServer and add Server hook (f47c458)
  • Controller: Move APIController out Framework (0dc7106)
  • RateLimit: Change last param of isRateLimitHit and rate limit store Namespace (4dd571d)
  • Site: Simple Category Detail get function (ffa6855)
  • Site: Move Cat, Quality, PinnedTag cache to Config.runtime (da1d9a7)
  • Validator: fix user input extract (81bdc8f)
  • View: Make View extends BaseObject (0865cf9)
  • action: Sort template action/action_{fail,success} (66998d3)
  • torrent/structure: Use zui.tree instead javascript $(this).next('ul').toggle() (7b20b2c)
  • view: Fix helper/username params (720f37e)

Revert

  • Framework: rename back to framework instead of ucfirst() (c325fb0)
  • Redis: Remove view in redis , use other software install (c5d3378)
  • app: Backup folder name to application (19121a6)

Style

  • Bencode: Move Bencode library to App\Library but not part of framework (01abc98)
  • EnvironmentLoader: Use Dotenv to load Loads environment variables (e6394a6)
  • Folder: Rename folder name <root>/private to <root>/storage (f540d8f)
  • Nginx: Rename Nginx Migration filename (108324e)
  • Redis: rewrite namespace of cache keys (0c4e1a2)
  • dir: rename folder apps\ to src\ (a01035c)
  • dir: move apps\public to top dir (cb3beae)
  • env: use $_ENV instead of getenv (2f5f0ac)
  • namespace: apps to App with ucfirst... (8075d58)

BREAKING CHANGE

Table users change

rename table user_session_log to sessions , add table session_log

User status 'banned' replace by 'disabled'