My favorites | Sign in
Project Logo
                
Details: Show all Hide all

Last 7 days

  • Dec 15, 2009
    r130 (Back to development: 0.3.3) committed by wyatt.lee.baldwin   -   Back to development: 0.3.3
    Back to development: 0.3.3
  • Dec 15, 2009
    r129 (Tagging 0.3.2) committed by wyatt.lee.baldwin   -   Tagging 0.3.2
    Tagging 0.3.2
  • Dec 15, 2009
    r128 (Preparing release 0.3.2) committed by wyatt.lee.baldwin   -   Preparing release 0.3.2
    Preparing release 0.3.2
  • Dec 14, 2009
    r127 (When redirecting to member, allow original request params to...) committed by wyatt.lee.baldwin   -   When redirecting to member, allow original request params to be relayed and allow abritrary params to be passed to redirect. * Added `relay_params` keyword arg to `_redirect_to_member` * Added `params` keyword arg to `_redirect_to_member`
    When redirecting to member, allow original request params to be relayed and allow abritrary params to be passed to redirect. * Added `relay_params` keyword arg to `_redirect_to_member` * Added `params` keyword arg to `_redirect_to_member`

Last 30 days

  • Dec 10, 2009
    r126 (Back to development: 0.3.2) committed by wyatt.lee.baldwin   -   Back to development: 0.3.2
    Back to development: 0.3.2
  • Dec 10, 2009
    r125 (Tagging 0.3.1) committed by wyatt.lee.baldwin   -   Tagging 0.3.1
    Tagging 0.3.1
  • Dec 10, 2009
    r124 (Preparing release 0.3.1) committed by wyatt.lee.baldwin   -   Preparing release 0.3.1
    Preparing release 0.3.1
  • Dec 10, 2009
    r123 (\ In _render_json(), pass self.wrap to _get_json_object() ca...) committed by wyatt.lee.baldwin   -   \ In _render_json(), pass self.wrap to _get_json_object() call; In _get_json_object(), use wrap arg instead of self.wrap. Otherwise, there is no point to the wrap arg, as it is not used elsewhere in _get_json_object().
    \ In _render_json(), pass self.wrap to _get_json_object() call; In _get_json_object(), use wrap arg instead of self.wrap. Otherwise, there is no point to the wrap arg, as it is not used elsewhere in _get_json_object().
  • Dec 10, 2009
    r122 (Bumped SQLAlchemy to 0.5.6.) committed by wyatt.lee.baldwin   -   Bumped SQLAlchemy to 0.5.6.
    Bumped SQLAlchemy to 0.5.6.
  • Dec 10, 2009
    r121 (Starting development of 0.3.1.) committed by wyatt.lee.baldwin   -   Starting development of 0.3.1.
    Starting development of 0.3.1.

