nitro 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. data/ChangeLog +4 -2201
  2. data/ChangeLog.1 +2344 -0
  3. data/README +4 -4
  4. data/RELEASES +22 -0
  5. data/bin/new_app.rb +17 -3
  6. data/bin/proto/README +34 -0
  7. data/bin/proto/apache.conf +1 -0
  8. data/bin/proto/app.rb +20 -0
  9. data/bin/proto/config.rb +77 -0
  10. data/bin/proto/root/index.xhtml +43 -0
  11. data/bin/proto/root/style.css +218 -0
  12. data/bin/proto/root/style.xsl +130 -0
  13. data/examples/blog/app.rb +1 -2
  14. data/examples/blog/config.rb +20 -18
  15. data/examples/blog/env.rb +22 -0
  16. data/examples/blog/lib/blog.rb +43 -15
  17. data/examples/blog/root/entry_form.xhtml +1 -1
  18. data/examples/blog/root/index.xhtml +5 -0
  19. data/examples/blog/root/login.xhtml +2 -0
  20. data/examples/blog/root/m/nitro.gif +0 -0
  21. data/examples/blog/root/style.css +83 -0
  22. data/examples/blog/root/style.xsl +7 -3
  23. data/examples/og/run.rb +41 -2
  24. data/examples/tiny/app.rb +1 -2
  25. data/examples/tiny/root/index.xhtml +8 -2
  26. data/examples/tiny/root/nitro-small.png +0 -0
  27. data/lib/glue.rb +1 -1
  28. data/lib/glue/property.rb +9 -3
  29. data/lib/nitro/application.rb +18 -1
  30. data/lib/nitro/builders/form.rb +84 -0
  31. data/lib/nitro/builders/rss.rb +4 -5
  32. data/lib/nitro/builders/table.rb +23 -0
  33. data/lib/nitro/filters.rb +157 -0
  34. data/lib/nitro/l10n.rb +11 -3
  35. data/lib/nitro/scaffold.rb +1 -1
  36. data/lib/nitro/server/render.rb +101 -4
  37. data/lib/nitro/server/shaders.rb +17 -5
  38. data/lib/nitro/service.rb +5 -5
  39. data/lib/nitro/ui/pager.rb +35 -11
  40. data/lib/nitro/version.rb +2 -2
  41. data/lib/og.rb +25 -17
  42. data/lib/og/backend.rb +15 -3
  43. data/lib/og/backends/mysql.rb +30 -3
  44. data/lib/og/backends/psql.rb +44 -3
  45. data/lib/og/meta.rb +117 -10
  46. data/lib/og/version.rb +1 -1
  47. data/lib/xsl/base.xsl +75 -6
  48. data/lib/xsl/ui.xsl +51 -0
  49. data/test/nitro/ui/tc_pager.rb +6 -0
  50. metadata +23 -2
data/ChangeLog CHANGED
@@ -1,2205 +1,8 @@
1
1
 
2
- 23-10-2004 George Moschovitis <gm@navel.gr>
2
+ 10-12-2004 George Moschovitis <gm@navel.gr>
3
3
 
