21-10-2004 George Moschovitis * README: final changes before the release. 20-10-2004 George Moschovitis * lib/n/server/cluster.rb: removed. * lib/n/tools: cleaned up. * lib/n/ui/pager.rb: removed old N2 stuff. * examples/simple/env.rb: introduced and fixed. * reworked many source files to generate better rdoc. * packaged as a Gem. * Rakefile: read version from config, fixed gem spec to include all files. * examples/tiny/*: introduced tiny example. * AUTHORS: introduced. * lib/n/app/handlers/page-handler.rb: FUCKIN INCREDIBLE, the xml parser was not needed, removed!!! * lib/n/shaders.rb: converted to use ruby-xslt. * README: started working on it. * MIT-LICENCE: added. 19-10-2004 George Moschovitis * lib/n/app/webrick-servler.rb (#do_GET): better error handling. * examples/simple/conf/apache.conf: cleaned. * examples/simple/*: working sitemap. * examples/simple/root/comments.si: introduced. * examples/simple/root/comments-form.ss: introduced. * lib/xsl/base.xsl: deprecated old stuff, removed macro. * lib/db/psql.rb (#create_table): always create oid_seq and surpress the possible error, better error reposritng in methods. * examples/simple/lib/lc-en.rb: introduced. * examples/simple/lib/methods.rb: introduced, add_article. * examples/simple/lib/entities.rb: introduced. * lib/n/shaders.rc (NilShader): introduced. (Shader): transform alias. * lib/n/app/user.rb: introduced, (AnonymousUser): defined. * lib/n/app/handlers/page-handler.rb: use $default_shader, (#calc_tag): check if shader exists, (#transform_script): added support for nil shader, (#transform_script): new ULTRA COOL method macro, (#transform_script): mega, resolve dynamic includes too. * examples/simple/ctl: improved. * examples/simple: introduced, copied some files from app to build the example, use shaders, use css. * etc/new-project.rb: introduced. * etc: moved from scripts. 18-10-2004 George Moschovitis * lib/n/db/connection.rb (#match): use safe query. * lib/n/app/webrick-servlet.rb (#do_GET): even better error log. * lib/n/db.rb: added get_by_oid wrapper. * Rakefile: excellent builds tgs, zip and gem, dont include .svn dirs, RDocTask. * excellent, the reference app runs again. 18-10-2004 George Moschovitis * lib/p: introduced * lib/xsl: copied the old shaders directory. * bin/cluster.rb: link to the cluster. 18-10-2004 George Moschovitis * MAJOR CHANGE: recreated directory structure under /nitro to make more compatible with other ruby projects. 17-10-2004 George Moschovitis * app/conf/debug-config.rb: no error_page when debugging to avoid loops. * n/app/webrick-servlet.rb: better default error page, greatly improved info on default error page. * documented many source files. * n/sitemap.rb: moved out of UI namespace, (SitePage): added extra fields: real_uri, shader, level, (SiteMap): fixed to_s, extend from Hash. * n/app/handlers/page-handler.rb (#evaluate_script): dont use try_render, overload_paths FUCKIN MEGA! * n/app/handlers/page-handler.rb (#evaluate_script): dont use try_render, overload_paths FUCKIN MEGA! * started using :: for Ruby standard methods everywhere. * Rakefile: introduced. * n/utils/gfx.rb (#grab_exif): implemented. * app/env.rb: require "n/db/tools". * p/pictures/entities.rb (Picture#upload): introduced and improved from original code. * p/files/entities.rb: added path prop accessor. * p/pictures/methods.rb: introduced, (#upload_picture): implemented. * p/pictures/part.rb: introduced * p/pictures/entities.rb: introduced * p/feeds/part.rb: introduced. * p/feeds: renamed from syndication. 14-10-2004 George Moschovitis * p/geoloc/entities.rb (#country_code_for_ip): introduced. * p/geoloc/scripts/geoip-to-db.rx: introduced and recoded. * n/db/tools.rb (DbTools): converted to class methods. (DbTools#alter_table): improved, after many fixes the alter table works even for non entities. 13-10-2004 George Moschovitis * n/db/managed.rb (Module#manage): dont define update methods for classes that do not define a primary key. * p/geoloc/methods.rb (distance): introduced and optimized. * converted all prop_accessors to the latest code. * n/db/psql.rb: create table works with new properties api * n/.tc-properties.rb: introduced. * n/properties.rb: removed sql_type, (prop_accessor): changed signature. * n/parts.rb: added documentation, added dependencies variable in part. * n/app/webrick-servlet.rb: get correct last_ip 12-10-2004 George Moschovitis * p/sync: introduced. * p/content/mixins.rb: Permissions -> ContentFlags. * p/files/part.rb: introduced. 12-10-2004 George Moschovitis * p/*: some fixes to make the mixins work again. 12-10-2004 George Moschovitis * p/glue/part.rb: correctly require methods. * n/mixins/*: removed * n/mixins/rankable.rb: moved to scrap. * p/content/mixins.rb: introduced copied existing modules. * p/glue/mixins.rb: introduced copied existing modules. * n/mixins.rb: introduced, one file for all mixins. * use module instead of namespace. * n/db/psql.rb: use safe_query in create/drop schema. * n/db/*: tried to make compatible with mysql, failed. * n/db/managed.rb (sql_index): improved. 11-10-2004 Elias Athanasopoulos * n/db/mysql.rb: Db backend for MySQL. * n/.tc-db-mysql.rb: Test Unit for Db's MySQL backend. * scrap/fix-geo-sql.rb: New script. It produces an SQL schema for a table with Geographical information about IP addresses. * scrap/geo.csv: New file. Geographical Information about IP address in CSV format. 11-10-2004 George Moschovitis * n/properties.rb: prop_accessor alias, no trailing __ in __force methods. * p/content/entities.rb (Lockable): introduced, (Versionable): introduced, (Schedulable): introduced. 11-10-2004 George Moschovitis * n/db/psql.rb (#create_table): works with new sql_index. * n/db/managed.rb (Module#sql_index): redefined, accepts strings and symbols, unique param + extrasql. * p/geoloc: introduced geoloc part. * app/root/m/msg: message big icons. * p/files: introduced part. * gems/ndb.gemspec: fixed to include all needed files. * n/db/utils.rb (DbUtils#write_prop): support for Object, Array, Hash objects. * n/db/psql.rb (DbUtils#read_prop): support for Object, Array, Hash objects. 10-10-2004 George Moschovitis * gems: dir introduced. * n/README: introduced. * cell.gemspec: gemspec for cell engine. * ndb.gemspec: gemspec for db. * n/parts.rb (#prepared_statements): introduced, added comments. * n/db/connection.rb: removed again sibling methods. * n/db/psql.rb: EXCELLENT, mixin the backend into DbConnection. * n/db.rb: support for multiple backends. * n/db/mysql.rb: Db backend for MySQL. n/.tc-db-mysql.rb: Test Unit for Db's MySQL backend. * scrap/fix-geo-sql.rb: New script. It produces an SQL schema for a table with Geographical information about IP addresses. scrap/geo.csv: New file. Geographical Information about IP address in CSV format. * n/db/mixins.rb: (Entity#__db_pre_insert): use next_oid * n/db/README: slightly improved documentation. * n/db/managed.rb: removed trailing __ from insert, update, (#__db_eval_db_insert): use retry_query, added more comments. * n/utils/time.rb: removed sql related methods. * n/db/connection.rb: moved many methods to n/db/psql.rb * n/db/psql.rb: introduced, (#initialize), (#retry_query), (#safe_query) (#close): extracted from n/db/connection.rb, (#create_schema), (#drop_schema): introduced, sql time/date methods, (#next_oid): implemented, better error messages * n/db/utils.rb (#resolve): removed, moved method implementations to backends. (#sql_table_to_class): removed, * n/db/utils.rb: introduced, copied stuff from connection. * n/db/connection.rb: cleaned up the code, match? alias. * n/db.rb: made wrap_method and rest private, removed unused methods, cleaned up the code. * n/db/make-release.sh: make n/Db release. * app/root/s/simple/style.css: updated msg styles. * yeah, I got comments displayed. * n/utils/time.rb (#date_time): copied from old code and simplified. * p/users/entities.rb (User): icon -> to_icon (User#to_html): introduced. * p/markup/censors.rb: updated. * p/markup/part.rb: introduced, copied from def.rb MarkupUtils. * app/root/s/simple/shader.xsl (x:footer): correct w3c.validator 07-10-2004 George Moschovitis * correct :nodoc: all for test cases. * n/db/*: added much more RDoc comments. * created n/db distribution. * p/messages/def.rb: deleted. * n/.tc-db.rb: tests run again. 06-10-2004 George Moschovitis * more mass replaces to make older code work. * p/messages/*: many many fixes to make it work again. * p/messages/methods.rb: introduced. 06-10-2004 George Moschovitis * p/messages/part.rb: introduced. * app/conf/apache.conf: users redirect. * p/users/methods.rb (#register_user): userprofile gets created correctly. * n/db/connection.rb (#retry_query): fixed, (DbUtils#sql_write_prop): fixed Time, Date writing * n/app/request.rb (Request#get_cookie): fixed unescape bug. * app/root/s/simple/shader.xsl: top_ads, introduced debug-options in footer, rss, home link in header. * app/root/s/simple/style.css: improved css. * n/DOCS/css.txt: introduced, info about centering page. 05-10-2004 George Moschovitis * p/users/entities.rb (RoleOwner#add_role): fixed NASTY bug. * p/users/methods.rb (#update_roles): introduced, yeah, it works like cooler, handel full clear. * p/glue/std.js: intoduced, (cbSetAll): introduced. * p/locales/lc-en.rb: added more strings. * p/users/roles-form.ss: introduced 04-10-2004 George Moschovitis * app/slude/conf/debug-conf.rb: log to STDERR. * app/root/s/simple/shader.xsl: use