Skip to content

Releases: phpMv/ubiquity-devtools

1.2.9 release

25 Sep 17:57
Compare
Choose a tag to compare

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

01 Aug 00:44
b582f77
Compare
Choose a tag to compare

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 (use default connection if absent)

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

Samples:

Ubiquity all-models -d=projects
Ubiquity create-all-models --database=projects

1.2.7 release

03 Jul 16:10
Compare
Choose a tag to compare

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

13 Jun 09:10
07a2983
Compare
Choose a tag to compare

Added

  • Uiquity Swoole server: Ubiquity serve -t=swoole
  • Parameters for new command see #45
    • siteUrl (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

10 May 08:46
67bd802
Compare
Choose a tag to compare

Fixed

  • Warning in pages with php Web server Fix: #5

1.2.4

09 May 01:32
Compare
Choose a tag to compare

Added

  • README.md file for new projects
  • ReactPHP server: Ubiquity serve t=react

Fixed

  • Change of theme without control in the ct action of IndexController for new projects : see Ubiquity issue #38

1.2.3

03 Apr 11:49
bd272bf
Compare
Choose a tag to compare

Updated

  • relooking of the messages for clarity

image

1.2.2

02 Apr 08:32
ab4fb05
Compare
Choose a tag to compare

Fixed

1.2.1

31 Mar 22:19
b89ab85
Compare
Choose a tag to compare

Added

  • Commands
    • install-theme for installing Bootstrap, Semantic-UI or Foundation
    • create-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 in app/config/services.php

try{
	\Ubiquity\orm\DAO::startDatabase($config);
}catch(Exception $e){
	echo $e->getMessage();
}

1.1.6

14 Mar 02:32
3991bb6
Compare
Choose a tag to compare

Added

  • New commands
  • Ubiquity restapi -> create a REST API controller (based on JsonApi)
  • Ubiquity rest -> create a REST controller associated to a model
  • Ubiquity dao -> query the database
    • getOne
    • getAll
    • uGetOne
    • uGetAll
    • count
    • uCount

Fixed