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

Commit

Permalink
docs(release): v0.1.5-alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
Rhilip committed Aug 9, 2019
1 parent 29d7fa0 commit eca61b1
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 5 deletions.
20 changes: 19 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
<a name="unreleased"></a>
## [Unreleased]


<a name="v0.1.5-alpha"></a>
## [v0.1.5-alpha] - 2019-08-09
### Build
- **Composer:** Update mirror address

### Chore
- **gitignore:** Add ignore of `/backup` folder

### Docs
- **CHANGELOG:** fix git-chglog HeaderPattern
- **Database:** Add miss table `subtitles`

### Feat
- **Category:** Add Image and class_name support
- **Category:** Add Categories Support when upload torrent
Expand Down Expand Up @@ -116,6 +123,16 @@
- **js:** merge separate js file to `main.js`
- **printIn:** Add datetime tag

### BREAKING CHANGE

COLUMN `corrupt` in `users` TABLE changed

Rename Table `ip_bans` to `ban_ips`

Table `torrents_categories` rename to `categories`

Table `torrents` structure change


<a name="v0.1.4-alpha"></a>
## [v0.1.4-alpha] - 2019-06-28
Expand Down Expand Up @@ -352,7 +369,8 @@ Structure of Table `users_session_log` Change
<a name="v0.1.0-alpha"></a>
## v0.1.0-alpha - 2019-01-30

[Unreleased]: https://github.com/Rhilip/ridpt/compare/v0.1.4-alpha...HEAD
[Unreleased]: https://github.com/Rhilip/ridpt/compare/v0.1.5-alpha...HEAD
[v0.1.5-alpha]: https://github.com/Rhilip/ridpt/compare/v0.1.4-alpha...v0.1.5-alpha
[v0.1.4-alpha]: https://github.com/Rhilip/ridpt/compare/v0.1.3-alpha...v0.1.4-alpha
[v0.1.3-alpha]: https://github.com/Rhilip/ridpt/compare/v0.1.2-alpha...v0.1.3-alpha
[v0.1.2-alpha]: https://github.com/Rhilip/ridpt/compare/v0.1.1-alpha...v0.1.2-alpha
Expand Down
2 changes: 0 additions & 2 deletions apps/models/form/Torrents/UploadForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,6 @@ public static function inputRules()
];
}

print_r($rules);

return $rules;
}

Expand Down
9 changes: 7 additions & 2 deletions framework/Rid.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@ class Rid
{

// 版本号
const VERSION = 'v0.1.4-alpha';
const VERSION = 'v0.1.5-alpha';

// App实例
protected static $_app;

/**
* 返回App,并设置组件命名空间
*
* @param null $prefix
* @return \Rid\Http\Application|\Rid\Console\Application
*/
public static function app($prefix = null)
Expand Down Expand Up @@ -74,7 +75,11 @@ public static function configure($config, $instantiation = false)
return $config;
}

// 导入属性
/**
* 导入属性
* 注意此处只能向object导入public属性,如果object本身有private或者protected 属性需要导入,
* 请使用 trait Rid\Utils\AttributesImportUtils
*/
public static function importAttributes($object, $config)
{
foreach ($config as $name => $value) {
Expand Down

0 comments on commit eca61b1

Please sign in to comment.