Releases: phpMv/ubiquity-devtools
Releases · phpMv/ubiquity-devtools
1.2.9 release
Fixed
Added
Commands
composer
[cmd]
Samples:
Ubiquity composer update
Ubiquity composer nodev
Ubiquity composer optimize
bootstrap
[cmd]
Execute the cmd
method from the .ubiquity/_bootstrap.php
file to prepare an environment.
Sample:
Ubiquity bootstrap prod
Ubiquity bootstrap dev
1.2.8 release
Added
Changed
- Compatibility with Ubiquity
2.3.0
- the classes used only in development (common to devtools and webtools) have been relocated in the phpmv/ubiquity-dev package.
Commands
model
(create-model
) command- added parameter
d
(database
): the database connection name defined in config file (usedefault
connection if absent)
- added parameter
Samples:
Ubiquity model Author -d=projects
Ubiquity model Author --database=projects
all-models
(create-all-models
) command- added parameter
d
(database
): the database connection name defined in config file (use default connection if absent) - removed parameter
b
(dbName
): the database name defined in config file
- added parameter
Samples:
Ubiquity all-models -d=projects
Ubiquity create-all-models --database=projects
1.2.7 release
Changed
- Checks if devtools are globally installed in
sefUpdate
op - Integrates ubiquity-webtools
2.2.0
(in a separate repository)
Fixed
- Remove warning for
\DS
constant redefinition (thanks @TakeMeNL)
1.2.6 release
Added
- Uiquity Swoole server:
Ubiquity serve -t=swoole
- Parameters for
new
command see #45siteUrl (i)
: Sets the site base URL.rewriteBase (e)
: Sets .htaccess file rewriteBase.
Use
Ubiquity new fooProject -i=http://foo.local -w=foo
or
Ubiquity new fooProject --siteUrl=http://foo.local --rewriteBase=foo
1.2.5 release
Fixed
- Warning in pages with php Web server Fix: #5
1.2.4
1.2.3
1.2.2
Fixed
- Fix phpMv/ubiquity#22 issue (pb with installer without -a option)
1.2.1
Added
- Commands
install-theme
for installing Bootstrap, Semantic-UI or Foundationcreate-theme
for creating a new theme (eventually based on a ref theme)
Changed
- Update to Ubiquity 2.1.0
services.tpl file
Fixed
- An exception is thrown In case of problem with the Database connection (in
DataBase::connect
method) see phpMv/ubiquity#12
The connection to the database must be protected by a
try/catch
inapp/config/services.php
try{
\Ubiquity\orm\DAO::startDatabase($config);
}catch(Exception $e){
echo $e->getMessage();
}
1.1.6
Added
- New commands
Ubiquity restapi
-> create a REST API controller (based on JsonApi)Ubiquity rest
-> create a REST controller associated to a modelUbiquity dao
-> query the database- getOne
- getAll
- uGetOne
- uGetAll
- count
- uCount