This repository has been archived by the owner on Nov 2, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(Validator): fix user input extract
1. Fix user input extract in Validator, remove limit to extract user input to only defined public value. Now only prevent {private, protected, static} property will not be rewrite by user input. 2. Fix input file lost record in array `_file_input_name`. 3. Remove function buildDefaultDataForValid(), now we rewrite array `_input` by `array_merge(static::defaultData(), $this->_input);` at start of validate(); Remove function buildDefaultPropBeforeValid() (may revert); Rename function `setData` -> `setInput`, `getData` -> `getInput`. 4. Add Min Limit for PagerTrait. 5. move route `/user` alias `/user/details` but not `/user/panel` 6. Limit user init, the time and ip information ({creat,last_{login,access,upload,download,connect}}_at, {register,last_{login,access,tracker}}_ip) will not get from database.
- Loading branch information
Showing
49 changed files
with
433 additions
and
456 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
/** | ||
* Created by PhpStorm. | ||
* User: Rhilip | ||
* Date: 8/13/2019 | ||
* Time: 2019 | ||
*/ | ||
|
||
namespace apps\libraries\GeoIP; | ||
|
||
|
||
interface GeoIPInterface | ||
{ | ||
public static function getLocation(); | ||
} |
Oops, something went wrong.