Status/Roadmap
In progress.
Overview
Various improvements to site flow and provision of information, with particular emphasis on error pages, the login cycle and HTTP headers information.
Style guidelines
[-]
Access checking
Check for access in this order:
- check if feature is enabled
- (if anonymous access is not permitted) check isset($user)
- check permissions
Rationale: No point in telling a user they aren't logged in, only to then tell them that the feature is disabled when they try again after they are logged in. isset($user) can be thought of as a generic permission - we check more generic (catch-all) permissions first, working towards the more specific ones for optimisation purposes.
Variables
$errortype - not set (default) or 404 for a "not found" error page
$errortitle - the title to use at the top of the error box in the centre column
$headtitle - (part of) the title to use in the browsers' title bar.
TikiTeam
Trackers/Todo
[-]
- provide alternative layouts for error pages, search pages (committed), modules and login pages
- check every use of location, referer and error.tpl
- provide login box redirection for !$user
- try harder to find the right document or part of site on invalid URL / HTTP 404
- no-cache for installer and other temporary pages
- 404 headers for installed
Code
[+]
feature_usability is set (to 'n' by default) in tiki-setup.php and is availabe to template files. Not currently possible to turn it on/off via admin screen.
refactor permissions code into library class
library: part done
library calls: part done
Location headers:
banner_click.php no change needed
index.php no change needed
setup_smarty.php no change needed
tiki-admin.php part done
tiki-admin_include_blogs.php no change needed
tiki-admin_include_cms.php no change needed
tiki-admin_include_directory.php no change needed
tiki-admin_include_faqs.php no change needed
tiki-admin_include_features.php no change needed
tiki-admin_include_fgal.php no change needed
tiki-admin_include_forums.php no change needed
tiki-admin_include_gal.php no change needed
tiki-admin_include_general.php no change needed
tiki-admin_include_login.php no change needed
tiki-admin_include_maps.php no change needed
tiki-admin_include_polls.php no change needed
tiki-admin_include_rss.php no change needed
tiki-admin_include_search.php no change needed
tiki-admin_include_trackers.php no change needed
tiki-admin_include_userfiles.php no change needed
tiki-admin_include_webmail.php no change needed
tiki-admin_include_wiki.php no change needed
tiki-admin_integrator.php not started
tiki-admin_modules.php not started
tiki-atom.php not started
tiki-blog_post.php not started
tiki-change_password.php not started
tiki-directory_redirect.php no change needed
tiki-edit_article.php not started
tiki-edit_blog.php not started
tiki-edit_submission.php not started
tiki-edit_topic.php not started
tiki-editpage.php not started
tiki-export_wiki_pages.php no change needed
tiki-install.php not started
tiki-live_support_client.php no change needed
tiki-login.php not started
tiki-login_validate.php not started
tiki-logout.php not started
tiki-module_controls.php not started
tiki-notepad_read.php no change needed
tiki-notepad_write.php no change needed
tiki-pagehistory.php not started
tiki-pagesetup.php no change needed
tiki-register.php not started
tiki-removepage.php no change needed
tiki-rename_page.php no change needed
tiki-rollback.php no change needed
tiki-setup.php not started
tiki-setup_base.php no change needed
tiki-switch_lang.php no change needed
tiki-switch_theme.php no change needed
tiki-take_survey.php no change needed
tiki-upload_file.php no change needed
tiki-upload_image.php no change needed
tiki-user_preferences.php no change needed
tiki-view_chart_item.php no change needed
tiki-view_forum.php no change needed
tiki-webmail.php no change needed
Error templates:
messu-broadcast.php user, permission
messu-compose.php user, permission
messu-mailbox.php user, permission
messu-read.php part done: user, permission
tiki-admin.php part done
tiki-admin_banners.php feature permission
tiki-admin_banning.php permission
tiki-admin_calendars.php permission
tiki-admin_categories.php feature permission, permission
tiki-admin_chart_items.php feature permission, permission
tiki-admin_charts.php feature permission, permission
tiki-admin_chat.php permission
tiki-admin_content_templates.php permission
tiki-admin_cookies.php permission
tiki-admin_drawings.php done
tiki-admin_dsn.php done
tiki-admin_external_wikis.php done
tiki-admin_forums.php done
tiki-admin_hotwords.php done
tiki-admin_html_page_content.php
tiki-admin_html_pages.php
tiki-admin_integrator_rules.php
tiki-admin_layout.php
tiki-admin_links.php
tiki-admin_mailin.php
tiki-admin_menu_options.php
tiki-admin_menus.php part done
tiki-admin_modules.php done
tiki-admin_newsletter_subscriptions.php
tiki-admin_newsletters.php
tiki-admin_notifications.php
tiki-admin_poll_options.php
tiki-admin_polls.php
tiki-admin_quicktags.php
tiki-admin_rssmodules.php
tiki-admin_security.php part done
tiki-admin_structures.php
tiki-admin_survey_questions.php
tiki-admin_surveys.php
tiki-admin_system.php part done
tiki-admin_topics.php
tiki-admin_tracker_fields.php
tiki-admin_trackers.php
tiki-admingroups.php
tiki-adminusers.php
tiki-article_types.php
tiki-assignpermission.php
tiki-assignuser.php
tiki-backlinks.php
tiki-backup.php
tiki-blog_post.php
tiki-blog_rankings.php
tiki-browse_categories.php
tiki-browse_gallery.php
tiki-browse_image.php
tiki-calendar.php
tiki-change_password.php
tiki-charts.php
tiki-chat.php
tiki-chatroom.php
tiki-cms_rankings.php
tiki-config_pdf.php
tiki-contact.php done
tiki-create_webhelp.php
tiki-custom_home.php
tiki-directory_add_site.php
tiki-directory_add_tiki_site.php
tiki-directory_admin.php
tiki-directory_admin_categories.php
tiki-directory_admin_related.php
tiki-directory_admin_sites.php
tiki-directory_browse.php
tiki-directory_ranking.php
tiki-directory_redirect.php
tiki-directory_search.php
tiki-directory_validate_sites.php
tiki-download_file.php
tiki-edit_article.php
tiki-edit_banner.php
tiki-edit_blog.php
tiki-edit_css.php
tiki-edit_image.php
tiki-edit_languages.php
tiki-edit_programmed_content.php
tiki-edit_question_options.php
tiki-edit_quiz.php
tiki-edit_quiz_questions.php
tiki-edit_quiz_results.php
tiki-edit_structure.php
tiki-edit_submission.php
tiki-edit_templates.php
tiki-edit_topic.php
tiki-editpage.php
tiki-eph.php
tiki-eph_admin.php
tiki-error.php
tiki-export_pdf.php
tiki-faq_questions.php
tiki-featured_link.php
tiki-file_galleries.php
tiki-file_galleries_rankings.php
tiki-forum_queue.php
tiki-forum_rankings.php
tiki-forums.php
tiki-forums_reported.php
tiki-g-admin_activities.php
tiki-g-admin_instance.php
tiki-g-admin_processes.php
tiki-g-admin_roles.php
tiki-g-admin_shared_source.php
tiki-g-monitor_activities.php
tiki-g-monitor_instances.php
tiki-g-monitor_processes.php
tiki-g-monitor_workitems.php
tiki-g-run_activity.php
tiki-g-save_process.php
tiki-g-user_activities.php
tiki-g-user_instances.php
tiki-g-user_processes.php
tiki-g-view_workitem.php
tiki-galleries.php
tiki-galleries_rankings.php
tiki-imexport_languages.php
tiki-import_phpwiki.php
tiki-index.php
tiki-index_p.php
tiki-index_raw.php
tiki-lastchanges.php
tiki-likepages.php
tiki-list_articles.php
tiki-list_banners.php
tiki-list_blogs.php
tiki-list_cache.php
tiki-list_contents.php
tiki-list_faqs.php
tiki-list_file_gallery.php
tiki-list_gallery.php
tiki-list_games.php
tiki-list_integrator_repositories.php
tiki-list_posts.php
tiki-list_quizzes.php
tiki-list_submissions.php
tiki-list_surveys.php
tiki-list_trackers.php
tiki-listpages.php
tiki-live_support_admin.php
tiki-live_support_chat_window.php
tiki-live_support_client.php
tiki-live_support_console.php
tiki-live_support_message.php
tiki-live_support_transcripts.php
tiki-login_validate.php
tiki-mailin.php
tiki-map_download.phtml
tiki-map_edit.php
tiki-map_upload.php
tiki-minical.php
tiki-minical_prefs.php
tiki-module_controls.php
tiki-my_tiki.php
tiki-newsletters.php
tiki-newsreader_groups.php
tiki-newsreader_news.php
tiki-newsreader_read.php
tiki-newsreader_servers.php
tiki-notepad_get.php
tiki-notepad_list.php
tiki-notepad_read.php
tiki-notepad_write.php
tiki-objectpermissions.php
tiki-old_polls.php
tiki-orphan_pages.php
tiki-page.php
tiki-pagehistory.php part done
tiki-pagepermissions.php
tiki-pdf.php
tiki-phpinfo.php
tiki-pick_avatar.php
tiki-poll_form.php
tiki-poll_results.php
tiki-print.php
tiki-print_article.php
tiki-print_blog_post.php
tiki-print_multi_pages.php
tiki-print_pages.php
tiki-quiz_result_stats.php
tiki-quiz_stats.php
tiki-quiz_stats_quiz.php
tiki-ranking.php
tiki-read_article.php
tiki-received_articles.php
tiki-received_pages.php
tiki-referer_stats.php
tiki-register.php
tiki-remind_password.php
tiki-removepage.php
tiki-rename_page.php
tiki-rollback.php
tiki-search_stats.php
tiki-searchindex.php part done: revisit translations
tiki-searchresults.php
tiki-section_options.php
tiki-send_blog_post.php
tiki-send_newsletters.php
tiki-send_objects.php
tiki-shoutbox.php
tiki-slideshow.php
tiki-slideshow2.php
tiki-stats.php
tiki-survey_stats.php
tiki-survey_stats_survey.php
tiki-take_quiz.php
tiki-take_survey.php
tiki-theme_control.php
tiki-theme_control_objects.php
tiki-theme_control_sections.php
tiki-upload_file.php
tiki-upload_image.php
tiki-user_assigned_modules.php
tiki-user_bookmarks.php
tiki-user_cached_bookmark.php
tiki-user_information.php
tiki-user_preferences.php
tiki-user_tasks.php
tiki-user_watches.php
tiki-userfiles.php
tiki-usermenu.php
tiki-userversions.php
tiki-view_articles.php
tiki-view_banner.php
tiki-view_blog.php
tiki-view_blog_post.php
tiki-view_cache.php
tiki-view_chart.php
tiki-view_chart_item.php
tiki-view_faq.php
tiki-view_forum.php
tiki-view_forum_thread.php
tiki-view_tracker.php
tiki-view_tracker_item.php
tiki-webmail.php
tiki-wiki_rankings.php
tiki-admin_integrator.php
tiki-integrator.php
tiki-map.phtml test: permission
libraries
in root:
redirect to index.php, check error.tpl and other location headers done
categorize.php done
categorize_list.php done
comments.php test: permission
copyrights.php test: permission
function.js_maxlength.php done
poll_categorize.php test: permission
textareasize.php done
tiki-admin_include_general.php test: permission
tiki-admin_include_siteid.php test: permission
tiki-admin_include_wiki.php test: permission
tiki-mailin-code.php done
tiki-modules.php done
tiki-tc.php done
elsewhere:
not done
Discussion/Participation
[-]
Feel free to add to this document, post comments or send me/us private messages.