Commit graph

4 commits

Author SHA1 Message Date
he
ea96c130f3 Update from version 0.29 to 0.31.
Pkgsrc changes:
 o Add dependency on newly added p5-Search-QueryParser-SQL

Upstream changes:

0.31    16 Sept 2008
        * add missing req to Makefile.PL
        * force field_names to be an ARRAY ref in Utils make_sql_query()

0.30    11 Sept 2008
        * fix uninit value warning in Controller
	* change REST create() : Local to _rest_create() :
	  Path('create') to make it easier for create_form() to
	  call create() in superclass.
	* clean up old style $self->config->{value} to instead use
	  $self->value in Controller
        * add app_class() and model_meta() accessors to ModelAdapter
	* in base Controller, rename view_on_single_result() method
	  to uri_for_view_on_single_result and make accessor for
	  the config value 'view_on_single_result'
	* change all reserved param names in Model::Utils to use
	  'cxc-' prefix instead of '_'. Backwards compat is preserved
	  where possible.
        * Model::Utils make_query() will uc() sort direction
	* change behaviour of get_primary_key() in base Controller
	  to not look in req->params for pk values.
          This allows for changing the PK as part of an update.
	* add new() in REST to call next::method. Works around
	  (some) multiple inheritance issues.
        * check for $c->res->location before redirecting in postcommit()
	* Model::Utils was refactored to use Search::QueryParser::SQL.
	  The following methods were affected:
           * sql_query_as_string() -- removed
           * params_to_sql_query() -- now returns hashref with 3 items:
                     - query isa Search::QueryParser::SQL::Query object
                     - query_hash (formerly query) is a simple param-name =>
		       [values] hashref
                     - sql is the output of S::QP::S::Query->rdbo
	   * make_sql_query() -- returned hash ref now has query_hash
	     as plain_query value and the stringify'd Query object
	     as plain_query_str
2008-10-12 22:04:21 +00:00
he
da508d44fd Update from version 0.28 to 0.29.
Pkgsrc changes:
 o Sort dependencies according to list in upstream package
 o Add overlooked dependency on p5-Class-Accessor

Upstream changes:

0.29    23 Aug 2008
        * fix typos in the Tutorial
	* add relationship methods to Controller, ModelAdapter and
	  Model core API.
	* added sugary alias methods for read(), update() and
	  delete() to match CRUD.
	* refactored REST controller to support related methods
	  and provide better HTTP status checks and responses.
2008-09-11 12:13:22 +00:00
he
750d6ce162 Update from version 0.27 to 0.28. Changes:
0.28    11 Aug 2008
        * API for ModelAdapter changed to pass controller instance in do_model()
	* add get_primary_key() and make_primary_key_string()
	  methods to base Controller.
	  This allows for PKs composed of multiple columns.
2008-08-17 11:57:39 +00:00
abs
5d2ec456ed Added databases/p5-CatalystX-CRUD version 0.27
CatalystX::CRUD provides a simple and generic API for Catalyst CRUD
applications. CatalystX::CRUD is agnostic with regard to data model
and data input, instead providing a common API that different
projects can implement for greater compatability with one another.

The project was born out of a desire to make Rose::HTML::Objects
easy to use with Rose::DB::Object and DBIx::Class ORMs, using the
Catalyst::Controller::Rose project. However, any ORM could implement
the CatalystX::CRUD::Model API, and any form management project
could use the resulting CatalystX::CRUD::Model subclass.
2008-07-15 09:13:56 +00:00