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

Commit

Permalink
revert(app): Backup folder name to application
Browse files Browse the repository at this point in the history
  • Loading branch information
Rhilip committed Sep 17, 2019
1 parent 36588cc commit 19121a6
Show file tree
Hide file tree
Showing 79 changed files with 96 additions and 495 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
!**/.gitkeep

# Test File
src/Controllers/TestController.php
application/Controllers/TestController.php

# Backup Folder
/backup/
Expand Down
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,20 @@
- **template:** Add git commit hash in `CHANGELOG.md` (76bc527)

### Feat
- **Auth:** Sep Auth part from Site to new components (f36884e)
- **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:** Protect jwt key for env('APP_SECRET_KEY') (dfa67da)
- **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)
- **torrents/tags:** Store torrent tags in TABLE `torrents` (4d573e2)

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ protected function loadUserFromPdo()
}

// User enable 2FA but it's code is wrong
/*
if (!is_null($this->self['opt'])) {
try {
$tfa = new TwoFactorAuth(config('base.site_name'));
Expand All @@ -100,6 +101,7 @@ protected function loadUserFromPdo()
return;
}
}
*/

// User 's status is banned or pending~
if (in_array($this->self['status'], [User::STATUS_DISABLED, User::STATUS_PENDING])) {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
24 changes: 9 additions & 15 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "rhilip/rid-pt",
"name": "rhilip/ridpt",
"description": "基于 swoole 的Private Torrent源码",
"type": "project",
"keywords": [
Expand Down Expand Up @@ -31,31 +31,25 @@
"ext-mbstring": "*",
"psr/log": "^1.1",
"vlucas/phpdotenv": "^3.5",
"adhocore/cli": "^0.4.0",
"league/plates": "^3.3",
"mjohnson/decoda": "^6.12",
"firebase/php-jwt": "^5.0",
"phpmailer/phpmailer": "^6.0",
"siriusphp/validation": "^2.3",
"soundasleep/html2text": "^1.1",
"robthree/twofactorauth": "^1.6",
"firebase/php-jwt": "^5.0"
"siriusphp/validation": "^2.3",
"mjohnson/decoda": "^6.12"
},
"require-dev": {
"eaglewu/swoole-ide-helper": "dev-master"
},
"autoload": {
"psr-4": {
"Rid\\": "framework/",
"App\\": "src/"
"App\\": "application/"
},
"files": [
"framework/Rid.php",
"framework/functions.php"
]
},
"repositories": {
"packagist": {
"type": "composer",
"url": "https://mirrors.aliyun.com/composer/"
}
},
"require-dev": {
"eaglewu/swoole-ide-helper": "dev-master"
}
}
Loading

0 comments on commit 19121a6

Please sign in to comment.