4
- * test/*: fixed directory structure,
5
- fixed include N.
4
+ * bin/new_app.rb: remove .svn dirs.
6
5
 
7
- * RELEASES: updated.
8
-
9
- * lib/nitro/scaffold.rb: add methods to the scaffolded class!
10
- add view_uri method.
11
-
12
- * examples/blog/root/style.xsl: added RSS links.
13
-
14
- * examples/blog/lib/blog.rb (#view_uri): added.
15
-
16
- * lib/nitro/builders/rss.rb: introduced,
17
- headers, list, render, default pubDate,
18
- yeah it works,
19
- Recoded builder to use the RSS library included in Ruby.
20
-
21
- * lib/nitro/builders: introduced.
22
-
23
- * lib/nitro/template.rb: scrapped.
24
-
25
- 22-10-2004 George Moschovitis <gm@navel.gr>
26
-
27
- * lib/xsl/base.xsl: rendering-errors.
28
-
29
- * lib/nitro/server/render.rb (#render): rescue errors, flag with (error),
30
- introduced rendering_errors,
31
- (#log_error)
32
-
33
- 21-10-2004 George Moschovitis <gm@navel.gr>
34
-
35
- * examples/blog/root/view_entry.xml: just cool :)
36
-
37
- * lib/nitro/server/dispatcher.rb (#process): removed api check,
38
- dont set content-type.
39
-
40
- * lib/nitro/server/webrick.rb (#do_GET): removed api check.
41
-
42
- * lib/nitro/server/render.rb (#template_for_method): implemented,
43
- (#transform_template): renamed,
44
- (RenderUtils#compile_method): catch invlaid methods, raise exception,
45
- yeah, correctly handle dir/index.xhtml case,
46
- fixed check for valid methods,
47
- uses api.
48
- (RenderUtils#split_path): extracts api.
49
- (RenderUtils#compile_rest_method): implemented.
50
- set content-type in render methods.
51
- ULTRACOOL: the rest dispatcher works.
52
-
53
-
54
- * lib/nitro/config.rb: $template_ext, $xml_template_ext,
55
- $index_template.
56
-
57
- 18-10-2004 George Moschovitis <gm@navel.gr>
58
-
59
- * lib/nitro/server/dispatcher.rb (#process): support for rpc.
60
-
61
- * lib/nitro/server/webrick.rb (#referer): no shift,
62
- (#do_GET): check for ^rpc case.
63
-
64
- * AUTHORS: updated.
65
-
66
- * RELEASES.og: written.
67
-
68
- * README.og: written.
69
-
70
- * Rakefile: updated to copy glue in the og distribution,
71
- yeah, the Og distribution works.
72
-
73
- * lib/nitro/gfx.rb: moved to Gen.
74
-
75
- * lib/glue: introduced,
76
- moved many files from lib/nitro/* and lib/nitro/utils/* here.
77
-
78
- 17-10-2004 George Moschovitis <gm@navel.gr>
79
-
80
- * README.og: introduced.
81
- * RELEASES.og: introduced.
82
- * ChangeLog.og: introduced.
83
-
84
- * lib/og/version.rb: introduced.
85
-
86
- * Rakefile: introduced Og GemSpec.
87
-
88
- 16-10-2004 George Moschovitis <gm@navel.gr>
89
-
90
- * lib/og/backends/mysql.rb (#create_table): handles sql indices.
91
-
92
- * lib/og/backends/psql.rb (#create_table): handles sql indices.
93
-
94
- * lib/og/meta.rb (MetaLanguage#sql_index): introduced.
95
-
96
- * yeah, scaffolding works!
97
-
98
- * lib/nitro/utils/inflector.rb: temporarily copied from rails.
99
-
100
- * lib/nitro/scaffold.rb: introduced,
101
- (#scaffold): started working on this method,
102
- cool append_features trick,
103
- :noindex flag!
104
-
105
- 15-10-2004 George Moschovitis <gm@navel.gr>
106
-
107
- * --- VERSION 0.4.1 ---
108
-
109
- * README: updated.
110
-
111
- * examples/blog: better documentation.
112
-
113
- 14-10-2004 George Moschovitis <gm@navel.gr>
114
-
115
- * improved RDoc in many files.
116
-
117
- * lib/nitro/logger.rb: show full severity string.
118
-
119
- 13-10-2004 George Moschovitis <gm@navel.gr>
120
-
121
- * lib/nitro/parts.rb: deprecated.
122
-
123
- * lib/og.rb: Og renamed to Database.
124
-
125
- * MAJOR: moved n dir to nitro dir.
126
-
127
- * MAJOR: moved og to a separate dir.
128
-
129
- * lib/p: removed.
130
-
131
- * lib/n/server/webrick.rb: moved from w, moved alod version
132
- to .scrap.
133
-
134
- * lib/n/application.rb (#parse_arguments): improved help text.
135
-
136
- * lib/n/config.rb: :index by default mounts N:Service.
137
-
138
- * examples/tiny/*: recoded from scratch to work with the latest
139
- code.
140
-
141
- * fixed problematic code from tc_properties.
142
-
143
- * lib/n/og.rb: introduced N::Unmanageable marker module.
144
-
145
- * examples/blog/config.rb: more comments,
146
- $srv_address to make more visible.
147
-
148
- 12-10-2004 George Moschovitis <gm@navel.gr>
149
-
150
- * examples/blog/config.rb: moved from webapp.rb.
151
-
152
- * examples/blog/conf/*: removed.
153
-
154
- 11-10-2004 George Moschovitis <gm@navel.gr>
155
-
156
- * Rakefile: use version.
157
-
158
- * lib/n/version.rb: introduced.
159
-
160
- * examples/blog/README: introduced.
161
-
162
- * examples/simple/*: removed.
163
-
164
- * lib/n/sync/*: moved to gen.
165
-
166
- * examples/blog/*: implemented many little things.
167
-
168
- * lib/n/server/shaders.rb (RubyShader#process): MEGA xform <ruby> as
169
- ruby code marker, usefull in xslts :)
170
-
171
- * examples/blog/root/style.xsl: improved.
172
-
173
- * lib/n/server/handlers/*: removed.
174
-
175
- * session works.
176
-
177
- * lib/n/server/dispatcher.rb (#process): create session,
178
- only set content type if not exist,
179
- (#process): added error reporting code.
180
-
181
- * lib/n/server/render.rb (#render_referer): implemented,
182
- (#render): splits the query string,
183
- (#render): handle the query.
184
- (#compile_method): by default redirect_referer.
185
- (#populate): implemented.
186
- (RenderUtils#create_session): introduced,
187
- (#redirect): prepend $srv_url if needed.
188
-
189
- * lib/n/server/w.rb (HTTPRequest#set_query): introduced,
190
- (HTTPRequest#fill): moved populate here,
191
- (#do_GET): rationalize cookies,
192
- (#create_cookie): moved here, optimized and fixed!
193
-
194
- * examples/blog/lib/blog.rb (#del_comment): implemented,
195
- (#login): implemented,
196
- removed Blog,
197
- (Common): added author.
198
-
199
- * lib/n/shaders.rb: (RubyShader#process): transform include commands,
200
- (RubyShader#process): remove <root> elements.
201
-
202
- * lib/xsl/base.xsl: removed x:vblank, x:hblank, use xsl.
203
-
204
- * fuckin mega, i can include from xsl.
205
-
206
- * examples/blog/root/*: created sub pages.
207
-
208
- * examples/blog/root/index.xhtml: yeah i got an included fragment.
209
-
210
- * examples/blog/root/entry-form.xhtml: yeah i got an included fragment.
211
-
212
- 10-10-2004 George Moschovitis <gm@navel.gr>
213
-
214
- * examples/blog/root/view_entry.xhtml: introduced,
215
- comments.
216
-
217
- * n/lib/og/meta.rb (#has_many): generate xxx_count method.
218
-
219
- * lib/n/og/backends/mysql.rb (#get_int): introduced.
220
-
221
- * lib/n/og/backends/psql.rb (#get_int): introduced.
222
-
223
- * lib/n/og/connection.rb (#count): introduced,
224
- optimized some methods by using directly the backend.
225
-
226
- * lib/n/server/w.rb (WEBrick::HTTPRequest#referer): added,
227
- after some fixes, redirect works.
228
-
229
- * lib/n/server/dispatcher.rb (#process): use begin-ensure.
230
-
231
- * examples/blog/lib/blog.rb (#del_entry): implemented,
232
- added relations to the classes,
233
- (#view_entry): introduced.
234
-
235
- * lib/n/server/render.rb (#compile_method): dont check if method
236
- exists, there are other caching tests.
237
- (#render): honour $reload_scripts,
238
- (#initialize): @params helper,
239
- (#redirect): implemented,
240
- (#redirect_referer): implemented
241
-
242
- * examples/blog/root/index.xhtml: kinda working :)
243
-
244
- * examples/blog/root/style.xsl: implemented the xsl,
245
- css float layout,
246
- sidebar.
247
-
248
- * examples/blog/root/style.css: implemented the css.
249
-
250
- 09-10-2004 George Moschovitis <gm@navel.gr>
251
-
252
- * examples/blog/root/index.xhtml: introduced.
253
-
254
- * lib/n/config.rb: 8080 for appserver in debug mode.
255
-
256
- * yeah, the dispatch system works.
257
-
258
- * lib/n/server/render.rb (#render): introduced,
259
- (#split_path): introduced,
260
- (#render_file): dont recompile,
261
- (RenderUtils#compile_method): implemented.
262
- (#render): can be used in method!
263
-
264
- * lib/n/server/dispatcher.rb (#process): use $services,
265
- include Render,
266
- (#process): just delegate to render.
267
-
268
- * examples/blog/lib/blog.rb: improved service,
269
- (BlogMethods#new_entry): works.
270
-
271
- * lib/n/service.rb: introduced.
272
-
273
- * lib/n/og/backends/psql.rb (#read_prop/#write_prop): rewritten to make
274
- more general [b.candler]
275
-
276
- * lib/n/og/backends/mysql.rb (#read_prop/#write_prop): rewritten to make
277
- more general [b.candler]
278
-
279
- 08-10-2004 George Moschovitis <gm@navel.gr>
280
-
281
- * lib/n/server/dispatcher.rb (#process): store request, response,
282
- (#process): more intelligent control/method decomposition.
283
-
284
- * lib/n/server/render.rb (#transform): use the shader pipeline,
285
- yeah xslt is working again.
286
-
287
- * lib/n/server/filters.rb: cleaned up.
288
-
289
- * lib/n/server/shaders.rb: moved here,
290
- (RubyShader): introduced,
291
- (CompressShader): introduced,
292
- (#<<): fixed,
293
- (CompressShader#process): improved compression.
294
-
295
- * lib/n/shaders.rb: brand new shader system,
296
- (XSLTShader): introduced.
297
-
298
- * examples/blog/root/style.xsl: introduced.
299
-
300
- * examples/blog/root/style.css: introduced.
301
-
302
- 07-10-2004 George Moschovitis <gm@navel.gr>
303
-
304
- * lib/n/server/render.rb (#transform): first version,
305
- yeah, i got an xhtml with multiple code segments rendered,
306
- (#transform): intelligent compression/obfuscation of inline
307
- xhtml.
308
-
309
- * changed many files to use File.xxx methods instead of the
310
- removed StringUtils methods.
311
-
312
- * lib/n/utils/string.rb (#filename_from_path): removed,
313
- (#directory_from_path): removed,
314
- (#extension_from_path): removed,
315
- (#unicode_to_iso88597): removed.
316
-
317
- * test/n/utils/tc_string.rb: removed tests from obsolete methods.
318
-
319
- 06-10-2004 George Moschovitis <gm@navel.gr>
320
-
321
- * examples/blog/lib/blog.rb: introduced.
322
-
323
- * lib/n/server/render.rb: introduced,
324
- (#render_file): kinda works.
325
-
326
- * lib/n/server/dispatcher.rb (#process): moved code from w.
327
-
328
- 05-10-2004 George Moschovitis <gm@navel.gr>
329
-
330
- * lib/n/server/w.rb (do_GET): simple action synthesizer,
331
- yeah parameter passing works,
332
- action synthesis gets cached,
333
- action with template only works.
334
-
335
- * use .xhtml as an extension.
336
-
337
- 04-10-2004 George Moschovitis <gm@navel.gr>
338
-
339
- * lib/n/server/w.rb (do_GET): implemented.
340
-
341
- * lib/n/og.rb: check respond_to?(:__props) more fault tolerant.
342
-
343
- * lib/n/parts.rb: no prop_accessor.
344
-
345
- * lib/n/server/appserver.rb (AppServerMixin): add default methods
346
- for initialize.
347
-
348
- * examples/blog: experiments with layout.
349
-
350
- 03-10-2004 George Moschovitis <gm@navel.gr>
351
-
352
- * lib/n/server/w.rb: introduced experimental webrick server.
353
- (WebrickDispatcher): introduced.
354
-
355
- * examples/blog: introduced, will rethink layout.
356
-
357
- * benchmark: introduced.
358
-
359
- * lib/n/og.rb: MEGA, auto class manager works.
360
-
361
- * lib/n/og/backends/psql.rb (#write_prop): fixed YAML write when nil.
362
-
363
- * lib/n/og/backends/mysql.rb (#write_prop): fixed YAML write when nil.
364
-
365
- * all examples run again.
366
-
367
- * lib/n/og/meta.rb: changed order of params.
368
-
369
- * lib/n/properties.rb: changed order of params,
370
- (#prop): works EXACTLY like attr now.
371
- (#prop): class == object by default.
372
-
373
- 02-10-2004 George Moschovitis <gm@navel.gr>
374
-
375
- * yeah tests pass again.
376
-
377
- * lib/n/og/backends/psql.rb: updated to use new properties.
378
-
379
- * lib/n/og/backends/mysql.rb: updated to use new properties.
380
-
381
- * lib/n/properties.rb (Module): dont include __props by default,
382
- (Module#prop): implemented new version,
383
- (Module#__add_prop): renamed, gets reader/writer options.
384
- (Module#add_meta): removed.
385
- introduced prop_reader, prop_writer, prop_accessor,
386
- more strict tests when defining property,
387
- (Module): excellent, DONT override the standard include.
388
-
389
- * lib/n/og.rb: $og_auto_manage_classes introduced.
390
-
391
- 01-10-2004 George Moschovitis <gm@navel.gr>
392
-
393
- * --- VERSION 0.3.0 ---
394
-
395
- * removed some dependencies from the Gem.
396
-
397
- * MAJOR: renamed og get/put to load/save.
398
-
399
- * lib/n/std.rb: removed most NilClass overrides [b.candler]
400
-
401
- * lib/n/og/connection.rb (#delete): fixed delete with no descendants,
402
- og_pre_delete callback.
403
-
404
- * lib/n/og/backends/psql.rb (#read_prop): fixed YAML bug.
405
-
406
- * lib/n/og/backends/mysql.rb (#read_prop): fixed YAML bug.
407
-
408
- * lib/n/og.rb (#enchant): all method,
409
- (#manage_classes): introduced,
410
- (#enchant): delete! method,
411
- (#enchant): klass.save() method.
412
-
413
- * examples/og/run.rb: totally recoded the example to work with Og,
414
- yeah the example fully works.
415
-
416
- * moved db files to .scrap
417
-
418
- * examples/simple: YEAH works with og.
419
-
420
- * lib/n/server/webrick.rb (#do_GET): og connection per request.
421
-
422
- 31-10-2004 George Moschovitis <gm@navel.gr>
423
-
424
- * lib/n/og/backends/mysql.rb: converted to the new refactored code.
425
-
426
- * lib/n/og/backend.rb (#eval_og_insert): moves the code here,
427
- use a custom oid_generator,
428
- factored out deserialize code,
429
- pre/post_inser_update.
430
- (#eval_og_update): generate callbacks.
431
-
432
- * lib/n/og/backends/psql.rb (#eval_og_insert): if the managed
433
- object defines pre/post callbacks, insert them,
434
- (OgUtils::oid_generation_code): introduced.
435
-
436
- * no __og, just og_xxx.
437
-
438
- 30-10-2004 George Moschovitis <gm@navel.gr>
439
-
440
- * lib/n/og/backends/psql.rb (#write_prop): fixed,
441
- (#initialize): autocreate database if not found,
442
- made createdb/dropdb class methods.
443
-
444
- * lib/n/og/backends/mysql.rb (#write_prop): fixed,
445
- (#initialize): autocreate database if not found,
446
- made createdb/dropdb class methods,
447
- no transactions for mysql.
448
-
449
- * lib/n/og/backend.rb (OgUtils#table): remove leading module,
450
- (#transaction, #start, #commit, #rollback): working transaction
451
- support,
452
- added missing methods from the backend implementations.
453
-
454
- * lib/n/og/meta.rb: introduced,
455
- (#belongs_to): mega it works,
456
- (#has_many): mega it works, INCREDIBLE,
457
- (OgMetaLanguage): use a separate module,
458
- (#has_many): correct calculation of linkback property,
459
- update og_descendants
460
-
461
- * lib/n/og.rb (#enchant): more enchantments,
462
- (#create_db!): introduced,
463
- (#drop_db!): introduced,
464
- (#pupdate!): enchant.
465
-
466
- * lib/n/og/connection.rb (#select): added,
467
- (#select_all): added, can use sql without select,
468
- (#delete): it fuckin works and deletes descendants too!
469
- (#transaction, #start, #commit, #rollback): working transaction
470
- support,
471
- removed all N::OgUtils.table crap.
472
-
473
- 29-10-2004 George Moschovitis <gm@navel.gr>
474
-
475
- * lib/n/og/backends/mysql.rb: introduced,
476
- create_table works,
477
- fuckin mega, insert works,
478
- excellent, deserialize works,
479
- (#valid?): implemented
480
-
481
- * lib/n/og/backends/psql.rb: introduced,
482
- yeah, i got a table created,
483
- store Array,Hash,Object etc as text,
484
- yeah, it inserts an object,
485
- (#eval_og_deserialize): implemented,
486
- (#map_fields): factored out.
487
- (#valid?): implemented
488
-
489
- * lib/n/og/managed.rb: introduced.
490
-
491
- * lib/n/og/backend.rb: introduced,
492
- different exec/query/safe_exec/safe_query.
493
-
494
- * test/n/tc_og.rb: introduced.
495
-
496
- * lib/n/og/connection.rb: introduced,
497
- (#update_properties): introduced and works,
498
- (#getxxxx): get methods work,
499
- (#get_all): works.
500
-
501
- * lib/n/og.rb: introduced the new O-R library a hybrid between
502
- ndb and ActiveRecord,
503
- (ManagedClassMeta): introduced,
504
- (#enchant): nice :),
505
- cool, use capitalize to get the Backend,
506
- (#get_connection): use a thread-local variable,
507
- (#put_connection): use a thread-local variable,
508
- (#wrap_method): uses a connection from Thread.local,
509
- (#convert): converts a normal object to a managed object,
510
- (#manage): fixed bug with create_table,
511
- (#enchant): YEAH, added the first enchantments :)
512
-
513
- 28-10-2004 George Moschovitis <gm@navel.gr>
514
-
515
- * lib/n/connection.rb (#create_schema, #drop_schema): removed.
516
-
517
- * lib/n/managed.rb: fix in __db_read_row.
518
-
519
- * lib/n/server/appserver.rb: show where app server is listening too.
520
-
521
- * examples/simple/conf/*: greatly simplified configuration.
522
-
523
- * lib/n/config.rb: moved many standard configurations
524
- here.
525
-
526
- 27-10-2004 George Moschovitis <gm@navel.gr>
527
-
528
- * lib/n/db.rb: dont require utils and connection by default.
529
-
530
- * lib/n/db/connection.rb (#count_children): use get_res_value,
531
- greatly improved the organization and documentation.
532
-
533
- * lib/n/db/mysql.rb: added latest psql fixes,
534
- (#calc_fields): reimplemented,
535
- (#get_res_value): introduced.
536
-
537
- * test/n/tc_db_mysql.rb: many fixes.
538
-
539
- * test/n/server/tc_filters.rb: added.
540
-
541
- * lib/n/db/psql.rb (#retry_query): should raise after retries [b.candler],
542
- (#retry_query, #next_oid): use //i in error checks [b.candler],
543
- (#exec, #exec_clear): moved from connection,
544
- removed PsqlBackend, overload DbConnection instead.
545
-
546
- * MAJOR: removed the App namespace module from many many files.
547
-
548
- * bin/new_project.rb: moved from etc/
549
-
550
- * lib/n/server: renamed from app, more standard naming.
551
-
552
- * lib/n/app/requestpart.rb: renamed.
553
-
554
- * lib/n/app/webrick.rb: merged webrick-servlet.rb
555
-
556
- * lib/n/server/PLAYBACK.txt: removed
557
-
558
- * lib/n/server/RESEARCH.txt: removed
559
-
560
- 26-10-2004 George Moschovitis <gm@navel.gr>
561
-
562
- * lib/n/app/dispatcher.rb: introduced for experiments in design.
563
-
564
- * lib/n/logger.rb: cleaned up formating with some Ruby magic.
565
-
566
- * lib/n/shaders.rb (NilShader): name = nil for better dumps.
567
-
568
- * lib/n/app/webrick-servlet.rb: alias :do_POST.
569
-
570
- * Rakefile, added builder as required in the Gem.
571
-
572
- * lib/n/app/handlers/page-handler.rb (#transform_script):
573
- support <?rb as marker [c.nasis].
574
-
575
- 25-10-2004 George Moschovitis <gm@navel.gr>
576
-
577
- * --- VERSION 0.2.0 ---
578
-
579
- * test cases pass again.
580
-
581
- * lib/n/app/webrick-servlet.rb: fixed bug with default index,
582
- better handler selection.
583
-
584
- * lib/n/db/utils.rb: prepend _ before tables. it was dangerous!
585
-
586
- * lib/n/db.rb: wrap drop table.
587
-
588
- * lib/n/db/psql.rb: use Base64.decode64.
589
-
590
- * examples/ndb/rub.rb: implemented.
591
-
592
- 23-10-2004 George Moschovitis <gm@navel.gr>
593
-
594
- * examples/ndb/*: introduced.
595
-
596
- * lib/n/app/webrick-servlet.rb (#create_request): enforce default
597
- index if missing.
598
-
599
- * lib/n/config.rb: index_filename renamed from $srv_default_file.
600
-
601
- * lib/n/utils/string.rb (#extension_from_path): returns nil if no
602
- exception.
603
-
604
- * lib/n/app/server.rb: info msg on start to let the admin know,
605
- the server has started.
606
-
607
- * lib/n/app/webrick.rb: extend from App::Server.
608
-
609
- * examples/tiny/ctl: run without apache.
610
- * examples/tiny/conf/config.rb: run without apache.
611
-
612
- * examples/simple/README: improved.
613
-
614
- 22-10-2004 George Moschovitis <gm@navel.gr>
615
-
616
- * README: updated.
617
-
618
- * fixed many file permissions.
619
-
620
- * examples/simple/conf/config.rb: fixes.
621
-
622
- * examples/simple/app.rb: fixes.
623
-
624
- * test/*: copied all tests here,
625
- too many fixes to list to make all tests pass again.
626
-
627
- * Rakefile: fixed :install,
628
- TestTask.
629
-
630
- * lib/n/tools: removed.
631
-
632
- * lib/n/app/request.rb: params alias for parameters.
633
-
634
- * lib/xsl/ce.xsl: removed, not ready.
635
-
636
- * lib/xsl/localization.xsl: deprecated.
637
-
638
- * no need for action=#{request.uri} in forms.
639
-
640
- * improved RDoc documentation to many, many souce files.
641
-
642
- 21-10-2004 George Moschovitis <gm@navel.gr>
643
-
644
- * lib/n/db/make-release.sh: removed.
645
-
646
- * improved RDoc documentation to many, many, many source files.
647
-
648
- * lib/n/app/user.rb (AnonymousUser#role?): introduced.
649
-
650
- * lib/n/db/utils.rb (#write_prop): use base64 encoding.
651
-
652
- * lib/n/db/psql.rb (#read_prop): use base64 encoding.
653
-
654
- * Rakefile: added dependency for postgres-0.7.1
655
-
656
- * doc/*: moved many txt files to the gen/doc directory.
657
-
658
- 21-10-2004 George Moschovitis <gm@navel.gr>
659
-
660
- * --- VERSION 0.1.2 ---
661
-
662
- * README: final changes before the release.
663
-
664
- 20-10-2004 George Moschovitis <gm@navel.gr>
665
-
666
- * lib/n/server/cluster.rb: removed.
667
-
668
- * lib/n/tools: cleaned up.
669
-
670
- * lib/n/ui/pager.rb: removed old N2 stuff.
671
-
672
- * examples/simple/env.rb: introduced and fixed.
673
-
674
- * reworked many source files to generate better rdoc.
675
-
676
- * packaged as a Gem.
677
-
678
- * Rakefile: read version from config,
679
- fixed gem spec to include all files.
680
-
681
- * examples/tiny/*: introduced tiny example.
682
-
683
- * AUTHORS: introduced.
684
-
685
- * lib/n/app/handlers/page-handler.rb: FUCKIN INCREDIBLE, the xml
686
- parser was not needed, removed!!!
687
-
688
- * lib/n/shaders.rb: converted to use ruby-xslt.
689
-
690
- * README: started working on it.
691
-
692
- * MIT-LICENCE: added.
693
-
694
- 19-10-2004 George Moschovitis <gm@navel.gr>
695
-
696
- * lib/n/app/webrick-servler.rb (#do_GET): better error handling.
697
-
698
- * examples/simple/conf/apache.conf: cleaned.
699
-
700
- * examples/simple/*: working sitemap.
701
-
702
- * examples/simple/root/comments.si: introduced.
703
- * examples/simple/root/comments-form.ss: introduced.
704
-
705
- * lib/xsl/base.xsl: deprecated old stuff,
706
- removed <x:include> macro.
707
-
708
- * lib/db/psql.rb (#create_table): always create oid_seq and surpress
709
- the possible error,
710
- better error reposritng in methods.
711
-
712
- * examples/simple/lib/lc-en.rb: introduced.
713
-
714
- * examples/simple/lib/methods.rb: introduced,
715
- add_article.
716
-
717
- * examples/simple/lib/entities.rb: introduced.
718
-
719
- * lib/n/shaders.rc (NilShader): introduced.
720
- (Shader): transform alias.
721
-
722
- * lib/n/app/user.rb: introduced,
723
- (AnonymousUser): defined.
724
-
725
- * lib/n/app/handlers/page-handler.rb: use $default_shader,
726
- (#calc_tag): check if shader exists,
727
- (#transform_script): added support for nil shader,
728
- (#transform_script): new ULTRA COOL method macro,
729
- (#transform_script): mega, resolve dynamic includes too.
730
-
731
- * examples/simple/ctl: improved.
732
-
733
- * examples/simple: introduced,
734
- copied some files from app to build the example,
735
- use shaders,
736
- use css.
737
-
738
- * etc/new-project.rb: introduced.
739
-
740
- * etc: moved from scripts.
741
-
742
- 18-10-2004 George Moschovitis <gm@navel.gr>
743
-
744
- * lib/n/db/connection.rb (#match): use safe query.
745
-
746
- * lib/n/app/webrick-servlet.rb (#do_GET): even better error log.
747
-
748
- * lib/n/db.rb: added get_by_oid wrapper.
749
-
750
- * Rakefile: excellent builds tgs, zip and gem,
751
- dont include .svn dirs,
752
- RDocTask.
753
-
754
- * excellent, the reference app runs again.
755
-
756
- 18-10-2004 George Moschovitis <gm@navel.gr>
757
-
758
- * lib/p: introduced
759
-
760
- * lib/xsl: copied the old shaders directory.
761
-
762
- * bin/cluster.rb: link to the cluster.
763
-
764
- 18-10-2004 George Moschovitis <gm@navel.gr>
765
-
766
- * MAJOR CHANGE: recreated directory structure under /nitro
767
- to make more compatible with other ruby projects.
768
-
769
- 17-10-2004 George Moschovitis <gm@navel.gr>
770
-
771
- * app/conf/debug-config.rb: no error_page when debugging to avoid
772
- loops.
773
-
774
- * n/app/webrick-servlet.rb: better default error page,
775
- greatly improved info on default error page.
776
-
777
- * documented many source files.
778
-
779
- * n/sitemap.rb: moved out of UI namespace,
780
- (SitePage): added extra fields: real_uri, shader, level,
781
- (SiteMap): fixed to_s, extend from Hash.
782
-
783
- * n/app/handlers/page-handler.rb (#evaluate_script): dont use
784
- try_render,
785
- overload_paths FUCKIN MEGA!
786
-
787
- * n/app/handlers/page-handler.rb (#evaluate_script): dont use
788
- try_render,
789
- overload_paths FUCKIN MEGA!
790
-
791
- * started using :: for Ruby standard methods everywhere.
792
-
793
- * Rakefile: introduced.
794
-
795
- * n/utils/gfx.rb (#grab_exif): implemented.
796
-
797
- * app/env.rb: require "n/db/tools".
798
-
799
- * p/pictures/entities.rb (Picture#upload): introduced and improved
800
- from original code.
801
-
802
- * p/files/entities.rb: added path prop accessor.
803
-
804
- * p/pictures/methods.rb: introduced,
805
- (#upload_picture): implemented.
806
-
807
- * p/pictures/part.rb: introduced
808
-
809
- * p/pictures/entities.rb: introduced
810
-
811
- * p/feeds/part.rb: introduced.
812
-
813
- * p/feeds: renamed from syndication.
814
-
815
- 14-10-2004 George Moschovitis <gm@navel.gr>
816
-
817
- * p/geoloc/entities.rb (#country_code_for_ip): introduced.
818
-
819
- * p/geoloc/scripts/geoip-to-db.rx: introduced and recoded.
820
-
821
- * n/db/tools.rb (DbTools): converted to class methods.
822
- (DbTools#alter_table): improved,
823
- after many fixes the alter table works even for non entities.
824
-
825
- 13-10-2004 George Moschovitis <gm@navel.gr>
826
-
827
- * n/db/managed.rb (Module#manage): dont define update methods
828
- for classes that do not define a primary key.
829
-
830
- * p/geoloc/methods.rb (distance): introduced and optimized.
831
-
832
- * converted all prop_accessors to the latest code.
833
-
834
- * n/db/psql.rb: create table works with new properties api
835
-
836
- * n/.tc-properties.rb: introduced.
837
-
838
- * n/properties.rb: removed sql_type,
839
- (prop_accessor): changed signature.
840
-
841
- * n/parts.rb: added documentation,
842
- added dependencies variable in part.
843
-
844
- * n/app/webrick-servlet.rb: get correct last_ip
845
-
846
- 12-10-2004 George Moschovitis <gm@navel.gr>
847
-
848
- * p/sync: introduced.
849
-
850
- * p/content/mixins.rb: Permissions -> ContentFlags.
851
-
852
- * p/files/part.rb: introduced.
853
-
854
- 12-10-2004 George Moschovitis <gm@navel.gr>
855
-
856
- * p/*: some fixes to make the mixins work again.
857
-
858
- 12-10-2004 George Moschovitis <gm@navel.gr>
859
-
860
- * p/glue/part.rb: correctly require methods.
861
-
862
- * n/mixins/*: removed
863
-
864
- * n/mixins/rankable.rb: moved to scrap.
865
-
866
- * p/content/mixins.rb: introduced copied existing modules.
867
-
868
- * p/glue/mixins.rb: introduced copied existing modules.
869
-
870
- * n/mixins.rb: introduced, one file for all mixins.
871
-
872
- * use module instead of namespace.
873
-
874
- * n/db/psql.rb: use safe_query in create/drop schema.
875
-
876
- * n/db/*: tried to make compatible with mysql, failed.
877
-
878
- * n/db/managed.rb (sql_index): improved.
879
-
880
- 11-10-2004 Elias Athanasopoulos <elathan@navel.gr>
881
-
882
- * n/db/mysql.rb: Db backend for MySQL.
883
- * n/.tc-db-mysql.rb: Test Unit for Db's MySQL backend.
884
-
885
- * scrap/fix-geo-sql.rb: New script. It produces an SQL schema for a
886
- table with Geographical information about IP addresses.
887
- * scrap/geo.csv: New file. Geographical Information about IP
888
- address in CSV format.
889
-
890
- 11-10-2004 George Moschovitis <gm@navel.gr>
891
-
892
- * n/properties.rb: prop_accessor alias,
893
- no trailing __ in __force methods.
894
-
895
- * p/content/entities.rb (Lockable): introduced,
896
- (Versionable): introduced,
897
- (Schedulable): introduced.
898
-
899
- 11-10-2004 George Moschovitis <gm@navel.gr>
900
-
901
- * n/db/psql.rb (#create_table): works with new sql_index.
902
-
903
- * n/db/managed.rb (Module#sql_index): redefined, accepts strings
904
- and symbols, unique param + extrasql.
905
-
906
- * p/geoloc: introduced geoloc part.
907
-
908
- * app/root/m/msg: message big icons.
909
-
910
- * p/files: introduced part.
911
-
912
- * gems/ndb.gemspec: fixed to include all needed files.
913
-
914
- * n/db/utils.rb (DbUtils#write_prop): support for Object,
915
- Array, Hash objects.
916
-
917
- * n/db/psql.rb (DbUtils#read_prop): support for Object, Array,
918
- Hash objects.
919
-
920
- 10-10-2004 George Moschovitis <gm@navel.gr>
921
-
922
- * gems: dir introduced.
923
-
924
- * n/README: introduced.
925
-
926
- * cell.gemspec: gemspec for cell engine.
927
-
928
- * ndb.gemspec: gemspec for db.
929
-
930
- * n/parts.rb (#prepared_statements): introduced,
931
- added comments.
932
-
933
- * n/db/connection.rb: removed again sibling methods.
934
-
935
- * n/db/psql.rb: EXCELLENT, mixin the backend into DbConnection.
936
-
937
- * n/db.rb: support for multiple backends.
938
-
939
-
940
- * n/db/mysql.rb: Db backend for MySQL.
941
- n/.tc-db-mysql.rb: Test Unit for Db's MySQL backend.
942
-
943
- * scrap/fix-geo-sql.rb: New script. It produces an SQL schema for a table with
944
- Geographical information about IP addresses.
945
- scrap/geo.csv: New file. Geographical Information about IP address in CSV format.
946
-
947
-
948
-
949
- * n/db/mixins.rb: (Entity#__db_pre_insert): use next_oid
950
-
951
- * n/db/README: slightly improved documentation.
952
-
953
- * n/db/managed.rb: removed trailing __ from insert, update,
954
- (#__db_eval_db_insert): use retry_query,
955
- added more comments.
956
-
957
- * n/utils/time.rb: removed sql related methods.
958
-
959
- * n/db/connection.rb: moved many methods to n/db/psql.rb
960
-
961
- * n/db/psql.rb: introduced,
962
- (#initialize),
963
- (#retry_query), (#safe_query)
964
- (#close): extracted from n/db/connection.rb,
965
- (#create_schema), (#drop_schema): introduced,
966
- sql time/date methods,
967
- (#next_oid): implemented,
968
- better error messages
969
-
970
- * n/db/utils.rb (#resolve): removed,
971
- moved method implementations to backends.
972
- (#sql_table_to_class): removed,
973
-
974
- * n/db/utils.rb: introduced, copied stuff from connection.
975
-
976
- * n/db/connection.rb: cleaned up the code,
977
- match? alias.
978
-
979
- * n/db.rb: made wrap_method and rest private,
980
- removed unused methods,
981
- cleaned up the code.
982
-
983
- * n/db/make-release.sh: make n/Db release.
984
-
985
- * app/root/s/simple/style.css: updated msg styles.
986
-
987
- * yeah, I got comments displayed.
988
-
989
- * n/utils/time.rb (#date_time): copied from old code and simplified.
990
-
991
- * p/users/entities.rb (User): icon -> to_icon
992
- (User#to_html): introduced.
993
-
994
- * p/markup/censors.rb: updated.
995
-
996
- * p/markup/part.rb: introduced, copied from def.rb
997
- MarkupUtils.
998
-
999
- * app/root/s/simple/shader.xsl (x:footer): correct w3c.validator
1000
-
1001
- 07-10-2004 George Moschovitis <gm@navel.gr>
1002
-
1003
- * correct :nodoc: all for test cases.
1004
-
1005
- * n/db/*: added much more RDoc comments.
1006
-
1007
- * created n/db distribution.
1008
-
1009
- * p/messages/def.rb: deleted.
1010
-
1011
- * n/.tc-db.rb: tests run again.
1012
-
1013
- 06-10-2004 George Moschovitis <gm@navel.gr>
1014
-
1015
- * more mass replaces to make older code work.
1016
-
1017
- * p/messages/*: many many fixes to make it work again.
1018
-
1019
- * p/messages/methods.rb: introduced.
1020
-
1021
- 06-10-2004 George Moschovitis <gm@navel.gr>
1022
-
1023
- * p/messages/part.rb: introduced.
1024
-
1025
- * app/conf/apache.conf: users redirect.
1026
-
1027
- * p/users/methods.rb (#register_user): userprofile gets created correctly.
1028
-
1029
- * n/db/connection.rb (#retry_query): fixed,
1030
- (DbUtils#sql_write_prop): fixed Time, Date writing
1031
-
1032
- * n/app/request.rb (Request#get_cookie): fixed unescape bug.
1033
-
1034
- * app/root/s/simple/shader.xsl: top_ads,
1035
- introduced debug-options in footer,
1036
- rss, home link in header.
1037
-
1038
- * app/root/s/simple/style.css: improved css.
1039
-
1040
- * n/DOCS/css.txt: introduced, info about centering page.
1041
-
1042
- 05-10-2004 George Moschovitis <gm@navel.gr>
1043
-
1044
- * p/users/entities.rb (RoleOwner#add_role): fixed NASTY bug.
1045
-
1046
- * p/users/methods.rb (#update_roles): introduced,
1047
- yeah, it works like cooler,
1048
- handel full clear.
1049
-
1050
- * p/glue/std.js: intoduced,
1051
- (cbSetAll): introduced.
1052
-
1053
- * p/locales/lc-en.rb: added more strings.
1054
-
1055
- * p/users/roles-form.ss: introduced
1056
-
1057
- 04-10-2004 George Moschovitis <gm@navel.gr>
1058
-
1059
- * app/slude/conf/debug-conf.rb: log to STDERR.
1060
-
1061
- * app/root/s/simple/shader.xsl: use <noscript> to be compatible with
1062
- links.
1063
-
1064
- * YEAH, editing with vi :)
1065
-
1066
- * initialize(*args) for all db mixins.
1067
-
1068
- * n/app/webrick-servlet.rb: make error page work for .rx pages.
1069
-
1070
- * n/db.rb (#wrap_method): use an ensure clause, NASTY bug!
1071
-
1072
- * n/db/connection.rb (#delete): use exec_clear.
1073
-
1074
- * p/users/entities.rb (RolesOwner): introduced,
1075
- (RolesOwner): moved level and stuff.
1076
-
1077
- * n/utils/time.rb (#sql_date): handle nil input.
1078
-
1079
- * n/parts.rb: $roles, roles().
1080
-
1081
- * p/content/entities.rb (Category): moved from category.rb
1082
-
1083
- * n/category.rb: removed compatibility stuff.
1084
-
1085
- 03-10-2004 George Moschovitis <gm@navel.gr>
1086
-
1087
- * p/users/methods.rb (#add_role): recoded,
1088
- (#del_role): recoded.
1089
-
1090
- * p/users/entities.rb (User#role?): introduced,
1091
- (Role): use char(16) for name,
1092
- (User#add_role): introduced,
1093
- (User#del_role): introduced.,
1094
- (Role#delete): class method to delete roles,
1095
- (UserGroup): introduced.
1096
-
1097
- * n/app/page-handler.rb (#transform_script): encode shader in cached
1098
- transformed scripts,
1099
- also check the shader mtime.
1100
-
1101
- * scripts to prepare db distribution.
1102
-
1103
- * n/app/webrick-servlet.rb (WEBrick): overload HTTPRequest,
1104
- (HTTPRequest#parse_uri): overload to add rewrite support.
1105
- (#__rewrite): temp hack,
1106
- (#__rewrite): made more flexible.
1107
-
1108
- * n/DOCS/bugs.txt: introduced.
1109
-
1110
- * p/users/part.rb: experimental rewrites.
1111
-
1112
- * n/parts.rb: use title/body like content unit,
1113
- (Part#initialize): call rewrites on init.
1114
- introduced $rewrites.
1115
-
1116
- * n/DOCS/todo.txt: introduced.
1117
-
1118
- * n/app/page-handler.rb (#transform_script): cache the transformed
1119
- scripts,
1120
- calculate super time, invalidate cache from subscripts, MEGA,
1121
- optimized to avoid loading .ss files for transformed.
1122
-
1123
- * app/.cache: introduced cache link.
1124
-
1125
- 01-10-2004 George Moschovitis <gm@navel.gr>
1126
-
1127
- * n/mixins/permissions.rb: introduced.
1128
-
1129
- * n/utils/time.rb (#parse_sql_date): handle nils.
1130
-
1131
- * n/db/connection.rb (#retry_query): dont allow infinite looped,
1132
- better catch the relation not exists exception.
1133
-
1134
- * n/ui/date-select.rb: fixes,
1135
- reverse order if yorder.
1136
-
1137
- * p/user/methods.rb (#handle_profile): check for .store,
1138
- grab birthdate,
1139
- (#birthday_users): introduced,
1140
- gets multiparams.
1141
-
1142
- * n/db/connection.rb (#sql_write_prop): handle dates.
1143
-
1144
- * n/utils/time.rb (#sql_date): introduced,
1145
- (#parse_sql_date): introduced.
1146
-
1147
- * n/ui/date-select.rb: introduced.
1148
-
1149
- * p/users/icon-form.ss: introduced
1150
- * app/root/users/edit-icon.sx: introduced.
1151
-
1152
- * n/app/webrick-servlet.rb (#do_GET): ultracool internal redirect
1153
- to the error page.
1154
-
1155
- * app/root/glues/errors.sx: styled.
1156
-
1157
- * app/root/layout.css: static style.
1158
-
1159
- * p/glue/part.rb: introduced
1160
- * p/glue/methods.rb: same
1161
-
1162
- * app/root/glue: moved from system.
1163
-
1164
- * n/std.rb: removed CVSXXX methods.
1165
-
1166
- 29-09-2004 George Moschovitis <gm@navel.gr>
1167
-
1168
- * app/users/emails/reset-password.st: introduced.
1169
-
1170
- * app/users/emails/register.st: introduced.
1171
-
1172
- * n/utils/mail.rb (#send): made it work.
1173
-
1174
- * p/users/methods.rb (#signup_user): use the mail template,
1175
- (#register_user): send email,
1176
- (#reset_password): send email
1177
-
1178
- 29-09-2004 George Moschovitis <gm@navel.gr>
1179
-
1180
- * n/utils/template.rb: simple templating system.
1181
-
1182
- 29-09-2004 George Moschovitis <gm@navel.gr>
1183
-
1184
- * app/conf/apache.conf: moved from n/app.
1185
-
1186
- * app/conf/config.rb: requires files too.
1187
-
1188
- * removed $app_ prefix from some conf variables.
1189
-
1190
- * app/root/users/emails/signup.st: introduced template.
1191
-
1192
- * n/app/filters/autologin.rb: CHECK the password in the cookie, argh!
1193
-
1194
- * p/users/methods.rb (#set_password): introduced,
1195
- (#validate_password): introduced,
1196
- (#force_login): introduced
1197
-
1198
- * n/app/request.rb (Request#get): works like delete now.
1199
-
1200
- 29-09-2004 George Moschovitis <gm@navel.gr>
1201
-
1202
- * n/app/request-part.rb: introduced, copied functionality from
1203
- request.
1204
-
1205
- * app/root/s/shader.xsl: use relative ref to base.xsl.
1206
-
1207
- * app/conf/config.rb: changed all refs to navel/,
1208
- removed $app_base_dir.
1209
-
1210
- 28-09-2004 George Moschovitis <gm@navel.gr>
1211
-
1212
- * n/db/connection.rb: include DbTools.
1213
-
1214
- * n/app/request.rb (#delete): rebuild qs only from parmeters with
1215
- String keys.
1216
-
1217
- * n/app/webrick-servlet.rb (#create_request): only set valid
1218
- parameters to avoid having to use param?
1219
-
1220
- * app/app.rb: moved app stuff to config, removed appsrv.
1221
- * app/env.rb: updated
1222
-
1223
- 27-09-2004 George Moschovitis <gm@navel.gr>
1224
-
1225
- * n/mixins/schedulable.rb: introduced.
1226
-
1227
- * p/users/methods.rb: _user postfix to methods,
1228
- (#ban_user): no method check,
1229
- use kick_user.
1230
- (#unban_user): no method check,
1231
- (#close_user): implemented,
1232
- (#open_user): implemented
1233
-
1234
- * MEGA, fixed many refs to args()/set_args().
1235
-
1236
- * n/app/request.rb: removed old apache stuff,
1237
- removed arg related stuff,
1238
- (RequestPart): local_path -> body.
1239
-
1240
- * p/users/methods (#del_user): fixed.
1241
-
1242
- * n/db/connection.rb (DbConnection#get_by_oid): introduced, used by
1243
- get.
1244
-
1245
- * n/app/fragment.rb: updated to be compatible with
1246
- lru cache changes.
1247
-
1248
- * n/app/script.rb: updated to be compatible with
1249
- lru cache changes.
1250
-
1251
- * n/app/handlers/page-handler.rb: updated to be compatible with
1252
- lru cache changes.
1253
-
1254
- * n/utils/cache.rb: incorporated drak's changes,
1255
- simplified/beautyfied more.
1256
-
1257
- * n/app/session.rb (Session#login): check if user is banned.
1258
-
1259
- * n/db/connection.rb: (#get): also accept name.
1260
-
1261
- * n/db/mixins.rb: created and moved methods from managed.
1262
-
1263
- * n/db/tools.rb: created and moved methods from connection.
1264
-
1265
- * ChangeLog: moved to the root of the repository.
1266
-
1267
- * n/app/request.rb: removed many old apache stuff,
1268
- (#delete): renamed consume method, se the delete name to make
1269
- the request compatible with hashes. So more methods are useful
1270
- from the irb.
1271
-
1272
- * p/users/methods.rb (#register): create and populate UserData,
1273
- (#ban): introduced,
1274
- yeah ban kicks out!
1275
-
1276
- * n/db.rb: wrap exec, exec_and_clear,
1277
- more wraps.
1278
-
1279
- * n/utils/time.rb (#sql_timestamp): pass Time.now by default.
1280
-
1281
- * p/users/entities.rb (User#login): update userdata,
1282
- set last_ip.
1283
- (UserData#intialize): set good defaults,
1284
- (User): added flags,
1285
- (User): added magic,
1286
- (User#banned?): introduced,
1287
- (User#closed?): introduced
1288
-
1289
- 23-09-2004 George Moschovitis <gm@navel.gr>
1290
-
1291
- * yeah, user icons work :)
1292
-
1293
- * n/app/request.rb (RequestPart#save): return save part.
1294
-
1295
- * n/utils/gfx.rb (#create_thumbnail): greatly simplified
1296
-
1297
- * app/root/panel.ss: deleted
1298
-
1299
- * n/utils/cache.rb: LRU, LRUSentinel -> Item, Sentinel.
1300
-
1301
- * n/app/fragment.rb: removed old code,
1302
- extend N::LRU.
1303
-
1304
- * n/app/script.rb: no defcode, pagecode variables,
1305
- (#__cache_put): just pass fragment.
1306
-
1307
- 22-09-2004 George Moschovitis <gm@navel.gr>
1308
-
1309
- * n/db/connection.rb (DbConnection#child): get one child!
1310
-
1311
- * n/db/managed.rb (ManagedChild): introduced this common case,
1312
- (Managed#__db_pk): return string.
1313
- (Managed#__update): uses __db_pk.
1314
-
1315
- * p/users/methods.rb (#register): create user profile,
1316
- create user data,
1317
- (#handle_profile): yeah, the profile gets updated.
1318
-
1319
- * p/users/entities.rb (Settings): renamed UIProfile,
1320
- (Profile): added more props.
1321
- (BaseProfile): introduced.
1322
- (User): added extra fields.
1323
-
1324
- 22-09-2004 Elias Athanasopoulos <elathan@navel.gr>
1325
-
1326
- * n/application.rb (Application#parse_arguments): Use optparse.
1327
-
1328
- * app/ctl: Modified for optparse.
1329
-
1330
- * scrap/user-convert.rb: New script. Convert OG users to DB users.
1331
- * scrap/user-report.rb: New script. Find users with duplicate emails.
1332
-
1333
- 22-09-2004 George Moschovitis <gm@navel.gr>
1334
-
1335
- * n/app/request.rb (Request#set_errors): only set errors unless empty.
1336
-
1337
- * added many missing files in svn.
1338
-
1339
- 21-09-2004 George Moschovitis <gm@navel.gr>
1340
-
1341
- * FUCKIN MEGA, env works PERFECTLY!
1342
-
1343
- * n/app/cluster.rb: start a drb $sessions.
1344
-
1345
- * app/env.rb: yeah, use custom drb port, it participates in the cluster
1346
- now.
1347
-
1348
- * n/app/server.rb (ServerMixin#initialize): use $drb port form config,
1349
- connect to dbr $sessions.
1350
-
1351
- * n/app/filters/autologin.rb: del auth cookie when stale!
1352
-
1353
- * yeah, login-logout works correctly.
1354
-
1355
- * n/app/parts.rb: removed PartMethods alltogether.
1356
-
1357
- * n/app/session.rb (Session#login): call $sessions.logout,
1358
- no request param, not needed.
1359
- (Session#logout): fixed cluster update,
1360
- always del the nauth cookie,
1361
- no params, made more flexible.
1362
- (SessionManager): online_users -> online,
1363
- more simplifications,
1364
- (SessionManager#session_for_name): fixed.
1365
- (Session#finalize): removed.
1366
-
1367
- * n/app/request.rb: renamed :ERRORS to "ERRORS",
1368
- (Request#redirect): enforce a meaningful deafult url,
1369
- (Request#set_errors): introduced,
1370
- pass errors as transaction entities to be more general,
1371
- (Request#get_cookie): fixed NASTY bug,
1372
- (Request#errors_to_a): fixed!
1373
- (Request#get_cookie): fixed get_cookie,
1374
- (Request#del_cookie): implemented.
1375
-
1376
- 20-09-2004 George Moschovitis <gm@navel.gr>
1377
-
1378
- * n/utils/cache.rb: totaly recoded algorithm,
1379
- yeah seems to work and pass the testcases,
1380
- extend from Hash to be more flexible,
1381
- ultracool touch method.
1382
-
1383
- 20-09-2004 George Moschovitis <gm@navel.gr>
1384
-
1385
- * made all test cases hidden files!
1386
-
1387
- 20-09-2004 George Moschovitis <gm@navel.gr>
1388
-
1389
- * n/app/response.rb: removed
1390
- * n/server/response.rb: same
1391
- * n/server/request.rb: same
1392
- * n/server/worker.rb: same
1393
- * n/server/protocol.rb: same
1394
- * n/server/proxy-server.rb: same
1395
-
1396
- * MAJOR, user the unified requestr everywhere!
1397
-
1398
- * n/app/webrick-servlet.rb: removed create_response,
1399
- (#do_GET): updated for unified request/response.
1400
-
1401
- * n/app/request.rb: removed more unneeded/n2 stuff,
1402
- use :ERRORS instead of "ERRORS"
1403
- MAJOR, in/out headers,
1404
- moved response methods in request,
1405
- yeah, IT works!,
1406
- (#update_entity): renamed set_entity!
1407
-
1408
- * n/mixins/moderated.rb: removed.
1409
- * n/id.rb: removed
1410
- * n/std.rb: renamed standard.rb
1411
-
1412
- 20-09-2004 George Moschovitis <gm@navel.gr>
1413
-
1414
- * n/web/*: removed the whole directory, YEAH!
1415
-
1416
- * app/appsrv.rb: updated
1417
- * app/env.rb: same
1418
-
1419
- * n/app/webrick-servlet.rb: removed experimental redirect stuff.
1420
-
1421
- * n/app/http.rb: removed, moved functionality to utils/http.
1422
-
1423
- * changed namespace in tooo many files to list.
1424
-
1425
- * n/server/cluster/*: removed from repository.
1426
-
1427
- * copied all stuff from web/server to appserver.
1428
-
1429
- * n/web/utils: deleted from repository.
1430
-
1431
- * n/shaders/*: moved from web.
1432
-
1433
- 20-09-2004 George Moschovitis <gm@navel.gr>
1434
-
1435
- * moved scrap outside n.
1436
-
1437
- 19-09-2004 George Moschovitis <gm@navel.gr>
1438
-
1439
- * Changed tooo many files to log.
1440
-
1441
- * app/requires.rb: removed more unneeded requires.
1442
-
1443
- * n/standard.rb (Object): removed init_modules,
1444
- (Kernel): pp_exception
1445
-
1446
- * n/utils/array.rb: N namespace, no n2 compatibility.
1447
- * n/utils/number.rb: same, ->number
1448
- * n/utils/time.rb: no n2 compatibility.
1449
- * n/utils/strings.rb: same
1450
- * n/utils/graphics.rb: ->gxf.rb, ->GfxUtils, same.
1451
- * n/utils/io.rb: removed, not needed!
1452
- * n/utils/probe.rb: removed, moved functionality to standard!
1453
- * n/utils/uri.rb: copied fromw web/utils, cleaned up.
1454
- * n/utils/http.rb: copied fromw web/utils, cleaned up.
1455
-
1456
- * n/appserver/request.rb: introduced,
1457
- removed unused n2 stuff.
1458
-
1459
- * app/app.rb: converted Slude to module!
1460
-
1461
- * n/appserver/server.rb: (AppServerMixin#initialize_app): introduced,
1462
- (AppServer#initialize): updated.
1463
-
1464
- * n/appserver/webrick.rb: converted to Module,
1465
- extend N::Server
1466
-
1467
- * n/standard.rb: require "pp"
1468
-
1469
- * app/env.rb: fixed!
1470
-
1471
- * app/ctl: cool, use the -C.. flag in ruby,
1472
- run cluster too.
1473
-
1474
- * app/appsrv.rb: $:.unshift("..") removed.
1475
-
1476
- * app/env.rb: $:.unshift("..") is more portable.
1477
-
1478
- * n/appserver/cluster.rb: Implemented as application,
1479
- it works as daemon, yeah.
1480
-
1481
- * n/application.rb: removed n2 compatibility,
1482
- recoded and simplified,
1483
- suicide -> stop,
1484
- fixed name-title confusion,
1485
- recoded restart,
1486
- no exit!
1487
-
1488
- * MAJOR CLEANUP of old n2 code in repository:
1489
-
1490
- * n/calendar.rb: removed
1491
- * n/index.sx: removed
1492
- * n/relations.rb: removed
1493
- * n/og.rb: removed
1494
- * n/math.rb: removed
1495
- * n/content.rb: removed
1496
- * n/web/mixins/*: removed
1497
- * n/web/sync/*: removed
1498
- * n/group.rb: removed
1499
-
1500
- 17-09-2004 George Moschovitis <gm@navel.gr>
1501
-
1502
- * YEAH, converted all R:: to N::
1503
-
1504
- * n/parts.rb: module P = namespace for parts,
1505
- register_part,
1506
- attr_accessors, props,
1507
-
1508
- * n/web/server/handlers/page-handler (#transform_script): dont
1509
- encode *act* in actions.
1510
-
1511
- * app/logs: symbolic link.
1512
-
1513
- 17-09-2004 George Moschovitis <gm@navel.gr>
1514
-
1515
- * app/root/p: relative link!
1516
-
1517
- * app/logs: removed from repository, use a link instead.
1518
-
1519
- * app/root/index.sx: updated.
1520
-
1521
- * app/root/users/index.sx: introduced
1522
-
1523
- * p/users/lc-en.rb: added many strings.
1524
-
1525
- * n/web/server/handlers/page-handler: no need for *act*
1526
-
1527
- * app/root/s/simple/shader.xsl: use sitemap in header.
1528
-
1529
- * app/app.rb (#initialize_sitemap): cleanup, added users.
1530
-
1531
- * n/web/server/request.rb (Request#set_arg): value defaults to true
1532
-
1533
- 16-09-2004 George Moschovitis <gm@navel.gr>
1534
-
1535
- * app/conf/config.rb: localhost as smtp.
1536
-
1537
- * n/db/connection (DbConnection#match): introduced.
1538
-
1539
- * p/users/lc-en.rb: added strings.
1540
-
1541
- * p/users/def.rb (UsersActions#signup): introduced,
1542
- (Users#signup): test for reserved emails.
1543
-
1544
- * app/root/scripts/delta.rx: renamed from rb.
1545
-
1546
- * n/web/server/request.rb: consume! -> consume.
1547
-
1548
- * app/root/users/signup.sx: introduced, beautified
1549
-
1550
- * app/root/s/simple/style.css: introduced,
1551
- cool links markup,
1552
- logo,
1553
- cool navigation bar,
1554
- cleaned up layout divs.
1555
-
1556
- * app/root/s/simple/print.css: introduced
1557
-
1558
- * n/web/server/handlers/page-handler.rb: removed shadermanager ref,
1559
- dont keep pagecode/defcode in the generated script.
1560
-
1561
- * n/web/server/handlers/rx-handler.rb: deleted
1562
- * n/web/server/handlers/html-handler.rb: deleted
1563
-
1564
- * p/users/signup-form.ss: introduced
1565
-
1566
- 15-09-2004 George Moschovitis <gm@navel.gr>
1567
-
1568
- * n/Changelog: more tab friendly.
1569
-
1570
- 15-09-2004 George Moschovitis <gm@navel.gr>
1571
-
1572
- * app/app.rb: Cleaned up!
1573
-
1574
- * n/appserver/server.rb: cleaned up!
1575
-
1576
- * n/web/server/handlers.rb: (ScriptHandler#compile_script): introduced
1577
- (ScriptHandler#try_render): temp removed the error code from try render
1578
- as it was buggy!
1579
-
1580
- * n/appserver/apache.conf: updated
1581
-
1582
- * p/locales/def.rb: removed uneeded requires.
1583
-
1584
- * n/web/server/handlers/page-handler.rb: removed crappy old inject
1585
- code
1586
-
1587
- * n/web/server/handlers/code-handler.rb: introduced,
1588
- after some fixes, it works!
1589
-
1590
- * n/utils/strings.rb: removed dpe to funnytran(!!),
1591
- (#to_greeklish): introduced.
1592
-
1593
- * n/parts.rb (#require_part): use 'p/' as prefix!
1594
-
1595
- * moved parts in a separate directory!
1596
-
1597
- * TOTALY CHANGED DIR STRUCTURE, remomoved n1 stuff, and much
1598
- of the n2 stuff.
1599
-
1600
- * CONVERTED REPOSITORY TO SUBVERSION!
1601
-
1602
- * app/conf/config: removed n1 deps,
1603
- use CodeHandler,
1604
- no HtmlHandler.
1605
-
1606
- 14-09-2004 Elias Athanasopoulos <elathan@navel.gr>
1607
-
1608
- * n/appserver/webrick.rb: Redirect webrick log to /dev/null.
1609
- * n/utils/graphics.rb (Graphics#create_thumbnail): Support animated GIFs
1610
- for avatars and for files < 60 KBs.
1611
-
1612
- * n1/web/utils/html.rb: Do not require n2/web/utils/html.
1613
-
1614
- 14-09-2004 George Moschovitis <gm@navel.gr>
1615
-
1616
- * n1/* : changed all refs to n1.
1617
-
1618
- * app/root/s/deviant/shader.xsl: javascript unescapes cookie!
1619
-
1620
- * app/root/panel.ss: javascript fix.
1621
-
1622
- * YEAH, the new session is used!
1623
-
1624
- * n/web/server/request.rb (#user): updated,
1625
- (#anonymous): updated
1626
-
1627
- * n/root/locales/def.rb: use n/l10n.rb now
1628
-
1629
- * n/l10n.rb: added locales code.
1630
-
1631
- * n/web/server/session.rb (Session): keep user, extend from Hash,
1632
- no need for SKIP_AUTOLOGIN,
1633
- (Session#refresh): cleaned up,
1634
- yeah implemented all session methods,
1635
- (#login): implemented,
1636
- (#logout): implemented
1637
-
1638
- * n/web/server/handlers/page-handler.rb (#process): dont http cache if
1639
- $reload_scripts.
1640
-
1641
- * n/appserver/filters/autologin.rb: cleaned up,
1642
- use UsersActions.
1643
-
1644
- * n/root/users/def.rb (UsersActions#logout): use $users_auth_cookie,
1645
- delete the cookie on logout,
1646
- (UsersActions#login): implemented,
1647
- use session login/logout.
1648
-
1649
- * n/root/users/login.rx: introduced
1650
-
1651
- * n/db/connection.rb: Array, Hash -> bytea
1652
-
1653
- 13-09-2004 George Moschovitis <gm@navel.gr>
1654
-
1655
- * MAJOR: $session_manager -> $sessions.
1656
-
1657
- * n/appserver/filters/autologin.rb: introduced.
1658
-
1659
- * n/db/managed.rb (Managed#eval_db_read_row): code to read a TrueClass
1660
-
1661
- * n/db.rb (Db#initialize): fixed bug in creating connections.
1662
-
1663
- * YEAH, i got a hello world with only n3 code (Cell).
1664
-
1665
- * app/conf/config.rb: $log -> app.log
1666
-
1667
- * app: Recoded directory for clean app (Slude).
1668
-
1669
- * app/ctl.sh: removed webrick refs.
1670
-
1671
- * n/root/users/def.rb (User): added fields,
1672
- (UsersActions#login): added,
1673
- (AnonymousUser): added, hmmm...
1674
- (User): Level Enumeration,
1675
- (User): attributes, hmmm...,
1676
- (User): first, last, full name.
1677
-
1678
- * n/db/connection.rb (DbConnection#delete_descendants): correctly handle
1679
- ParrentClass entities,
1680
- after many fixes seems to kinda work,
1681
- (DbUtils): boolean type, types with small cap!
1682
-
1683
- 12-09-2004 George Moschovitis <gm@navel.gr>
1684
-
1685
- * n/db/connection.rb (DbConnection): fixed bug in deserialize_one,
1686
- (DbConnection#transaction): introduced,
1687
- (DbConnection#delete): deletes descendants,
1688
- (DbConnection#delete_descendants): introduced
1689
-
1690
- * n/db.rb (Db#open): fixed nasty deserialize false bug!
1691
-
1692
- * n/db/managed.rb (Child, ParentClass): removed __parent_class,
1693
- (Managed): introduced #__ancestors_classes, #__descendants_classes
1694
-
1695
- * lets SLUDE!
1696
-
1697
- 11-09-2004 George Moschovitis <gm@navel.gr>
1698
-
1699
- * app/root/s/deviant/style.css: buttonc.
1700
-
1701
- * __meta__ -> __meta
1702
-
1703
- * __props__ -> __props
1704
-
1705
- * n/root/help/category.si,
1706
- n/root/help/def.rb: fixes to make it work with latest code.
1707
-
1708
- * n/web/server/handlers/page-handler.rb (#transform_script): AO, AS action
1709
- macros,
1710
- actions requests (*act*) are uncacheable.
1711
-
1712
- * n/root/db: introduced db part.
1713
-
1714
- 10-09-2004 George Moschovitis <gm@navel.gr>
1715
-
1716
- * app/requires.rb: removed unneeded requires.
1717
-
1718
- * app/root/faq/*: removed from CVS
1719
- * n/root/faq/*: same
1720
- * n/web/server/handlers/action-handler.rb: same
1721
- * n/utils/arrays.rb: same
1722
-
1723
- * n/root/help/def.rb (HelpPart): update_sitemap.
1724
-
1725
- * n/root/help: RENAMED faq part to help,
1726
- after many changes seems to work!
1727
-
1728
- * n/root/admin/def.rb: introduced
1729
-
1730
- * use $DBG instead of $DEBUG (used by ruby argh!)
1731
-
1732
- * n/root/editor/def.rb: Introduced.
1733
-
1734
- * n/root/editor/js: yeah, use tinyMCE.
1735
-
1736
- 09-09-2004 George Moschovitis <gm@navel.gr>
1737
-
1738
- * u/utils/tc-cache.rb: introduced,
1739
- [], []=, delete, clear,
1740
- recoded, use included hash.
1741
-
1742
- * n/utils/cache.rb (LRUCache): implemented an LRUCache.
1743
-
1744
- * use SafeHash instead of SafeCache everywhere.
1745
-
1746
- * n/utils/hash.rb: splited from cache.rb, only hash utils.
1747
-
1748
- * introduced VENDOR, VENDOR_URL metadata for parts.
1749
-
1750
- * n/root/faq/def.rb (FaqActions): $application -> $lm
1751
-
1752
- * n/appserver/cluster.rb (Slm#set!): optional lm parameter.
1753
-
1754
- * app/root/faq/index.sx: restructured to avoid db queries in init
1755
- phase.
1756
-
1757
- 08-09-2004 George Moschovitis <gm@navel.gr>
1758
-
1759
- * n/appserver/webrick: dont include Webrick module in the top scope,
1760
- use a custom logger!
1761
-
1762
- * after many many changes it kind works again!
1763
-
1764
- * use symbols for request args.
1765
-
1766
- * n/web/server/handlers/page-handler.rb (#transform_script): extract
1767
- initcode (<?i ... ?>) and define __init_render.
1768
-
1769
- * n/web/server/scripts.rb (#__calc_tag): introduced,
1770
- (#__calc_lm): former __last_modified,
1771
- (#__calc_tag): encode subscript tags too,
1772
- (#__etag): SUPER hash the etag!
1773
-
1774
- 08-09-2004 Elias Athanasopoulos <elathan@navel.gr>
1775
-
1776
- * app/webrick.rb ($DEBUG): New constant.
1777
- * app/joy.rb ($DEBUG): Use it.
1778
- * n/(various files): Transform $log.debug "" to $log.debug "" if $DEBUG.
1779
- * n/db/connection.rb (alter_table): Implement.
1780
-
1781
- 08-09-2004 George Moschovitis <gm@navel.gr>
1782
-
1783
- * n/web/server/handlers/page-handler.rb (#transform_script): call
1784
- __init_render for top level scripts.
1785
-
1786
- 07-09-2004 George Moschovitis <gm@navel.gr>
1787
-
1788
- * n/web/server/request.rb: script_hash -> tag.
1789
-
1790
- * n/appserver/webrick-servlet.rb (#do_GET): dont set response content
1791
- type if already set!
1792
-
1793
- * n/web/server/fragment.rb (#initialize): default parameters.
1794
-
1795
- * n/web/server/handlers/page-handler.rb (#process): dont http-cache
1796
- in admin mode,
1797
- (#eval_script): totaly changed fragment caching, memory based!
1798
-
1799
- * n/web/server/scripts.rb (#__init_render): introduced,
1800
- (#__last_modified): call sub __last_modifieds,
1801
- (#__last_modified): take script file last_modified into account.
1802
- (#__cache?): introduced.
1803
-
1804
- 07-09-2004 Elias Athanasopoulos <elathan@navel.gr>
1805
-
1806
- * n/scrap/bot.rb: New file.
1807
- * n/scrap/xmlize.rb: New file.
1808
- * n/scrap/adjust-colors.rb: New file.
1809
-
1810
- 06-09-2004 George Moschovitis <gm@navel.gr>
1811
-
1812
- * n1/og/backend (#get): Set pid from row data!
1813
-
1814
- * n/web/server/scripts.rb (#__lm_keys): removed
1815
- (#__last_modified): uses __lm.
1816
-
1817
- * removed _lm from lm keys.
1818
-
1819
- * dont encode the uid in etags, nothing to gain.
1820
-
1821
- * EXCELLENT: the new Cluster system DRAMATICALLY reduces
1822
- drb calls!
1823
-
1824
- * n/root/messages/def.rb (MessagesActions): Use $lm eveywhere
1825
-
1826
- * n/appserver/server.rb (#initialize): use the brand new cluster
1827
- functionality.
1828
-
1829
- * n/appserver/cluster.rb: introduced,
1830
- CHash, SHash,
1831
- Clm, Slm,
1832
- Yeah, kinda works!
1833
- (CHash#[]=): remove dead servers,
1834
- after A LOT of changes it now works!
1835
-
1836
- 05-09-2004 George Moschovitis <gm@navel.gr>
1837
-
1838
- * app/root/faq/index.sx (#__etag): experimental etag calculation
1839
-
1840
- * yeah, i got a highlevel lm calculated.
1841
-
1842
- * n/web/server/handlers/rx-handler.rb (#transform_script): made
1843
- compatible with new page-handler,
1844
- cleaned up.
1845
-
1846
- * n/web/server/request.rb (Request#get_lm): introduced,
1847
- (Request#set_lm): introduced,
1848
- save timestamp as integer to optimize drb calls.
1849
-
1850
- * n/web/server/handlers/page-handler.rb (#process): Only send Etags
1851
- for cacheable pages,
1852
- (#get_cached_fragment): fixed bug with fragment_hash.
1853
-
1854
- 04-09-2004 George Moschovitis <gm@navel.gr>
1855
-
1856
- * YEAH i got the subscripts calculated.
1857
-
1858
- * n/web/server/webrick-servlet.rb (#create_request): dont keep
1859
- $app_root_dir prefix!
1860
-
1861
- * n/web/server/request.rb (Request): top_script.
1862
-
1863
- * n/web/server/script.rb (Script): sub_scripts,
1864
- TOO MANY changes to list.
1865
-
1866
- * n/appserver/webrick-servlet.rb (#do_GET): use fragment.
1867
-
1868
- * n/web/server/handlers/page-handler.rb (PageHandler#process): return fragment
1869
- (PageHandler#sub_process): same
1870
- (PageHanler#__include): use fragment,
1871
- YEAH, update sub_scripts,
1872
- TOO MANY changes to list,
1873
- transform/compile methods dont need request,
1874
- (#transform_script): calculate sub_scripts.
1875
-
1876
- 03-09-2004 George Moschovitis <gm@navel.gr>
1877
-
1878
- * app/root/panel.ss: dump user from cookie,
1879
- fully replaced user bar with javascript.
1880
-
1881
- * app/root/s/deviant/shader.xsl (<x:header>): parse nauth cookie.
1882
-
1883
- * n/web/server/handlers/page-handler.rb (PageHandler#transform_script):
1884
- added support for output buffers.
1885
-
1886
- * n/web/shaders/base.xsl: <x:ob-start />,
1887
- <x:ob-end />
1888
-
1889
- * n/web/server/script.rb: cleaned up, comments.
1890
-
1891
- * JOY.GR 1st birthday.
1892
-
1893
- 02-09-2004 George Moschovitis <gm@navel.gr>
1894
-
1895
- * app/root/s/deviant/print.css: fixed ref to simple.css
1896
-
1897
- * n/appserver/apache.conf: use keepalive,
1898
- SOS, use expires for images!!,
1899
- fix for css mime type.
1900
-
1901
- * COOL, i got not modified returned!
1902
-
1903
- * n/web/server/response.rb (Response#set_not_modified): yeah!
1904
-
1905
- * n/web/server/handlers/rx-handler.rb: updated to be compatible with
1906
- changes.
1907
-
1908
- * n/web/server/handlers/page-handler.rb:many changes to support HTTP Caching
1909
- (PageHandler#get_compiled_script): always returns a script (or Exception),
1910
- compiles the script if not exists.
1911
- (PageHandler#eval_script): gets passed script,
1912
- (PageHandler#sub_process): introduced, used in includes!
1913
-
1914
- * n/appserver/webrick-servlet.rb: added some experimental rewrite
1915
- code, ignore for the moment.
1916
-
1917
- * n/web/server/script.rb (Script#__etag): hook to calculate the ETag
1918
- for this page.
1919
- (Script#__last_modified): hook to calculate last modified for this
1920
- script.
1921
-
1922
- 01-09-2004 George Moschovitis <gm@navel.gr>
1923
-
1924
- * app/root/s/deviant/shader.xsl: <x:error-log />
1925
-
1926
- * n/web/server/handlers/page-handler.rb (PageScript#__include):
1927
- updated to be compatible with latest changes,
1928
- less noise error report in include
1929
-
1930
- * n/web/server/handlers/rx-handler.rb (RxScript#__include):
1931
- updated to be compatible with latest changes.
1932
-
1933
- * n/web/server/handlers.rb (Handler#try_render): use request.log_error
1934
-
1935
- * n/web/server/request.rb (Request.log_error): special loging.
1936
-
1937
- * n/utils/strings.rb: converted to StringUtils.
1938
-
1939
- * app/fora/index.sx: link to rss.
1940
- * app/fora/forum.sx: same.
1941
-
1942
- * app/root/scripts/kick.rb: use session_for_user.
1943
-
1944
- * n/fora/rss.rx: render fora entities.
1945
-
1946
- * n/syndication: introduced,
1947
- (SyndicationPart): same,
1948
- (RSS): same
1949
-
1950
- * n/syndication: introduced
1951
-
1952
- 01-09-2004 Elias Athanasopoulos <elathan@navel.gr>
1953
-
1954
- * app/scripts/og-to-db.rb (cut_prefix, html_escape): New methods. Used
1955
- to cut the 'fora_' prefix from Forum#name and escape html tags in message
1956
- bodies.
1957
- * app/conf/debug-config.rb: Make $srv_url to point to 127.0.0.1.
1958
- * n/root/markup/emoticons.rb: Switch 'smiley' with 'angel'.
1959
-
1960
- * n/ui/sitemap.rb (SitePage#initialize): Inherit realm from
1961
- parent if exists.
1962
- * n/ui/sitmap.rb (SiteMap#to_s): New method.
1963
- * n/ui/tc-sitemap.rb: Add testcase.
1964
-
1965
- * n/standard.rb (CVSVERSION, CVSDATE): New methods to trim common
1966
- CVS variables.
1967
-
1968
- * n/root/fora/def.rb: Use CVSVERSION/CVSDATE.
1969
- * n/faq/def.rb: Likewise.
1970
- * n/messages/def.rb: Likewise.
1971
- * n/users/def.rb: Likewise.
1972
- * n/root/markup/censors.rb: Add more rules.
1973
-
1974
- * app/root/scripts/kick.rb: New script to kick out users.
1975
- * app/community/members/photo.sx: Add star members menu.
1976
- * app/scripts/og-to-db.rb: Emoticonize, html escape messages and cut 'fora_'
1977
- prefix fromm fora names.
1978
- * app/root/scripts/kick.rb: New script to kick out users.
1979
-
1980
- 31-08-2004 George Moschovitis <gm@navel.gr>
1981
-
1982
- * n/db/managed.rb (Relation): pclass, tclass => Strings.
1983
-
1984
- * n/root/fora/list.ss: ultra cool activity link!
1985
-
1986
- * n/root/fora/fora.si: show moderators.
1987
-
1988
- * n/root/fora/moderators-form.ss: show moderators.
1989
-
1990
- * app/root/fora/forum-form.sx: tabs.
1991
-
1992
- * n/root/locales/lc-en.rb: more locales.
1993
- * n/root/locales/lc-el.rb: same.
1994
-
1995
- * app/root/s/deviant/style.css: tabs-frame,
1996
- button-left
1997
-
1998
- * n/root/fora/def.rb (Forum#moderators): introduced,
1999
- (ForaActions#add_moderator): introduced,
2000
- (ForaActions#del_moderator): introduced
2001
-
2002
- * n/root/users/def.rb (Role): introduced,
2003
- (UsersActions#add_role): added, error checking, no dupplicates,
2004
- (UsersActions#del_role): added
2005
-
2006
- 31-08-2004 Elias Athanasopoulos <elathan@navel.gr>
2007
-
2008
- * n/ChangeLog: Formatting.
2009
-
2010
- 30-08-2004 Elias Athanasopoulos <elathan@navel.gr>
2011
-
2012
- * n/scrap: New directory.
2013
- * n/scrap/exif_parser.rb: New script.
2014
- * n/scrap/faq-parser.rb: New script.
2015
- * n/scrap/time-descr.rb: New script.
2016
-
2017
- * app/ctl.sh: Modified to restart only Webrick when it is used
2018
- with the restart parameter.
2019
-
2020
- * n/DOCS/pg.txt: Created a PostgreSQL Tips file.
2021
-
2022
- 30-08-2004 George Moschovitis <gm@navel.gr>
2023
-
2024
- * n/fora/def.rb (ForumeMessage#__pre_insert): use thread_oid unstead
2025
- of pid to prepare sql traverse.
2026
-
2027
- * n/db/connection.rb (DbConnection#exec_and_clear): introduced,
2028
- (DbConnection#deserialize_all/one): clear resultset.
2029
-
2030
- * app/scripts/og-to-db.rb: moved from root/scripts,
2031
- optimized + cleaned code,
2032
- more fixes and it READS the old fora!,
2033
- call insert_into_tree,
2034
- set create_time,
2035
- set fora/category description.
2036
-
2037
- * n/root/messages/def.rb: (Message): include ParentClass.
2038
- * n/category.rb: (Category): same
2039
-
2040
- * n/db.rb: added more documentation.
2041
-
2042
- * app/root/scripts/delta.rb: better cleanup.
2043
-
2044
- * n/db/managed.rb: (Child, Relation, SqlTreeTraversable): pclass
2045
- is stored as String (the actual class name). was a NASTY BUG!,
2046
- (Child): use ony pid as index, the combined index wasnt used at all,
2047
- use class.to_s instead of class.name,
2048
- (ParentClass): extension to child.
2049
-
2050
- * n/db/mysql-managed.rb: removed
2051
- * n/db/mysql-connection.rb: removed
2052
-
2053
- * app/root/faq/search.sx: use the new search infrastructure.
2054
-
2055
- * n/root/play: removed part for now.
2056
-
2057
- * app/root/fora/search.sx: introduced.
2058
-
2059
- * n/glue/def.rb (PartActions#search_basesql): creates a basesql for
2060
- searching,
2061
- (PartActions#search_basesql): pass extrasql,
2062
- (PartActions#search): search and return matching entities.
2063
-
2064
- 29-08-2004 George Moschovitis <gm@navel.gr>
2065
-
2066
- * YEAH, environments mostly work!
2067
-
2068
- * n/appserver/webrick.rb (WebrickAppServer#initialize): use
2069
- AppServerMixin.
2070
-
2071
- * n/appserver/server.rb (AppServerMixin): intorduced
2072
-
2073
- * app/env.rb: incredible, rails like environment allows full access
2074
- to the appserver internals.
2075
-
2076
- * app/webrick.rb: rearranged requires to be more flexible.
2077
-
2078
- * app/app.rb: use the new more flexible configuration system.
2079
- * app/conf/live-config.rb: live configuration.
2080
- * app/conf/debug-config.rb: debug configuration.
2081
-
2082
- * n/root/messages/def.rb: new setup for message styles, more configurable
2083
- * n/root/messages/form.ss: same
2084
-
2085
- * app/conf/config.rb new setup for message styles
2086
-
2087
- * n/ui/sitemap.rb (SitePage): keep realm for each page.
2088
-
2089
- 28-08-2004 George Moschovitis <gm@navel.gr>
2090
-
2091
- * YEAH, favourites work with the new code.
2092
-
2093
- * n/root/fora/favourites.si: use latest code
2094
-
2095
- * n/root/fora/list.ss: use option_proc
2096
-
2097
- * n/db.rb: updated db method wrappers.
2098
-
2099
- * n/root/users/def.rb (FavouriteRelation): use target methods
2100
- from base relation.
2101
-
2102
- * n/db/connection.rb (DbConnection#get_join_fields): introduced,
2103
- read join fields in deserialize methods,
2104
- cleaned up code,
2105
- when calling drop_table on a sequenced entity, drop the sequence too.
2106
-
2107
- * n/db/managed.rb (Managed#eval_db_read_row): made more fault tolerant
2108
- when properties change,
2109
- cleaned up code,
2110
- add join_fields in every managed object,
2111
- (Relation#targets_for_parent): cool, sets join_fields!,
2112
- (Relation#count_targets_for_parent): counts targets,
2113
- (RelationUtils): introduced, copied the above methods
2114
-
2115
- * n/root/fora/list.ss: fixed style handling
2116
- * n/root/messages/list.ss: same
2117
-
2118
- 27-08-2004 George Moschovitis <gm@navel.gr>
2119
-
2120
- * YEAH, the new db code seems to work!
2121
-
2122
- * n/root/fora/msg-list.si: fixed count sql
2123
- * n/root/messages/list.si: same
2124
-
2125
- * n/db/managed.rb (Managed#eval_db_read_row): uses fields order,
2126
- works with PGresult.
2127
-
2128
- * n/properties: name = str representation of symbols.
2129
-
2130
- * n/db.rb (Db#entity_from_row): creates an entity from row,
2131
- added fields safe hash that stores managed class db fields order.
2132
-
2133
- * n/db/connection.rb (DbUtils#sql_write_prop): handle nil case,
2134
- use exec(),
2135
- (DbConnection#calc_fields): calculate fiels order from db,
2136
- better handle empty results in safe/retry query!
2137
-
2138
- 27-08-2004 Elias Athanasopoulos <elathan@navel.gr>
2139
-
2140
- * created grab_exif code helper, to extract photo metadata.
2141
-
2142
- * created a simple util to handle faqs.
2143
-
2144
- 27-08-2004 George Moschovitis <gm@navel.gr>
2145
-
2146
- * app/root/fora/activity.sx: use msg-list and latest code.
2147
- * n/root/fora/activity.si: removed, use msg-list.si instead.
2148
-
2149
- * n/db/connection.rb (DbUtils#count): count entities helper.
2150
-
2151
- * n/root/fora/def.rb (MessagesPart): defined LPKEYS
2152
- * n/root/messages/def.rb (ForaPart): same
2153
-
2154
- * n/root/messages/list-panel.ss: recoded to be more flexible
2155
- * n/root/messages/list.si: same
2156
-
2157
- * n/web/server/script.rb (Script#__init): Compile time initialization.
2158
-
2159
- * n/db/connection.rb (DbUtils#sql_write_prop): Escape strings!
2160
-
2161
- * n/root/messages/def.rb (MessagesUtils#calc_pager) :
2162
- new class with utils, calculates the pager and extrasql.
2163
-
2164
- 26-08-2004 Elias Athanasopoulos <elathan@navel.gr>
2165
-
2166
- * n/root/faq/category.si: Localized.
2167
- * n/root/faq/search-faq-form.ss: Likewise.
2168
- * n/root/faq/faq-form.ss: Likewise.
2169
- * n/root/faq/lc-el.rb: Added new locale entries.
2170
- * n/root/faq/lc-en.rb: Likewise.
2171
-
2172
- * n/root/fora/activity.si: Localized.
2173
- * n/root/fora/admin-panel.ss: Likewise.
2174
- * n/root/fora/fora.si: Likewise.
2175
- * n/root/fora/list.ss: Likewise.
2176
- * n/root/fora/msg-form.ss: Likewise.
2177
- * n/root/fora/msg-list.si: Likewise.
2178
- * n/root/fora/panel.ss: Likewise.
2179
- * n/root/fora/lc-el.rb: Added new locale entries.
2180
- * n/root/fora/lc-en.rb: Likewise.
2181
-
2182
- * n/root/messages/list-panel.ss: Localised.
2183
- * n/root/messages/list.si: Likewise
2184
- * n/root/messages/list.ss: Liewise.
2185
- * n/root/messages/lc-el.rb: Added new locale entries.
2186
- * n/root/messages/lc-en.rb: Likewise.
2187
-
2188
- * n/web/server/handlers/page-handler.rb (PageHandler#transform_script):
2189
- Make regular expressions non-greedy.
2190
-
2191
- 26-08-2004 George Moschovitis <gm@navel.gr>
2192
-
2193
- * app/root/fora/favourites.sx: fora favourites.
2194
-
2195
- * n/root/glue/tools.ss: remove fav on click.
2196
-
2197
- * n/appserver/webrick.rb: webrick version of appserver. Quite incredibly
2198
- by setting the bind address I got a MAJOR speedup.
2199
-
2200
- * n/db/managed.rb (SqlTreeTraversable#__db_pre_insert): setup depth,
2201
- rgt, lft if not allready defined (bug).
2202
-
2203
- * n/appserver/apache.conf: use navel user, mysql passwd and localhost
2204
- to make compatible with other devs.
6
+ * final preparations for release.
2205
7
 
8
+ * ChangeLog: branched.