Cypht Webmail is included in Tiki.
Tiki periodically gets latest code from https://packagist.org/packages/jason-munro/cypht via Composer. Well, indirectly, because it first goes via composer-tiki-org
After getting Cypht, the following script is ran: https://gitlab.com/tikiwiki/tiki/-/blob/master/lib/core/Tiki/Composer/PatchCypht.php as part of https://gitlab.com/tikiwiki/tiki/-/blob/master/vendor_bundled/composer.json
This page explains how to update. Please note that Cypht depends on
https://packagist.org/packages/henrique-borba/php-sieve-manager so we'll as well want something like
Copy to clipboard
"henrique-borba/php-sieve-manager": "^1.0.0",
Trunk/master (future Tiki27)
Tiki trunk usually gets Cypht master, so we are always testing the latest innovations. so
https://gitlab.com/tikiwiki/tiki/-/blob/master/vendor_bundled/composer.json has
Copy to clipboard
"jason-munro/cypht": "dev-master",
- Get latest Tiki code
-
Run from Tiki root directory
Copy to clipboard
./temp/composer.phar update --prefer-dist --working-dir="vendor_bundled" --no-dev jason-munro/cypht
- This will modify vendor_bundled/composer.lock and perhaps lib/cypht/site.js and lib/cypht/site.css
- These 2 last files are now ignored by Git
- Review changes and commit
24x-25x-26x
Tiki24 is a long term support and will be supported for 5 years. However, since the Tiki-Cypht integration is quite young, you'll likely be encouraged to upgrade to 25x, 26x...
Here we use the latest stable code from Cypht, with the following pattern:
- Get latest Tiki code
- Update https://gitlab.com/tikiwiki/tiki/-/blob/24.x/vendor_bundled/composer.json to get the desired revision
- Latest stable like
Copy to clipboard
"jason-munro/cypht": "^1.4.0",
-
Run from Tiki root directory
Copy to clipboard
./temp/composer.phar update --prefer-dist --working-dir="vendor_bundled" --no-dev jason-munro/cypht
- This will modify vendor_bundled/composer.lock and perhaps lib/cypht/site.js and lib/cypht/site.css
- These 2 last files are now ignored by Git
- Review changes and commit (along with changes to vendor_bundled/composer.json)
21x
[+]
((Cypht integration|Cypht Webmail)) is included in Tiki.
Tiki periodically gets latest code from https://packagist.org/packages/jason-munro/cypht via ((Composer)). Well, indirectly, because it first goes via ((composer-tiki-org))
After getting Cypht, the following script is ran: https://gitlab.com/tikiwiki/tiki/-/blob/master/lib/core/Tiki/Composer/PatchCypht.php as part of https://gitlab.com/tikiwiki/tiki/-/blob/master/vendor_bundled/composer.json
This page explains how to update. Please note that Cypht depends on https://packagist.org/packages/henrique-borba/php-sieve-manager so we'll as well want something like{CODE()}"henrique-borba/php-sieve-manager": "^1.0.0",{CODE}
!! Trunk/master (future Tiki27)
Tiki trunk usually gets Cypht master, so we are always testing the latest innovations. so https://gitlab.com/tikiwiki/tiki/-/blob/master/vendor_bundled/composer.json has {CODE()}"jason-munro/cypht": "dev-master",{CODE}
# Get latest Tiki code
# {CODE(caption="Run from Tiki root directory" theme="default")}./temp/composer.phar update --prefer-dist --working-dir="vendor_bundled" --no-dev jason-munro/cypht{CODE}
** This will modify vendor_bundled/composer.lock and perhaps lib/cypht/site.js and lib/cypht/site.css
** These 2 last files [https://gitlab.com/tikiwiki/tiki/-/commit/8ff29ea621c59e410443012af47f8730068acf9a|are now ignored by Git]
# Review changes and commit
!! 24x-25x-26x
((Tiki24)) is a long term support and will be supported for 5 years. However, since the Tiki-Cypht integration is quite young, you'll likely be encouraged to upgrade to 25x, 26x...
Here we use the latest stable code from Cypht, with the following pattern:
# Get latest Tiki code
# Update https://gitlab.com/tikiwiki/tiki/-/blob/24.x/vendor_bundled/composer.json to get the desired revision
** Latest stable like {CODE()}"jason-munro/cypht": "^1.4.0",{CODE}
# {CODE(caption="Run from Tiki root directory" theme="default")}./temp/composer.phar update --prefer-dist --working-dir="vendor_bundled" --no-dev jason-munro/cypht{CODE}
** This will modify vendor_bundled/composer.lock and perhaps lib/cypht/site.js and lib/cypht/site.css
** These 2 last files [https://gitlab.com/tikiwiki/tiki/-/commit/258e5ed084d447cf55f90a5c65bbbef48345169c|are now ignored by Git]
# Review changes and commit (along with changes to vendor_bundled/composer.json)
!!- 21x
__The Cypht integration in Tiki21 is not good and you really should upgrade to 24.x+__
As of 2021-10-03, ((Tiki21)) uses "jason-munro/cypht": ">=1.3.0", in https://gitlab.com/tikiwiki/tiki/-/blob/21.x/vendor_bundled/composer.json and we are working so that recent fixes are part of a stable release.