Simplilo (version 00-05)
Developed since 2011-05-22 until 2011-10-13.
The web interface and the cache still were buggy at the end of the 00-04 version. Some changes had affected them. The web interface had not been used for a while, and the cache was off most of the time during development.
Main changes (from version 00-04)
- No web interface any more, no users, no login, no history.
- Cache fixed: also the template is compared to the cached page.
$localhost
moved to config.php as$ON_LOCALHOST
.- Engine and version are not variables any more, but constants.
$CONFIG[]
renamed$config[]
.- Config values labels are case dependent; lowercase is used for the the system values.
$DESIGNS_PAGE
renamed$DESIGN_PAGE
.- New config value
default_charset
; new metadatumcharset
;ADDON_var
updated. - Relative page calculation was fixed.
- New
ADDON_plain_var
. - Addons for including pages were fixed and improved.
header()
is moved just before echoing the final result, in order to set the calculated page charset.lang
parameter added to the HTML tags in the "html_tags" addon.- Some improvements in the abbr" addon.
- Bug fixed in the "footnotes" addon.
- Bug fixed in the "related" addon.
Main bugs fixed
A lot.
fixed: no more alt text if the alt parameter is empty.
- Search form fixed.
Changelog
2011-02-22 (='00-05-20110222')
- Removed the on-line interface stuff: login, edit, history, diff...
2011-02-23 (='00-05-201102231930')
- Fixed the cache! Also the template is compared with the page cache.
Version 00-05-201102250130
- $CONFIG[] renamed $config[].
- Config values are case-dependent; lowercase is used for the system config values.
To-do
Changes
- Adapt all mentions to
authentified()
. - Remove
$fake_logout
. - Convert all system variables (e.g.
$PAGES_DIR
) into constants. - Make
$template
a proper global, calculated only once. - Rename
addon_toc()
toaddon_loc()
/addon_lodc()
. Createaddon_toc()
with table.
Bugs
- Nested lists doesn't work fine (at least one ordered list inside an unordered list). An example can be seen in the pasportaservo page of fincasantmiquel.es: The list looks right with Boltwire, but not with Simplilo.
- 2011-01-27 In addon/contact_form.php's form, value="" was changed to value='' because the double double quotes were rendered as inline wiki quote. It should not happen, because they are returned by an addon.
- Fix
common_ancestor()
. - 2010-12-16 Images are wrongly rendered in tables. The problem is in the final
preg_replace()
intable_markup()
.
New features
- config variable
show_hidden_pages_on_localhost
- config variable
mark_hidden_pages_on_localhost
- config values in the metadata zone, with the format config:label= value.
- a way to change metadata, e.g. from
edit_summary = New page.
toedit_summary = New comment.
- redirect metadatum, to make page redirections with PHP commands.
- metadatum field translations with config values:
metadatum:título = title
- text values now accessible by
<
could be defined> t:var = text
instead oft_var = text
- no way to access any config value from the pages! yeah, it would be risky.
Improvements
ADDON_include()
can be extended to accept "from" and "to" marks when including pages, instead of (or besides) levels.ADDON_include_page()
andADDON_include_pages()
could be renamed toinclude_page() and include_pages()
.- txt2tags comments, triggered by a config value.
- addon
<>
to get the parts of "link:values" (beside[[link:value]]
) - addon
<
for "txt:label" values (instead of or beside> <
and "t_value"); the addon texts could be named "t(e)xt:addon_name:label".> - Maybe the addon
<
should manage all txt values too. Should they be prefixed "public:" instead of "txt:"?>
Addons
- Move
ADDON_clear_cache()
andADDON_create_cache()
to addon/cache_tools.php. - rename all addon functions
addon_addonname_functionname()
.
Notes
List of current values allowed in the status metadatum:
- built
- draft
- uncached
- untemplated
- verbatim
Directory tree
simplilo/ simplilo/00-05/ simplilo/00-05/addons/ simplilo/00-05/addons/files/ simplilo/00-05/files/ simplilo/00-05/files/temp/ simplilo/00-05/pages/ simplilo/00-05/temp/ simplilo/00-05/config.php simplilo/00-05/config.lang-1.php simplilo/00-05/config.lang-2.php simplilo/00-05/engine.php mysite/ mysite/addons/ mysite/addons/files/ mysite/cache/pages/ mysite/cache/search/ mysite/files/ mysite/files/temp/ mysite/pages/ mysite/config.php mysite/config.lang-1.php mysite/config.lang-2.php mysite/config.lang-n.php mysite/index.php
System pages
In the following list the names of addons, designs and users are provided as examples. Also the pages under the blackboard and debug branches are examples.
system system.addon.abbr system.addon.abbr.config system.addon.abbr.config.en system.addon.abbr.config.eo system.addon.abbr.config.es system.addon.abbr.doc system.addon.abbr.doc.en system.addon.abbr.doc.eo system.addon.abbr.doc.es system.blackboard system.blackboard.abbr system.blackboard.addons system.blackboard.include system.blackboard.include.included system.blackboard.special_zones system.blackboard.test system.config system.config.en system.config.eo system.config.es system.debug system.debug.mantis system.design system.design.laguitarraeluniverso02 system.design.laguitarraeluniverso02.css system.design.laguitarraeluniverso02.template system.design.unstable system.design.unstable.css system.design.unstable.template system.user system.user.marcos system.user.user1 system.user.user2
Engine pages
The engine pages are experimental; they were created in version 0.03 but they have no actual use yet. In the future, they could be accessible by every site.
system.engine system.engine.addon system.engine.addon.abbr.config system.engine.addon.abbr.config.en system.engine.addon.abbr.config.eo system.engine.addon.abbr.config.es system.engine.addon.abbr.doc system.engine.addon.abbr.doc.en system.engine.addon.abbr.doc.eo system.engine.addon.abbr.doc.es system.engine.config system.engine.config.en system.engine.config.eo system.engine.config.es system.engine.design system.engine.design.gdj01 system.engine.design.gdj01.css system.engine.design.gdj01.template system.engine.design.simple3color system.engine.design.simple3color.css system.engine.design.simple3color.template system.engine.doc system.engine.doc.en system.engine.doc.en.ancestors system.engine.doc.en.features system.engine.doc.en.license system.engine.doc.en.manual system.engine.doc.en.manual.creole system.engine.doc.en.to_do system.engine.doc.en.version system.engine.doc.en.version.00.00 system.engine.doc.en.version.00.01 system.engine.doc.en.version.00.02 system.engine.doc.en.version.00.03 system.engine.doc.en.version.00.04 system.engine.user system.engine.user.user1