Loading...
 

Automated checks on the Tiki code base


We are planning to add a Continuous Integration system for Tiki. This system will permit an automated test of common issues. And thus, make the release process quite a bit easier. See also: How to improve the release process

Please add your wishes below

Database schema patches suffix should be _tiki.sql or _tiki.php

Also, if a _tiki.sql was added without a change to tiki.sql, there is likely an issue.
See Database Schema Upgrade

Update vs clean install database check

Compare (at least the structure of) a clean install from tiki.sql with previous (LTS?) version with upgrade patches applied

The colon should be in the tr block

---------- Forwarded message ----------
From: Cloutier, Philippe
Date: Mon, Aug 14, 2017 at 10:27 AM
Subject: Re: [Tikiwiki-cvs/svn] SF.net SVN: tikiwiki:[63536] trunk/templates/search/rebuild.tpl
To: rjsmelo
Cc: CVS/SVN commits information


Thanks for this commit and the other one Ricardo.
The colon should be in the tr block, otherwise, there cannot be a space before the colon in French (and possibly other languages). Note that this cannot increase the number of strings that translators have to translate, because translating "foo:" will use a translation of just "foo" if there is no direct translation of "foo:".

> -----Message d'origine-----
> De : rjsmelo--- via Tikiwiki-cvs [mailto:tikiwiki-cvs@lists.sourceforge.net]
> Envoyé : 13 août 2017 19:56
> À : tikiwiki-cvs@lists.sourceforge.net
> Cc : rjsmelo@users.sourceforge.net
> Objet : [Tikiwiki-cvs/svn] SF.net SVN: tikiwiki:[63536] trunk/templates/search/rebuild.tpl
>
> Revision: 63536
>           http://sourceforge.net/p/tikiwiki/code/63536
> Author:   rjsmelo
> Date:     2017-08-13 23:55:49 +0000 (Sun, 13 Aug 2017)
> Log Message:
> -----------
> [FIX] Add missing translation tags
>
> Modified Paths:
> --------------
>     trunk/templates/search/rebuild.tpl
>
> Modified: trunk/templates/search/rebuild.tpl
> ===================================================================
> --- trunk/templates/search/rebuild.tpl        2017-08-12 05:41:04 UTC (rev 63535)
> +++ trunk/templates/search/rebuild.tpl        2017-08-13 23:55:49 UTC (rev 63536)
> @@ -13,7 +13,7 @@
>
>       {if !empty($search_engine)}
>               <div class="alert alert-info">
> -                     <p>Unified search engine: <b>{$search_engine}</b>{if
> !empty($search_version)}, version <b>{$search_version}</b>{/if}</p>
> +                     <p>{tr}Unified search engine{/tr}: <b>{$search_engine}</b>{if
> !empty($search_version)}, {tr}version{/tr} <b>{$search_version}</b>{/if}</p>
>               </div>
>       {/if}
>


dos2unix

find . -type f \( ! -regex '.*/\..*' ! -path './vendor*' ! -path './temp*' ! -iname '*.png' ! -iname '*.jpg' ! -iname '*.gif' \) | xargs dos2unix

Adapted from: http://serverfault.com/questions/205499/how-to-do-dos2unix-to-tpl-recursively-in-linux

Above line fixes, BOM encoding, Detect BOM in a Tiki health check and in release process, convert to Unix EOL and fixes other invisible weirdness; without touching externals.

Check the presence of index.php and .htaccess in all relevant directories

But don't touch externals...

Check for empty directories

Check PHP & Smarty Syntax, etc.

For target versions of PHP

  • Also JSLint and some sort of tests for minified javascript (somehow)

Unit Testing Cleanup

Re-indexing Fail Test


The re-indexing touches many parts of the code and is fragile because of this. It presents a unique opportunity to catch errors early.

Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki development and should correspond to documentation keywords.

Each feature in Tiki has a wiki page which regroups all the bugs, requests for enhancements, etc. It is somewhat a form of wiki-based project management. You can also express your interest in a feature by adding it to your profile. You can also try out the Dynamic filter.

Accessibility (WAI & 508)
Accounting
Administration
Ajax
Articles & Submissions
Backlinks
Banner
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Calendar
Category
Chat
Comment
Communication Center
Consistency
Contacts Address book
Contact us
Content template
Contribution
Cookie
Copyright
Credits
Custom Home (and Group Home Page)
Database MySQL - MyISAM
Database MySQL - InnoDB
Date and Time
Debugger Console
Diagram
Directory (of hyperlinks)
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
DogFood
Draw -superseded by Diagram
Dynamic Content
Preferences
Dynamic Variable
External Authentication
FAQ
Featured links
Feeds (RSS)
File Gallery
Forum
Friendship Network (Community)
Gantt
Group
Groupmail
Help
History
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
jQuery
Kaltura video management
Karma
Live Support
Logs (system & action)
Lost edit protection
Mail-in
Map
Menu
Meta Tag
Missing features
Visual Mapping
Mobile
Mods
Modules
MultiTiki
MyTiki
Newsletter
Notepad
OS independence (Non-Linux, Windows/IIS, Mac, BSD)
Organic Groups (Self-managed Teams)
Packages
Payment
PDF
Performance Speed / Load / Compression / Cache
Permission
Poll
Profiles
Quiz
Rating
Realname
Report
Revision Approval
Scheduler
Score
Search engine optimization (SEO)
Search
Security
Semantic links
Share
Shopping Cart
Shoutbox
Site Identity
Slideshow
Smarty Template
Social Networking
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Staging and Approval
Stats
Survey
Syntax Highlighter (Codemirror)
Tablesorter
Tags
Task
Tell a Friend
Terms and Conditions
Theme
TikiTests
Federated Timesheets
Token Access
Toolbar (Quicktags)
Tours
Trackers
TRIM
User Administration
User Files
User Menu
Watch
Webmail and Groupmail
WebServices
Wiki History, page rename, etc
Wiki plugins extends basic syntax
Wiki syntax text area, parser, etc
Wiki structure (book and table of content)
Workspace and perspectives
WYSIWTSN
WYSIWYCA
WYSIWYG
XMLRPC
XMPP




Useful Tools