Earlier this year

  • Nov 12, 2009
    r120 (Updated 0.3 change log.) committed by wyatt.lee.baldwin   -   Updated 0.3 change log.
    Updated 0.3 change log.
  • Nov 06, 2009
    r119 (Tagging 0.3.0) committed by wyatt.lee.baldwin   -   Tagging 0.3.0
    Tagging 0.3.0
  • Nov 06, 2009
    r118 (Preparing release 0.3.0) committed by wyatt.lee.baldwin   -   Preparing release 0.3.0
    Preparing release 0.3.0
  • Nov 06, 2009
    r117 (Added change log section for upcoming 0.3 release. Tried to ...) committed by wyatt.lee.baldwin   -   Added change log section for upcoming 0.3 release. Tried to capture the most important changes but can't remember them all.
    Added change log section for upcoming 0.3 release. Tried to capture the most important changes but can't remember them all.
  • Nov 06, 2009
    r116 (Made changes required by zest.releaser; will be using zest.r...) committed by wyatt.lee.baldwin   -   Made changes required by zest.releaser; will be using zest.releaser tools henceforth to manage releases.
    Made changes required by zest.releaser; will be using zest.releaser tools henceforth to manage releases.
  • Oct 21, 2009
    r115 (Allow the default value for filter params to be a callable, ...) committed by wyatt.lee.baldwin   -   Allow the default value for filter params to be a callable, which will be called if needed. Moved `get_filter_param_values` function that was defined in `set_collection` to a new method, `_set_filters_from_params`; recreating this function per-request was kinda silly.
    Allow the default value for filter params to be a callable, which will be called if needed. Moved `get_filter_param_values` function that was defined in `set_collection` to a new method, `_set_filters_from_params`; recreating this function per-request was kinda silly.
  • Oct 15, 2009
    r114 (In `to_simple_object`, when a dotted name is present in the ...) committed by wyatt.lee.baldwin   -   In `to_simple_object`, when a dotted name is present in the `fields` list, insert the value into a corresponding sub-dict. E.g., if the name is `a.b.c` and the value is `1`, value will accessible via obj['a']['b']['c']. Previously, it would have been obj['a.b.c']. The new way feels more natural and has the added benefit of working with ExtJS (which this whole name/mapping scheme is based on anyway).
    In `to_simple_object`, when a dotted name is present in the `fields` list, insert the value into a corresponding sub-dict. E.g., if the name is `a.b.c` and the value is `1`, value will accessible via obj['a']['b']['c']. Previously, it would have been obj['a.b.c']. The new way feels more natural and has the added benefit of working with ExtJS (which this whole name/mapping scheme is based on anyway).
  • Oct 12, 2009
    r113 (Allow ``name`` of object to passed to `simplify_object` to p...) committed by wyatt.lee.baldwin   -   Allow ``name`` of object to passed to `simplify_object` to provide more context for deciding how to simplify (AKA transform) the object.
    Allow ``name`` of object to passed to `simplify_object` to provide more context for deciding how to simplify (AKA transform) the object.
  • Oct 09, 2009
    r112 (Don't add total count to JSON results by default.) committed by wyatt.lee.baldwin   -   Don't add total count to JSON results by default.
    Don't add total count to JSON results by default.
  • Oct 09, 2009
    r111 (In `set_collection`, strip param values to see if they're bl...) committed by wyatt.lee.baldwin   -   In `set_collection`, strip param values to see if they're blank, but use the unstripped value in the query.
    In `set_collection`, strip param values to see if they're blank, but use the unstripped value in the query.
  • Oct 07, 2009
    r110 (Added method to `Entity` to convert PK value to string (`id_...) committed by wyatt.lee.baldwin   -   Added method to `Entity` to convert PK value to string (`id_str`). Use JSON to encode the PK value as a string. Also use JSON instead of eval to decode multi-part PKs that are in string form (in `str_to_id`). That means multi-part PKs passed via URL to `show` action should be JSON encoded lists.
    Added method to `Entity` to convert PK value to string (`id_str`). Use JSON to encode the PK value as a string. Also use JSON instead of eval to decode multi-part PKs that are in string form (in `str_to_id`). That means multi-part PKs passed via URL to `show` action should be JSON encoded lists.
  • Oct 06, 2009
    r109 (Fixed `get_column_default` so that it accesses the scalar va...) committed by wyatt.lee.baldwin   -   Fixed `get_column_default` so that it accesses the scalar value defined in the SQLA table and doesn't use the non-existent `get_db_session` method.
    Fixed `get_column_default` so that it accesses the scalar value defined in the SQLA table and doesn't use the non-existent `get_db_session` method.
  • Oct 05, 2009
    r108 (Apply order_by before offset and limit.) committed by wyatt.lee.baldwin   -   Apply order_by before offset and limit.
    Apply order_by before offset and limit.
  • Oct 05, 2009
    r107 (Added a couple of entity methods to aid converting string re...) committed by wyatt.lee.baldwin   -   Added a couple of entity methods to aid converting string representations of primary key values to "proper" values. This is mostly applicable where there's a multi-part primary key but can also be useful if the PK is, e.g., a date.
    Added a couple of entity methods to aid converting string representations of primary key values to "proper" values. This is mostly applicable where there's a multi-part primary key but can also be useful if the PK is, e.g., a date.
  • Oct 02, 2009
    r106 (Renamed `filter_params` to `base_filter_params`, so that sub...) committed by wyatt.lee.baldwin   -   Renamed `filter_params` to `base_filter_params`, so that subclasses can more easily override. Added new `filter_params` as empty dict so that subclasses don't need to worry about defining it if they don't need to. Updated `set_collection` to handle this.
    Renamed `filter_params` to `base_filter_params`, so that subclasses can more easily override. Added new `filter_params` as empty dict so that subclasses don't need to worry about defining it if they don't need to. Updated `set_collection` to handle this.
  • Oct 02, 2009
    r105 (Support `distinct` and `order_by` query parameters. Ensure `...) committed by wyatt.lee.baldwin   -   Support `distinct` and `order_by` query parameters. Ensure `entity` has bind set up for its mapper in the DB session (note: this might be a HACK; should look into better way to set binds). Added optional `q` arg to `set_collection` to allow for a pre-configured query to be passed in.
    Support `distinct` and `order_by` query parameters. Ensure `entity` has bind set up for its mapper in the DB session (note: this might be a HACK; should look into better way to set binds). Added optional `q` arg to `set_collection` to allow for a pre-configured query to be passed in.
  • Oct 02, 2009
    r104 (In `to_simple_collection`, allow the collection to be a list...) committed by wyatt.lee.baldwin   -   In `to_simple_collection`, allow the collection to be a list of SQLA `RowTuple`s. This is useful for when a `query` lists a subset of columns from a mapped class.
    In `to_simple_collection`, allow the collection to be a list of SQLA `RowTuple`s. This is useful for when a `query` lists a subset of columns from a mapped class.
  • Oct 02, 2009
    r103 (Fixed comment typo. Changed list comp loop var to better nam...) committed by wyatt.lee.baldwin   -   Fixed comment typo. Changed list comp loop var to better name.
    Fixed comment typo. Changed list comp loop var to better name.
  • Sep 30, 2009
    r102 (Moved logic that maps field names (passed by user as URL par...) committed by wyatt.lee.baldwin   -   Moved logic that maps field names (passed by user as URL param) from `Controller` to `Entity`. Support dotted field names. When simplifying objects, check for lists and tuples and call `simplify_object` on items.
    Moved logic that maps field names (passed by user as URL param) from `Controller` to `Entity`. Support dotted field names. When simplifying objects, check for lists and tuples and call `simplify_object` on items.
  • Sep 30, 2009
    r101 (Removed usage of `get_db_session` classmethod from `to_simpl...) committed by wyatt.lee.baldwin   -   Removed usage of `get_db_session` classmethod from `to_simple_collection`. Marked `get_column_default` as needing to remove usage too, but that method needs other work too, so I left it as-is for now.
    Removed usage of `get_db_session` classmethod from `to_simple_collection`. Marked `get_column_default` as needing to remove usage too, but that method needs other work too, so I left it as-is for now.
  • Sep 24, 2009
    r100 (When calling a "filter method" on an entity in `set_collecti...) committed by wyatt.lee.baldwin   -   When calling a "filter method" on an entity in `set_collection`, pass the current query (AKA `q`) first, since the idea now is to always *require* a `query` be passed to all filter methods. This will create a more consistent call signature for filter methods and clarify that filter methods are generative (i.e., they return new `query`s, which generally modify the one passed in).
    When calling a "filter method" on an entity in `set_collection`, pass the current query (AKA `q`) first, since the idea now is to always *require* a `query` be passed to all filter methods. This will create a more consistent call signature for filter methods and clarify that filter methods are generative (i.e., they return new `query`s, which generally modify the one passed in).
  • Sep 24, 2009
    r99 (Fixed subtle bug with `AttributeError` in `simplify_object`....) committed by wyatt.lee.baldwin   -   Fixed subtle bug with `AttributeError` in `simplify_object`. If that error occured in a `to_simple_object` call, it was hidden.
    Fixed subtle bug with `AttributeError` in `simplify_object`. If that error occured in a `to_simple_object` call, it was hidden.
  • Sep 24, 2009
    r98 (Added `NoDefaultValue` class to use with `filter_params`. In...) committed by wyatt.lee.baldwin   -   Added `NoDefaultValue` class to use with `filter_params`. In `set_collection`, check for filter params that have this value and discard filters that do.
    Added `NoDefaultValue` class to use with `filter_params`. In `set_collection`, check for filter params that have this value and discard filters that do.
  • Sep 23, 2009
    r97 (Support entity filter methods in set_collection. Renamed _co...) committed by wyatt.lee.baldwin   -   Support entity filter methods in set_collection. Renamed _convert_param_for_update to convert_param, thereby making it 'public' and indicating that it is usable in contexts other than update. Filter methods are classmethods defined on a controller's entity. They must be named as filter_by_<param_name>, where <param_name> is listed in the controller's filter_params class attribute.
    Support entity filter methods in set_collection. Renamed _convert_param_for_update to convert_param, thereby making it 'public' and indicating that it is usable in contexts other than update. Filter methods are classmethods defined on a controller's entity. They must be named as filter_by_<param_name>, where <param_name> is listed in the controller's filter_params class attribute.
  • Aug 03, 2009
    r96 (Updated Google Code front page doc to reflect trunk. ) committed by wyatt.lee.baldwin   -   Updated Google Code front page doc to reflect trunk.
    Updated Google Code front page doc to reflect trunk.
  • Aug 03, 2009
    issue 6 (Remove sqlalchemy.ext.declarative dependency from restler.en...) reported by wyatt.lee.baldwin   -   Remove sqlalchemy.ext.declarative dependency from restler.entity.Entity
    Remove sqlalchemy.ext.declarative dependency from restler.entity.Entity
  • Aug 03, 2009
    issue 5 (Remove Elixir dependency; only require mapped classes) reported by wyatt.lee.baldwin   -   Remove Elixir dependency; only require mapped classes
    Remove Elixir dependency; only require mapped classes
  • Aug 03, 2009
    QuickStartZeroDotTwo Wiki page added by wyatt.lee.baldwin   -   Revision r95 Created copy of v0.2 QuickStart before updating to reflect current version.
    Revision r95 Created copy of v0.2 QuickStart before updating to reflect current version.
  • Jul 27, 2009
    r94 (Allow `extra_filters` to be passed to `set_collection`. Thes...) committed by wyatt.lee.baldwin   -   Allow `extra_filters` to be passed to `set_collection`. These will be appended to any default filters.
    Allow `extra_filters` to be passed to `set_collection`. These will be appended to any default filters.
  • Jul 27, 2009
    r93 (Moved :meth:`entity.Entity.all` functionality to :meth:`cont...) committed by wyatt.lee.baldwin   -   Moved :meth:`entity.Entity.all` functionality to :meth:`controller.Controller.set_collection` as it seems more natural there (but don't ask me why ;). Also added default `limit` and `offset` filter parameters (both are `None`, which allows these filter params to be overridden without needing to add them to subclasses).
    Moved :meth:`entity.Entity.all` functionality to :meth:`controller.Controller.set_collection` as it seems more natural there (but don't ask me why ;). Also added default `limit` and `offset` filter parameters (both are `None`, which allows these filter params to be overridden without needing to add them to subclasses).
  • Jul 17, 2009
    r92 (Don't require Pylons as a dependency.) committed by wyatt.lee.baldwin   -   Don't require Pylons as a dependency.
    Don't require Pylons as a dependency.
  • Jul 17, 2009
    r91 (Support Python 2.5) committed by wyatt.lee.baldwin   -   Support Python 2.5
    Support Python 2.5
  • Jul 17, 2009
    r90 (Added `Entity` class and `EntityMeta` metaclass from TriMet ...) committed by wyatt.lee.baldwin   -   Added `Entity` class and `EntityMeta` metaclass from TriMet Core so that they can be more easily reused in other projects (e.g., byCycle).
    Added `Entity` class and `EntityMeta` metaclass from TriMet Core so that they can be more easily reused in other projects (e.g., byCycle).
  • Jul 09, 2009
    r89 (Use more robust method for redirecting to a member or the co...) committed by wyatt.lee.baldwin   -   Use more robust method for redirecting to a member or the collection. Previous method would break for namespaced controllers. Added `member` keyword arg to :meth:`_redirect_to_member` to allow override of redirect to `self.member`.
    Use more robust method for redirecting to a member or the collection. Previous method would break for namespaced controllers. Added `member` keyword arg to :meth:`_redirect_to_member` to allow override of redirect to `self.member`.
  • Jun 30, 2009
    r88 (To find the DB Session, don't assume anything about `self.en...) committed by wyatt.lee.baldwin   -   To find the DB Session, don't assume anything about `self.entity`. Instead, call into :meth:`Controller.get_db_session`, which all subclasses must implement.
    To find the DB Session, don't assume anything about `self.entity`. Instead, call into :meth:`Controller.get_db_session`, which all subclasses must implement.
  • Jun 23, 2009
    r87 (Updated doc string for :meth:`_render_object_as_json`) committed by wyatt.lee.baldwin   -   Updated doc string for :meth:`_render_object_as_json`
    Updated doc string for :meth:`_render_object_as_json`
  • Jun 23, 2009
    r86 (Corrected docstring.) committed by wyatt.lee.baldwin   -   Corrected docstring.
    Corrected docstring.
  • Jun 10, 2009
    r85 (Allow DB session property to be set directly (i.e., made `db...) committed by wyatt.lee.baldwin   -   Allow DB session property to be set directly (i.e., made `db_session` property r/w instead of r/o). This is needed so that controller instances can temporarily override which DB session is used.
    Allow DB session property to be set directly (i.e., made `db_session` property r/w instead of r/o). This is needed so that controller instances can temporarily override which DB session is used.
  • May 27, 2009
    r84 (Don't try to set read-only properties.) committed by wyatt.lee.baldwin   -   Don't try to set read-only properties.
    Don't try to set read-only properties.
  • May 26, 2009
    r83 (Bumped SQLAlchemy version.) committed by wyatt.lee.baldwin   -   Bumped SQLAlchemy version.
    Bumped SQLAlchemy version.
 
Hosted by Google Code