Skip to content

Dev Merge to Prod #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 45 commits into from
Jan 30, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
80adbe3
~ test deploy
Feb 8, 2020
31f19cd
~ fixed wrong assignment of _isRendered in CView
Feb 9, 2020
e409444
~ changes in README
Feb 15, 2020
ac26d54
~ changes in README
Feb 22, 2020
284c22a
Added command line files: bin/aii
Mar 7, 2020
13cd24e
Version number fix
Mar 7, 2020
93d7766
Added console cache:clear and cache:clear-all command
Mar 14, 2020
b8dad21
Added CDebug:dd() alias for CDebug:dump() method
Mar 14, 2020
ede015e
Changes in console commands
Mar 21, 2020
cf6ac94
Added ddd()
Mar 21, 2020
27b7433
Changed in doc about test class path
Mar 28, 2020
ebce271
Added console commands and defined APP_MODE = console
Mar 28, 2020
e12c5d9
Changes in docs about partial view
Mar 28, 2020
b5c9e72
Added logo icon in debug panel, action buttons moved to the right
Mar 28, 2020
23a89d2
Fix for european float number format validation
May 1, 2020
a729ce4
Added possibility to hide system queries in debug panel
May 16, 2020
dc0721a
Fixed curly braces in array to []
May 29, 2020
3f47e27
Fixed curly braces in array to []
May 29, 2020
f08fc44
Added __isset to some classes
Jun 2, 2020
61d2f3c
Fix for PHP5-7 syntac nusoap classes
Jul 7, 2020
ba69464
Fix for PHP5-7 syntac tmhOAuth classe
Jul 7, 2020
20fbe10
Chunk
Jul 25, 2020
a28fc02
Added possibility to close debug panel to minimum size
Jul 25, 2020
e76f979
Added padding to command line commands output
Jul 25, 2020
60fcdd0
Console command changes, implemented IConsoleCommand interfaces
Jul 25, 2020
c66e398
Chunk implementation for AR
Aug 1, 2020
6b1f76a
Redo array() to []
Aug 1, 2020
98ad58e
Added chuck method for Active Records, code array => [] changes
Aug 22, 2020
b96368f
Adding cache-clear command, preparing make:controller command
Aug 22, 2020
4892f05
added new helper CSecureHeaders
Aug 22, 2020
c8f52c9
Added docs for new helper CSecureHeaders
Aug 29, 2020
bac1162
Redo array() to []
Aug 29, 2020
9598499
Added documentation for chunk method of AR
Aug 29, 2020
9ba47ff
Removed using of array of globals in nusoap
Oct 2, 2020
27a096c
Removed closing PHP tag
Oct 2, 2020
2403f40
Added cleaning empty fileds on form submission
Oct 31, 2020
e3ebbaf
Changes in syntaxt of array
Nov 14, 2020
af9c39c
Implemented make:controller [controller] console command
Nov 14, 2020
0e9762a
Added parent::__construct(); to each component class
Nov 21, 2020
0da93ce
Created CCollection class
Nov 21, 2020
9e696d7
Changed array() with []
Nov 21, 2020
feafa2b
Removed magic_quotes functionality from all code
Dec 11, 2020
6405d57
Changes in AR methods definitions
Dec 12, 2020
fb0aec9
Fix: CSS error in debug panel
apphp Jan 13, 2021
6781d6a
PHP7 fix in nusoap
apphp Jan 22, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
Version 1.4.x -
----------------------------
- New: added new helper CSecureHeaders with possibility to define secure headers
- Enh: added possibility to hide system queries in debug panel
- Enh: added possibility to close debug panel to minimum size
- Enh: added possibility to get records by chunks with chuck() method of Active Record
- Bug: fixed wrong assignment of _isRendered in CView


Version 1.3.2 - 24 Jan, 2020
----------------------------
- New: added CRecordEntity to ORM model
- New: added phpunit tests
- New: added PHPUnit tests
- Enh: added possibility to use create() and update() methods in CActiveRecord
- Enh: changes in components CHttpRequest
- Enh: minor changes in database migrations
Expand All @@ -13,7 +22,7 @@ Version 1.3.2 - 24 Jan, 2020
- Enh: added possibility for lazy loading of core components via config
- Enh: fixed wrong path of log file in CLogger component
- Bug: fixed PHP7 syntax requirements in TCPDF vendor, CValidator helper
- Bug: fixed overwriting existing vars in View rendeting
- Bug: fixed overwriting existing vars in View rendering


Version 1.2.2 - 01 Jan, 2019
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
<p align="center">
<a href="https://github.com/apphp/php-mvc-framework"><img src="https://github.com/apphp/php-mvc-framework/workflows/build/badge.svg" alt="Build Status"></a>
<a href="https://opensource.org/licenses/lgpl-3.0.html"><img src="http://apphpframework.com/images/badges/license.svg" alt="License LGPL"></a>
<a href="http://apphpframework.com/"><img src="http://apphpframework.com/images/badges/stable.svg" alt="Stable Version"></a>
<a href="http://apphpframework.com"><img src="http://apphpframework.com/images/badges/stable.svg" alt="Stable Version"></a>
<a href="http://apphpframework.com"><img src="https://apphp.com/images/badges/fw-downloads.svg" alt="Total Downloads"></a>
</p>

## About ApPHP Framework
Expand Down Expand Up @@ -96,4 +97,4 @@ Please visit the project website for tutorials, class reference and join discuss

- [Official Website](http://www.apphpframework.com)
- [Website](https://www.apphp.com/php-framework/)
- [GitHub Repository](https://github.com/apphp/php-mvc-framework)
- [GitHub Repository](https://github.com/apphp/php-mvc-framework)
15 changes: 15 additions & 0 deletions bin/aii
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env php
<?php
/**
* ApPHP command line script for Unix/Linux.
*
* This is the bootstrap script for running aii on Unix/Linux.
*
* @project ApPHP Framework
* @author ApPHP <info@apphp.com>
* @link http://www.apphpframework.com/
* @copyright Copyright (c) 2012 - 2020 ApPHP Framework
* @license http://www.apphpframework.com/license/
*/

require_once(dirname(__FILE__).'/aii.php');
23 changes: 23 additions & 0 deletions bin/aii.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
@echo off

rem -------------------------------------------------------------
rem Aii command line script for Windows.
rem
rem This is the bootstrap script for running aii on Windows.
rem
rem @project ApPHP Framework
rem @author ApPHP <info@apphp.com>
rem @link http://www.apphpframework.com/
rem @copyright Copyright (c) 2012 - 2020 ApPHP Framework
rem @license http://www.apphpframework.com/license/
rem -------------------------------------------------------------

@setlocal

set APPHP_PATH=%~dp0

if "%PHP_COMMAND%" == "" set PHP_COMMAND=php.exe

"%PHP_COMMAND%" "%APPHP_PATH%aii" %*

@endlocal
23 changes: 23 additions & 0 deletions bin/aii.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php

// Change the following paths if necessary
defined('APPHP_PATH') || define('APPHP_PATH', dirname(__FILE__));
// Directory separator
defined('DS') || define('DS', DIRECTORY_SEPARATOR);
// Console mode only
defined('APPHP_MODE') or define('APPHP_MODE', 'console');


$apphp = dirname(__FILE__) . '/../framework/Apphp.php';
$config = APPHP_PATH . '/protected/config/';

require_once($apphp);
A::init($config)->run();

// We get automatically $argv and $argc, as we run command line command
$console = new CConsole($argv);
$consoleCommand = new CConsoleCommand(
$console->getCommand(),
$console->getParams()
);
$consoleCommand->run();
Loading