nitro 0.31.0 → 0.40.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (174) hide show
  1. data/bin/nitro +135 -37
  2. data/doc/CHANGELOG.1 +108 -108
  3. data/doc/CHANGELOG.2 +89 -89
  4. data/doc/CHANGELOG.3 +105 -105
  5. data/{CHANGELOG → doc/CHANGELOG.4} +509 -509
  6. data/doc/{AUTHORS → CONTRIBUTORS} +49 -37
  7. data/doc/LIBRARIES +13 -0
  8. data/doc/LICENSE +2 -3
  9. data/doc/MIGRATION +45 -0
  10. data/doc/RELEASES +131 -11
  11. data/doc/TODO +67 -0
  12. data/lib/glue/magick.rb +0 -3
  13. data/lib/glue/sweeper.rb +30 -15
  14. data/lib/glue/thumbnails.rb +0 -2
  15. data/lib/glue/webfile.rb +23 -11
  16. data/lib/nitro.rb +37 -44
  17. data/lib/nitro/adapter/cgi.rb +0 -3
  18. data/lib/nitro/adapter/console.rb +0 -2
  19. data/lib/nitro/adapter/fastcgi.rb +6 -3
  20. data/lib/nitro/adapter/mongrel.rb +97 -58
  21. data/lib/nitro/adapter/script.rb +4 -6
  22. data/lib/nitro/adapter/webrick.rb +33 -87
  23. data/lib/nitro/adapter/webrick/vcr.rb +85 -0
  24. data/lib/nitro/caching.rb +0 -2
  25. data/lib/nitro/caching/actions.rb +0 -2
  26. data/lib/nitro/caching/fragments.rb +0 -2
  27. data/lib/nitro/caching/output.rb +45 -16
  28. data/lib/nitro/caching/proxy.rb +49 -0
  29. data/lib/nitro/cgi.rb +3 -6
  30. data/lib/nitro/cgi/cookie.rb +0 -3
  31. data/lib/nitro/cgi/request.rb +67 -24
  32. data/lib/nitro/cgi/response.rb +0 -2
  33. data/lib/nitro/cgi/{sendfile.rb → send_file.rb} +7 -6
  34. data/lib/nitro/compiler.rb +62 -55
  35. data/lib/nitro/compiler/cleanup.rb +0 -3
  36. data/lib/nitro/compiler/elements.rb +31 -28
  37. data/lib/nitro/compiler/errors.rb +2 -5
  38. data/lib/nitro/compiler/include.rb +10 -8
  39. data/lib/nitro/compiler/layout.rb +0 -2
  40. data/lib/nitro/compiler/localization.rb +0 -2
  41. data/lib/nitro/compiler/markup.rb +14 -6
  42. data/lib/nitro/compiler/morphing.rb +1 -5
  43. data/lib/nitro/compiler/script.rb +2 -4
  44. data/lib/nitro/compiler/squeeze.rb +0 -2
  45. data/lib/nitro/compiler/xslt.rb +0 -2
  46. data/lib/nitro/context.rb +10 -5
  47. data/lib/nitro/control.rb +18 -0
  48. data/lib/nitro/control/attribute.rb +88 -0
  49. data/lib/nitro/control/attribute/checkbox.rb +19 -0
  50. data/lib/nitro/control/attribute/datetime.rb +21 -0
  51. data/lib/nitro/control/attribute/file.rb +20 -0
  52. data/lib/nitro/control/attribute/fixnum.rb +26 -0
  53. data/lib/nitro/control/attribute/float.rb +26 -0
  54. data/lib/nitro/control/attribute/options.rb +38 -0
  55. data/lib/nitro/control/attribute/password.rb +16 -0
  56. data/lib/nitro/control/attribute/text.rb +16 -0
  57. data/lib/nitro/control/attribute/textarea.rb +16 -0
  58. data/lib/nitro/control/none.rb +16 -0
  59. data/lib/nitro/control/relation.rb +53 -0
  60. data/lib/nitro/control/relation/belongs_to.rb +0 -0
  61. data/lib/nitro/control/relation/has_many.rb +97 -0
  62. data/lib/nitro/control/relation/joins_many.rb +0 -0
  63. data/lib/nitro/control/relation/many_to_many.rb +0 -0
  64. data/lib/nitro/control/relation/refers_to.rb +29 -0
  65. data/lib/nitro/controller.rb +7 -296
  66. data/lib/nitro/dispatcher.rb +72 -34
  67. data/lib/nitro/element.rb +36 -10
  68. data/lib/nitro/element/javascript.rb +0 -2
  69. data/lib/nitro/flash.rb +23 -10
  70. data/lib/nitro/global.rb +36 -11
  71. data/lib/nitro/helper.rb +22 -8
  72. data/lib/nitro/helper/benchmark.rb +0 -2
  73. data/lib/nitro/helper/buffer.rb +0 -3
  74. data/lib/nitro/helper/css.rb +12 -0
  75. data/lib/nitro/helper/debug.rb +1 -3
  76. data/lib/nitro/helper/default.rb +1 -0
  77. data/lib/nitro/helper/feed.rb +400 -386
  78. data/lib/nitro/helper/form.rb +246 -116
  79. data/lib/nitro/helper/javascript.rb +28 -2
  80. data/lib/nitro/helper/javascript/morphing.rb +0 -2
  81. data/lib/nitro/helper/javascript/prototype.rb +0 -2
  82. data/lib/nitro/helper/javascript/scriptaculous.rb +0 -1
  83. data/lib/nitro/helper/layout.rb +0 -2
  84. data/lib/nitro/helper/navigation.rb +87 -0
  85. data/lib/nitro/helper/pager.rb +11 -22
  86. data/lib/nitro/helper/table.rb +9 -32
  87. data/lib/nitro/helper/url.rb +104 -0
  88. data/lib/nitro/helper/xhtml.rb +20 -4
  89. data/lib/nitro/helper/xml.rb +0 -2
  90. data/lib/nitro/markup.rb +131 -0
  91. data/lib/nitro/part.rb +52 -7
  92. data/lib/nitro/publishable.rb +328 -0
  93. data/lib/nitro/render.rb +30 -61
  94. data/lib/nitro/router.rb +12 -4
  95. data/lib/nitro/sanitize.rb +48 -0
  96. data/lib/nitro/scaffold.rb +9 -11
  97. data/lib/nitro/scaffold/controller.rb +25 -0
  98. data/lib/nitro/scaffold/model.rb +150 -0
  99. data/lib/nitro/scaffolding.rb +1 -3
  100. data/lib/nitro/server.rb +57 -32
  101. data/lib/nitro/server/drb.rb +16 -2
  102. data/lib/nitro/server/runner.rb +80 -102
  103. data/lib/nitro/service.rb +0 -1
  104. data/lib/nitro/service/xmlrpc.rb +0 -2
  105. data/lib/nitro/session.rb +26 -18
  106. data/lib/nitro/session/drb.rb +2 -16
  107. data/lib/nitro/session/memory.rb +0 -2
  108. data/lib/nitro/template.rb +219 -0
  109. data/lib/nitro/test/assertions.rb +1 -3
  110. data/lib/nitro/test/context.rb +0 -1
  111. data/lib/nitro/test/testcase.rb +0 -1
  112. data/lib/nitro/version.rb +6 -0
  113. data/lib/part/admin.rb +16 -0
  114. data/lib/part/admin/controller.rb +19 -0
  115. data/lib/part/admin/helper.rb +30 -0
  116. data/lib/part/admin/og/controller.rb +114 -0
  117. data/lib/part/admin/og/customize.rb +4 -0
  118. data/lib/part/admin/og/template/index.xhtml +27 -0
  119. data/lib/part/admin/og/template/list.xhtml +38 -0
  120. data/lib/part/admin/og/template/search.xhtml +20 -0
  121. data/lib/part/admin/og/template/update.xhtml +25 -0
  122. data/lib/part/admin/skin.rb +207 -0
  123. data/lib/part/admin/template/denied.xhtml +13 -0
  124. data/lib/part/admin/template/index.xhtml +12 -0
  125. data/lib/part/admin/todo.txt +2 -0
  126. data/proto/public/error.xhtml +4 -2
  127. data/proto/run.rb +0 -2
  128. data/test/glue/tc_webfile.rb +1 -0
  129. data/test/nitro/cgi/tc_request.rb +23 -0
  130. data/test/nitro/helper/tc_feed.rb +0 -3
  131. data/test/nitro/helper/tc_navbar.rb +74 -0
  132. data/test/nitro/helper/tc_table.rb +2 -0
  133. data/test/nitro/tc_cgi.rb +72 -19
  134. data/test/nitro/tc_controller.rb +35 -26
  135. data/test/nitro/tc_controller_aspect.rb +1 -0
  136. data/test/nitro/tc_controller_params.rb +864 -0
  137. data/test/nitro/tc_dispatcher.rb +2 -2
  138. data/test/nitro/tc_element.rb +16 -16
  139. data/test/nitro/tc_flash.rb +3 -3
  140. data/test/nitro/tc_markup.rb +31 -0
  141. data/test/nitro/tc_render.rb +12 -14
  142. data/test/nitro/tc_session.rb +9 -7
  143. data/test/nitro/tc_template.rb +34 -0
  144. metadata +217 -198
  145. data/INSTALL +0 -121
  146. data/ProjectInfo +0 -74
  147. data/README +0 -555
  148. data/doc/apache.txt +0 -9
  149. data/doc/config.txt +0 -28
  150. data/doc/faq.txt +0 -7
  151. data/doc/lhttpd.txt +0 -7
  152. data/lib/nitro/adapter/scgi.rb +0 -239
  153. data/lib/nitro/helper/form/builder.rb +0 -144
  154. data/lib/nitro/helper/form/controls.rb +0 -389
  155. data/lib/nitro/helper/rss.rb +0 -72
  156. data/proto/conf/apache.conf +0 -51
  157. data/proto/public/scaffold/advanced_search.xhtml +0 -30
  158. data/proto/public/scaffold/edit.xhtml +0 -11
  159. data/proto/public/scaffold/form.xhtml +0 -1
  160. data/proto/public/scaffold/index.xhtml +0 -20
  161. data/proto/public/scaffold/list.xhtml +0 -32
  162. data/proto/public/scaffold/new.xhtml +0 -11
  163. data/proto/public/scaffold/search.xhtml +0 -29
  164. data/proto/public/scaffold/view.xhtml +0 -8
  165. data/proto/script/scgi_ctl +0 -221
  166. data/proto/script/scgi_service +0 -128
  167. data/setup.rb +0 -1585
  168. data/src/part/admin.rb +0 -16
  169. data/src/part/admin/controller.rb +0 -81
  170. data/src/part/admin/skin.rb +0 -21
  171. data/src/part/admin/system.css +0 -135
  172. data/src/part/admin/template/denied.xhtml +0 -1
  173. data/src/part/admin/template/index.xhtml +0 -43
  174. data/test/nitro/helper/tc_rss.rb +0 -24
