Files | Admin

Notes:

Release Name: nitro-0.31.0

Notes:
== Og ==

* Increased size of ogtype field in STI tables to 50 from 30.

* Made Og (Mysql) respect the port option when creating and dropping databases.

* Added thread_safe to Og.setup options.

* Added #to_xml method to Og managed objects.

== Nitro ==

* Mongrel adapter updated to work with latest versions of Mongrel.

* Fixed a long-standing bug where the template root wasn't determined correctly (would result in blank pages).

* Added sendfile support.

* helper/pager.rb: add option to set nav link titles

* Fixed strip_path support. When this setting is set to a path, it will be stripped from urls. Given, 

  Router.strip_path = '/nitro-apps'

when the dispatcher gets a url like /nitro-apps/blog it will strip out /nitro-apps and resolve to the controller for /blog.

* Wee helper is removed.

* Updated Nitro start page with links to the examples.

== Glue ==

Bugfixes. Refactored taggable.rb and removed attribute in favor of Facets's cattr which was then replaced with settings.

== Gen ==

No changes.



Changes: Thu Jul 20 15:47:33 PDT 2006 bryan.a.soto@gmail.com * releases-files-update Thu Jul 20 15:19:00 PDT 2006 bryan.a.soto@gmail.com * og-sti-fix Changes the size of the ogtype field used in STI to VARCHAR(50) from VARCHAR(30). Thu Jul 20 15:18:25 PDT 2006 bryan.a.soto@gmail.com * update-projectinfo Updates for 0.31.0 release. Wed Jul 19 16:17:27 PDT 2006 bryan.a.soto@gmail.com * nitro-caching-fixes Updates Nitro caching classes from cattr to settings. Mon Jul 17 13:50:50 PDT 2006 bryan.a.soto@gmail.com * bugfix-glue-validate_value Ticket #44: http://devlab.oree.ch/trac/glycerin/ticket/44 Credit to matt DOT moriarity AT gmail DOT com. Sun Jul 16 23:06:48 PDT 2006 bryan.a.soto@gmail.com * bugfix-nitro-mongrel-adapter Fixes multi-part form processing, which was broken by my previous patch. Basically, image uploads work now for mongrel. Tue Jul 11 13:13:47 PDT 2006 bryan.a.soto@gmail.com * bugfix-nitro-extra-arguments Commented out the extra concat as I never could figure out what the code intended. Tue Jul 11 13:10:06 PDT 2006 bryan.a.soto@gmail.com * bugfix-nitro-flaky-template-root When running from a directory other than the root directory of your Nitro app, Template.root was set incorrectly because class Template would determine whether to use template, src/template and default to public all before Nitro had chdir'd to the root directory of your Nitro app. Moved the requires to after the chdir.***END OF DESCRIPTION*** Place the long patch description above the ***END OF DESCRIPTION*** marker. The first line of this file will be the patch name. This patch contains the following changes: M ./nitro/lib/nitro.rb -12 +12 Tue Jul 11 11:43:29 PDT 2006 neokolor@gmx.de * add option to set nav link titles Fri Jul 7 16:25:48 PDT 2006 neokolor@gmx.de * helper/table.rb: fix problem with table output Fri Jul 7 16:08:29 PDT 2006 neokolor@gmx.de * helper/pager.rb: fix problems with nav output if we have no results Fri Jul 7 16:18:08 PDT 2006 neokolor@gmx.de * helper/pager.rb: add option to set nav link titles Sun Jun 18 05:42:52 PDT 2006 neokolor@gmx.de * fix_in_relation_symbol_to_class Mon Jul 10 18:07:02 PDT 2006 bryan.a.soto@gmail.com * bugfix-nitro-ticket-43 Fixed a bug/type as suggested by rff_rff AT yahoo DOT it http://devlab.oree.ch/trac/glycerin/ticket/43 Mon Jul 10 18:03:50 PDT 2006 bryan.a.soto@gmail.com * bugfix-nitro-ticket-34 Fixed as per billk AT cts DOT com suggestion on Ticket #34. http://devlab.oree.ch/trac/glycerin/ticket/34 Mon Jul 10 17:56:56 PDT 2006 bryan.a.soto@gmail.com * og-mysql-add-port-option From jbritt, makes Mysql respect port option when creating and dropping databases. Fri Jun 30 12:07:11 PDT 2006 George Moschovitis <gm@navel.gr> * Applied james britt's mongrel patch. Thu Jun 29 17:01:35 PDT 2006 bryan.a.soto@gmail.com * dispatcher-add_rule-patch Duplicate of George's add_route to add_rule patch as his repo was unavailable. Thu Jun 29 16:31:46 PDT 2006 bryan.a.soto@gmail.com * og-tc-sti-find Adds a test case for manveru's sti fix. Thu Jun 29 16:29:26 PDT 2006 bryan.a.soto@gmail.com * og-entity-from-string Modifies the definition of Og::Entity::entity_from_string slightly. It assumed only one manager would ever exist. Not a valid assumption in the test suite. Thu Jun 29 15:10:18 PDT 2006 bryan.a.soto@gmail.com * og-thread-safe-options Adds the ability to specify :thread_safe as an option to Og.setup with the default begin true. Without this patch, thread_safe was true and it couldn't be modified without modifying the Og code. Thu Jun 29 15:08:58 PDT 2006 bryan.a.soto@gmail.com * og-aggregate-fix Accomodates the fact that the Postgres adapter doesn't return an Array like the other stores by modifying the aggregation code. Tue Jun 27 01:54:47 PDT 2006 manveru@weez-int.com * fix for schema_inheritance queries Thu Apr 20 03:08:59 PDT 2006 m.fellinger@gmail.com * localization-support for table-helper Wed Jun 21 17:06:22 PDT 2006 bryan.a.soto@gmail.com * update-facets-1.4.2 Updates to Facets-1.4.2. Uses facets/core/module/class_extension instead of classinherit. No other changes needed to pass tests. Sun Jun 18 15:08:38 PDT 2006 neokolor@gmx.de * fix problem with :plural_name in admin controller Fri Jun 9 15:06:20 PDT 2006 bryan.a.soto@gmail.com * hack-enh-fcgi-rewind A small hack to ensure that you can access the raw_body of a request, by converting the incoming stream to a StringIO if it doesn't respond to :rewind. Thu Jun 8 13:19:40 PDT 2006 bryan.a.soto@gmail.com * nitro-sendfile-support Adds sendfile supported. Submitted by Jan A. Lambert <jlsysinc AT alltel DOT net>. Tested on IE 6.0 and FireFox 1.5. Wed Jun 7 19:02:04 PDT 2006 bryan.a.soto@gmail.com * nitro-dispatcher-router-strip_path Makes the dispatcher honour the Router.strip_path setting. This, basically, makes Nitro ignore a portion of the url that could represent a directory name. Basically, without the setting: /my_nitro_apps_directory/nitro-app => looks for a controller mapped to / or /my_nitro_apps_directory. With Router.strip_path = '/my_nitro_apps_directory' /my_nitro_apps_directory/nitro-app => looks for a controller mapped to / or /nitro-app. Many thanks to Vagabond for the patch. Mon Jun 5 14:11:52 PDT 2006 bryan.a.soto@gmail.com * bugfix-mongrel-adapter-request-uri Removes REQUEST_URI header manipulation and accomodates an upcoming change in Mongrel 0.3.13. An ugly class check... Lovely. Wed May 17 17:47:17 PDT 2006 bryan.a.soto@gmail.com * fixup-guilles-patch Brings Guille's patch up to date by resolving a conflict. Fri May 12 02:48:22 PDT 2006 Guillaume Pierronnet <guillaume.pierronnet@gmail.com> * og/lib/glue/taggable.rb refactor + support for passing :condition parameter SqlStore#prepare_statement moved to public scope test case on taggable runs fine Wed May 17 17:14:36 PDT 2006 bryan.a.soto@gmail.com * test-fix-og-tc_ez Fixes up the ez testcase Manveru submitted to make it run and pass. Sat May 13 04:10:40 PDT 2006 m.fellinger@gmail.com * ez-fix for trueclass and testcase for it Sat May 13 04:09:45 PDT 2006 m.fellinger@gmail.com * error-page-fix for source-preview Wed May 17 13:01:53 PDT 2006 fabian@fabian-buch.de * to_rexml and to_xml to_rexml returns a REXML::Element object to_xml returns an XML-String Wed May 17 07:33:23 PDT 2006 fabian@fabian-buch.de * introduction of OgObject.to_xml method to_xml returns a REXML object of an Og object example usage: User[1].to_xml returns a REXML object, so use to_s to get it as String containing XML Wed May 17 15:32:59 PDT 2006 bryan.a.soto@gmail.com * test-fix-nitro-tc_render Makes the TestController subclass Nitro::Controller so it get's the #encode_url method. Wed May 17 15:24:52 PDT 2006 bryan.a.soto@gmail.com * adds-some-blank-lines-to-og-tc_setup Wed May 17 15:17:25 PDT 2006 bryan.a.soto@gmail.com * gabrielle-renzis-linefeeds Switches line endings from Dos to Unix. Fri May 5 05:30:51 PDT 2006 surrender_it@yahoo.it * crash-early Og.setup This patch removed the Exception handling routine from Og.setup. With the current code if an exception is raised during the execution of the method there is no crash, but the crash will happen every time someone references Og.manager, cause that variable won't be initialized . This patch makes Og.setup crash as soon as possible, thus allowing faster diagnostics. The patch also adds a simple test case for Og.setup, which seem not tested anywhere, but the test case may need some love for proper setup (it relies on glycerin as of now, cause loading CONFIG.rb seem to raise a strange exception related to mixed use of facets 1.3 and 1.0 on my box) Thu May 4 18:02:06 PDT 2006 surrender_it@yahoo.it * better test logging As of now tests for Og swallow every error ingormation while not in $DBG mode, this one-line patch allows visualization of logged informations at WARN level and more, which has little impact on the visualization of the tests and still allows quick diagnostics while staying out of $DBG Tue May 16 13:37:04 PDT 2006 bryan.a.soto@gmail.com * george-glue-tag-fixup Tue May 16 08:07:05 PDT 2006 George Moschovitis <gm@navel.gr> * Minor. Tue May 16 00:32:46 PDT 2006 George Moschovitis <gm@navel.gr> * Moved examples, spark, flare to a separate repository. Tue May 16 00:28:23 PDT 2006 George Moschovitis <gm@navel.gr> * Removed wee helper and example. Not really useful in Nitro, better use wee standalone + Og if you like Wee components (or wait for a Nitro solution). Tue May 16 00:23:50 PDT 2006 George Moschovitis <gm@navel.gr> * Removed controller_name from Render, user controller.mount_path instead. Tue May 16 00:16:15 PDT 2006 George Moschovitis <gm@navel.gr> * Fixed: dont overwrite already defined methods in the new scaffold code. Tue May 16 00:15:08 PDT 2006 George Moschovitis <gm@navel.gr> * Improved R (encode_url) handles strings and entities. Redirect implicitly uses R. Form builder implicitly uses R for form actions. Sun May 14 23:54:39 PDT 2006 George Moschovitis <gm@navel.gr> * Fixed name_to_jsfile (absolute url). Fri May 12 21:22:51 PDT 2006 George Moschovitis <gm@navel.gr> * Reenabled format in Logger. Fri May 12 20:49:29 PDT 2006 George Moschovitis <gm@navel.gr> * Added some :nodoc: all to cleanup generated RDocs. Fri May 12 08:48:49 PDT 2006 George Moschovitis <gm@navel.gr> * Bumbed version number in many files. Fri May 12 08:37:54 PDT 2006 George Moschovitis <gm@navel.gr> * Wrote a detailed parts howto in RDoc form in parts.rb as requested by Jonas. To be improved after community feedback. Thu May 11 03:14:56 PDT 2006 George Moschovitis <gm@navel.gr> * Initial code for the new scaffolding system, *very* under construction, ignore for the moment. Wed May 10 03:28:36 PDT 2006 George Moschovitis <gm@navel.gr> * Added a model macro to controllers that links related classes. At the moment it is used in the sweeper do delete cached pages from the linked controller base directory. Thu May 11 23:05:11 PDT 2006 bryan.a.soto@gmail.com * add-ostruct-require Adds missing ostruct require to testcase.rb. Wed May 10 15:20:51 PDT 2006 bryan.a.soto@gmail.com * more-mongrel-adapter-fixes Fixes up static file serving. Tue May 9 23:05:46 PDT 2006 bryan.a.soto@gmail.com * nitro-proto-page Updates the intro page with a link to the rubyforge page for examples to be downloaded as suggested by James Britt. Tue May 9 23:04:39 PDT 2006 bryan.a.soto@gmail.com * mongrel-fixes Gives the Mongrel adapter some need updating. Mon May 8 23:36:43 PDT 2006 bryan.a.soto@gmail.com * test-suite-fixup Fixes the full test suite so that .\script\test.rb completes. Mon May 8 00:56:45 PDT 2006 George Moschovitis <gm@navel.gr> * Fixed Session.current and Controller.current Sun May 7 09:07:15 PDT 2006 George Moschovitis <gm@navel.gr> * Store current context in a thread local variable, accesible through Context.current Sun May 7 01:57:03 PDT 2006 George Moschovitis <gm@navel.gr> * Removed glue/attribute, use Facet's cattr instead. Updated nitro/og source to make compatible. Sat May 6 23:20:34 PDT 2006 George Moschovitis <gm@navel.gr> * Added script adapter file. Sat May 6 23:15:55 PDT 2006 George Moschovitis <gm@navel.gr> * Removed flexob and references to it, use Facet's OpenObject instead. Sat May 6 03:39:21 PDT 2006 George Moschovitis <gm@navel.gr> * Renamed to ScriptAdapter, keep ConsoleAdapter alias. Sat May 6 03:20:10 PDT 2006 George Moschovitis <gm@navel.gr> * Yeah, the ConsoleAdapter kinda works now ;-) Sat May 6 02:55:03 PDT 2006 George Moschovitis <gm@navel.gr> * Introduced new nitro command/runner that will replace the current spaghetti code. Based on facetes Console::Command. Also introduced the ConsoleAdapter. Sat May 6 01:00:52 PDT 2006 George Moschovitis <gm@navel.gr> * Removed accumulate (in facets). Sat May 6 00:55:26 PDT 2006 George Moschovitis <gm@navel.gr> * Some small updates. Sat May 6 00:50:53 PDT 2006 George Moschovitis <gm@navel.gr> tagged 0.30.0