Loading...
 

Progressive Web App

This is an experimental feature. It works for the happy path, but there are certainly many things that don't work well as it hasn't been used in production on a large project. If you need this for a project, please contact Marc Laporte.

While this feature was first started in Tiki21, you should be using the latest stable version to make sure to get the latest fixes.

Progressive Web Apps (PWAs) are web apps that use service workers, manifests, and other web-platform features in combination with progressive enhancement to give users an experience on par with native apps.


More info: https://en.wikipedia.org/wiki/Progressive_web_application

Scope

This permits (at first) offline access to wiki pages and tracker items, and even to submit tracker items offline which are added when user gets back online.

For now only wiki pages (view) and trackers items edit (new or updates) are available on offline. The pages are cached when visited.

This is an experimental feature. To make it work properly please ensure the following settings:

  • HTTPS is used;
  • SEFURLs feature is disabled.

 Warning
For PWA to work and allow tracker items edit, CSRF tokens are bypassed. If there are any security concerns, then PWA feature should be disabled.

Get started

To get started you have to enable the Progressive Web App mode if it's not yet:
Just go under Settings -> Control Panels -> Features, search for "Progressive Web Application Mode" or you can use the Search Preferences option, and enable it.
If a message saying "A Tiki package is missing: npm-asset/dexie" appears, just click on the missing package, and you will be prompted to install it from Tiki in the browser.

How it works

The context here is that we want to insert and update items in a tracker through a form (tracker form) when we are offline, and the data will be sent later when we get Internet access again.

Inserting

Just open the page with the form, fill in the form and click Save. It's as simple as that. You will be seeing in real-time the increase of your data in terms of number of "requests" in the bottom-right corner of your page.
When you get Internet access again, you can now submit your entered data while offline by clicking the "Sync" button in the bottom-left corner of the page (next to the number of requests), and it will be synced and saved in the tracker

Updating

To update a previously entered item, you just need to find it click on it, and update the desired information. Once you're done, you submit and again you will see the number of your requests increasing
And when you are back online again, click the "Sync" button and let it do the magic!

So, with the Progressive Web App mode feature, no need to stress out again when you need to work when or where there is no internet... As a matter of fact, you will enjoy being offline wink

Code commits

These are the initial code contributions:

See also

alias

PWA | Progressive Web Apps | Enable-Progressive-Web-Application-Mode | Enable Progressive Web Application Mode

doc.tiki.org

Get Started

Admin Guide User Guide

Keywords

Keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):

Accessibility (WAI and 508)
Accounting
Articles and Submissions
Backlinks
Banners
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Link Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts (Address Book)
Contact us
Content Templates
Contribution
Cookie
Copyright
Credit
Custom Home and Group Home Page
Date and Time
Debugger Console
Directory of hyperlinks
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
Draw
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
Kaltura video management
Karma
Live Support
Login
Logs (system & action)
Look and Feel
Mail-in
Map with Mapserver
Menu
Meta Elements
Mobile Tiki and Voice Tiki
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profiles
Profile Manager
Report
Toolbar
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Search and Replace
Security
Semantic links
Shadowbox
Shadow Layers
Share
Shopping cart
Shoutbox
Slideshow
Smiley
Social Networks
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
Tags
Task
Tell a Friend, alert + Social Bookmarking
TikiTests
Theme CSS & Smarty
Tiki Manager
Trackers
Transitions
User Administration including registration and banning
User Files
User Menu
Watch
WebDAV
Webmail
Web Services
Wiki History, page rename, etc
Wiki Syntax
Wiki structure (book and table of content)
Workspace
WSOD
WYSIWYCA
WYSIWYG
XMLRPC

Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki