nitro 0.31.0 → 0.40.0
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/nitro +135 -37
- data/doc/CHANGELOG.1 +108 -108
- data/doc/CHANGELOG.2 +89 -89
- data/doc/CHANGELOG.3 +105 -105
- data/{CHANGELOG → doc/CHANGELOG.4} +509 -509
- data/doc/{AUTHORS → CONTRIBUTORS} +49 -37
- data/doc/LIBRARIES +13 -0
- data/doc/LICENSE +2 -3
- data/doc/MIGRATION +45 -0
- data/doc/RELEASES +131 -11
- data/doc/TODO +67 -0
- data/lib/glue/magick.rb +0 -3
- data/lib/glue/sweeper.rb +30 -15
- data/lib/glue/thumbnails.rb +0 -2
- data/lib/glue/webfile.rb +23 -11
- data/lib/nitro.rb +37 -44
- data/lib/nitro/adapter/cgi.rb +0 -3
- data/lib/nitro/adapter/console.rb +0 -2
- data/lib/nitro/adapter/fastcgi.rb +6 -3
- data/lib/nitro/adapter/mongrel.rb +97 -58
- data/lib/nitro/adapter/script.rb +4 -6
- data/lib/nitro/adapter/webrick.rb +33 -87
- data/lib/nitro/adapter/webrick/vcr.rb +85 -0
- data/lib/nitro/caching.rb +0 -2
- data/lib/nitro/caching/actions.rb +0 -2
- data/lib/nitro/caching/fragments.rb +0 -2
- data/lib/nitro/caching/output.rb +45 -16
- data/lib/nitro/caching/proxy.rb +49 -0
- data/lib/nitro/cgi.rb +3 -6
- data/lib/nitro/cgi/cookie.rb +0 -3
- data/lib/nitro/cgi/request.rb +67 -24
- data/lib/nitro/cgi/response.rb +0 -2
- data/lib/nitro/cgi/{sendfile.rb → send_file.rb} +7 -6
- data/lib/nitro/compiler.rb +62 -55
- data/lib/nitro/compiler/cleanup.rb +0 -3
- data/lib/nitro/compiler/elements.rb +31 -28
- data/lib/nitro/compiler/errors.rb +2 -5
- data/lib/nitro/compiler/include.rb +10 -8
- data/lib/nitro/compiler/layout.rb +0 -2
- data/lib/nitro/compiler/localization.rb +0 -2
- data/lib/nitro/compiler/markup.rb +14 -6
- data/lib/nitro/compiler/morphing.rb +1 -5
- data/lib/nitro/compiler/script.rb +2 -4
- data/lib/nitro/compiler/squeeze.rb +0 -2
- data/lib/nitro/compiler/xslt.rb +0 -2
- data/lib/nitro/context.rb +10 -5
- data/lib/nitro/control.rb +18 -0
- data/lib/nitro/control/attribute.rb +88 -0
- data/lib/nitro/control/attribute/checkbox.rb +19 -0
- data/lib/nitro/control/attribute/datetime.rb +21 -0
- data/lib/nitro/control/attribute/file.rb +20 -0
- data/lib/nitro/control/attribute/fixnum.rb +26 -0
- data/lib/nitro/control/attribute/float.rb +26 -0
- data/lib/nitro/control/attribute/options.rb +38 -0
- data/lib/nitro/control/attribute/password.rb +16 -0
- data/lib/nitro/control/attribute/text.rb +16 -0
- data/lib/nitro/control/attribute/textarea.rb +16 -0
- data/lib/nitro/control/none.rb +16 -0
- data/lib/nitro/control/relation.rb +53 -0
- data/lib/nitro/control/relation/belongs_to.rb +0 -0
- data/lib/nitro/control/relation/has_many.rb +97 -0
- data/lib/nitro/control/relation/joins_many.rb +0 -0
- data/lib/nitro/control/relation/many_to_many.rb +0 -0
- data/lib/nitro/control/relation/refers_to.rb +29 -0
- data/lib/nitro/controller.rb +7 -296
- data/lib/nitro/dispatcher.rb +72 -34
- data/lib/nitro/element.rb +36 -10
- data/lib/nitro/element/javascript.rb +0 -2
- data/lib/nitro/flash.rb +23 -10
- data/lib/nitro/global.rb +36 -11
- data/lib/nitro/helper.rb +22 -8
- data/lib/nitro/helper/benchmark.rb +0 -2
- data/lib/nitro/helper/buffer.rb +0 -3
- data/lib/nitro/helper/css.rb +12 -0
- data/lib/nitro/helper/debug.rb +1 -3
- data/lib/nitro/helper/default.rb +1 -0
- data/lib/nitro/helper/feed.rb +400 -386
- data/lib/nitro/helper/form.rb +246 -116
- data/lib/nitro/helper/javascript.rb +28 -2
- data/lib/nitro/helper/javascript/morphing.rb +0 -2
- data/lib/nitro/helper/javascript/prototype.rb +0 -2
- data/lib/nitro/helper/javascript/scriptaculous.rb +0 -1
- data/lib/nitro/helper/layout.rb +0 -2
- data/lib/nitro/helper/navigation.rb +87 -0
- data/lib/nitro/helper/pager.rb +11 -22
- data/lib/nitro/helper/table.rb +9 -32
- data/lib/nitro/helper/url.rb +104 -0
- data/lib/nitro/helper/xhtml.rb +20 -4
- data/lib/nitro/helper/xml.rb +0 -2
- data/lib/nitro/markup.rb +131 -0
- data/lib/nitro/part.rb +52 -7
- data/lib/nitro/publishable.rb +328 -0
- data/lib/nitro/render.rb +30 -61
- data/lib/nitro/router.rb +12 -4
- data/lib/nitro/sanitize.rb +48 -0
- data/lib/nitro/scaffold.rb +9 -11
- data/lib/nitro/scaffold/controller.rb +25 -0
- data/lib/nitro/scaffold/model.rb +150 -0
- data/lib/nitro/scaffolding.rb +1 -3
- data/lib/nitro/server.rb +57 -32
- data/lib/nitro/server/drb.rb +16 -2
- data/lib/nitro/server/runner.rb +80 -102
- data/lib/nitro/service.rb +0 -1
- data/lib/nitro/service/xmlrpc.rb +0 -2
- data/lib/nitro/session.rb +26 -18
- data/lib/nitro/session/drb.rb +2 -16
- data/lib/nitro/session/memory.rb +0 -2
- data/lib/nitro/template.rb +219 -0
- data/lib/nitro/test/assertions.rb +1 -3
- data/lib/nitro/test/context.rb +0 -1
- data/lib/nitro/test/testcase.rb +0 -1
- data/lib/nitro/version.rb +6 -0
- data/lib/part/admin.rb +16 -0
- data/lib/part/admin/controller.rb +19 -0
- data/lib/part/admin/helper.rb +30 -0
- data/lib/part/admin/og/controller.rb +114 -0
- data/lib/part/admin/og/customize.rb +4 -0
- data/lib/part/admin/og/template/index.xhtml +27 -0
- data/lib/part/admin/og/template/list.xhtml +38 -0
- data/lib/part/admin/og/template/search.xhtml +20 -0
- data/lib/part/admin/og/template/update.xhtml +25 -0
- data/lib/part/admin/skin.rb +207 -0
- data/lib/part/admin/template/denied.xhtml +13 -0
- data/lib/part/admin/template/index.xhtml +12 -0
- data/lib/part/admin/todo.txt +2 -0
- data/proto/public/error.xhtml +4 -2
- data/proto/run.rb +0 -2
- data/test/glue/tc_webfile.rb +1 -0
- data/test/nitro/cgi/tc_request.rb +23 -0
- data/test/nitro/helper/tc_feed.rb +0 -3
- data/test/nitro/helper/tc_navbar.rb +74 -0
- data/test/nitro/helper/tc_table.rb +2 -0
- data/test/nitro/tc_cgi.rb +72 -19
- data/test/nitro/tc_controller.rb +35 -26
- data/test/nitro/tc_controller_aspect.rb +1 -0
- data/test/nitro/tc_controller_params.rb +864 -0
- data/test/nitro/tc_dispatcher.rb +2 -2
- data/test/nitro/tc_element.rb +16 -16
- data/test/nitro/tc_flash.rb +3 -3
- data/test/nitro/tc_markup.rb +31 -0
- data/test/nitro/tc_render.rb +12 -14
- data/test/nitro/tc_session.rb +9 -7
- data/test/nitro/tc_template.rb +34 -0
- metadata +217 -198
- data/INSTALL +0 -121
- data/ProjectInfo +0 -74
- data/README +0 -555
- data/doc/apache.txt +0 -9
- data/doc/config.txt +0 -28
- data/doc/faq.txt +0 -7
- data/doc/lhttpd.txt +0 -7
- data/lib/nitro/adapter/scgi.rb +0 -239
- data/lib/nitro/helper/form/builder.rb +0 -144
- data/lib/nitro/helper/form/controls.rb +0 -389
- data/lib/nitro/helper/rss.rb +0 -72
- data/proto/conf/apache.conf +0 -51
- data/proto/public/scaffold/advanced_search.xhtml +0 -30
- data/proto/public/scaffold/edit.xhtml +0 -11
- data/proto/public/scaffold/form.xhtml +0 -1
- data/proto/public/scaffold/index.xhtml +0 -20
- data/proto/public/scaffold/list.xhtml +0 -32
- data/proto/public/scaffold/new.xhtml +0 -11
- data/proto/public/scaffold/search.xhtml +0 -29
- data/proto/public/scaffold/view.xhtml +0 -8
- data/proto/script/scgi_ctl +0 -221
- data/proto/script/scgi_service +0 -128
- data/setup.rb +0 -1585
- data/src/part/admin.rb +0 -16
- data/src/part/admin/controller.rb +0 -81
- data/src/part/admin/skin.rb +0 -21
- data/src/part/admin/system.css +0 -135
- data/src/part/admin/template/denied.xhtml +0 -1
- data/src/part/admin/template/index.xhtml +0 -43
- data/test/nitro/helper/tc_rss.rb +0 -24
data/bin/nitro
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
-
|
3
|
+
$LOAD_PATH.unshift 'lib'
|
4
|
+
|
5
|
+
require 'facets/more/command'
|
6
|
+
|
7
|
+
require 'glue/configuration'
|
8
|
+
|
9
|
+
# The default Nitro management script. Provides a number of
|
10
|
+
# options for managing the lifecycle of Nitro applications.
|
4
11
|
|
5
12
|
class NitroCommand < Console::Command
|
6
13
|
|
@@ -15,19 +22,57 @@ class NitroCommand < Console::Command
|
|
15
22
|
# $ nitro start
|
16
23
|
# $ nitro run
|
17
24
|
|
18
|
-
def
|
25
|
+
def start
|
26
|
+
# Start the state server.
|
27
|
+
|
28
|
+
if File.exist?('state.rb') and Dir['.d*.pid'].empty?
|
29
|
+
puts 'Starting state server'
|
30
|
+
system 'ruby state.rb --daemon'
|
31
|
+
end
|
32
|
+
|
33
|
+
# Start the application servers.
|
34
|
+
|
19
35
|
if f = application_file
|
20
|
-
|
21
|
-
|
36
|
+
ARGV.delete('start')
|
37
|
+
exec_application(f)
|
38
|
+
|
39
|
+
if ic = @instance_count
|
40
|
+
(ic.to_i-1).times do |i|
|
41
|
+
exec_application(f, i + 1)
|
42
|
+
end
|
43
|
+
end
|
22
44
|
else
|
23
45
|
puts 'No application found!'
|
24
46
|
# FIXME: better error mesage and/or show default app!
|
25
47
|
end
|
26
48
|
end
|
27
|
-
alias
|
28
|
-
alias start
|
49
|
+
alias default start
|
50
|
+
alias run start
|
51
|
+
|
52
|
+
# Stop all running application instances.
|
53
|
+
|
54
|
+
def stop
|
55
|
+
kill_processes('.a*.pid')
|
56
|
+
end
|
57
|
+
|
58
|
+
# Restart all application servers.
|
59
|
+
|
60
|
+
def restart
|
61
|
+
stop()
|
62
|
+
start()
|
63
|
+
end
|
64
|
+
|
65
|
+
# Stop all running application instances and related
|
66
|
+
# servers (for example drb servers)
|
67
|
+
|
68
|
+
def kill
|
69
|
+
kill_processes('.a*.pid')
|
70
|
+
kill_processes('.d*.pid')
|
71
|
+
end
|
29
72
|
|
30
73
|
# Starts an IRB console attached to the web application.
|
74
|
+
#
|
75
|
+
# $ nitro console
|
31
76
|
|
32
77
|
def console
|
33
78
|
if RUBY_PLATFORM =~ /mswin32/
|
@@ -39,48 +84,66 @@ class NitroCommand < Console::Command
|
|
39
84
|
ENV['NITRO_INVOKE'] = 'irb'
|
40
85
|
|
41
86
|
if f = application_file
|
42
|
-
ENV['
|
87
|
+
ENV['CONFIGURATION_MODE'] = $DBG ? 'debug' : 'live'
|
43
88
|
exec "#{irb_name} -r #{f} -r irb/completion --noinspect"
|
44
89
|
end
|
45
90
|
|
46
91
|
exit
|
47
92
|
end
|
48
93
|
|
49
|
-
#
|
94
|
+
# Setup a cluster. The input is the size of the cluster.
|
95
|
+
# For example:
|
96
|
+
#
|
97
|
+
# $ nitro cluster 5
|
98
|
+
#
|
99
|
+
# starts 5 instances that listen to consecutive port numbers.
|
50
100
|
|
51
|
-
def
|
52
|
-
|
101
|
+
def __cluster(instance_count)
|
102
|
+
@instance_count = instance_count
|
103
|
+
|
104
|
+
idx = ARGV.index('--cluster')
|
105
|
+
ARGV.delete_at(idx)
|
106
|
+
ARGV.delete_at(idx)
|
107
|
+
|
108
|
+
# cluster implies daemon mode.
|
109
|
+
|
110
|
+
unless ARGV.include? '--daemon'
|
111
|
+
ARGV << '--daemon'
|
112
|
+
end
|
53
113
|
end
|
114
|
+
|
115
|
+
def __debug
|
116
|
+
ARGV.delete('--debug')
|
117
|
+
ENV['CONFIGURATION_MODE'] = 'debug'
|
118
|
+
end
|
119
|
+
alias __devel __debug
|
120
|
+
|
121
|
+
def __stage
|
122
|
+
ARGV.delete('--stage')
|
123
|
+
ENV['CONFIGURATION_MODE'] = 'stage'
|
124
|
+
end
|
125
|
+
|
126
|
+
def __live
|
127
|
+
ARGV.delete('--live')
|
128
|
+
ENV['CONFIGURATION_MODE'] = 'live'
|
129
|
+
end
|
130
|
+
alias __production __live
|
54
131
|
|
55
|
-
|
56
|
-
|
57
|
-
# Enable verbose mode.
|
58
|
-
|
59
|
-
def _v
|
60
|
-
$DBG = true
|
61
|
-
ENV['NITRO_MODE'] = 'debug'
|
132
|
+
def __mongrel
|
133
|
+
# gmosx: handled in runner.
|
62
134
|
end
|
63
|
-
alias _verbose _v
|
64
135
|
|
65
|
-
|
66
|
-
|
136
|
+
def __daemon
|
137
|
+
# gmosx: handled in runner.
|
138
|
+
end
|
67
139
|
|
68
|
-
def
|
69
|
-
require '
|
70
|
-
|
71
|
-
|
72
|
-
Daemonize.daemonize(File.join(pwd, 'log/app.log'))
|
73
|
-
|
74
|
-
# Restore the original pwd (daemonize sets the
|
75
|
-
# pwd to '/').
|
76
|
-
Dir.chdir(pwd)
|
77
|
-
|
78
|
-
# Set the logger to a file (daemonize closes the
|
79
|
-
# std streams).
|
80
|
-
Logger.set(Logger.new('log/app.log'))
|
140
|
+
def _v
|
141
|
+
require 'nitro/version'
|
142
|
+
puts "Nitro #{Nitro::Version}"
|
143
|
+
exit
|
81
144
|
end
|
82
|
-
alias
|
83
|
-
|
145
|
+
alias __version _v
|
146
|
+
|
84
147
|
private
|
85
148
|
|
86
149
|
# Typical application main file names.
|
@@ -98,8 +161,43 @@ private
|
|
98
161
|
|
99
162
|
return false
|
100
163
|
end
|
164
|
+
|
165
|
+
# Start the application server. If a cluster is defined,
|
166
|
+
# multiple instances of the application server are spawned.
|
167
|
+
|
168
|
+
def exec_application(file, port_offset = nil)
|
169
|
+
cmd = "ruby #{file} #{ARGV.join(' ')}"
|
170
|
+
|
171
|
+
if port_offset
|
172
|
+
cmd << " --port_offset #{port_offset}"
|
173
|
+
end
|
174
|
+
|
175
|
+
# Mark this invocation with the application name.
|
176
|
+
# Useful to identify process when runing ps on Unix. Use
|
177
|
+
# for example:
|
178
|
+
#
|
179
|
+
# ps aux | grep ruby
|
180
|
+
|
181
|
+
cmd << " --app #{File.basename(Dir.pwd)}"
|
182
|
+
|
183
|
+
system(cmd)
|
184
|
+
end
|
185
|
+
|
186
|
+
# Kill processes marked by .pid files.
|
187
|
+
|
188
|
+
def kill_processes(pattern = '.*.pid')
|
189
|
+
Dir[pattern].each do |f|
|
190
|
+
pid = f.split('.')[1].slice(1..-1)
|
191
|
+
begin
|
192
|
+
Process.kill('TERM', pid.to_i)
|
193
|
+
rescue
|
194
|
+
# drink it!
|
195
|
+
ensure
|
196
|
+
File.unlink(f)
|
197
|
+
end
|
198
|
+
end
|
199
|
+
end
|
200
|
+
|
101
201
|
end
|
102
202
|
|
103
203
|
NitroCommand.new.execute
|
104
|
-
|
105
|
-
# * George Moschovitis <gm@navel.gr>
|
data/doc/CHANGELOG.1
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
10-12-2004 George Moschovitis <
|
2
|
+
10-12-2004 George Moschovitis <george.moschovitis@gmail.com>
|
3
3
|
|
4
4
|
* lib/nitro/server/render.rb (#load_staticall_included): introduced.
|
5
5
|
|
@@ -11,7 +11,7 @@
|
|
11
11
|
* lib/og/backend/psql.rb: (#create_table) changed join_table code to
|
12
12
|
be more compatible with the mysql driver.
|
13
13
|
|
14
|
-
09-12-2004 George Moschovitis <
|
14
|
+
09-12-2004 George Moschovitis <george.moschovitis@gmail.com>
|
15
15
|
|
16
16
|
* examples/*: included the nitro logo to both examples.
|
17
17
|
|
@@ -29,7 +29,7 @@
|
|
29
29
|
|
30
30
|
* lib/og/backend.rb (#join_table): introduced.
|
31
31
|
|
32
|
-
08-12-2004 George Moschovitis <
|
32
|
+
08-12-2004 George Moschovitis <george.moschovitis@gmail.com>
|
33
33
|
|
34
34
|
* improved comments to various files.
|
35
35
|
|
@@ -58,7 +58,7 @@
|
|
58
58
|
|
59
59
|
* examples/blog/env.rb: environment injection.
|
60
60
|
|
61
|
-
07-12-2004 George Moschovitis <
|
61
|
+
07-12-2004 George Moschovitis <george.moschovitis@gmail.com>
|
62
62
|
|
63
63
|
* lib/og/meta.rb: implemented has_one relation.
|
64
64
|
|
@@ -76,7 +76,7 @@
|
|
76
76
|
* lib/nitro/ui/pager.rb: updated to be compatible with latest code,
|
77
77
|
(#offset): added.
|
78
78
|
|
79
|
-
06-12-2004 George Moschovitis <
|
79
|
+
06-12-2004 George Moschovitis <george.moschovitis@gmail.com>
|
80
80
|
|
81
81
|
* lib/nitro/filters.rb: (gen_filters_call_code): support
|
82
82
|
for module filters.
|
@@ -87,7 +87,7 @@
|
|
87
87
|
exists,
|
88
88
|
(#compile_xml_method): call filter chains.
|
89
89
|
|
90
|
-
05-12-2004 George Moschovitis <
|
90
|
+
05-12-2004 George Moschovitis <george.moschovitis@gmail.com>
|
91
91
|
|
92
92
|
* yeah, i got some simple filtering working.
|
93
93
|
|
@@ -99,16 +99,16 @@
|
|
99
99
|
(#gen_filters_call_code): implemented, preevaluates filter callers,
|
100
100
|
allow Filter.filter type of filtering.
|
101
101
|
|
102
|
-
02-12-2004 George Moschovitis <
|
102
|
+
02-12-2004 George Moschovitis <george.moschovitis@gmail.com>
|
103
103
|
|
104
104
|
* lib/nitro/filters.rb: introduced.
|
105
105
|
|
106
|
-
29-11-2004 George Moschovitis <
|
106
|
+
29-11-2004 George Moschovitis <george.moschovitis@gmail.com>
|
107
107
|
|
108
108
|
* lib/nitro/server/shaders.rb: yeah, added compile time ruby
|
109
109
|
code evaluation.
|
110
110
|
|
111
|
-
28-11-2004 George Moschovitis <
|
111
|
+
28-11-2004 George Moschovitis <george.moschovitis@gmail.com>
|
112
112
|
|
113
113
|
* lib/xsl/base.xsl: updated ob related macros,
|
114
114
|
x:ob-write-end.
|
@@ -117,15 +117,15 @@
|
|
117
117
|
(#ob_end): end output buffer.
|
118
118
|
(#ob_write_end): introduced.
|
119
119
|
|
120
|
-
26-11-2004 George Moschovitis <
|
120
|
+
26-11-2004 George Moschovitis <george.moschovitis@gmail.com>
|
121
121
|
|
122
122
|
* lib/nitro/application.rb: daemonize [fixed by elathan].
|
123
123
|
|
124
|
-
25-11-2004 George Moschovitis <
|
124
|
+
25-11-2004 George Moschovitis <george.moschovitis@gmail.com>
|
125
125
|
|
126
126
|
* lib/shaders.rb: fix in RubyShader.
|
127
127
|
|
128
|
-
24-11-2004 George Moschovitis <
|
128
|
+
24-11-2004 George Moschovitis <george.moschovitis@gmail.com>
|
129
129
|
|
130
130
|
* lib/nitro/builders/table.rb: Introduced table builder.
|
131
131
|
|
@@ -134,7 +134,7 @@
|
|
134
134
|
* bin/new_app.rb: implemented,
|
135
135
|
better, just cp -R the proto dir.
|
136
136
|
|
137
|
-
23-11-2004 George Moschovitis <
|
137
|
+
23-11-2004 George Moschovitis <george.moschovitis@gmail.com>
|
138
138
|
|
139
139
|
* --- VERSION 0.5.0 ---
|
140
140
|
|
@@ -161,7 +161,7 @@
|
|
161
161
|
|
162
162
|
* lib/nitro/template.rb: scrapped.
|
163
163
|
|
164
|
-
22-11-2004 George Moschovitis <
|
164
|
+
22-11-2004 George Moschovitis <george.moschovitis@gmail.com>
|
165
165
|
|
166
166
|
* lib/xsl/base.xsl: rendering-errors.
|
167
167
|
|
@@ -169,7 +169,7 @@
|
|
169
169
|
introduced rendering_errors,
|
170
170
|
(#log_error)
|
171
171
|
|
172
|
-
21-11-2004 George Moschovitis <
|
172
|
+
21-11-2004 George Moschovitis <george.moschovitis@gmail.com>
|
173
173
|
|
174
174
|
* examples/blog/root/view_entry.xml: just cool :)
|
175
175
|
|
@@ -193,7 +193,7 @@
|
|
193
193
|
* lib/nitro/config.rb: $template_ext, $xml_template_ext,
|
194
194
|
$index_template.
|
195
195
|
|
196
|
-
18-11-2004 George Moschovitis <
|
196
|
+
18-11-2004 George Moschovitis <george.moschovitis@gmail.com>
|
197
197
|
|
198
198
|
* lib/nitro/server/dispatcher.rb (#process): support for rpc.
|
199
199
|
|
@@ -214,7 +214,7 @@
|
|
214
214
|
* lib/glue: introduced,
|
215
215
|
moved many files from lib/nitro/* and lib/nitro/utils/* here.
|
216
216
|
|
217
|
-
17-11-2004 George Moschovitis <
|
217
|
+
17-11-2004 George Moschovitis <george.moschovitis@gmail.com>
|
218
218
|
|
219
219
|
* README.og: introduced.
|
220
220
|
* RELEASES.og: introduced.
|
@@ -224,7 +224,7 @@
|
|
224
224
|
|
225
225
|
* Rakefile: introduced Og GemSpec.
|
226
226
|
|
227
|
-
16-11-2004 George Moschovitis <
|
227
|
+
16-11-2004 George Moschovitis <george.moschovitis@gmail.com>
|
228
228
|
|
229
229
|
* lib/og/backends/mysql.rb (#create_table): handles sql indices.
|
230
230
|
|
@@ -241,7 +241,7 @@
|
|
241
241
|
cool append_features trick,
|
242
242
|
:noindex flag!
|
243
243
|
|
244
|
-
15-11-2004 George Moschovitis <
|
244
|
+
15-11-2004 George Moschovitis <george.moschovitis@gmail.com>
|
245
245
|
|
246
246
|
* --- VERSION 0.4.1 ---
|
247
247
|
|
@@ -249,13 +249,13 @@
|
|
249
249
|
|
250
250
|
* examples/blog: better documentation.
|
251
251
|
|
252
|
-
14-11-2004 George Moschovitis <
|
252
|
+
14-11-2004 George Moschovitis <george.moschovitis@gmail.com>
|
253
253
|
|
254
254
|
* improved RDoc in many files.
|
255
255
|
|
256
256
|
* lib/nitro/logger.rb: show full severity string.
|
257
257
|
|
258
|
-
13-11-2004 George Moschovitis <
|
258
|
+
13-11-2004 George Moschovitis <george.moschovitis@gmail.com>
|
259
259
|
|
260
260
|
* lib/nitro/parts.rb: deprecated.
|
261
261
|
|
@@ -284,13 +284,13 @@
|
|
284
284
|
* examples/blog/config.rb: more comments,
|
285
285
|
$srv_address to make more visible.
|
286
286
|
|
287
|
-
12-11-2004 George Moschovitis <
|
287
|
+
12-11-2004 George Moschovitis <george.moschovitis@gmail.com>
|
288
288
|
|
289
289
|
* examples/blog/config.rb: moved from webapp.rb.
|
290
290
|
|
291
291
|
* examples/blog/conf/*: removed.
|
292
292
|
|
293
|
-
11-11-2004 George Moschovitis <
|
293
|
+
11-11-2004 George Moschovitis <george.moschovitis@gmail.com>
|
294
294
|
|
295
295
|
* Rakefile: use version.
|
296
296
|
|
@@ -348,7 +348,7 @@
|
|
348
348
|
|
349
349
|
* examples/blog/root/entry-form.xhtml: yeah i got an included fragment.
|
350
350
|
|
351
|
-
10-11-2004 George Moschovitis <
|
351
|
+
10-11-2004 George Moschovitis <george.moschovitis@gmail.com>
|
352
352
|
|
353
353
|
* examples/blog/root/view_entry.xhtml: introduced,
|
354
354
|
comments.
|
@@ -386,7 +386,7 @@
|
|
386
386
|
|
387
387
|
* examples/blog/root/style.css: implemented the css.
|
388
388
|
|
389
|
-
09-11-2004 George Moschovitis <
|
389
|
+
09-11-2004 George Moschovitis <george.moschovitis@gmail.com>
|
390
390
|
|
391
391
|
* examples/blog/root/index.xhtml: introduced.
|
392
392
|
|
@@ -415,7 +415,7 @@
|
|
415
415
|
* lib/n/og/backends/mysql.rb (#read_prop/#write_prop): rewritten to make
|
416
416
|
more general [b.candler]
|
417
417
|
|
418
|
-
08-11-2004 George Moschovitis <
|
418
|
+
08-11-2004 George Moschovitis <george.moschovitis@gmail.com>
|
419
419
|
|
420
420
|
* lib/n/server/dispatcher.rb (#process): store request, response,
|
421
421
|
(#process): more intelligent control/method decomposition.
|
@@ -438,7 +438,7 @@
|
|
438
438
|
|
439
439
|
* examples/blog/root/style.css: introduced.
|
440
440
|
|
441
|
-
07-11-2004 George Moschovitis <
|
441
|
+
07-11-2004 George Moschovitis <george.moschovitis@gmail.com>
|
442
442
|
|
443
443
|
* lib/n/server/render.rb (#transform): first version,
|
444
444
|
yeah, i got an xhtml with multiple code segments rendered,
|
@@ -455,7 +455,7 @@
|
|
455
455
|
|
456
456
|
* test/n/utils/tc_string.rb: removed tests from obsolete methods.
|
457
457
|
|
458
|
-
06-11-2004 George Moschovitis <
|
458
|
+
06-11-2004 George Moschovitis <george.moschovitis@gmail.com>
|
459
459
|
|
460
460
|
* examples/blog/lib/blog.rb: introduced.
|
461
461
|
|
@@ -464,7 +464,7 @@
|
|
464
464
|
|
465
465
|
* lib/n/server/dispatcher.rb (#process): moved code from w.
|
466
466
|
|
467
|
-
05-11-2004 George Moschovitis <
|
467
|
+
05-11-2004 George Moschovitis <george.moschovitis@gmail.com>
|
468
468
|
|
469
469
|
* lib/n/server/w.rb (do_GET): simple action synthesizer,
|
470
470
|
yeah parameter passing works,
|
@@ -473,7 +473,7 @@
|
|
473
473
|
|
474
474
|
* use .xhtml as an extension.
|
475
475
|
|
476
|
-
04-11-2004 George Moschovitis <
|
476
|
+
04-11-2004 George Moschovitis <george.moschovitis@gmail.com>
|
477
477
|
|
478
478
|
* lib/n/server/w.rb (do_GET): implemented.
|
479
479
|
|
@@ -486,7 +486,7 @@
|
|
486
486
|
|
487
487
|
* examples/blog: experiments with layout.
|
488
488
|
|
489
|
-
03-11-2004 George Moschovitis <
|
489
|
+
03-11-2004 George Moschovitis <george.moschovitis@gmail.com>
|
490
490
|
|
491
491
|
* lib/n/server/w.rb: introduced experimental webrick server.
|
492
492
|
(WebrickDispatcher): introduced.
|
@@ -509,7 +509,7 @@
|
|
509
509
|
(#prop): works EXACTLY like attr now.
|
510
510
|
(#prop): class == object by default.
|
511
511
|
|
512
|
-
02-11-2004 George Moschovitis <
|
512
|
+
02-11-2004 George Moschovitis <george.moschovitis@gmail.com>
|
513
513
|
|
514
514
|
* yeah tests pass again.
|
515
515
|
|
@@ -527,7 +527,7 @@
|
|
527
527
|
|
528
528
|
* lib/n/og.rb: $og_auto_manage_classes introduced.
|
529
529
|
|
530
|
-
01-11-2004 George Moschovitis <
|
530
|
+
01-11-2004 George Moschovitis <george.moschovitis@gmail.com>
|
531
531
|
|
532
532
|
* --- VERSION 0.3.0 ---
|
533
533
|
|
@@ -558,7 +558,7 @@
|
|
558
558
|
|
559
559
|
* lib/n/server/webrick.rb (#do_GET): og connection per request.
|
560
560
|
|
561
|
-
31-10-2004 George Moschovitis <
|
561
|
+
31-10-2004 George Moschovitis <george.moschovitis@gmail.com>
|
562
562
|
|
563
563
|
* lib/n/og/backends/mysql.rb: converted to the new refactored code.
|
564
564
|
|
@@ -574,7 +574,7 @@
|
|
574
574
|
|
575
575
|
* no __og, just og_xxx.
|
576
576
|
|
577
|
-
30-10-2004 George Moschovitis <
|
577
|
+
30-10-2004 George Moschovitis <george.moschovitis@gmail.com>
|
578
578
|
|
579
579
|
* lib/n/og/backends/psql.rb (#write_prop): fixed,
|
580
580
|
(#initialize): autocreate database if not found,
|
@@ -609,7 +609,7 @@
|
|
609
609
|
support,
|
610
610
|
removed all N::OgUtils.table crap.
|
611
611
|
|
612
|
-
29-10-2004 George Moschovitis <
|
612
|
+
29-10-2004 George Moschovitis <george.moschovitis@gmail.com>
|
613
613
|
|
614
614
|
* lib/n/og/backends/mysql.rb: introduced,
|
615
615
|
create_table works,
|
@@ -649,7 +649,7 @@
|
|
649
649
|
(#manage): fixed bug with create_table,
|
650
650
|
(#enchant): YEAH, added the first enchantments :)
|
651
651
|
|
652
|
-
28-10-2004 George Moschovitis <
|
652
|
+
28-10-2004 George Moschovitis <george.moschovitis@gmail.com>
|
653
653
|
|
654
654
|
* lib/n/connection.rb (#create_schema, #drop_schema): removed.
|
655
655
|
|
@@ -662,7 +662,7 @@
|
|
662
662
|
* lib/n/config.rb: moved many standard configurations
|
663
663
|
here.
|
664
664
|
|
665
|
-
27-10-2004 George Moschovitis <
|
665
|
+
27-10-2004 George Moschovitis <george.moschovitis@gmail.com>
|
666
666
|
|
667
667
|
* lib/n/db.rb: dont require utils and connection by default.
|
668
668
|
|
@@ -696,7 +696,7 @@
|
|
696
696
|
|
697
697
|
* lib/n/server/RESEARCH.txt: removed
|
698
698
|
|
699
|
-
26-10-2004 George Moschovitis <
|
699
|
+
26-10-2004 George Moschovitis <george.moschovitis@gmail.com>
|
700
700
|
|
701
701
|
* lib/n/app/dispatcher.rb: introduced for experiments in design.
|
702
702
|
|
@@ -711,7 +711,7 @@
|
|
711
711
|
* lib/n/app/handlers/page-handler.rb (#transform_script):
|
712
712
|
support <?rb as marker [c.nasis].
|
713
713
|
|
714
|
-
25-10-2004 George Moschovitis <
|
714
|
+
25-10-2004 George Moschovitis <george.moschovitis@gmail.com>
|
715
715
|
|
716
716
|
* --- VERSION 0.2.0 ---
|
717
717
|
|
@@ -728,7 +728,7 @@
|
|
728
728
|
|
729
729
|
* examples/ndb/rub.rb: implemented.
|
730
730
|
|
731
|
-
23-10-2004 George Moschovitis <
|
731
|
+
23-10-2004 George Moschovitis <george.moschovitis@gmail.com>
|
732
732
|
|
733
733
|
* examples/ndb/*: introduced.
|
734
734
|
|
@@ -750,7 +750,7 @@
|
|
750
750
|
|
751
751
|
* examples/simple/README: improved.
|
752
752
|
|
753
|
-
22-10-2004 George Moschovitis <
|
753
|
+
22-10-2004 George Moschovitis <george.moschovitis@gmail.com>
|
754
754
|
|
755
755
|
* README: updated.
|
756
756
|
|
@@ -778,7 +778,7 @@
|
|
778
778
|
|
779
779
|
* improved RDoc documentation to many, many souce files.
|
780
780
|
|
781
|
-
21-10-2004 George Moschovitis <
|
781
|
+
21-10-2004 George Moschovitis <george.moschovitis@gmail.com>
|
782
782
|
|
783
783
|
* lib/n/db/make-release.sh: removed.
|
784
784
|
|
@@ -794,13 +794,13 @@
|
|
794
794
|
|
795
795
|
* doc/*: moved many txt files to the gen/doc directory.
|
796
796
|
|
797
|
-
21-10-2004 George Moschovitis <
|
797
|
+
21-10-2004 George Moschovitis <george.moschovitis@gmail.com>
|
798
798
|
|
799
799
|
* --- VERSION 0.1.2 ---
|
800
800
|
|
801
801
|
* README: final changes before the release.
|
802
802
|
|
803
|
-
20-10-2004 George Moschovitis <
|
803
|
+
20-10-2004 George Moschovitis <george.moschovitis@gmail.com>
|
804
804
|
|
805
805
|
* lib/n/server/cluster.rb: removed.
|
806
806
|
|
@@ -830,7 +830,7 @@
|
|
830
830
|
|
831
831
|
* MIT-LICENCE: added.
|
832
832
|
|
833
|
-
19-10-2004 George Moschovitis <
|
833
|
+
19-10-2004 George Moschovitis <george.moschovitis@gmail.com>
|
834
834
|
|
835
835
|
* lib/n/app/webrick-servler.rb (#do_GET): better error handling.
|
836
836
|
|
@@ -878,7 +878,7 @@
|
|
878
878
|
|
879
879
|
* etc: moved from scripts.
|
880
880
|
|
881
|
-
18-10-2004 George Moschovitis <
|
881
|
+
18-10-2004 George Moschovitis <george.moschovitis@gmail.com>
|
882
882
|
|
883
883
|
* lib/n/db/connection.rb (#match): use safe query.
|
884
884
|
|
@@ -892,7 +892,7 @@
|
|
892
892
|
|
893
893
|
* excellent, the reference app runs again.
|
894
894
|
|
895
|
-
18-10-2004 George Moschovitis <
|
895
|
+
18-10-2004 George Moschovitis <george.moschovitis@gmail.com>
|
896
896
|
|
897
897
|
* lib/p: introduced
|
898
898
|
|
@@ -900,12 +900,12 @@
|
|
900
900
|
|
901
901
|
* bin/cluster.rb: link to the cluster.
|
902
902
|
|
903
|
-
18-10-2004 George Moschovitis <
|
903
|
+
18-10-2004 George Moschovitis <george.moschovitis@gmail.com>
|
904
904
|
|
905
905
|
* MAJOR CHANGE: recreated directory structure under /nitro
|
906
906
|
to make more compatible with other ruby projects.
|
907
907
|
|
908
|
-
17-10-2004 George Moschovitis <
|
908
|
+
17-10-2004 George Moschovitis <george.moschovitis@gmail.com>
|
909
909
|
|
910
910
|
* app/conf/debug-config.rb: no error_page when debugging to avoid
|
911
911
|
loops.
|
@@ -951,7 +951,7 @@
|
|
951
951
|
|
952
952
|
* p/feeds: renamed from syndication.
|
953
953
|
|
954
|
-
14-10-2004 George Moschovitis <
|
954
|
+
14-10-2004 George Moschovitis <george.moschovitis@gmail.com>
|
955
955
|
|
956
956
|
* p/geoloc/entities.rb (#country_code_for_ip): introduced.
|
957
957
|
|
@@ -961,7 +961,7 @@
|
|
961
961
|
(DbTools#alter_table): improved,
|
962
962
|
after many fixes the alter table works even for non entities.
|
963
963
|
|
964
|
-
13-10-2004 George Moschovitis <
|
964
|
+
13-10-2004 George Moschovitis <george.moschovitis@gmail.com>
|
965
965
|
|
966
966
|
* n/db/managed.rb (Module#manage): dont define update methods
|
967
967
|
for classes that do not define a primary key.
|
@@ -982,7 +982,7 @@
|
|
982
982
|
|
983
983
|
* n/app/webrick-servlet.rb: get correct last_ip
|
984
984
|
|
985
|
-
12-10-2004 George Moschovitis <
|
985
|
+
12-10-2004 George Moschovitis <george.moschovitis@gmail.com>
|
986
986
|
|
987
987
|
* p/sync: introduced.
|
988
988
|
|
@@ -990,11 +990,11 @@
|
|
990
990
|
|
991
991
|
* p/files/part.rb: introduced.
|
992
992
|
|
993
|
-
12-10-2004 George Moschovitis <
|
993
|
+
12-10-2004 George Moschovitis <george.moschovitis@gmail.com>
|
994
994
|
|
995
995
|
* p/*: some fixes to make the mixins work again.
|
996
996
|
|
997
|
-
12-10-2004 George Moschovitis <
|
997
|
+
12-10-2004 George Moschovitis <george.moschovitis@gmail.com>
|
998
998
|
|
999
999
|
* p/glue/part.rb: correctly require methods.
|
1000
1000
|
|
@@ -1026,7 +1026,7 @@
|
|
1026
1026
|
* scrap/geo.csv: New file. Geographical Information about IP
|
1027
1027
|
address in CSV format.
|
1028
1028
|
|
1029
|
-
11-10-2004 George Moschovitis <
|
1029
|
+
11-10-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1030
1030
|
|
1031
1031
|
* n/properties.rb: prop_accessor alias,
|
1032
1032
|
no trailing __ in __force methods.
|
@@ -1035,7 +1035,7 @@
|
|
1035
1035
|
(Versionable): introduced,
|
1036
1036
|
(Schedulable): introduced.
|
1037
1037
|
|
1038
|
-
11-10-2004 George Moschovitis <
|
1038
|
+
11-10-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1039
1039
|
|
1040
1040
|
* n/db/psql.rb (#create_table): works with new sql_index.
|
1041
1041
|
|
@@ -1056,7 +1056,7 @@
|
|
1056
1056
|
* n/db/psql.rb (DbUtils#read_prop): support for Object, Array,
|
1057
1057
|
Hash objects.
|
1058
1058
|
|
1059
|
-
10-10-2004 George Moschovitis <
|
1059
|
+
10-10-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1060
1060
|
|
1061
1061
|
* gems: dir introduced.
|
1062
1062
|
|
@@ -1137,7 +1137,7 @@
|
|
1137
1137
|
|
1138
1138
|
* app/root/s/simple/shader.xsl (x:footer): correct w3c.validator
|
1139
1139
|
|
1140
|
-
07-10-2004 George Moschovitis <
|
1140
|
+
07-10-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1141
1141
|
|
1142
1142
|
* correct :nodoc: all for test cases.
|
1143
1143
|
|
@@ -1149,7 +1149,7 @@
|
|
1149
1149
|
|
1150
1150
|
* n/.tc-db.rb: tests run again.
|
1151
1151
|
|
1152
|
-
06-10-2004 George Moschovitis <
|
1152
|
+
06-10-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1153
1153
|
|
1154
1154
|
* more mass replaces to make older code work.
|
1155
1155
|
|
@@ -1157,7 +1157,7 @@
|
|
1157
1157
|
|
1158
1158
|
* p/messages/methods.rb: introduced.
|
1159
1159
|
|
1160
|
-
06-10-2004 George Moschovitis <
|
1160
|
+
06-10-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1161
1161
|
|
1162
1162
|
* p/messages/part.rb: introduced.
|
1163
1163
|
|
@@ -1178,7 +1178,7 @@
|
|
1178
1178
|
|
1179
1179
|
* n/DOCS/css.txt: introduced, info about centering page.
|
1180
1180
|
|
1181
|
-
05-10-2004 George Moschovitis <
|
1181
|
+
05-10-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1182
1182
|
|
1183
1183
|
* p/users/entities.rb (RoleOwner#add_role): fixed NASTY bug.
|
1184
1184
|
|
@@ -1193,7 +1193,7 @@
|
|
1193
1193
|
|
1194
1194
|
* p/users/roles-form.ss: introduced
|
1195
1195
|
|
1196
|
-
04-10-2004 George Moschovitis <
|
1196
|
+
04-10-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1197
1197
|
|
1198
1198
|
* app/slude/conf/debug-conf.rb: log to STDERR.
|
1199
1199
|
|
@@ -1221,7 +1221,7 @@
|
|
1221
1221
|
|
1222
1222
|
* n/category.rb: removed compatibility stuff.
|
1223
1223
|
|
1224
|
-
03-10-2004 George Moschovitis <
|
1224
|
+
03-10-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1225
1225
|
|
1226
1226
|
* p/users/methods.rb (#add_role): recoded,
|
1227
1227
|
(#del_role): recoded.
|
@@ -1261,7 +1261,7 @@
|
|
1261
1261
|
|
1262
1262
|
* app/.cache: introduced cache link.
|
1263
1263
|
|
1264
|
-
01-10-2004 George Moschovitis <
|
1264
|
+
01-10-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1265
1265
|
|
1266
1266
|
* n/mixins/permissions.rb: introduced.
|
1267
1267
|
|
@@ -1302,7 +1302,7 @@
|
|
1302
1302
|
|
1303
1303
|
* n/std.rb: removed CVSXXX methods.
|
1304
1304
|
|
1305
|
-
29-09-2004 George Moschovitis <
|
1305
|
+
29-09-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1306
1306
|
|
1307
1307
|
* app/users/emails/reset-password.st: introduced.
|
1308
1308
|
|
@@ -1314,11 +1314,11 @@
|
|
1314
1314
|
(#register_user): send email,
|
1315
1315
|
(#reset_password): send email
|
1316
1316
|
|
1317
|
-
29-09-2004 George Moschovitis <
|
1317
|
+
29-09-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1318
1318
|
|
1319
1319
|
* n/utils/template.rb: simple templating system.
|
1320
1320
|
|
1321
|
-
29-09-2004 George Moschovitis <
|
1321
|
+
29-09-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1322
1322
|
|
1323
1323
|
* app/conf/apache.conf: moved from n/app.
|
1324
1324
|
|
@@ -1336,7 +1336,7 @@
|
|
1336
1336
|
|
1337
1337
|
* n/app/request.rb (Request#get): works like delete now.
|
1338
1338
|
|
1339
|
-
29-09-2004 George Moschovitis <
|
1339
|
+
29-09-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1340
1340
|
|
1341
1341
|
* n/app/request-part.rb: introduced, copied functionality from
|
1342
1342
|
request.
|
@@ -1346,7 +1346,7 @@
|
|
1346
1346
|
* app/conf/config.rb: changed all refs to navel/,
|
1347
1347
|
removed $app_base_dir.
|
1348
1348
|
|
1349
|
-
28-09-2004 George Moschovitis <
|
1349
|
+
28-09-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1350
1350
|
|
1351
1351
|
* n/db/connection.rb: include DbTools.
|
1352
1352
|
|
@@ -1359,7 +1359,7 @@
|
|
1359
1359
|
* app/app.rb: moved app stuff to config, removed appsrv.
|
1360
1360
|
* app/env.rb: updated
|
1361
1361
|
|
1362
|
-
27-09-2004 George Moschovitis <
|
1362
|
+
27-09-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1363
1363
|
|
1364
1364
|
* n/mixins/schedulable.rb: introduced.
|
1365
1365
|
|
@@ -1425,7 +1425,7 @@
|
|
1425
1425
|
(User#banned?): introduced,
|
1426
1426
|
(User#closed?): introduced
|
1427
1427
|
|
1428
|
-
23-09-2004 George Moschovitis <
|
1428
|
+
23-09-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1429
1429
|
|
1430
1430
|
* yeah, user icons work :)
|
1431
1431
|
|
@@ -1443,7 +1443,7 @@
|
|
1443
1443
|
* n/app/script.rb: no defcode, pagecode variables,
|
1444
1444
|
(#__cache_put): just pass fragment.
|
1445
1445
|
|
1446
|
-
22-09-2004 George Moschovitis <
|
1446
|
+
22-09-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1447
1447
|
|
1448
1448
|
* n/db/connection.rb (DbConnection#child): get one child!
|
1449
1449
|
|
@@ -1469,13 +1469,13 @@
|
|
1469
1469
|
* scrap/user-convert.rb: New script. Convert OG users to DB users.
|
1470
1470
|
* scrap/user-report.rb: New script. Find users with duplicate emails.
|
1471
1471
|
|
1472
|
-
22-09-2004 George Moschovitis <
|
1472
|
+
22-09-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1473
1473
|
|
1474
1474
|
* n/app/request.rb (Request#set_errors): only set errors unless empty.
|
1475
1475
|
|
1476
1476
|
* added many missing files in svn.
|
1477
1477
|
|
1478
|
-
21-09-2004 George Moschovitis <
|
1478
|
+
21-09-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1479
1479
|
|
1480
1480
|
* FUCKIN MEGA, env works PERFECTLY!
|
1481
1481
|
|
@@ -1512,18 +1512,18 @@
|
|
1512
1512
|
(Request#get_cookie): fixed get_cookie,
|
1513
1513
|
(Request#del_cookie): implemented.
|
1514
1514
|
|
1515
|
-
20-09-2004 George Moschovitis <
|
1515
|
+
20-09-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1516
1516
|
|
1517
1517
|
* n/utils/cache.rb: totaly recoded algorithm,
|
1518
1518
|
yeah seems to work and pass the testcases,
|
1519
1519
|
extend from Hash to be more flexible,
|
1520
1520
|
ultracool touch method.
|
1521
1521
|
|
1522
|
-
20-09-2004 George Moschovitis <
|
1522
|
+
20-09-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1523
1523
|
|
1524
1524
|
* made all test cases hidden files!
|
1525
1525
|
|
1526
|
-
20-09-2004 George Moschovitis <
|
1526
|
+
20-09-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1527
1527
|
|
1528
1528
|
* n/app/response.rb: removed
|
1529
1529
|
* n/server/response.rb: same
|
@@ -1548,7 +1548,7 @@
|
|
1548
1548
|
* n/id.rb: removed
|
1549
1549
|
* n/std.rb: renamed standard.rb
|
1550
1550
|
|
1551
|
-
20-09-2004 George Moschovitis <
|
1551
|
+
20-09-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1552
1552
|
|
1553
1553
|
* n/web/*: removed the whole directory, YEAH!
|
1554
1554
|
|
@@ -1569,11 +1569,11 @@
|
|
1569
1569
|
|
1570
1570
|
* n/shaders/*: moved from web.
|
1571
1571
|
|
1572
|
-
20-09-2004 George Moschovitis <
|
1572
|
+
20-09-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1573
1573
|
|
1574
1574
|
* moved scrap outside n.
|
1575
1575
|
|
1576
|
-
19-09-2004 George Moschovitis <
|
1576
|
+
19-09-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1577
1577
|
|
1578
1578
|
* Changed tooo many files to log.
|
1579
1579
|
|
@@ -1636,7 +1636,7 @@
|
|
1636
1636
|
* n/web/sync/*: removed
|
1637
1637
|
* n/group.rb: removed
|
1638
1638
|
|
1639
|
-
17-09-2004 George Moschovitis <
|
1639
|
+
17-09-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1640
1640
|
|
1641
1641
|
* YEAH, converted all R:: to N::
|
1642
1642
|
|
@@ -1649,7 +1649,7 @@
|
|
1649
1649
|
|
1650
1650
|
* app/logs: symbolic link.
|
1651
1651
|
|
1652
|
-
17-09-2004 George Moschovitis <
|
1652
|
+
17-09-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1653
1653
|
|
1654
1654
|
* app/root/p: relative link!
|
1655
1655
|
|
@@ -1669,7 +1669,7 @@
|
|
1669
1669
|
|
1670
1670
|
* n/web/server/request.rb (Request#set_arg): value defaults to true
|
1671
1671
|
|
1672
|
-
16-09-2004 George Moschovitis <
|
1672
|
+
16-09-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1673
1673
|
|
1674
1674
|
* app/conf/config.rb: localhost as smtp.
|
1675
1675
|
|
@@ -1702,11 +1702,11 @@
|
|
1702
1702
|
|
1703
1703
|
* p/users/signup-form.ss: introduced
|
1704
1704
|
|
1705
|
-
15-09-2004 George Moschovitis <
|
1705
|
+
15-09-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1706
1706
|
|
1707
1707
|
* n/Changelog: more tab friendly.
|
1708
1708
|
|
1709
|
-
15-09-2004 George Moschovitis <
|
1709
|
+
15-09-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1710
1710
|
|
1711
1711
|
* app/app.rb: Cleaned up!
|
1712
1712
|
|
@@ -1750,7 +1750,7 @@
|
|
1750
1750
|
|
1751
1751
|
* n1/web/utils/html.rb: Do not require n2/web/utils/html.
|
1752
1752
|
|
1753
|
-
14-09-2004 George Moschovitis <
|
1753
|
+
14-09-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1754
1754
|
|
1755
1755
|
* n1/* : changed all refs to n1.
|
1756
1756
|
|
@@ -1789,7 +1789,7 @@
|
|
1789
1789
|
|
1790
1790
|
* n/db/connection.rb: Array, Hash -> bytea
|
1791
1791
|
|
1792
|
-
13-09-2004 George Moschovitis <
|
1792
|
+
13-09-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1793
1793
|
|
1794
1794
|
* MAJOR: $session_manager -> $sessions.
|
1795
1795
|
|
@@ -1819,7 +1819,7 @@
|
|
1819
1819
|
after many fixes seems to kinda work,
|
1820
1820
|
(DbUtils): boolean type, types with small cap!
|
1821
1821
|
|
1822
|
-
12-09-2004 George Moschovitis <
|
1822
|
+
12-09-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1823
1823
|
|
1824
1824
|
* n/db/connection.rb (DbConnection): fixed bug in deserialize_one,
|
1825
1825
|
(DbConnection#transaction): introduced,
|
@@ -1833,7 +1833,7 @@
|
|
1833
1833
|
|
1834
1834
|
* lets SLUDE!
|
1835
1835
|
|
1836
|
-
11-09-2004 George Moschovitis <
|
1836
|
+
11-09-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1837
1837
|
|
1838
1838
|
* app/root/s/deviant/style.css: buttonc.
|
1839
1839
|
|
@@ -1850,7 +1850,7 @@
|
|
1850
1850
|
|
1851
1851
|
* n/root/db: introduced db part.
|
1852
1852
|
|
1853
|
-
10-09-2004 George Moschovitis <
|
1853
|
+
10-09-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1854
1854
|
|
1855
1855
|
* app/requires.rb: removed unneeded requires.
|
1856
1856
|
|
@@ -1872,7 +1872,7 @@
|
|
1872
1872
|
|
1873
1873
|
* n/root/editor/js: yeah, use tinyMCE.
|
1874
1874
|
|
1875
|
-
09-09-2004 George Moschovitis <
|
1875
|
+
09-09-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1876
1876
|
|
1877
1877
|
* u/utils/tc-cache.rb: introduced,
|
1878
1878
|
[], []=, delete, clear,
|
@@ -1893,7 +1893,7 @@
|
|
1893
1893
|
* app/root/faq/index.sx: restructured to avoid db queries in init
|
1894
1894
|
phase.
|
1895
1895
|
|
1896
|
-
08-09-2004 George Moschovitis <
|
1896
|
+
08-09-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1897
1897
|
|
1898
1898
|
* n/appserver/webrick: dont include Webrick module in the top scope,
|
1899
1899
|
use a custom logger!
|
@@ -1917,12 +1917,12 @@
|
|
1917
1917
|
* n/(various files): Transform $log.debug "" to $log.debug "" if $DEBUG.
|
1918
1918
|
* n/db/connection.rb (alter_table): Implement.
|
1919
1919
|
|
1920
|
-
08-09-2004 George Moschovitis <
|
1920
|
+
08-09-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1921
1921
|
|
1922
1922
|
* n/web/server/handlers/page-handler.rb (#transform_script): call
|
1923
1923
|
__init_render for top level scripts.
|
1924
1924
|
|
1925
|
-
07-09-2004 George Moschovitis <
|
1925
|
+
07-09-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1926
1926
|
|
1927
1927
|
* n/web/server/request.rb: script_hash -> tag.
|
1928
1928
|
|
@@ -1946,7 +1946,7 @@
|
|
1946
1946
|
* n/scrap/xmlize.rb: New file.
|
1947
1947
|
* n/scrap/adjust-colors.rb: New file.
|
1948
1948
|
|
1949
|
-
06-09-2004 George Moschovitis <
|
1949
|
+
06-09-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1950
1950
|
|
1951
1951
|
* n1/og/backend (#get): Set pid from row data!
|
1952
1952
|
|
@@ -1972,7 +1972,7 @@
|
|
1972
1972
|
(CHash#[]=): remove dead servers,
|
1973
1973
|
after A LOT of changes it now works!
|
1974
1974
|
|
1975
|
-
05-09-2004 George Moschovitis <
|
1975
|
+
05-09-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1976
1976
|
|
1977
1977
|
* app/root/faq/index.sx (#__etag): experimental etag calculation
|
1978
1978
|
|
@@ -1990,7 +1990,7 @@
|
|
1990
1990
|
for cacheable pages,
|
1991
1991
|
(#get_cached_fragment): fixed bug with fragment_hash.
|
1992
1992
|
|
1993
|
-
04-09-2004 George Moschovitis <
|
1993
|
+
04-09-2004 George Moschovitis <george.moschovitis@gmail.com>
|
1994
1994
|
|
1995
1995
|
* YEAH i got the subscripts calculated.
|
1996
1996
|
|
@@ -2012,7 +2012,7 @@
|
|
2012
2012
|
transform/compile methods dont need request,
|
2013
2013
|
(#transform_script): calculate sub_scripts.
|
2014
2014
|
|
2015
|
-
03-09-2004 George Moschovitis <
|
2015
|
+
03-09-2004 George Moschovitis <george.moschovitis@gmail.com>
|
2016
2016
|
|
2017
2017
|
* app/root/panel.ss: dump user from cookie,
|
2018
2018
|
fully replaced user bar with javascript.
|
@@ -2029,7 +2029,7 @@
|
|
2029
2029
|
|
2030
2030
|
* JOY.GR 1st birthday.
|
2031
2031
|
|
2032
|
-
02-09-2004 George Moschovitis <
|
2032
|
+
02-09-2004 George Moschovitis <george.moschovitis@gmail.com>
|
2033
2033
|
|
2034
2034
|
* app/root/s/deviant/print.css: fixed ref to simple.css
|
2035
2035
|
|
@@ -2058,7 +2058,7 @@
|
|
2058
2058
|
(Script#__last_modified): hook to calculate last modified for this
|
2059
2059
|
script.
|
2060
2060
|
|
2061
|
-
01-09-2004 George Moschovitis <
|
2061
|
+
01-09-2004 George Moschovitis <george.moschovitis@gmail.com>
|
2062
2062
|
|
2063
2063
|
* app/root/s/deviant/shader.xsl: <x:error-log />
|
2064
2064
|
|
@@ -2116,7 +2116,7 @@
|
|
2116
2116
|
prefix fromm fora names.
|
2117
2117
|
* app/root/scripts/kick.rb: New script to kick out users.
|
2118
2118
|
|
2119
|
-
31-08-2004 George Moschovitis <
|
2119
|
+
31-08-2004 George Moschovitis <george.moschovitis@gmail.com>
|
2120
2120
|
|
2121
2121
|
* n/db/managed.rb (Relation): pclass, tclass => Strings.
|
2122
2122
|
|
@@ -2158,7 +2158,7 @@
|
|
2158
2158
|
|
2159
2159
|
* n/DOCS/pg.txt: Created a PostgreSQL Tips file.
|
2160
2160
|
|
2161
|
-
30-08-2004 George Moschovitis <
|
2161
|
+
30-08-2004 George Moschovitis <george.moschovitis@gmail.com>
|
2162
2162
|
|
2163
2163
|
* n/fora/def.rb (ForumeMessage#__pre_insert): use thread_oid unstead
|
2164
2164
|
of pid to prepare sql traverse.
|
@@ -2200,7 +2200,7 @@
|
|
2200
2200
|
(PartActions#search_basesql): pass extrasql,
|
2201
2201
|
(PartActions#search): search and return matching entities.
|
2202
2202
|
|
2203
|
-
29-08-2004 George Moschovitis <
|
2203
|
+
29-08-2004 George Moschovitis <george.moschovitis@gmail.com>
|
2204
2204
|
|
2205
2205
|
* YEAH, environments mostly work!
|
2206
2206
|
|
@@ -2225,7 +2225,7 @@
|
|
2225
2225
|
|
2226
2226
|
* n/ui/sitemap.rb (SitePage): keep realm for each page.
|
2227
2227
|
|
2228
|
-
28-08-2004 George Moschovitis <
|
2228
|
+
28-08-2004 George Moschovitis <george.moschovitis@gmail.com>
|
2229
2229
|
|
2230
2230
|
* YEAH, favourites work with the new code.
|
2231
2231
|
|
@@ -2254,7 +2254,7 @@
|
|
2254
2254
|
* n/root/fora/list.ss: fixed style handling
|
2255
2255
|
* n/root/messages/list.ss: same
|
2256
2256
|
|
2257
|
-
27-08-2004 George Moschovitis <
|
2257
|
+
27-08-2004 George Moschovitis <george.moschovitis@gmail.com>
|
2258
2258
|
|
2259
2259
|
* YEAH, the new db code seems to work!
|
2260
2260
|
|
@@ -2280,7 +2280,7 @@
|
|
2280
2280
|
|
2281
2281
|
* created a simple util to handle faqs.
|
2282
2282
|
|
2283
|
-
27-08-2004 George Moschovitis <
|
2283
|
+
27-08-2004 George Moschovitis <george.moschovitis@gmail.com>
|
2284
2284
|
|
2285
2285
|
* app/root/fora/activity.sx: use msg-list and latest code.
|
2286
2286
|
* n/root/fora/activity.si: removed, use msg-list.si instead.
|
@@ -2327,7 +2327,7 @@
|
|
2327
2327
|
* n/web/server/handlers/page-handler.rb (PageHandler#transform_script):
|
2328
2328
|
Make regular expressions non-greedy.
|
2329
2329
|
|
2330
|
-
26-08-2004 George Moschovitis <
|
2330
|
+
26-08-2004 George Moschovitis <george.moschovitis@gmail.com>
|
2331
2331
|
|
2332
2332
|
* app/root/fora/favourites.sx: fora favourites.
|
2333
2333
|
|