TODO list for my homepage
New pages == a lot of problems and fixes. To prevent problems with my weak memory, I'm trying to summarize all the stuff I can remember now:
Report to James Tauber:
menu items should be rather an unsorted list instead of simple params or links (or two lists -- 'wiki' based menu and 'system' menu for login and editing actions)
accept_charset seems to be good parameter for various forms inside Leonardo
wikiBNL (Bryan Lawrence's) updates (e.g. ndash entity, image classes or keywords, abbreviations)
a typo in provider templates (closing tags for paragraph missing sometimes)
Authorization, Audit:
label-based system:
objects -- different articles and pages can have categories and security labels, both available for security decisions)
subjects -- additional labels for user entities, referrers, ip hosts (and combinations)
access types -- read, edit
actions -- permit, deny (+ audit option)
try to reuse MedusaDS9 principles for AAA framework
Additional information:
this design is a hack, a new version of Leonardo will break a lot of things :(
there should be two sets of patches -- 'data' patches (usually for templates and images for CSS) and the second one for code changes inside 'lib' directory.
try to propose some security model for access and authorization, the best would be to have a simple implementation of these in a few months
localization problems -- is there any way how to do it in fast&clean way with Leonardo?
actually, I found a bug with IE and current design.. something with float elements in CSS :(
Deployment problems:
it would be great to find a way to serve my webpage by Leonardo completely, maybe the mod_rewrite is the solution.
.htaccess file:
RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f #RewriteCond %{REQUEST_FILENAME} !-d RewriteBase /~xlorenc1/ RewriteRule ^~xlorenc1$ ~xlorenc1/ [R] RewriteRule ^$ mypage/$1 [L,QSA] RewriteRule ^blog/(.*)$ mypage/blog/$1 [L,QSA] RewriteRule ^xhtml/index.rss$ mypage/atom10/ [R] RewriteRule ^xhtml/(.*)$ mypage/$1 [L,QSA] <Files mypage> ForceType application/cgi-script SetHandler cgi-script </Files>
it's necessary to write a few providers for backwards compatibility reasons (serving old xhtml directory and files inside)
Anything else?
Comments (11)
valor on Wednesday 18 October, 2006:
Ano, ano, ano! Tak jsem nakonec zvládl přeportovat Leonarda tak, aby běžel pod mod_fcgi modulem Apache!
Teď ještě doladit chyby (ty jsou bohužel občas až příliš viditelné) a případně si trochu pohrát s mod_rewrite. Bomba :-)
Díky patří i Vlastovi, moc mi pomohl.. ještě o tom napíšu do blogu.
valor on Wednesday 11 April, 2007:
Hmm, tak jsem upravil už relativně dost kódu, ale přechodem na fcgi se nejspíš mrší řazení komentářů! Budu se muset podívat, co se tomu nezdá, ach jo..
Tedy mějte strpení..
Jo a fakulta už požadavkům ustoupila -- běžíme na novějším apache serveru, žádné překódování češtiny netřeba..
Vasek Lorenc on Saturday 11 February, 2006:
zmodifikoval, kod v pythonu je taky cizi.. a tech par radku obsahu nijak
prevratnch neni. Pochopitelne jsem ale jesitny a kazda chvala tesi :)
Dave on Tuesday 07 March, 2006:
líbí. Obsahově jsi na tom stále lépe než já ... No prostě boduješ. Velmi mě
překvapilo, když jsem sem přišel po delší době a taková změna... Pěkný... :-)
Dave on Tuesday 07 March, 2006:
Vašek Lorenc on Thursday 09 March, 2006:
Vašek Lorenc on Wednesday 15 March, 2006:
Comments are now allowed in (almost complete) wiki04 format.. It means you can have italic text, bold text and external links in your comment.
Enjoy it!
Vašek Lorenc on Wednesday 15 March, 2006:
A abych nezapomněl.. pokud jsem se dobře trefil při psaní šablon, tak by teď z určitých prohlížečů mohla korektně fungovat i čeština. Řešení ale nepovažuji za čisté a fakulta pořád neustoupila mým požadavkům! ;)
Daus on Thursday 05 October, 2006:
Good
Duk on Tuesday 17 October, 2006:
Zajímavé
Daniel Hrotek on Monday 06 February, 2006: