nitro 0.13.0 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +91 -1632
- data/INSTALL +44 -0
- data/README +1 -1
- data/Rakefile +3 -3
- data/doc/CHANGELOG.2 +1688 -0
- data/doc/RELEASES +84 -1
- data/examples/blog/cache/entriesadmin +12 -0
- data/examples/blog/conf/apache.conf.new +53 -0
- data/examples/blog/conf/lhttpd.conf +23 -180
- data/examples/blog/log/apache.error_log +271 -0
- data/examples/blog/log/rewrite_log +161 -0
- data/examples/blog/public/fcgi.rb +2 -0
- data/examples/blog/run.rb +4 -3
- data/examples/blog/src/controller.rb +10 -4
- data/examples/blog/src/views/index.xhtml +3 -0
- data/examples/blog/src/xsl/base.xsl +7 -0
- data/examples/no_xsl_blog/conf/lhttpd.conf +24 -181
- data/examples/tiny/conf/lhttpd.conf +24 -181
- data/examples/tiny/log/apache.error_log +24 -0
- data/examples/tiny/public/index.xhtml +0 -6
- data/examples/tiny/public/upload.xhtml +12 -14
- data/examples/wee_style/run.rb +2 -0
- data/examples/why_wiki/run.rb +2 -0
- data/lib/nitro.rb +2 -2
- data/lib/nitro/adapters/cgi.rb +36 -109
- data/lib/nitro/adapters/webrick.rb +76 -62
- data/lib/nitro/caching.rb +29 -0
- data/lib/nitro/caching/actions.rb +67 -0
- data/lib/nitro/caching/fragments.rb +72 -0
- data/lib/nitro/caching/invalidation.rb +51 -0
- data/lib/nitro/caching/output.rb +72 -0
- data/lib/nitro/caching/stores.rb +84 -0
- data/lib/nitro/controller.rb +3 -1
- data/lib/nitro/dispatcher.rb +0 -1
- data/lib/nitro/filters.rb +112 -55
- data/lib/nitro/mail.rb +6 -3
- data/lib/nitro/render.rb +27 -4
- data/lib/nitro/request.rb +13 -1
- data/test/nitro/tc_controller.rb +6 -4
- data/test/nitro/tc_filters.rb +111 -0
- metadata +19 -29
- data/examples/why_wiki/wiki.yml +0 -1
- data/vendor/README +0 -11
- data/vendor/binding_of_caller.rb +0 -81
- data/vendor/blankslate.rb +0 -53
- data/vendor/breakpoint.rb +0 -523
- data/vendor/breakpoint_client.rb +0 -196
- data/vendor/extensions/_base.rb +0 -153
- data/vendor/extensions/_template.rb +0 -36
- data/vendor/extensions/all.rb +0 -21
- data/vendor/extensions/array.rb +0 -68
- data/vendor/extensions/binding.rb +0 -224
- data/vendor/extensions/class.rb +0 -50
- data/vendor/extensions/continuation.rb +0 -71
- data/vendor/extensions/enumerable.rb +0 -250
- data/vendor/extensions/hash.rb +0 -23
- data/vendor/extensions/io.rb +0 -58
- data/vendor/extensions/kernel.rb +0 -42
- data/vendor/extensions/module.rb +0 -114
- data/vendor/extensions/numeric.rb +0 -230
- data/vendor/extensions/object.rb +0 -164
- data/vendor/extensions/ostruct.rb +0 -41
- data/vendor/extensions/string.rb +0 -316
- data/vendor/extensions/symbol.rb +0 -28
data/CHANGELOG
CHANGED
@@ -1,1686 +1,145 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
* lib/nitro/adapters/fastcgi.rb: better check for Og.
|
4
|
-
|
5
|
-
* lib/nitro/adapters/webrick.rb: better check for Og.
|
6
|
-
|
7
|
-
* test/*: many changes to make tests pass again.
|
8
|
-
|
9
|
-
* examples/*: updated all apache configuration files.
|
10
|
-
|
11
|
-
* examples/blog/src/views/blog_entry_email.xhtml: introduced.
|
12
|
-
|
13
|
-
* examples/blog/src/mailer.rb: introduced,
|
14
|
-
mail sent!
|
15
|
-
|
16
|
-
* examples/no_xsl_blog/*: converted to new codebase.
|
17
|
-
|
18
|
-
16-03-2005 George Moschovitis <gm@navel.gr>
|
19
|
-
|
20
|
-
* examples/blog/*: many changes to convert to new codebase.
|
21
|
-
excellent, runs with separated templates!
|
22
|
-
|
23
|
-
* examples/ajax/*: converted to new codebase.
|
24
|
-
|
25
|
-
* examples/tiny/*: converted to new codebase.
|
26
|
-
|
27
|
-
* lib/nitro/render.rb: template_root, renamed from base,
|
28
|
-
dont pass template_root.
|
29
|
-
|
30
|
-
* public/error.xhtml: added.
|
31
|
-
|
32
|
-
* lib/nitro/dispatcher.rb: separate template_root / public_root for extra
|
33
|
-
security and flexibility,
|
34
|
-
(#dispatch): don't calculate template_root.
|
35
|
-
|
36
|
-
* public/index.xhtml: updated.
|
37
|
-
|
38
|
-
* bin/proto: removed.
|
39
|
-
|
40
|
-
* run.rb: introduced.
|
41
|
-
|
42
|
-
* public/media: introduced.
|
43
|
-
|
44
|
-
* experimented with proto directory structure.
|
45
|
-
|
46
|
-
* public/js/ajax.js: (ajax_async_get): implemented.
|
47
|
-
|
48
|
-
15-03-2005 George Moschovitis <gm@navel.gr>
|
49
|
-
|
50
|
-
* test/nitro/tc_mail.rb: added tests.
|
51
|
-
|
52
|
-
* lib/nitro/template.rb (FileTemplate): introduced,
|
53
|
-
added caching support.
|
54
|
-
MEGA, extend FileTemplate form Flexob and use some binding
|
55
|
-
magic to provide the environment.
|
56
|
-
|
57
|
-
* lib/nitro/mail.rb (#encoded): introduced,
|
58
|
-
(#create): implemented,
|
59
|
-
(#deliver): implemented.
|
60
|
-
(Mail): added support for additional headers.
|
61
|
-
(#quoted_printable): added.
|
62
|
-
yeah, delivery works!!
|
63
|
-
(#render_body): simple implementation,
|
64
|
-
use the new Flexob based FileTemplate.
|
65
|
-
|
66
|
-
14-03-2005 George Moschovitis <gm@navel.gr>
|
67
|
-
|
68
|
-
* test/nitro/tc_mail.rb: introduced.
|
69
|
-
|
70
|
-
* lib/nitro/mail.rb: worked on mailer implementation.
|
71
|
-
|
72
|
-
13-03-2005 George Moschovitis <gm@navel.gr>
|
73
|
-
|
74
|
-
* lib/nitro/mail.rb: introduced Mailer.
|
75
|
-
|
76
|
-
12-03-2005 George Moschovitis <gm@navel.gr>
|
77
|
-
|
78
|
-
* examples/ajax/controller.rb (#get_word): implemented.
|
79
|
-
Yeah, the autocompletion works!!
|
80
|
-
|
81
|
-
* examples/ajax/*: copied stuff from public,
|
82
|
-
yeah, I got a simple xmlhttp request working.
|
83
|
-
|
84
|
-
11-03-2005 George Moschovitis <gm@navel.gr>
|
85
|
-
|
86
|
-
* public/js/ajax.js: introduced.
|
87
|
-
(#xml_http_request): implemented,
|
88
|
-
(#xml_http_request_object): implemented.
|
89
|
-
|
90
|
-
* public/js: introduced.
|
91
|
-
|
92
|
-
* public/*: introduced.
|
93
|
-
|
94
|
-
* examples/ajax/*: introduced ajax example.
|
95
|
-
|
96
|
-
* doc/faq.txt: introduced.
|
97
|
-
|
98
|
-
10-03-2005 George Moschovitis <gm@navel.gr>
|
99
|
-
|
100
|
-
* lib/nitro.rb: removed Name.
|
101
|
-
|
102
|
-
* lib/parts: deprecated.
|
103
|
-
|
104
|
-
* examples/no_xsl_blog/lib/content.rb: moved from parts.
|
105
|
-
|
106
|
-
* examples/blog/lib/content.rb: moved from parts.
|
107
|
-
|
108
|
-
* vendor/*: removed parse_tree files.
|
109
|
-
|
110
|
-
* Rakefile: updated, removed Og dependencies,
|
111
|
-
added ruby-breakpoint dependency.
|
112
|
-
|
113
|
-
* yeah, the examples run again.
|
114
|
-
|
115
|
-
* splitted project in 4 parts: nitro, og, gen (internal, not released), glue.
|
116
|
-
|
117
|
-
* lib/og/adapters/psql.rb: use system in create/drop db to avoid shell expansion. [sjenkins]
|
118
|
-
|
119
|
-
* lib/og/adapters/mysql.rb: use system in create/drop db to avoid shell expansion. [sjenkins]
|
120
|
-
|
121
|
-
09-03-2005 George Moschovitis <gm@navel.gr>
|
122
|
-
|
123
|
-
* lib/glue/validation.rb (#validate_format): don't quote the regexp. [dbovensiepen]
|
124
|
-
|
125
|
-
* lib/og/meta.rb: check_implicit_graph_changes. [mneumann]
|
126
|
-
|
127
|
-
* worked on and uploaded Nitro web site.
|
128
|
-
|
129
|
-
08-03-2005 George Moschovitis <gm@navel.gr>
|
130
|
-
|
131
|
-
* lib/nitro/template.rb: allow entities in the following form: %ent;
|
132
|
-
to be more xsl friendly.
|
133
|
-
|
134
|
-
* worked on a simple Nitro web site.
|
135
|
-
|
136
|
-
07-03-2005 George Moschovitis <gm@navel.gr>
|
137
|
-
|
138
|
-
* --- VERSION 0.12.0 ---
|
139
|
-
|
140
|
-
* lib/og/adapters/mysql.rb: overide create_fields.
|
141
|
-
|
142
|
-
* examples/why_wiki: updated, added nice urls.
|
143
|
-
|
144
|
-
* lib/nitro/adapters/webrick.rb: use CgiUtils.parse_params and
|
145
|
-
CgiUtils.parse_cookies to be more compatible with FastiCGI, and
|
146
|
-
fix some bugs.
|
147
|
-
|
148
|
-
* examples/blog/roor/base.xsl: moved temporarily here.
|
149
|
-
|
150
|
-
* lib/xsl: deprecated.
|
151
|
-
|
152
|
-
* lib/nitro.rb: removed resolve_action_arguments option.
|
153
|
-
|
154
|
-
* examples/no_xsl_blog/*: updated.
|
155
|
-
|
156
|
-
* RELEASES.og: updated.
|
157
|
-
|
158
|
-
* RELEASES: updated.
|
159
|
-
|
160
|
-
* bin/cluster: deprecated.
|
161
|
-
|
162
|
-
* doc/LICENCE: moved from root.
|
163
|
-
|
164
|
-
* doc/AUTHORS: moved from root.
|
165
|
-
|
166
|
-
* after some fixes, tests pass again.
|
167
|
-
|
168
|
-
* test/nitro/ui/sitemap.rb: deprecated.
|
169
|
-
|
170
|
-
* lib/nitro/ui/sitemap.rb: deprecated.
|
171
|
-
|
172
|
-
* lib/nitro/controller.rb (#action_methods): better removal of pp methods,
|
173
|
-
remove Controller methods.
|
174
|
-
|
175
|
-
* lib/nitro/render.rb: no require of nitro, caused problems.
|
176
|
-
|
177
|
-
* lib/og/adapters/*: added typcast overrides to the other
|
178
|
-
adapters.
|
179
|
-
|
180
|
-
* test/og/tc_observer.rb: added tests.
|
181
|
-
|
182
|
-
06-03-2005 George Moschovitis <gm@navel.gr>
|
183
|
-
|
184
|
-
* lib/og/meta.rb: fixed linkback to_s bug.
|
185
|
-
|
186
|
-
* test/og/tc_observer.rb: implemeted, many cases.
|
187
|
-
|
188
|
-
* lib/og.rb: added og_pre_read / og_post_read callbacks.
|
189
|
-
|
190
|
-
* lib/og/adapter.rb (#eval_lifecycle_methods): evaluate callbacks,
|
191
|
-
(#eval_og_insert): evaluate observer callbacks,
|
192
|
-
fix for class observer,
|
193
|
-
(#eval_og_update): evaluate observer callbacks,
|
194
|
-
(#eval_og_update): evaluate observer callbacks.
|
195
|
-
|
196
|
-
* lib/og/observer.rb: scrapped the STUPID rails design,
|
197
|
-
introduced an ultra cool, efficient, and ruby compatible design.
|
198
|
-
(#add_observer): accepts multiple observers.
|
199
|
-
|
200
|
-
05-03-2005 George Moschovitis <gm@navel.gr>
|
201
|
-
|
202
|
-
* examples/blog/root/error.xhtml: click to reload.
|
203
|
-
|
204
|
-
* lib/nitro/runner.rb: added --crawl option.
|
205
|
-
added --render option.
|
206
|
-
|
207
|
-
* examples/blog/root/shader.xsl: fixed base href bug.
|
208
|
-
|
209
|
-
* lib/nitro/template.rb: #() alias, useful in xslt stylesheets.
|
210
|
-
|
211
|
-
* examples/blog/root/*: use scaffolded view_uri.
|
212
|
-
|
213
|
-
* lib/nitro/scaffold.rb: add support for routes.
|
214
|
-
:nosuffix option.
|
215
|
-
|
216
|
-
* lib/nitro/controller.rb (#action): implemented.
|
217
|
-
(#update_routes): implemented.
|
218
|
-
(ActionParam): implemented.
|
219
|
-
(ActionMeta): implemented.
|
220
|
-
(#action_method_arguments): deprecated.
|
221
|
-
|
222
|
-
04-03-2005 George Moschovitis <gm@navel.gr>
|
223
|
-
|
224
|
-
* lib/nitro/controller.rb: introduced the concept of the action
|
225
|
-
keyword.
|
226
|
-
|
227
|
-
* lib/nitro/routing.rb: introduced,
|
228
|
-
(Router): introduced.
|
229
|
-
(#route): works.
|
230
|
-
|
231
|
-
* lib/nitro/dispatcher.rb: added routes map,
|
232
|
-
experimental rewrite support.
|
233
|
-
|
234
|
-
* lib/og/adapters/*: added support for multiple many_to_many relations.
|
235
|
-
|
236
|
-
* test/og/tc_many_to_many.rb: implemented.
|
237
|
-
|
238
|
-
* lib/og/meta.rb: accept :linkback as symbol,
|
239
|
-
added support for multiple many_to_many relations. [mneumann]
|
240
|
-
|
241
|
-
* lib/og/adapter.rb (join_table): encode a field name
|
242
|
-
to allow for multiple many_to_many relations with the same klass. [mneumann]
|
243
|
-
|
244
|
-
* lib/nitro/markup.rb: markup >, <.
|
245
|
-
|
246
|
-
* examples/blog/root/error.xhtml: Introduced and made really
|
247
|
-
useful.
|
248
|
-
|
249
|
-
* lib/nitro/render.rb (#log_error): reimplemented
|
250
|
-
to be more flexible and allow for much better error reporting.
|
251
|
-
|
252
|
-
* lib/nitro/context.rb (#out): override, to catch errors.
|
253
|
-
|
254
|
-
* lib/nitro/shaders.rb (RubyShader): use the TemplateMixin.
|
255
|
-
|
256
|
-
* RELEASES: updated.
|
257
|
-
|
258
|
-
* lib/nitro/template.rb: factored out TemplateMixin,
|
259
|
-
improved API.
|
260
|
-
|
261
|
-
03-03-2005 George Moschovitis <gm@navel.gr>
|
262
|
-
|
263
|
-
* lib/nitro/template.rb: introduced as standalone template engine,
|
264
|
-
pass binding and buffer to store the result.
|
265
|
-
|
266
|
-
01-03-2005 George Moschovitis <gm@navel.gr>
|
267
|
-
|
268
|
-
* lib/og/enchant.rb: COOL: generate finders for all properties,
|
269
|
-
take :unique into account when generating finders,
|
270
|
-
finders use typecast system.
|
271
|
-
find* alias for select* methods.
|
272
|
-
converted Og.db -> @@og_db.
|
273
|
-
|
274
|
-
* lib/og/adapter.rb: use :unique metadata,
|
275
|
-
introduced typecast system.
|
276
|
-
|
277
|
-
* lib/og.rb: better comments.
|
278
|
-
|
279
|
-
* test/og/tc_observer.rb: introduced.
|
280
|
-
|
281
|
-
* lib/og/observer.rb: introduced,
|
282
|
-
(Observable): implemented.
|
283
|
-
|
284
|
-
* lib/nitro/ui/select.rb: deprecated.
|
285
|
-
|
286
|
-
28-02-2005 George Moschovitis <gm@navel.gr>
|
287
|
-
|
288
|
-
* --- VERSION 0.11.0 ---
|
289
|
-
|
290
|
-
* lib/nitro/controller.rb (#action_method_arguments): implemented.
|
291
|
-
|
292
|
-
* lib/nitro.rb: added resolve_action_arguments,
|
293
|
-
define Nitro before requiring.
|
294
|
-
|
295
|
-
* lib/nitro/render.rb: added a simple check for ParseTree.
|
296
|
-
|
297
|
-
* Rakefile: no ParseTree dependency,
|
298
|
-
include og_config/og_tutorial in the docs.
|
299
|
-
|
300
|
-
* use 127.0.0.1 as default address Windows gets fucked with 0.0.0.0
|
301
|
-
|
302
|
-
* lib/nitro/simple.rb: hack fix for SimpleController problem.
|
303
|
-
|
304
|
-
* lib/og/adapters/oracle.rb: small fixes [mbowen].
|
305
|
-
|
306
|
-
* lib/og/adapter.rb: fixed DEFAULT NOT NULL to make oracle compaible [mbowen].
|
307
|
-
|
308
|
-
* doc/og_tutorial.txt: more fixes [james_b],
|
309
|
-
made more compatible with RDoc.
|
310
|
-
|
311
|
-
27-02-2005 George Moschovitis <gm@navel.gr>
|
312
|
-
|
313
|
-
* lib/nitro/adapters/xhtml.rb (#submit): introduced.
|
314
|
-
|
315
|
-
* lib/nitro/request.rb (#path_info): introduced.
|
316
|
-
|
317
|
-
* lib/nitro/adapters/webrick.rb (#start): check for Conf instead of Flexob.
|
318
|
-
|
319
|
-
* examples/why_wiki/run.rb: introduced the wiki example from
|
320
|
-
redhanded.hobix.com (btw, why_ fuckin RULEZ!),
|
321
|
-
converted to use the programmatic render,
|
322
|
-
more fixes, now fully working, better than why_'s original.
|
323
|
-
|
324
|
-
* many small fixes to make tests pass again.
|
325
|
-
|
326
|
-
* lib/controller.rb (#action_methods): temp fix for pretty_print
|
327
|
-
methods, argh!
|
328
|
-
|
329
|
-
* examples/*: added apache configuration to all examples,
|
330
|
-
updated fcgi.rb in examples.
|
331
|
-
|
332
|
-
* examples/blog/conf/apache.conf: pass -rubygems -I.. to make compatible
|
333
|
-
with lhttpd.
|
334
|
-
|
335
|
-
* Rakefile: added ParseTree requirement,
|
336
|
-
fixed test without og test-cases.
|
337
|
-
|
338
|
-
* RELEASES: updated.
|
339
|
-
|
340
|
-
* doc/og_tutorial.tx: more fixes.
|
341
|
-
|
342
|
-
27-02-2005 Matt Bowen <matt.bowen@farweststeel.com>
|
343
|
-
|
344
|
-
* doc/og_tutorial.txt: many, many fixes to this text.
|
345
|
-
|
346
|
-
26-02-2005 George Moschovitis <gm@navel.gr>
|
347
|
-
|
348
|
-
* lib/glue/*: cleaned up various files.
|
349
|
-
|
350
|
-
* doc/og_tutorial.txt: small fixes [marioh].
|
351
|
-
|
352
|
-
* test/tc_og.rb: a bit more flexible, fixes.
|
353
|
-
|
354
|
-
* lib/og/adapters/oracle.rb: small fixes to the adapter.
|
355
|
-
|
356
|
-
26-02-2005 Matt Bowen <matt.bowen@farweststeel.com>
|
357
|
-
|
358
|
-
* lib/og/meta.rb (#many_to_many): don't use AS in join queries
|
359
|
-
to make more compatible with Oracle.
|
360
|
-
|
361
|
-
* lib/og/adapters/oracle.rb: many fixes to the adapter.
|
362
|
-
|
363
|
-
25-02-2005 George Moschovitis <gm@navel.gr>
|
364
|
-
|
365
|
-
* vendor/: added ParseTree files,
|
366
|
-
copied latest breakpointer files.
|
367
|
-
|
368
|
-
* lib/nitro/render.rb: some guarding code for ParseTree, argh.
|
369
|
-
|
370
|
-
* lib/nitro/runner.rb: clearly show where the application is
|
371
|
-
listening.
|
372
|
-
|
373
|
-
* lib/nitro/conf.rb: use 0.0.0.0 by default to make the app accessible both
|
374
|
-
localy and remotely,
|
375
|
-
use 9999 as default port, easier to remember.
|
376
|
-
|
377
|
-
* doc/og_config.txt: wrote first version.
|
378
|
-
|
379
|
-
* doc/og_tutorial.txt: wrote first version.
|
380
|
-
|
381
|
-
24-02-2005 George Moschovitis <gm@navel.gr>
|
382
|
-
|
383
|
-
* test/tc_og.rb: added extra checks.
|
384
|
-
|
385
|
-
* lib/og/adapter.rb (#create_fields): set default value,
|
386
|
-
(#parse_timestamp): handle nil strings.
|
387
|
-
|
388
|
-
* lib/og/adapters/*: better default values (NULL) [mneumann]
|
389
|
-
|
390
|
-
* lib/og/adapters/mysql.rb: fixed props_for_insert.
|
391
|
-
|
392
|
-
* lib/og/adapters/oracle.rb: worked on this.
|
393
|
-
removed write_prop/read_prop.
|
394
|
-
|
395
|
-
* lib/nitro/render.rb (#o): convienience method.
|
396
|
-
|
397
|
-
* lib/nitro/builders/*: render -> build,
|
398
|
-
recoded abstract builders.
|
399
|
-
|
400
|
-
* lib/nitro/builders/form: introduced mixin.
|
401
|
-
|
402
|
-
* lib/nitro/context.rb: use the output buffer.
|
403
|
-
|
404
|
-
* lib/nitro/output.rb (OutputBuffer): introduced.
|
405
|
-
|
406
|
-
* lib/nitro/builders/rss: introduced mixin.
|
407
|
-
|
408
|
-
* lib/og/meta.rb (Relation): added foreign_class alias.
|
409
|
-
|
410
|
-
* doc/*: cleaned up.
|
411
|
-
|
412
|
-
* doc/configuration_params.txt: introduced.
|
413
|
-
|
414
|
-
* RELEASES: updated.
|
415
|
-
|
416
|
-
* README: updated.
|
417
|
-
|
418
|
-
23-02-2005 George Moschovitis <gm@navel.gr>
|
419
|
-
|
420
|
-
* test/og/tc_meta.rb: implemented.
|
421
|
-
|
422
|
-
* lib/og/enchant.rb (#properties_and_relations): added.
|
423
|
-
|
424
|
-
* lib/og/typemacros.rb: introduced, copied code from meta.
|
425
|
-
|
426
|
-
* lib/og/meta.rb: added more metainfo in relations to facilitate
|
427
|
-
even more advanced scaffoliding [mneumann],
|
428
|
-
encapsulated type macros in Og namespace [mneumann],
|
429
|
-
define Relation classes as extension to properties [mneumann],
|
430
|
-
use meta[:descendants] to store cascading delete metadata.
|
431
|
-
|
432
|
-
* lib/glue/property.rb: added property alias for prop_accessor. [mneumann],
|
433
|
-
added more comments.
|
434
|
-
(#meta): *val packs arguments in array.
|
435
|
-
also keep properties in meta[:properties_and_relations]
|
436
|
-
|
437
|
-
* lib/og.rb: added 'create_schema' configuration variable, when
|
438
|
-
set to false, the applications start much faster.
|
439
|
-
|
440
|
-
22-02-2005 George Moschovitis <gm@navel.gr>
|
441
|
-
|
442
|
-
* yeah, fastcgi works better on lhttpd and apache.
|
443
|
-
|
444
|
-
* lib/nitro/request.rb (#referer): fixed NASTY bug in non-webrick mode.
|
445
|
-
|
446
|
-
* lib/nitro/adapters/cgi.rb (#response_headers): added Date to headers,
|
447
|
-
after some changes, I got apache to kinda work,
|
448
|
-
proto parameter, fixes apache.
|
449
|
-
|
450
|
-
* lib/nitro/dispatcher.rb: correct handling of default api.
|
451
|
-
|
452
|
-
* lib/nitro/context.rb (#initialize): init status.
|
453
|
-
|
454
|
-
* test/nitro/builders/tc_table.rb: introduced.
|
455
|
-
|
456
|
-
* lib/og/adapters/odbc.rb: introduced.
|
457
|
-
|
458
|
-
* lib/nitro/builders/table.rb (TableBuilderMixin): introduced,
|
459
|
-
(TableBuilder): implemented.
|
460
|
-
(#render_table): implemented simple version.
|
461
|
-
|
462
|
-
* example/wee_style/run.rb: use components.
|
463
|
-
|
464
|
-
21-02-2005 George Moschovitis <gm@navel.gr>
|
465
|
-
|
466
|
-
* lib/og/adapter.rb (#table): use og prefix to be compatible with oracle [mbowen],
|
467
|
-
(#join_table): use og prefix instead of '_' [mbowen].
|
468
|
-
|
469
|
-
* lib/glue/property.rb (#meta): fix, should call enchant(self).
|
470
|
-
|
471
|
-
* test/tc_og.rb: added more tests to check new feature and
|
472
|
-
fixes,
|
473
|
-
added test for many_to_many relations.
|
474
|
-
|
475
|
-
* lib/og/meta.rb: removed uneeded extra parameter from
|
476
|
-
some meta_methods.
|
477
|
-
(#many_to_many): allow yield block in add_xxx,
|
478
|
-
save target_objects!,
|
479
|
-
|
480
|
-
* lib/og/adapters/oracle.rb: cleanup.
|
481
|
-
|
482
|
-
21-02-2005 Michael Neumann <mneumann@ntecs.de>
|
483
|
-
|
484
|
-
* lib/og/meta.rb: (#has_many): allow yield block in add_xxx,
|
485
|
-
added some standard typemacros.
|
486
|
-
|
487
|
-
20-02-2005 Matt Bowen <matt.bowen@farweststeel.com>
|
488
|
-
|
489
|
-
* lib/og/adapters/oracle.rb: introduced, and initial implementation.
|
490
|
-
|
491
|
-
20-02-2005 George Moschovitis <gm@navel.gr>
|
492
|
-
|
493
|
-
* examples/blog/conf/apache.rb: implemented, mostly works!
|
494
|
-
|
495
|
-
* experimented with method injection, it can be done!!
|
496
|
-
|
497
|
-
* lib/nitro/render.rb: added ParseTree/SexpProcessor,
|
498
|
-
(#compile_action): handle action with parameters and
|
499
|
-
automatically lookup request parameters.
|
500
|
-
(#compile_action): added sync to be more thread safe.
|
501
|
-
|
502
|
-
* experimented with ParseTree, this lib is ultracool.
|
503
|
-
|
504
|
-
19-02-2005 George Moschovitis <gm@navel.gr>
|
505
|
-
|
506
|
-
* lib/nitro/runner.rb: no duplicate lhttpd,
|
507
|
-
added apache option,
|
508
|
-
fixed parameter passing to apachectl.
|
509
|
-
|
510
|
-
* lib/og/*: converted Og to a Module to be includeable.
|
511
|
-
|
512
|
-
* Rakefile: put RDoc files in doc/rdoc.
|
513
|
-
|
514
|
-
* doc/*: moved some files from root dir here.
|
515
|
-
|
516
|
-
* lib/og/adapters/*: small changes.
|
517
|
-
|
518
|
-
* lib/og/adapters/filesys.rb: introduced,
|
519
|
-
(#db_dir): added.
|
520
|
-
create class 'tables' and sequence.
|
521
|
-
(#load/#save): temp hacks, but this works!!
|
522
|
-
This kinda works :)
|
523
|
-
|
524
|
-
18-02-2005 George Moschovitis <gm@navel.gr>
|
525
|
-
|
526
|
-
* doc/apache.txt: introduced.
|
527
|
-
|
528
|
-
* doc/tutorial.txt: started working on this.
|
529
|
-
|
530
|
-
* lib/nitro/session/drb.rb: yeah, distributed session
|
531
|
-
works correctly.
|
532
|
-
|
533
|
-
* lib/nitro/context.rb: removed sessions attribute,
|
534
|
-
(#close): implemented.
|
535
|
-
|
536
|
-
* lib/nitro/session.rb: added ctime, mtime, atime and
|
537
|
-
aliases,
|
538
|
-
(#touch!): introduced.
|
539
|
-
collection -> store.
|
540
|
-
|
541
|
-
* lib/nitro/session/drbserver.rb: added debug mode.
|
542
|
-
|
543
|
-
17-02-2005 George Moschovitis <gm@navel.gr>
|
544
|
-
|
545
|
-
* lib/nitro/session/memory.rb: implemented.
|
546
|
-
|
547
|
-
* YEAH, i got drb sessions working again.
|
548
|
-
|
549
|
-
* lib/nitro/session/drb.rb: implemented.
|
550
|
-
|
551
|
-
* lib/nitro/session.rb: added store configuration parameter,
|
552
|
-
FIX: use SafeHash for session collections.
|
553
|
-
|
554
|
-
* lib/nitro/session/drbserver.rb: implemented,
|
555
|
-
added command line parameters.
|
556
|
-
|
557
|
-
* lib/glue/hash.rb: cleaned up.
|
558
|
-
|
559
|
-
* lib/nitro/component.rb: introduced.
|
560
|
-
|
561
|
-
16-02-2005 George Moschovitis <gm@navel.gr>
|
562
|
-
|
563
|
-
* lib/nitro/render.rb: SECURITY FIX: only render action_methods.
|
564
|
-
|
565
|
-
* test/nitro/tc_controller.rb: fixes, more tests.
|
566
|
-
|
567
|
-
* lib/nitro/controller.rb (#action_methods): introduced.
|
568
|
-
|
569
|
-
15-02-2005 George Moschovitis <gm@navel.gr>
|
570
|
-
|
571
|
-
* --- VERSION 0.10.0 ---
|
572
|
-
|
573
|
-
* INSTALL: added some text for manual installation.
|
574
|
-
|
575
|
-
* examples/no_xsl_blog/*: misc fixes.
|
576
|
-
|
577
|
-
* lib/nitro/dispatcher.rb (#dispatch): pass context to fix reload bug.
|
578
|
-
|
579
|
-
* examples/og/run.rb: updated.
|
580
|
-
|
581
|
-
* lib/og/meta.rb (#many_to_many): fixed bug.
|
582
|
-
|
583
|
-
* lib/nitro/controller.rb: introduced simple controller to protect
|
584
|
-
the base controller.
|
585
|
-
|
586
|
-
* lib/nitro/runner.rb (#run): call setup_debug/stage/live,
|
587
|
-
more fixes in setup.
|
588
|
-
|
589
|
-
* Rakefile: added flexmock dependency,
|
590
|
-
removed database dependencies (RubyGems is too picky),
|
591
|
-
added install.rb in distribution.
|
592
|
-
|
593
|
-
* test/: fixed some type_checking bugs.
|
594
|
-
|
595
|
-
* lib/glue/property.rb: type_checking = false by default.
|
596
|
-
|
597
|
-
* test/nitro/adapters: renamed from adaptors.
|
598
|
-
|
599
|
-
14-02-2005 George Moschovitis <gm@navel.gr>
|
600
|
-
|
601
|
-
* lib/og.rb: require validation.
|
602
|
-
|
603
|
-
* lib/nitro.rb: require runner.
|
604
|
-
|
605
|
-
* lib/nitro/runner.rb: moved from adapters,
|
606
|
-
(self.run): added helper.
|
607
|
-
split setup in many methods to allow for overrides.
|
608
|
-
|
609
|
-
* examples/no_xsl_blog: converted.
|
610
|
-
|
611
|
-
* lib/nitro/render.rb: use @request as alias to @context.
|
612
|
-
|
613
|
-
* lib/nitro/builders/xml.rb: handle single tags like
|
614
|
-
<br/>, <hr/> etc.
|
615
|
-
|
616
|
-
* examples/wee_style/run.rb: converted,
|
617
|
-
cleaned up programmatic code.
|
618
|
-
|
619
|
-
* examples/flash: converted.
|
620
|
-
|
621
|
-
* examples/tiny: converted.
|
622
|
-
|
623
|
-
* README: updated.
|
624
|
-
|
625
|
-
* examples/README.windows: added.
|
626
|
-
|
627
|
-
* examples/: updated docs.
|
628
|
-
|
629
|
-
* lib/nitro/adapters/runner.rb: more comments,
|
630
|
-
(#run): accept hash as conf,
|
631
|
-
converted methods to non static,
|
632
|
-
(#setup): implemented,
|
633
|
-
fixed version printing,
|
634
|
-
use ENV to pass invoke methods,
|
635
|
-
ULTRA COOL: --console parameter works again.
|
636
|
-
|
637
|
-
* I love Stella (asteraki) :)
|
638
|
-
|
639
|
-
13-02-2005 George Moschovitis <gm@navel.gr>
|
640
|
-
|
641
|
-
* lib/nitro/adapters/runner.rb: improved,
|
642
|
-
added fcgi_proc action.
|
643
|
-
|
644
|
-
* examples/blog/run.rb: introduced, runnable from everywhere.
|
645
|
-
|
646
|
-
* lib/nitro/conf.rb: introduced, default configuration paramters.
|
647
|
-
|
648
|
-
* changed base dir in applications, to be runnuble from
|
649
|
-
everywhere.
|
650
|
-
|
651
|
-
12-02-2005 George Moschovitis <gm@navel.gr>
|
652
|
-
|
653
|
-
* INSTALL: updated.
|
654
|
-
|
655
|
-
* install.rb: implemented, refined.
|
656
|
-
|
657
|
-
* updated all example confg files.
|
658
|
-
|
659
|
-
* Introduced the 'tml' nick in the docs. :)
|
660
|
-
|
661
|
-
* README: updated.
|
662
|
-
|
663
|
-
* README.og: updated.
|
664
|
-
|
665
|
-
* lib/xsl/base.xsl: removed old tags.
|
666
|
-
|
667
|
-
* lib/glue/string.rb (#to_greeklish): removed,
|
668
|
-
(#screen_ip_address): removed.
|
669
|
-
|
670
|
-
* lib/glue/macro.rb: deprecated.
|
671
|
-
|
672
|
-
* Many fixes to many files to improve the generated RDoc
|
673
|
-
documentation.
|
674
|
-
|
675
|
-
* lib/nitro/controller.rb (#inherited): fixed caller index.
|
676
|
-
|
677
|
-
* YEAH, using a RUBYOPT trick I can develop my rubygems.
|
678
|
-
|
679
|
-
* lib/nitro/dispatcher.rb (#dispatch): beutify, added comments,
|
680
|
-
(#controller_class_for): implemented, allows for autoreloading
|
681
|
-
of controllers,
|
682
|
-
dispatcher[:index] -> dispatcher[:root], this is a better (less
|
683
|
-
confusing) name.
|
684
|
-
|
685
|
-
* small fix in ctl's.
|
686
|
-
|
687
|
-
* lib/nitro/adapters/runner.rb: added --filelog option,
|
688
|
-
some fixes,
|
689
|
-
execution modes, better handling of Rendering.reload.
|
690
|
-
|
691
|
-
11-02-2005 George Moschovitis <gm@navel.gr>
|
692
|
-
|
693
|
-
* lib/og/adapters/sqlite.rb: added missing res.close,
|
694
|
-
use more queries to avoid array creations.
|
695
|
-
|
696
|
-
* lib/nitro/adapters/*: renamed from adaptors.
|
697
|
-
|
698
|
-
* test/tc_og.rb: added test for override db.
|
699
|
-
|
700
|
-
* lib/og/adapters/*: don't use entity,
|
701
|
-
(#calc_field_index): ensure res.close in
|
702
|
-
(#create_table): use conn.store to avoid catching the errors.
|
703
|
-
|
704
|
-
* lib/og/adapters/mysql.rb: reintroduced,
|
705
|
-
SOS: use res.free in MysqlAdapter,
|
706
|
-
set_query_with_result,
|
707
|
-
passes tests.
|
708
|
-
|
709
|
-
10-02-2005 George Moschovitis <gm@navel.gr>
|
710
|
-
|
711
|
-
* bin/proto/conf/app.conf.rb: updated.
|
712
|
-
|
713
|
-
* Yeah, nitro/og is in the path now, no need for File.join tricks.
|
714
|
-
|
715
|
-
* Rakefile: recoded/simplified.
|
716
|
-
|
717
|
-
* bin/nitro: introduced.
|
718
|
-
|
719
|
-
* nitro.gemspec: introduced,
|
720
|
-
cleaned up, add full dependencies.
|
721
|
-
|
722
|
-
09-02-2005 George Moschovitis <gm@navel.gr>
|
723
|
-
|
724
|
-
* lib/og/adapters/psql.rb: reintroduced,
|
725
|
-
use serial to make more compatible with mysql/sqlite,
|
726
|
-
more careful resultset clearing,
|
727
|
-
yeah, it works again.
|
728
|
-
|
729
|
-
* benchmark/og/bench.rb: introduced,
|
730
|
-
made a test with prepared statements, not a big difference.
|
731
|
-
|
732
|
-
* test/tc_og.rb: more tests.
|
733
|
-
|
734
|
-
* lib/og.rb (#adapter): introduced.
|
735
|
-
|
736
|
-
* lib/og/adapter.rb: made a singleton.
|
737
|
-
(#for_name): implemented,
|
738
|
-
pass db to all eval methods.
|
739
|
-
|
740
|
-
* lib/og/database.rb (#drop_db/#create_db): use adapter,
|
741
|
-
keep adapter.
|
742
|
-
|
743
|
-
* lib/og/*: renamed deserialize to read,
|
744
|
-
after MANY changes, this passes the simple test case.
|
745
|
-
|
746
|
-
* lib/og/adapters/sqlite.rb: reimplemented many methods,
|
747
|
-
(#count): fixed.
|
748
|
-
|
749
|
-
* lib/og/connection.rb: removed code from methods, will be implemented by the adpters,
|
750
|
-
removed deserialize option, always deserialize,
|
751
|
-
renamed conn attribute to store to avoid ubiquity.
|
752
|
-
|
753
|
-
08-02-2005 George Moschovitis <gm@navel.gr>
|
754
|
-
|
755
|
-
* lib/og/adapter.rb: introduced, removed adapters/base.rb,
|
756
|
-
(#new_connection): implemented.
|
757
|
-
|
758
|
-
* lib/og/adapters/sqlite.rb: reintroduced.
|
759
|
-
|
760
|
-
* lib/og/database.rb: introduced, copied database related stuff from og.rb
|
761
|
-
|
762
|
-
* lib/og/adapters: renamed from adaptors.
|
763
|
-
|
764
|
-
07-02-2005 George Moschovitis <gm@navel.gr>
|
765
|
-
|
766
|
-
* lib/og/backends/psql.rb (#initialize): use config[:address]. [rbaduin]
|
767
|
-
|
768
|
-
* lib/og/backends/sqlite.rb: passes some tests thanx to some fixes to
|
769
|
-
sqlite3 library by jamis buck,
|
770
|
-
(#start): fixed,
|
771
|
-
(#commit): fixed.
|
772
|
-
yeah it passes tc_og.rb !!
|
773
|
-
|
774
|
-
* test/nitro/adaptors/tc_cgi.rb (#test_parse_multipart): introduced.
|
775
|
-
|
776
|
-
* lib/nitro/adaptors/cgi.rb (#read_multipart): made compatible with nitro,
|
777
|
-
corect parsing of multivalues in multipart,
|
778
|
-
(#parse_multipart): custom method.
|
779
|
-
(Cgi): introduced.
|
780
|
-
(Cgi.buffer_size): introduced.
|
781
|
-
|
782
|
-
* examples/tiny/index.xhtml: upload form.
|
783
|
-
|
784
|
-
06-02-2005 George Moschovitis <gm@navel.gr>
|
785
|
-
|
786
|
-
* lib/nitro/markup.rb: changes for type_checking.
|
787
|
-
|
788
|
-
* test/glue/tc_property_type_checking.rb: implemented.
|
789
|
-
|
790
|
-
* lib/glue/property.rb: added type_checking support.
|
791
|
-
|
792
|
-
* INSTALL: added.
|
793
|
-
|
794
|
-
* lib/og/adaptors/base.rb: introduced.
|
795
|
-
|
796
|
-
* lib/og/backends/sqlite.rb: switched to sqlite3,
|
797
|
-
fixed stupid create join tables bug,
|
798
|
-
(#create_table): correct rescue exceptions,
|
799
|
-
(#calc_field_index): fixed.
|
800
|
-
|
801
|
-
* lib/og/backends/psql.rb: fixed stupid create tables bug.
|
802
|
-
|
803
|
-
05-02-2005 George Moschovitis <gm@navel.gr>
|
804
|
-
|
805
|
-
* cleaned up docs in many files.
|
806
|
-
|
807
|
-
* test/tc_og.rb: don't use global ($og),
|
808
|
-
run tests for all backends.
|
809
|
-
|
810
|
-
* lib/og/*: small cleanups.
|
811
|
-
|
812
|
-
* lib/og/backends/sqlite.rb (#calc_fields_index): fixed,
|
813
|
-
(#query/safe_query): fixed.
|
814
|
-
after many fixes, it kinda works.
|
815
|
-
|
816
|
-
* lib/nitro/adaptors/runner.rb: fixed lhttpd option string. [james_b]
|
817
|
-
|
818
|
-
04-02-2005 George Moschovitis <gm@navel.gr>
|
819
|
-
|
820
|
-
* lib/og/backends/sqlite.rb: implemented many methods.
|
821
|
-
|
822
|
-
* lib/og/backends/filesys.rb: introduced.
|
823
|
-
|
824
|
-
* lib/og/version.rb: removed.
|
825
|
-
|
826
|
-
* lib/nitro/version.rb: removed.
|
827
|
-
|
828
|
-
* lib/nitro.rb: version, libpath here.
|
829
|
-
|
830
|
-
* lib/og.rb: version, libpath here.
|
831
|
-
|
832
|
-
* --- VERSION 0.9.5 ---
|
833
|
-
|
834
|
-
* lib/nitro/adaptors/fastcgi.rb: convert conf to Flexob.
|
835
|
-
|
836
|
-
* lib/nitro/adaptors/webrick.rb: added REQUEST_MUTEX to temp-fix windows bug.
|
837
|
-
|
838
|
-
03-02-2005 George Moschovitis <gm@navel.gr>
|
839
|
-
|
840
|
-
* lib/glue/*: cleaned up some files.
|
841
|
-
|
842
|
-
* lib/og/*: cleaned up some files.
|
843
|
-
|
844
|
-
* lib/nitro/dispatchers.rb (#initialize): accept class as input.
|
845
|
-
|
846
|
-
* Updated all examples.
|
847
|
-
|
848
|
-
* lib/nitro/context.rb: out == XhtmlString to allow convienient
|
849
|
-
access to the programmatic rendering functionality and make
|
850
|
-
the wee example cooler.
|
851
|
-
|
852
|
-
* lib/nitro/adaptors/webrick.rb (#start): better handling of conf parameters,
|
853
|
-
better handling of logging,
|
854
|
-
autoconvert conf to Flexob if needed.
|
855
|
-
|
856
|
-
* examples/wee_style/wee.rb: implemented,
|
857
|
-
looks cool (but useles? :-))
|
858
|
-
|
859
|
-
* examples/wee_style/README: introduced.
|
860
|
-
|
861
|
-
* examples/wee_style/*: introduced wee-style example.
|
862
|
-
|
863
|
-
* examples/blog/lib/blog.rb: updated for new RSS.
|
864
|
-
|
865
|
-
* test/nitro/builders/tc_rss.rb: introduced.
|
866
|
-
|
867
|
-
* lib/nitro/builders/rss.rb: pass parameters,
|
868
|
-
(#render): now alias for render_0_9
|
869
|
-
|
870
|
-
* lib/og/meta.rb (#joins): introduced new metadata macro.
|
871
|
-
|
872
|
-
02-02-2005 George Moschovitis <gm@navel.gr>
|
873
|
-
|
874
|
-
* --- VERSION 0.9.4 ---
|
875
|
-
|
876
|
-
* lib/og/backends/sqlite.rb: introduced.
|
877
|
-
|
878
|
-
* lib/og/backends/psql.rb: minor cleanup.
|
879
|
-
|
880
|
-
* examples/blog/root/style.css: fixes for IE, more needed.
|
881
|
-
|
882
|
-
* lib/nitro/adaptors/fastcgi.rb (#handle): restore Og connection.
|
883
|
-
|
884
|
-
* lib/nitro/adaptors/webrick.rb (#handle): restore Og connection, fixes
|
885
|
-
Windows deadlock. [james_b]
|
886
|
-
|
887
|
-
* examples/no_xsl_blog/lib/blog/template.rb: fixed ruby in template (login).
|
888
|
-
|
889
|
-
* changed default port to 8069, to avoid conflicts with
|
890
|
-
other servers (8080 was too common). [james_b]
|
891
|
-
|
892
|
-
01-02-2005 George Moschovitis <gm@navel.gr>
|
893
|
-
|
894
|
-
* updated Rubyforge page, added wiki.
|
895
|
-
|
896
|
-
* --- VERSION 0.9.3 ---
|
897
|
-
|
898
|
-
* small fixes to make tests pass again.
|
899
|
-
|
900
|
-
* lib/nitro/adaptors/webrick.rb: update headers with req.meta_vars.
|
901
|
-
|
902
|
-
* lib/nitro/request.rb (#host): better calculation,
|
903
|
-
made compatible with IE/windows.
|
904
|
-
|
905
|
-
* examples/no_xsl_blog/lib/blog/template.rb: fixes.
|
906
|
-
|
907
|
-
* examples/blog/root/style.xsl: fixes.
|
908
|
-
|
909
|
-
* README: updated.
|
910
|
-
|
911
|
-
* lib/nitro/controller.rb (#method_missing): :partial reload hack fix.
|
1
|
+
28-03-2005 George Moschovitis <gm@navel.gr>
|
912
2
|
|
913
|
-
|
3
|
+
* lib/nitro/controller.rb (#inherited): made compatible with Win32.
|
914
4
|
|
915
|
-
* examples/
|
5
|
+
* examples/why_wiki/run.rb: set pwd.
|
916
6
|
|
917
|
-
*
|
7
|
+
* examples/wee_style/run.rb: set pwd.
|
918
8
|
|
919
|
-
*
|
9
|
+
* proto/*: introduced,
|
10
|
+
moved public inside proto,
|
11
|
+
moved run.rb inside,
|
12
|
+
mover conf inside.
|
920
13
|
|
921
|
-
*
|
922
|
-
(#parse_cookies): get context, no return.
|
14
|
+
* doc/RELEASES: updated.
|
923
15
|
|
924
|
-
*
|
925
|
-
cgi.rb.
|
16
|
+
* examples/blog/src/xsl/base.xsl: added <cache> tag.
|
926
17
|
|
927
|
-
*
|
18
|
+
* examples/*: fixed lhttpd.conf files.
|
928
19
|
|
929
|
-
*
|
20
|
+
* examples/blog/src/controller.rb (#cache_invalidator): added,
|
21
|
+
cache_output for login as an example.
|
930
22
|
|
931
|
-
* lib/nitro/
|
932
|
-
|
23
|
+
* lib/nitro/adapters/webrick.rb: fix,
|
24
|
+
fix: dont send paths with '.' to nitro.
|
933
25
|
|
934
|
-
|
26
|
+
25-03-2005 George Moschovitis <gm@navel.gr>
|
935
27
|
|
936
|
-
* lib/nitro/
|
28
|
+
* lib/nitro/caching/invalidation.rb: introduced.
|
937
29
|
|
938
|
-
* lib/nitro/
|
939
|
-
|
940
|
-
|
941
|
-
|
942
|
-
* lib/glue/object.rb: remove class support.
|
943
|
-
|
944
|
-
* lib/nitro/controller.rb: keep classdef_file with inherited. [mneumann]
|
945
|
-
|
946
|
-
* lib/og/*: cleaned up by removing Og::*.
|
947
|
-
|
948
|
-
* lib/og/meta.rb (MetaUtils#resolve_class): implemented.
|
949
|
-
|
950
|
-
* lib/nitro/events.rb: deprecated, rails-style filter achieve the same effect
|
951
|
-
more elegantly and more optimized.
|
952
|
-
|
953
|
-
* lib/og/backends/mysql.rb (#deserialize_all): return [] if no rows. [mneumann]
|
954
|
-
|
955
|
-
* lib/og/backends/psql.rb (#deserialize_all): return [] if no rows. [mneumann]
|
956
|
-
|
957
|
-
* lib/og/connection.rb: use meta[:has] instead of og_descendants.
|
958
|
-
|
959
|
-
* test/tc_og.rb: added more tests.
|
960
|
-
|
961
|
-
* lib/og/meta.rb (#belongs_to): add meta data [mneumann],
|
962
|
-
(#has_one): add meta data - removed descndants [mneumann],
|
963
|
-
(#has_many): add meta data - removed descendants [mneumann],
|
964
|
-
(#many_to_many): add medata [mneumann],
|
965
|
-
(#refers_to): add metadata, also ads :has metadata [mneuamann].
|
966
|
-
|
967
|
-
* lib/og/enchant.rb: added Class.get alias. [mneumann]
|
968
|
-
|
969
|
-
28-01-2005 George Moschovitis <gm@navel.gr>
|
970
|
-
|
971
|
-
* lib/nitro/localization.rb: renamed from l10n.rb,
|
972
|
-
(Localization): introduced.
|
973
|
-
|
974
|
-
* etc: removed.
|
975
|
-
|
976
|
-
* RELEASES.og: updated.
|
977
|
-
|
978
|
-
* RELEASES: updated.
|
979
|
-
|
980
|
-
* README.og: updated.
|
981
|
-
|
982
|
-
* lib/nitro/controller.rb (#method_missing): more flexible.
|
983
|
-
|
984
|
-
* lib/nitro/render.rb (#compile_action): hack fixed non-action bug.
|
985
|
-
|
986
|
-
* examples/no_xsl_blog/*: renamed from plainblog, converted,
|
987
|
-
converted template.
|
988
|
-
|
989
|
-
* lib/nitro/adaptors/runner.rb: implemented,
|
990
|
-
Runner is used in all ctls.
|
991
|
-
|
992
|
-
* lib/xsl/xforms.xsl: obsolete, removed.
|
993
|
-
|
994
|
-
* lib/xsl/ui.xsl: obsolete, removed.
|
995
|
-
|
996
|
-
* examples/flash/*: updated.
|
997
|
-
|
998
|
-
* bin/proto: new and improved index page for the prototype
|
999
|
-
application,
|
1000
|
-
added gfx and minimal help.
|
1001
|
-
|
1002
|
-
* examples/tiny/*: use ctl.
|
1003
|
-
|
1004
|
-
* lib/og/*: cleaned up some sourcefiles.
|
1005
|
-
|
1006
|
-
* install.rb: introduced.
|
1007
|
-
|
1008
|
-
* lib/og.rb (Og): cleaned up, use cattr_accessor for setup.
|
1009
|
-
|
1010
|
-
* lib/og/backends/mysql.rb (#write_prop): fixed boolean.
|
1011
|
-
|
1012
|
-
28-01-2005 Michael Neumann <mneumann@ntecs.de>
|
1013
|
-
|
1014
|
-
* lib/og/backends/psql.rb (#write_prop): fixed boolean.
|
1015
|
-
|
1016
|
-
27-01-2005 George Moschovitis <gm@navel.gr>
|
1017
|
-
|
1018
|
-
* README: updated and fixed many bugs,
|
1019
|
-
updated features.
|
1020
|
-
|
1021
|
-
* examples/blog/ctl: introduced,
|
1022
|
-
runs the WEBrick server,
|
1023
|
-
runs the Lighttpd server.
|
1024
|
-
|
1025
|
-
* lib/og/backends/psql.rb (#read_prop): fixed boolean read [mneumann].
|
1026
|
-
fixed boolean type (tinyint).
|
1027
|
-
|
1028
|
-
* lib/og/backends/psql.rb (#read_prop): fixed boolean read [mneumann].
|
1029
|
-
|
1030
|
-
* lib/nitro/dispatcher (#dispatch): fixed bug.
|
1031
|
-
|
1032
|
-
* some changes to make the tests pass again.
|
1033
|
-
|
1034
|
-
* test/nitro/server: deprecated.
|
1035
|
-
|
1036
|
-
* lib/nitro/ui/sitemap.rb: moved here!
|
1037
|
-
|
1038
|
-
* lib/nitro/server.rb: deprecated.
|
1039
|
-
|
1040
|
-
* lib/nitro/service.rb: deprecated.
|
1041
|
-
|
1042
|
-
* lib/nitro/config.rb: deprecated.
|
1043
|
-
|
1044
|
-
* lib/nitro/server/*: deprecated.
|
1045
|
-
|
1046
|
-
26-01-2005 George Moschovitis <gm@navel.gr>
|
1047
|
-
|
1048
|
-
* lib/nitro/scaffold.rb: updated.
|
1049
|
-
|
1050
|
-
* lib/nitro/dispatcher.rb (#dispatch): return content_type.
|
1051
|
-
|
1052
|
-
* lib/nitro/context.rb (#fill): added.
|
1053
|
-
|
1054
|
-
* lib/nitro/ui/pager.rb: updated for lates code.
|
1055
|
-
|
1056
|
-
* lib/nitro/render.rb: request alias for context,
|
1057
|
-
(#redirect): fixed.
|
1058
|
-
(#render): raise when no controller found.
|
1059
|
-
(#render): fixed template extension selection,
|
1060
|
-
(#compile_action): don't set content_type.
|
1061
|
-
|
1062
|
-
* lib/nitro/controller.rb: include Scaffolding, Filtering.
|
1063
|
-
|
1064
|
-
* examples/blog/*: many changes to support new code,
|
1065
|
-
yeah, it kinda works!
|
1066
|
-
index session with symbols.
|
1067
|
-
|
1068
|
-
* examples/blog/lib/*: changed sirectory structure.
|
1069
|
-
|
1070
|
-
25-01-2005 George Moschovitis <gm@navel.gr>
|
1071
|
-
|
1072
|
-
* examples/blog/*: conversion to new code.
|
1073
|
-
|
1074
|
-
* lib/nitro/render.rb: call Rendering.reset.
|
1075
|
-
|
1076
|
-
* lib/glue/misc.rb (#delete_class_hierarchy): introduced.
|
1077
|
-
|
1078
|
-
* lib/nitro/context.rb: lazy session lookup.
|
1079
|
-
|
1080
|
-
* lib/nitro/adaptors/fastcgi.rb: no session lookup.
|
1081
|
-
|
1082
|
-
* lib/nitro/adaptors/webrick.rb (#handle): no session lookup.
|
1083
|
-
|
1084
|
-
* lib/nitro/shaders.rb (RubyShader#process): <include>-><render>
|
1085
|
-
|
1086
|
-
* lib/nitro/dispatcher.rb (#dispatch): better handle tha base calc.
|
1087
|
-
|
1088
|
-
* lib/nitro/buffering.rb: copied buffering code here.
|
1089
|
-
|
1090
|
-
* lib/glue/flexob.rb: introduced.
|
1091
|
-
|
1092
|
-
24-01-2005 George Moschovitis <gm@navel.gr>
|
1093
|
-
|
1094
|
-
* benchmark/nitro: added first benchmarks.
|
1095
|
-
|
1096
|
-
* lib/nitro/adaptors/webrick.rb: works with new cookie code.
|
1097
|
-
|
1098
|
-
* yeah, sessions and cookies work with fastcgi.
|
1099
|
-
|
1100
|
-
* lib/nitro/cookie.rb: implemented.
|
1101
|
-
|
1102
|
-
* lib/nitro/session.rb: converted to new cookie code.
|
1103
|
-
|
1104
|
-
* lib/nitro/html.rb: deprecated.
|
1105
|
-
|
1106
|
-
* lib/nitro/http.rb: deprecated.
|
1107
|
-
|
1108
|
-
* lib/nitro/user.rb: deprecated.
|
1109
|
-
|
1110
|
-
* test/nitro/adaptors/tc_cgi.rb: introduced.
|
1111
|
-
|
1112
|
-
* lib/nitro/adaptors/cgi.rb: introduced.
|
1113
|
-
(CgiUtils): introduced.
|
1114
|
-
(CgiUtils#parse_query_string): implemented.
|
1115
|
-
(CgiUtils#parse_cookies): implemented.
|
1116
|
-
(CgiUtils#response_headers): implemented.
|
1117
|
-
|
1118
|
-
* examples/tiny: cleanup, new dir structure.
|
1119
|
-
|
1120
|
-
* examples/tiny/conf/nitro.conf.rb: introduced.
|
1121
|
-
|
1122
|
-
* examples/tiny/conf/lhttpd.conf: introduced,
|
1123
|
-
improved redirect scheme, keeps request_uri correct!
|
1124
|
-
|
1125
|
-
* examples/tiny/conf: introduced.
|
1126
|
-
|
1127
|
-
* lib/glue/misc.rb (#silence_warnings): introduced.
|
1128
|
-
|
1129
|
-
* create fastcgi redirect for lighthttpd.
|
1130
|
-
|
1131
|
-
* lib/nitro/adaptors/fastcgi.rb: introduced,
|
1132
|
-
Wrapper Class like the webrick adaptor,
|
1133
|
-
parse query string.
|
1134
|
-
|
1135
|
-
* lib/og/enchant.rb (#each): added iterator support [mneumann],
|
1136
|
-
include Enumeration [mneumann]
|
1137
|
-
|
1138
|
-
23-01-2005 George Moschovitis <gm@navel.gr>
|
1139
|
-
|
1140
|
-
* examples/tiny: yeah, sessions work again.
|
1141
|
-
|
1142
|
-
* lib/nitro/render.rb (#render): allow for nested calls.
|
1143
|
-
|
1144
|
-
* lib/nitro/context.rb: store conf.
|
1145
|
-
first cut of session code.
|
1146
|
-
|
1147
|
-
* lib/nitro/adaptor/webrick.rb: better handling of conf,
|
1148
|
-
extend WEBrick::HTTPResponse to make compatible with Nitro.
|
1149
|
-
|
1150
|
-
* lib/nitro/controller.rb (#method_missing): moved here.
|
1151
|
-
|
1152
|
-
* test/nitro/tc_session.rb: introduced.
|
1153
|
-
|
1154
|
-
* lib/nitro/session.rb: introduced.
|
1155
|
-
(#create_id): implemented.
|
1156
|
-
(#lookup): implemented.
|
1157
|
-
(Session): extend from Hash.
|
1158
|
-
|
1159
|
-
22-01-2005 George Moschovitis <gm@navel.gr>
|
1160
|
-
|
1161
|
-
* lib/nitro/adaptors/webrick.rb: pass query.
|
1162
|
-
|
1163
|
-
* lib/nitro.rb: added default requires.
|
1164
|
-
|
1165
|
-
* examples/tiny/app2.rb: testbed for new Nitro.
|
1166
|
-
|
1167
|
-
* lib/nitro/render.rb (RenderExit): defined again,
|
1168
|
-
(#method_missing): ultracool remove_method trick to support script
|
1169
|
-
reloading.
|
1170
|
-
|
1171
|
-
* lib/nitro/adaptors/webrick.rb (#start): get and store conf.
|
1172
|
-
|
1173
|
-
* lib/nitro/request.rb (#referer): added.
|
1174
|
-
|
1175
|
-
* lib/nitro/context.rb: requires.
|
1176
|
-
|
1177
|
-
21-01-2005 George Moschovitis <gm@navel.gr>
|
1178
|
-
|
1179
|
-
* lib/nitro/dispatcher.rb: keeps root dir.
|
1180
|
-
|
1181
|
-
* stopped using N prefix all around.
|
1182
|
-
|
1183
|
-
* lib/nitro/render.rb: fixed method_missing.
|
1184
|
-
correct shader mattr.
|
1185
|
-
|
1186
|
-
* lib/nitro/response.rb (#content_type=): implemented.
|
1187
|
-
|
1188
|
-
* test/nitro/tc_controller.rb: introduced.
|
1189
|
-
|
1190
|
-
20-01-2005 George Moschovitis <gm@navel.gr>
|
1191
|
-
|
1192
|
-
* lib/nitro/render.rb (OutputBuffering): moved output
|
1193
|
-
buffering methods to a separate module.
|
1194
|
-
|
1195
|
-
* lib/nitro/context.rb: includes Request/Response.
|
1196
|
-
|
1197
|
-
* lib/nitro/request.rb: converted to module.
|
1198
|
-
|
1199
|
-
* lib/nitro/response.rb: converted to module.
|
1200
|
-
|
1201
|
-
* lib/nitro/adaptors/webrick.rb (#handle): streamlined
|
1202
|
-
using Context.
|
1203
|
-
|
1204
|
-
* test/nitro/tc_dispatcher.rb: introduced.
|
1205
|
-
|
1206
|
-
* lib/nitro/mail.rb: use mattr.
|
1207
|
-
|
1208
|
-
* lib/nitro/controller.rb: introduced.
|
1209
|
-
|
1210
|
-
* lib/nitro/dispatcher.rb (resolve_path): changed return order,
|
1211
|
-
encode api in the action,
|
1212
|
-
(#dispatch): renamed from resolve_path,
|
1213
|
-
only returns cklass and action.
|
1214
|
-
(#add_api): support for multi-api dispatchers.
|
1215
|
-
|
1216
|
-
19-01-2005 George Moschovitis <gm@navel.gr>
|
1217
|
-
|
1218
|
-
* lib/nitro/render.rb: no params,
|
1219
|
-
(Rendering): added mattrs,
|
1220
|
-
|
1221
|
-
* lib/nitro/shaders.rb: moved outside.
|
1222
|
-
|
1223
|
-
18-01-2005 George Moschovitis <gm@navel.gr>
|
1224
|
-
|
1225
|
-
* lib/nitro/render.rb: introduced new version.
|
1226
|
-
|
1227
|
-
* lib/nitro/request.rb (#method): implemented,
|
1228
|
-
(#remote_ip): implemented.
|
1229
|
-
implemented more methods.
|
1230
|
-
|
1231
|
-
17-01-2005 George Moschovitis <gm@navel.gr>
|
1232
|
-
|
1233
|
-
* lib/glue.rb: define module N.
|
1234
|
-
|
1235
|
-
* lib/nitro/filters: introduced.
|
1236
|
-
|
1237
|
-
* lib/nitro/server/dispatcher.rb: don't use $og.
|
1238
|
-
|
1239
|
-
* lib/nitro/adaptors/webrick: new implementation.
|
1240
|
-
(WebrickAdaptor): introduced.
|
1241
|
-
(Webrick#start): introtuced.
|
1242
|
-
|
1243
|
-
* lib/nitro/server/filters: deprecated.
|
1244
|
-
|
1245
|
-
* lib/nitro/server/filters.rb: deprecated.
|
1246
|
-
|
1247
|
-
* cleaned up many files.
|
1248
|
-
|
1249
|
-
* lib/nitro/server/handlers.rb: deprecated.
|
1250
|
-
|
1251
|
-
* lib/nitro/server/fragment.rb: deprecated.
|
1252
|
-
|
1253
|
-
* lib/nitro/server/script.rb: deprecated.
|
1254
|
-
|
1255
|
-
* updated svn repository.
|
1256
|
-
|
1257
|
-
16-01-2005 George Moschovitis <gm@navel.gr>
|
1258
|
-
|
1259
|
-
* lib/nitro/adaptors: introduced.
|
1260
|
-
|
1261
|
-
* examples/plainblog/README: updated docs.
|
1262
|
-
|
1263
|
-
* examples/plainblog/lib/template.rb: implemented.
|
1264
|
-
Yeah, the plainblog example works without xslt.
|
1265
|
-
|
1266
|
-
* examples/plainblog: introduced,
|
1267
|
-
converted all pages to the simple templating system.
|
1268
|
-
|
1269
|
-
15-01-2005 George Moschovitis <gm@navel.gr>
|
1270
|
-
|
1271
|
-
* cleaned up many files.
|
1272
|
-
|
1273
|
-
* lib/nitro/application.rb: cleanup.
|
1274
|
-
|
1275
|
-
14-01-2005 George Moschovitis <gm@navel.gr>
|
1276
|
-
|
1277
|
-
* test/tc_og.rb: added more tests.
|
1278
|
-
|
1279
|
-
* lib/og/version: no more a global variable.
|
1280
|
-
|
1281
|
-
* test/glue/tc_property.rb: test for macro params.
|
1282
|
-
|
1283
|
-
* lib/glue/property.rb (PropertyUtils#resolve_prop_params):
|
1284
|
-
factors out common code between the propXXX methods,
|
1285
|
-
extra checks for the params,
|
1286
|
-
removed dupplicate code from propXXX methods [mneumann].
|
1287
|
-
|
1288
|
-
* lib/og/enchant.rb (#enchant): #create captures the given block
|
1289
|
-
and propagates to the objects constructor.
|
1290
|
-
|
1291
|
-
* AUTHORS: updated.
|
1292
|
-
|
1293
|
-
* lib/og/meta.rb (MetaLanguage#refers_to): implemented [mneumann].
|
1294
|
-
(#has_one): creates delete_xxx method.
|
1295
|
-
(#has_many): creates delete_all_xxx method.
|
1296
|
-
removed del_xxx alias [mneumann].
|
1297
|
-
|
1298
|
-
* examples/og/run.rb: use delete_xxx in many_to_many [mneumann].
|
1299
|
-
|
1300
|
-
14-01-2005 Michael Neumann <mneumann@ntecs.de>
|
1301
|
-
|
1302
|
-
* lib/glue/property.rb (#prop): changed expansion to allow for
|
1303
|
-
macro parameters.
|
1304
|
-
|
1305
|
-
13-01-2005 George Moschovitis <gm@navel.gr>
|
1306
|
-
|
1307
|
-
* lib/og.rb: Og.include_meta_language by default is FALSE [mneumann].
|
1308
|
-
|
1309
|
-
* lib/glue/property.rb (PropertyUtils#include_meta_mixins): introduced.
|
1310
|
-
(#prop): include Og::MetaLanguage.
|
1311
|
-
|
1312
|
-
12-01-2005 George Moschovitis <gm@navel.gr>
|
1313
|
-
|
1314
|
-
* --- VERSION 0.8.0 ---
|
1315
|
-
|
1316
|
-
* RELEASES.og: updated.
|
1317
|
-
|
1318
|
-
* RELEASES: updated.
|
1319
|
-
|
1320
|
-
* README: updated.
|
1321
|
-
|
1322
|
-
* README.og: updated.
|
1323
|
-
|
1324
|
-
* lib/glue/property.rb (#prop): include N::Validation when appending
|
1325
|
-
a managed module.
|
1326
|
-
|
1327
|
-
* examples/blog/root/entr_form.xhtml: added error reporting.
|
1328
|
-
|
1329
|
-
* found out NASTY reload bug, temporarily dissabled!
|
1330
|
-
|
1331
|
-
* lib/glue/logger.rb: (Logger#error): added.
|
1332
|
-
|
1333
|
-
* lib/server/render.rb: improved source,
|
1334
|
-
(#render): dissabled reloading.
|
1335
|
-
(#redirect_referer): optional postfix.
|
1336
|
-
|
1337
|
-
* lib/nitro/markup.rb: fixed namespace,
|
1338
|
-
(#expand/#compact): excluded wiki markup from default.
|
1339
|
-
|
1340
|
-
* examples/blog/config.rb: require markup, validation.
|
1341
|
-
|
1342
|
-
* examples/blog/root/style.xsl: <x:error> introduced.
|
1343
|
-
|
1344
|
-
* examples/blog/lib/blog.rb: extend from content,
|
1345
|
-
use auto markup functionality,
|
1346
|
-
thanks for the magic of auto markup, comments get
|
1347
|
-
expanded correctly now, for free :),
|
1348
|
-
(#new_entry): added validation/error reporting!
|
1349
|
-
(#get_errors): useful prefilter,
|
1350
|
-
(Common): made this a module (mixin).
|
1351
|
-
|
1352
|
-
11-01-2005 George Moschovitis <gm@navel.gr>
|
1353
|
-
|
1354
|
-
* test/glue/tc_validation.rb (#test_validate_length): implemented.
|
1355
|
-
cooler, all tests pass.
|
1356
|
-
|
1357
|
-
* lib/glue/validation.rb (#validate_length): implemented,
|
1358
|
-
allow sprintf style error messages,
|
1359
|
-
(#validate_inclusion): implemented.
|
1360
|
-
|
1361
|
-
10-01-2005 George Moschovitis <gm@navel.gr>
|
1362
|
-
|
1363
|
-
* test/nitro/builders/tx_xhtml.rb: introduced,
|
1364
|
-
yeah, cases pass :)
|
1365
|
-
|
1366
|
-
* lib/og/enchant.rb (#enchant): #one alias for #select_one [mneumann].
|
1367
|
-
|
1368
|
-
* lib/nitro/builders/xhtml.rb: introduced.
|
1369
|
-
(#options): implemented,
|
1370
|
-
(#select): implemented.
|
1371
|
-
|
1372
|
-
* lib/nitro/builders/xml.rb (#method_missing): added support
|
1373
|
-
for blocks in tags,
|
1374
|
-
(#comment): implemented.
|
1375
|
-
|
1376
|
-
09-01-2005 George Moschovitis <gm@navel.gr>
|
1377
|
-
|
1378
|
-
* test/nitro/builders/tc_xml.rb: introduced,
|
1379
|
-
(#test_missing): implemented.
|
1380
|
-
|
1381
|
-
* lib/nitro/builders/xml.rb: introduced,
|
1382
|
-
(#start_tag, #end_tag): implemented.
|
1383
|
-
(#method_missing): implemented,
|
1384
|
-
(XmlBuilder): implemented.
|
1385
|
-
|
1386
|
-
* vendor/blankslate.rb: integrated blankslate lib by
|
1387
|
-
Jim Weirich <jim@weirichhouse.org> [jweirich].
|
1388
|
-
|
1389
|
-
08-01-2005 George Moschovitis <gm@navel.gr>
|
1390
|
-
|
1391
|
-
* lib/glue/vaildation.rb (#validate_confirmation): implemented,
|
1392
|
-
(MetaLanguage): customization options,
|
1393
|
-
(#validate_value): implemented,
|
1394
|
-
|
1395
|
-
07-01-2005 George Moschovitis <gm@navel.gr>
|
1396
|
-
|
1397
|
-
* test/glue/tc_validation.rb: implemented many tests.
|
1398
|
-
|
1399
|
-
* lib/glue/property.rb (#prop): auto include the N::Validation module
|
1400
|
-
in the parent class if defined!
|
1401
|
-
(PropertyUtils#get_prop): implemented.
|
1402
|
-
|
1403
|
-
* lib/glue/validation.rb (Validation::Errors): introduced,
|
1404
|
-
empty, size, add methods.
|
1405
|
-
recoded validation code and now works!
|
1406
|
-
(eval_validate): fixed for multiple objects.
|
1407
|
-
(Validation::Errors): keep error strings here.
|
1408
|
-
(MetaLanguage): introduced.
|
1409
|
-
MEGA: use meta :validations to store validations!
|
1410
|
-
(Validation::Errors): each, clear.
|
1411
|
-
|
1412
|
-
05-01-2005 George Moschovitis <gm@navel.gr>
|
1413
|
-
|
1414
|
-
* test/*: cleaned up some unit tests.
|
1415
|
-
|
1416
|
-
* lib/*: removed all $log references!
|
1417
|
-
|
1418
|
-
* lib/glue/*: use N:: prefix for all files.
|
1419
|
-
|
1420
|
-
04-01-2005 George Moschovitis <gm@navel.gr>
|
1421
|
-
|
1422
|
-
* test/glue/tc_attribute.rb: implemented.
|
1423
|
-
|
1424
|
-
* lib/glue/attribute.rb: introduced,
|
1425
|
-
default value for module/class attributes.
|
1426
|
-
|
1427
|
-
* lib/glue/validation.rb: introduced,
|
1428
|
-
(Validation#validate_format): implemented.
|
1429
|
-
(Validator): introduced,
|
1430
|
-
(Validator#eval_validation_method): introduced.
|
1431
|
-
|
1432
|
-
* README: running units section.
|
1433
|
-
|
1434
|
-
03-01-2005 George Moschovitis <gm@navel.gr>
|
1435
|
-
|
1436
|
-
* lib/nitro/builders/form.rb (#render): emmit id's to make
|
1437
|
-
the generated forms more style-able.
|
1438
|
-
|
1439
|
-
* lib/glue.rb: removed EMPTY_STRING constant [mneumann].
|
1440
|
-
|
1441
|
-
* Rakefile: include vendor in Og distribution.
|
1442
|
-
|
1443
|
-
02-01-2005 George Moschovitis <gm@navel.gr>
|
1444
|
-
|
1445
|
-
* vendor/extensions: integrated extensions library by
|
1446
|
-
Gavin Sinclair <gsinclair@soyabean.com.au>
|
1447
|
-
|
1448
|
-
* test/glue/tc_logger.rb: introduced.
|
1449
|
-
|
1450
|
-
* lib/og.rb: removed logger methods.
|
1451
|
-
|
1452
|
-
* lib/glue/logger.rb: added static methods and global logger,
|
1453
|
-
(#i, #d): removed.
|
1454
|
-
(#trace): added trace method from dev-utils by
|
1455
|
-
Gavin Sinclair <gsinclair@soyabean.com.au>,
|
1456
|
-
fixed Binding.of_caller bug.
|
1457
|
-
(#get): implemented.
|
1458
|
-
|
1459
|
-
01-01-2005 George Moschovitis <gm@navel.gr>
|
1460
|
-
|
1461
|
-
* started using the $:.unshift File.join trick.
|
1462
|
-
|
1463
|
-
30-12-2004 George Moschovitis <gm@navel.gr>
|
1464
|
-
|
1465
|
-
* lib/og/mock.rb: include Og::Enchant,
|
1466
|
-
some more fixes to make this work.
|
1467
|
-
|
1468
|
-
* lib/og/enchant.rb: introduced, factors out some code used
|
1469
|
-
by the MockDatabase.
|
1470
|
-
|
1471
|
-
* lib/og/*: converted to new code.
|
1472
|
-
|
1473
|
-
* lib/og/meta.rb: don't use $og. [mneumann]
|
1474
|
-
|
1475
|
-
* lib/og.rb: made Og a class,
|
1476
|
-
removed $og_xx_xx options, use class methods [mneumann]
|
1477
|
-
(Og##use): introduced.
|
1478
|
-
(#enchant): use Og.db.connection.
|
1479
|
-
(Database): create!/drop! aliases,
|
1480
|
-
include Og::Enchant.
|
1481
|
-
introduced Og.log.
|
1482
|
-
|
1483
|
-
29-12-2004 George Moschovitis <gm@navel.gr>
|
1484
|
-
|
1485
|
-
* lib/og/mysql.rb: removed Og::Utils, integrated methods in Backend.
|
1486
|
-
|
1487
|
-
* lib/og/psql.rb: removed Og::Utils, integrated methods in Backend.
|
1488
|
-
|
1489
|
-
* lib/og/backend.rb: removed Og::Utils, integrated methods in Backend,
|
1490
|
-
to allow for multiple backend is one App [bcandler].
|
1491
|
-
|
1492
|
-
* lib/og.rb (#enchant): enchant methods DONT use $og anymmore. [mneumann]
|
1493
|
-
|
1494
|
-
* AUTHORS: updated.
|
1495
|
-
|
1496
|
-
* examples/og/mysql_to_psql.rb: introduced and implemented.
|
1497
|
-
|
1498
|
-
27-12-2004 George Moschovitis <gm@navel.gr>
|
1499
|
-
|
1500
|
-
* lib/parts/content.rb (CreateTime): introduced.
|
1501
|
-
|
1502
|
-
* lib/parts/README: introduced.
|
1503
|
-
|
1504
|
-
* --- VERSION 0.7.0 ---
|
30
|
+
* lib/nitro/adapters/webrick.rb: removed obsolete code.
|
31
|
+
removed WEBrick::HTTPRequest override.
|
32
|
+
(#handle_file): implemented.
|
33
|
+
(#handle): fixed ensure close.
|
1505
34
|
|
1506
|
-
*
|
1507
|
-
|
1508
|
-
* Rakefile: fix.
|
1509
|
-
|
1510
|
-
26-12-2004 George Moschovitis <gm@navel.gr>
|
1511
|
-
|
1512
|
-
* lib/nitro/server/render.rb (#compile_xxx_method): better handling
|
1513
|
-
of redirects,
|
1514
|
-
(RenderExit): introduced,
|
1515
|
-
(#redirect): rewritten, raise RenderExit.
|
1516
|
-
|
1517
|
-
* lib/nitro/markup.rb (PropertyUtils#prop_setter): override.
|
1518
|
-
(#markup): removed.
|
1519
|
-
(#expand, #narrow): fixed,
|
1520
|
-
YEAH, markup works.
|
1521
|
-
|
1522
|
-
* lib/glue/property.rb (PropertyUtils#prop_setter): factored out.
|
35
|
+
* conf/lhttpd.conf: ultra cool cache aware rewrite rule.
|
36
|
+
cleaned up a LOT.
|
1523
37
|
|
1524
|
-
*
|
38
|
+
* conf/apache.conf: introduced, added cache aware rewrite
|
39
|
+
rule.
|
1525
40
|
|
1526
|
-
|
41
|
+
24-03-2005 George Moschovitis <gm@navel.gr>
|
1527
42
|
|
1528
|
-
*
|
43
|
+
* conf/lhttpd.conf: introduced.
|
1529
44
|
|
1530
|
-
|
45
|
+
* conf: introduced.
|
1531
46
|
|
1532
|
-
*
|
1533
|
-
(#markup): implemented.
|
47
|
+
* Rakefile: more intelligent handling of versions. [drak]
|
1534
48
|
|
1535
|
-
*
|
1536
|
-
|
49
|
+
* test/nitro/filters.rb: added more tests for the newly fixed
|
50
|
+
bugs.
|
1537
51
|
|
1538
|
-
* lib/nitro/
|
52
|
+
* lib/nitro/filters.rb: SUPER FIX: use the new and correct
|
53
|
+
way to introduced inheritable attributes.
|
54
|
+
fixed problem with filters when reload = true.
|
1539
55
|
|
1540
|
-
* lib/
|
1541
|
-
(Markup): introduced.
|
1542
|
-
|
1543
|
-
* lib/nitro/builders/form.rb: :ui modifier instead of :form,
|
1544
|
-
(#render): handle the :markup meta data.
|
1545
|
-
|
1546
|
-
* Rakefile: og distribution includes tests + Rakefile [tquas]
|
1547
|
-
|
1548
|
-
21-12-2004 George Moschovitis <gm@navel.gr>
|
1549
|
-
|
1550
|
-
* lib/og/mock.rb: Call wrap methods.
|
1551
|
-
|
1552
|
-
* test/glue/tc_property_mixins.rb: automanagement unit tests [by tquas],
|
1553
|
-
made it pass.
|
1554
|
-
|
1555
|
-
* test/og/tc_lifecycle.rb: lifecycle unit tests [by tquas]
|
1556
|
-
|
1557
|
-
* lib/og/meta.rb (#has_many): enchant with add_XXX the container
|
1558
|
-
class [mneumann].
|
1559
|
-
|
1560
|
-
* test/tc_og.rb: added test for create.
|
56
|
+
* lib/nitro/caching/fragments.rb: fixed cattr bug.
|
1561
57
|
|
1562
|
-
*
|
58
|
+
* lib/nitro/caching/actions.rb: fixed :only bug.
|
1563
59
|
|
1564
|
-
* lib/
|
60
|
+
* lib/nitro/caching.rb: require action caching.
|
1565
61
|
|
1566
|
-
|
1567
|
-
(#enchant): use module_eval with __FILE__, __LINE__,
|
1568
|
-
(#enchant): add create method [mneumann]
|
62
|
+
23-03-2005 George Moschovitis <gm@navel.gr>
|
1569
63
|
|
1570
|
-
*
|
64
|
+
* lib/nitro/testing: introduced.
|
1571
65
|
|
1572
|
-
*
|
66
|
+
* INSTALL: updated, added ref to required libs. [dyoder]
|
1573
67
|
|
1574
|
-
|
1575
|
-
tested breakpoint integration, it works!
|
68
|
+
22-03-2005 George Moschovitis <gm@navel.gr>
|
1576
69
|
|
1577
|
-
|
70
|
+
* lib/nitro/caching/actions.rb (#cache_action): implemented using text filters.
|
1578
71
|
|
1579
|
-
*
|
72
|
+
* lib/nitro/render.rb (#render_text): introduced.
|
1580
73
|
|
1581
|
-
* lib/
|
1582
|
-
more,
|
1583
|
-
(#__add_prop): recoded, gets target, no more reader, writer params.
|
1584
|
-
use <<-"end_eval" to get better error reporting!
|
1585
|
-
(#property): ultra cool append feature hack avoids passing @@__props from
|
1586
|
-
a Module to the Class that includes it --> BLACK MAGIC.
|
1587
|
-
(Property#enchant): implemented.
|
1588
|
-
(PropertyUtils): introduced.
|
1589
|
-
(PropertyUtils#add_prop): yeah, removed from Module!
|
1590
|
-
(#meta): recoded.
|
1591
|
-
(PropertyUtils#*): also handle meta.
|
1592
|
-
(#inherit_meta): removed.
|
1593
|
-
(#meta): fixed bug.
|
1594
|
-
fix: no more @@__props redifen warnings when running with -w [tquas]
|
1595
|
-
|
1596
|
-
* lib/og.rb: (#initialize): automanage classes that include a manageable
|
1597
|
-
Module (hack),
|
1598
|
-
(#convert): convert classes that include a manageable Module (hack).
|
1599
|
-
(#convert): no need to call inherit_meta.
|
1600
|
-
|
1601
|
-
19-12-2004 George Moschovitis <gm@navel.gr>
|
74
|
+
* lib/nitro/filters.rb: pass options in arround filters.
|
1602
75
|
|
1603
|
-
*
|
76
|
+
* lib/nitro/caching/fragments.rb (#cache): set key for fragments.
|
1604
77
|
|
1605
|
-
*
|
78
|
+
* examples/blog/public/index.xhtml: added caching for entries.
|
1606
79
|
|
1607
|
-
|
80
|
+
* lib/nitro/caching/stores.rb (FileStore): implemented.
|
1608
81
|
|
1609
|
-
*
|
1610
|
-
added description of contents section.
|
82
|
+
* doc/RELEASES: updated.
|
1611
83
|
|
1612
|
-
|
84
|
+
21-03-2005 George Moschovitis <gm@navel.gr>
|
1613
85
|
|
1614
|
-
*
|
86
|
+
* examples/tiny/public/upload.xhtml: added as an example of
|
87
|
+
uploads.
|
1615
88
|
|
1616
|
-
* lib/nitro/
|
89
|
+
* lib/nitro/adapters/cgi.rb (#parse_multipart): implemented.
|
90
|
+
Yeah! i got an image uploaded,
|
91
|
+
better handling of multiparams,
|
92
|
+
cool: define to_s to perform a read.
|
1617
93
|
|
1618
|
-
*
|
94
|
+
* lib/nitro/request.rb (#post?): added.
|
95
|
+
(#content_length): added.
|
1619
96
|
|
1620
|
-
* lib/nitro/
|
1621
|
-
|
97
|
+
* lib/nitro/caching/stores.rb: introduced.
|
98
|
+
(MemoryStore): implemented.
|
1622
99
|
|
1623
|
-
|
100
|
+
* lib/nitro/adapters/webrick.rb (#do_GET): make REQUEST_URI more compatible with
|
101
|
+
fastcgi.
|
102
|
+
(#do_GET): use Cgi.parse_parameters to make more compatible with
|
103
|
+
fastcgi, and prepare for the abstract multipart parsing.
|
1624
104
|
|
1625
|
-
* lib/
|
1626
|
-
|
1627
|
-
* test/tc_og.rb: updated.
|
105
|
+
* lib/nitro/filters.rb: converted the rest of the filter methods.
|
106
|
+
(#gen_filters_call_code): fixed single symbol handling.
|
1628
107
|
|
1629
|
-
* lib/
|
1630
|
-
NOT NULL in join tables.
|
1631
|
-
|
1632
|
-
* lib/og/backends/psql.rb (#create_table): use create_fields,
|
1633
|
-
NOT NULL in join tables.
|
108
|
+
* lib/nitro/controller.rb: added Caching in Controller.
|
1634
109
|
|
1635
|
-
* lib/
|
1636
|
-
|
110
|
+
* lib/nitro/caching/output.rb: introduced,
|
111
|
+
yeah i got output for a page cached.
|
1637
112
|
|
1638
|
-
|
113
|
+
* lib/nitro/caching/action.rb: introduced.
|
1639
114
|
|
1640
|
-
*
|
115
|
+
* lib/nitro/caching/fragment.rb: introduced,
|
116
|
+
(#cache_fragment): implemented.
|
117
|
+
(#cache): added.
|
118
|
+
(Fragments): added methods here to avoid polution.
|
1641
119
|
|
1642
|
-
*
|
120
|
+
* lib/nitro/caching: introduced dir.
|
1643
121
|
|
1644
|
-
|
1645
|
-
|
1646
|
-
* bin/proto/root/index.xhtml: cleaned up.
|
1647
|
-
|
1648
|
-
* lib/parts/content.rb: introduced,
|
1649
|
-
(Content): introduced,
|
1650
|
-
(Category): introduced,
|
1651
|
-
(ACL): introduced.
|
1652
|
-
|
1653
|
-
* lib/og/meta.rb: changed has_one signature [patch by tquas]
|
1654
|
-
|
1655
|
-
* examples/og/mock_example.rb: introduced,
|
1656
|
-
improved, added test-unit code.
|
122
|
+
20-03-2005 George Moschovitis <gm@navel.gr>
|
1657
123
|
|
1658
|
-
*
|
124
|
+
* test/nitro/tc_filters.rb: introduced and implemented,
|
125
|
+
added test for inheritable filters.
|
1659
126
|
|
1660
|
-
|
127
|
+
* lib/nitro/filters.rb (Filter): introduced structure,
|
128
|
+
(#append_after_filter, ..): handle options too,
|
129
|
+
(#gen_filters_call_code): pass action, handle options,
|
130
|
+
fixed filter add code.
|
131
|
+
added :only and :except options.,
|
132
|
+
added support for String filters.
|
133
|
+
made Filters inheritable!
|
1661
134
|
|
1662
|
-
*
|
135
|
+
* lib/nitro/render.rb: keep action name in render.
|
136
|
+
(#render_nothing): implemented.
|
1663
137
|
|
1664
|
-
|
138
|
+
19-03-2005 George Moschovitis <gm@navel.gr>
|
1665
139
|
|
1666
|
-
* lib/
|
1667
|
-
|
1668
|
-
|
1669
|
-
* lib/server/render.rb (RenderUtils): dump method helps in debugging.
|
1670
|
-
|
1671
|
-
* examples/flash/lib/flash.rb: introduced service,
|
1672
|
-
yeah with some SHITY ming code the example works.
|
1673
|
-
|
1674
|
-
* examples/flash: introduced flash example.
|
1675
|
-
|
1676
|
-
10-12-2004 George Moschovitis <gm@navel.gr>
|
140
|
+
* lib/nitro/caching.rb: introduced,
|
141
|
+
(Output): introduced.
|
1677
142
|
|
1678
|
-
|
1679
|
-
|
1680
|
-
* --- VERSION 0.6.0 ---
|
1681
|
-
|
1682
|
-
* bin/new_app.rb: remove .svn dirs.
|
1683
|
-
|
1684
|
-
* final preparations for release.
|
143
|
+
17-03-2005 George Moschovitis <gm@navel.gr>
|
1685
144
|
|
1686
|
-
*
|
145
|
+
* CHANGELOG: branched from 'doc/ChangeLog.1'.
|