@@ -1,11 +1,13 @@
1
1
  LEAD DEVELOPER:
2
2
 
3
- * George K. Moschovitis <gm@navel.gr>
3
+ * George K. Moschovitis <george.moschovitis@gmail.com>
4
4
  Project leader, architecture and design, main coder,
5
5
  documentation, maintainer (http://www.gmosx.com).
6
6
 
7
7
 
8
- NITRO DEVELOPMENT TEAM:
8
+ TEAM NITRO:
9
+
10
+ Team Nitro is group of important contributors to the project.
9
11
 
10
12
  * Jonas Pfenniger <zimba.tm@gmail.com>
11
13
  Patches, new features, bug fixes.
@@ -17,18 +19,29 @@ NITRO DEVELOPMENT TEAM:
17
19
  * Guillaume Pierronnet <guillaume.pierronnet@laposte.net>
18
20
  Patches, new features, bug fixes.
19
21
 
20
- * Rob Pitt <rob@motionpath.co.uk>
21
- Patches, Bug fixes, Scaffolding improvements.
22
+ * Thomas Sawyer <transfire@gmail.com>
23
+ Small bug fixes, patches.
24
+
25
+ * Jonathan Buch <jonathan.buch@gmail.net>
26
+ Patches, documentation.
22
27
 
23
- * Aidan Rogers <aidan@infurious.com>
24
- Documentation, Bug reports, patches.
25
-
28
+ * Fabian Buch <fabian@fabian-buch.de>
29
+ FeedHelper, various patches.
26
30
 
31
+ * Michael Fellinger <m.fellinger@gmail.com>
32
+ Patches, bug fixes.
33
+
27
34
  IDEAS, ADDITIONAL CODING, SUPPORT:
28
35
 
36
+ * Rob Pitt <rob@motionpath.co.uk>
37
+ Patches, Bug fixes, Scaffolding improvements.
38
+
29
39
  * Chris Farmiloe <chris.farmiloe@farmiloe.com>
30
40
  Patches, new features, bug fixes.
31
41
 
42
+ * Aidan Rogers <aidan@infurious.com>
43
+ Documentation, Bug reports, patches.
44
+
32
45
  * James Britt <james_b@neurogami.com>
33
46
  Evangelising, documentation, design, additional code, bug reports.
34
47
 
@@ -37,58 +50,57 @@ IDEAS, ADDITIONAL CODING, SUPPORT:
37
50
 
38
51
  * Brian Bugh <brian@xsi-design.com>
39
52
  Fixes, Patches.
53
+
54
+ * Gabriele Renzi <surrender_it@yahoo.it>
55
+ Patches, new features.
56
+
57
+ * Fang Sun <nusgnaf@gmail.com>
58
+ Patches.
59
+
60
+ * <neokolor@gmx.de>
61
+ Patches.
40
62
 
41
63
  * Zed A. Shaw <zedshaw@zedshaw.com>
42
64
  SCGI adapter.
43
65
 
44
66
  * Peter Abrahamsen <rainhead@gmail.com>
45
67
  Documentation, small patches.
46
-
47
- * Anastasios Koutoumanos <ak@navel.gr>
48
- Design, bug reports.
49
-
50
- * TRANS <transfire@gmail.com>
51
- Small bug fixes, patches.
52
68
 
53
- * Kashia Buch <kashia@vfemail.net>
54
- Patches, documentation.
55
-
56
69
  * Massimo Maria Ghisalberti
57
70
  Patches.
58
71
 
72
+ * John A. Lambert
73
+ Patches.
74
+
59
75
  * Dan Yoder <dan@zeraweb.com>
60
76
  Original 'Elements' implementation, bug reports.
61
77
 
62
78
  * Joshua Hoke
63
79
  Patches.
64
-
65
- * Kostas Nasis <kostas@nasis.com>
66
- Ideas and bug reports.
67
80
 
81
+ * Michael Neumann <mneumann@ntecs.de>
82
+ Wee integration, patches.
68
83
 
69
- INTEGRATED LIBRARIES:
84
+ * Alexander Lazic <al-nitrogen@none.at>
85
+ Patches, bug reports.
70
86
 
71
- Nitro integrates several open source libraries:
87
+ * Darrick W <darrick@innatesoftware.com>
88
+ Patches.
89
+
90
+ * Anastasios Koutoumanos <ak@navel.gr>
91
+ Ideas, bug reports.
72
92
 
73
- * Facets: The best collection of
74
- Ruby extensions/utilities.
75
- Tomas Sawyer, http://nano.rubyforge.org, http://mega.rubyforge.org
76
-
77
- * Prototype: Object Oriented Javascript library
78
- Sam Stepherson, http://www.conio.net
93
+ * Kostas Nasis <kostas@nasis.com>
94
+ Ideas and bug reports.
79
95
 
80
- * Script.aculo.us: Special FX Javascript library
81
- Thomas Fuchs, http://script.aculo.us
82
96
 
83
- * Breakpointer
97
+ DONATIONS:
84
98
 
99
+ The following people have genereously donated money for the
100
+ advancement of the Nitro project:
85
101
 
86
- CODE FROM OTHER PROJECTS:
102
+ * Jonas Pfenniger <zimba.tm@gmail.com>
87
103
 
88
- Occasionaly, Nitro may include code from other open source
89
- projects. Such code is often temporary and typically
90
- reimplemented at a later day. Nitro integrates *minor* code
91
- snippets from:
104
+ * Emmanuel Piperakis
92
105
 
93
- * Ruby On Rails,
94
- David Hanson, http://www.rubyonrails.com
106
+ * Matt Bowen <matt.bowen@farweststeel.com>
@@ -0,0 +1,13 @@
1
+
2
+ Nitro integrates several open source libraries:
3
+
4
+ * Facets: The best collection of Ruby extensions/utilities.
5
+ Tomas Sawyer, http://nano.rubyforge.org, http://mega.rubyforge.org
6
+
7
+ * Prototype: Object Oriented Javascript library
8
+ Sam Stepherson, http://www.conio.net
9
+
10
+ * Script.aculo.us: Special FX Javascript library
11
+ Thomas Fuchs, http://script.aculo.us
12
+
13
+ * Breakpointer
@@ -1,7 +1,6 @@
1
1
  The BSD License
2
2
 
3
- Copyright (c) 2004-2005, George 'gmosx' Moschovitis. (http://www.gmosx.com)
4
- Copyright (c) 2004-2005, Navel Ltd. (http://www.navel.gr)
3
+ Copyright (c) 2004-2006, George K. Moschovitis. (http://www.gmosx.com)
5
4
  All rights reserved.
6
5
 
7
6
  Redistribution and use in source and binary forms, with or without
@@ -15,7 +14,7 @@ notice, this list of conditions and the following disclaimer.
15
14
  notice, this list of conditions and the following disclaimer in the
16
15
  documentation and/or other materials provided with the distribution.
17
16
 
18
- * Neither the name of Navel nor the names of its contributors may be
17
+ * Neither the name of Nitro nor the names of its contributors may be
19
18
  used to endorse or promote products derived from this software
20
19
  without specific prior written permission.
21
20
 
@@ -10,6 +10,51 @@ For more help, send your question to the mailing list:
10
10
  http://rubyforge.org/mailman/listinfo/nitro-general
11
11
 
12
12
 
13
+ == 0.40.0 <- 0.31.0
14
+
15
+ This version was in the making for ages, so there are some changes
16
+ you need to make to port your application to the new version. Here
17
+ come some tips to help you:
18
+
19
+ - Prefer to use
20
+
21
+ $ nitro
22
+
23
+ instead of
24
+
25
+ $ ruby run.rb
26
+
27
+ to start your application.
28
+
29
+ - The 'Markup' compiler is renamed to 'MarkupCompiler'
30
+
31
+ - Use attr_accessor instead of property or prop_accessor.
32
+
33
+ - Prefer to define elements like this:
34
+
35
+ class Nitro::Element
36
+ class MyElement
37
+ ..
38
+ end
39
+ end
40
+
41
+ instead of
42
+
43
+ class MyElement < Nitro::Element
44
+ end
45
+
46
+ - Change
47
+
48
+ def my_action
49
+ ..
50
+ end
51
+ ann :my_action, :view => :another_template
52
+
53
+ to
54
+
55
+ ann :my_action, :template => :another_template
56
+
57
+
13
58
  == 0.29.0 <- 0.28.0
14
59
 
15
60
  1. Please notice that Tag now resides in the Glue namespace, you
@@ -1,20 +1,140 @@
1
- == Version 0.31.0
1
+ == Version 0.40.0
2
2
 
3
- * Mongrel adapter updated to work with latest versions of Mongrel.
3
+ This is the biggest release yet! Tons of new wonderful features,
4
+ code refactoring, bug fixes, documentation improvements and so
5
+ much more.
4
6
 
5
- * Fixed a long-standing bug where the template root wasn't determined correctly (would result in blank pages).
7
+ Special thanks for this release fly to Jonas Pfeniger,
8
+ Jonathan/Fabian Buch and Michael Fellinger.
6
9
 
7
- * Added sendfile support.
10
+ Most notable changes:
11
+
12
+ * Fully transparent Og managed objects. No need to use the
13
+ special property notation. Just use the standard attr_accessor
14
+ macro:
15
+
16
+ class User
17
+ attr_accessor :name, String, :sql => 'VARCHAR(32)
18
+ attr_accessor :password, String
19
+ attr_accessor :age, :login_count, Fixnum
20
+
21
+ belongs_to :group
22
+ has_many :comments
23
+ joins_many :categories
24
+ end
25
+
26
+ Og automatically detects and manages this class!
27
+
28
+ * The Og adapter model was re-engineered from scratch. The new
29
+ adapter code is better refactored. It is now extremely easy to
30
+ write new adapters for various RDBMS systems.
31
+
32
+ * Og build mode. This avoids multiple sql queries when you are
33
+ 'building' (ie attaching related objects) a new object.
34
+
35
+ * You can now easily lookup Og entities by name:
36
+
37
+ u = User[1] # classic
38
+
39
+ or
40
+
41
+ u = User['gmosx'] # this works as well!
42
+
43
+ for the new method to work you need to annotate the attribute
44
+ to use for named lookups:
45
+
46
+ class User
47
+ attr_accessor :name, String, :key => true
48
+ ..
49
+ end
50
+
51
+ * Og set attribute, a nice helper to set only some attributes.
52
+
53
+ b = Book[1]
54
+ b.set_attribute :title => 'Hello' # updates only title in the DB
55
+ b.instance_attribute_set '@title', 'Hello' # Ruby style
56
+ b.set_attributes :title => '1', :hits => 3
57
+
58
+ * Much more intelligent dispatcher now handles nested controllers
59
+ and many 'edge' cases. For example:
60
+
61
+ Server.map = {
62
+ '/' => SiteController,
63
+ '/users' => UserController,
64
+ '/users/categories' => UserCategoryController,
65
+ '/users/comments' => UserCommentController
66
+ ...
67
+ }
68
+
69
+ * Introduced the notion of Controls as extensions of the Elements
70
+ feature. The auto administration part was recoded to utilize
71
+ the Controls system. Ooh, and the admin screens now display
72
+ validation errors.
73
+
74
+ * Introduced Console/Script adapter. This is a new adapter that
75
+ allows you to programmatically send http requests to Nitro. You
76
+ can send GET/POST/etc request to any action you like with
77
+ any request parameters.
78
+
79
+ This adapter is used in the console mode. You can access it
80
+ through the $app variable.
81
+
82
+ You can also use this adapter to perform sophisticated testing,
83
+ our specialized automation scripts.
84
+
85
+ * New and improved nitro command. Among many new features the
86
+ new command supports:
87
+
88
+ * Easy setup of clusters:
89
+
90
+ nitro --cluster 3
91
+
92
+ if the default port is 9000 starts 3 instances of the application
93
+ listening on 9000, 9001, 9002. This command is smart enough
94
+ to also name the instances for easy identification when you
95
+ give 'ps aux'.
96
+
97
+ Useful for Mongrel/FastCGI deployment.
98
+
99
+ * Automatic start of state servers. You need a 'state' server
100
+ if tou use Mongrel/Nitro to keep the distributed session and
101
+ global variables and any other common data you want to use.
102
+
103
+ * Output cache cleanup. Just start the console
104
+
105
+ nitro console
8
106
 
9
- * Fixed strip_path support. When this setting is set to a path, it will be stripped from urls. Given,
107
+ and give:
10
108
 
11
- Router.strip_path = '/nitro-apps'
109
+ $cache.cleanup
110
+
111
+
112
+ * More flexible elements namespace selection, you can easier
113
+ have multiple skins in your web app, per controller, per
114
+ controller group etc. A low level example:
115
+
116
+ class MyController
117
+ ann :self, :elements => CustomSkin
118
+ end
119
+
120
+ * More flexible configuration system. See the updated examples
121
+ for the details.
122
+
123
+ * Further improvements in the form builder. Among other things,
124
+ it now works better with flash parameters and handle errors.
125
+
126
+ * Greatly improved the Mongrel adapter. In fact nitro+mongrel
127
+ running behind apache is now the reference deployment method.
128
+ We have removed the unsupported SCGI adapter, please use
129
+ Mongrel instead.
130
+
131
+ * The StaticInclude compiler now handles recursive includes.
12
132
 
13
- when the dispatcher gets a url like /nitro-apps/blog it will strip out /nitro-apps and resolve to the controller for /blog.
133
+ * Brand new automatic administration part.The new implementation
134
+ is much simpler, elegant and easier to extend.
14
135
 
15
- * Wee helper is removed.
136
+ * Many more bug fixes and smaller improvements.
16
137
 
17
- * Updated Nitro start page with links to the examples.
18
138
 
19
139
  == Version 0.30.0
20
140
 
@@ -2121,7 +2241,7 @@ and an AJAX example are also included.
2121
2241
 
2122
2242
  class MyMailer < Mailer
2123
2243
  def registration_email(to, username, password)
2124
- @from = 'system@navel.gr'
2244
+ @from = 'system@nitroproject.org'
2125
2245
  @to = to
2126
2246
  @subject = 'Registration information'
2127
2247
  @body.username = username
@@ -2137,7 +2257,7 @@ and an AJAX example are also included.
2137
2257
 
2138
2258
  Then use it like this:
2139
2259
 
2140
- MyMailer.deliver_registration_email('gmosx@navel.gr', 'gmosx', 'rulez')
2260
+ MyMailer.deliver_registration_email('gmosx@nitroproject.org', 'gmosx', 'rulez')
2141
2261
 
2142
2262
  For more information, check out the updated blog example.
2143
2263
 
@@ -0,0 +1,67 @@
1
+
2
+
3
+
4
+ h2. Nitro
5
+
6
+ * the examples require *serious* updating.
7
+ * move markup back to glue.
8
+ * Optimize settings lookup.
9
+ * In elements compiler, Class.by_name also returns top level
10
+ classes, how can we fix this?
11
+ * add method to setup error responses (set http response status)
12
+ * automatically set a template root relative to the controller definition file location.
13
+ * check for autoreloads in custom template roots.
14
+ * keep nitro mode in environment, dont pass as param.
15
+ * deploy copies files in root dir, not in lib to get rid of LOAD_PATH unshifts.
16
+ * store caching relation hints.
17
+ * auto load controller files for loaded models.
18
+ * setup with yaml
19
+ * if a template is added (and didn't exist) the autoreloader does
20
+ not detected (cannot 'link' it with an action)
21
+ * device to delete all cached pages related to object / all.
22
+ * move flash in session.
23
+ * use catch/throw to exit from actions.
24
+ * user customizable session crypt.
25
+ * dont load by default files that are not usually needed (like og evolution for example)
26
+ * new 'local' hash (like session/flash) but stores values in a cookie.
27
+ * refactor common code between webrick/mongrel.
28
+ * 'nitro console' uses live and drinks errors.
29
+ * better R, no need to pass controller, pass only controller, and no need to pass param key.
30
+ * allow multiple controllers to be mounted to the same mount point.
31
+
32
+ h2. Og
33
+
34
+ * no need for :condition keyword in Entity.all / Entity.find
35
+ * use one version of write_attr/quote and update quote for all adapters.
36
+ * if no database exists, reset create_schema to true!
37
+ * how to avoid excessivly calling the validation code.
38
+ * no more excessive og.saves when setting relations (even trigger excessive sweepers)
39
+ * when destroying a class remove from entities.
40
+ * og device to allow removal of all tables related to a class.
41
+ * og save/create drinks errors on invalid fields.
42
+ * option to add automatic counter property for many_to_many and
43
+ joins_many relations.
44
+
45
+ h2. Glue
46
+
47
+ * Configuration.Module.Class barks.
48
+
49
+ h2. Gen
50
+
51
+ * web based application creator.
52
+ * auto create styleguide using a css as input.
53
+
54
+ -----
55
+
56
+ h2. Done
57
+
58
+ * make 'nitro mongrel' work.
59
+ * allow: self.set_attribute(:status, true)
60
+ use instance_variable_set!
61
+ * add option to skip rewrites in webrick/mongrel adapters if running behinf lighttpd.
62
+
63
+ h2. Rejected
64
+
65
+ * allow port setting like this: Server.cache_port = '+50'
66
+ relative to application base port.
67
+ * allow for port ranges for drb server, session servers and stuff like that.