stable
Clone or download
Part of story #6256: to be able to create an artifact by sending an email What are the impacts for the site administrators? ------------------------------------------------- The option sys_enable_reply_by_mail is moved from the local.inc to the database. Starting from now, in order to configure email gateway, administrators must go to: site admin ยป plugins ยป tracker. A forgeupgrade will set the value in database accordingly to the value of $sys_enable_reply_by_mail in the local.inc file currently used. - if the variable is not in local.inc, then the feature was not used, therefore disable the feature in db. - if the variable is set to 0, then the feature was not used, therefore disable the feature in db. - if the variable is set to 1, then the feature is used with tokens, therefore activate the feature in 'token' mode in db. If the variable is not cleared from the local.inc, then a warning is displayed at the top of the config admin page. What are the impacts for the end users? --------------------------------------- - When the site admin disable the feature, no reply by mail is possible (tracker notifications to people are *not* sent with any special headers). - When the site admin switches to token based email gateway, reply by mail is possible (tracker notifications to people are sent with special headers), like before. - When the site admin switches to insecure email gateway, tracker admins can choose to activate for each tracker the feature (in tracker ยป administration ยป general settings). However please note that it is a work in progress, therefore artifact creation/reply by mail are not possible yet. Tracker notifications to people are *not* sent with any special headers. The tracker option is kept during export/import and is inherited from template. Change-Id: I3bc5fce794c556dc8c2de81c127445e85e2a7496
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/db/install.sql | +8 | โ0 | Go to diff View file |
A | plugins/tracker/db/mysql/updates/2015/201510131648_add_emailgateway_column_to_tracker.php | +41 | โ0 | Go to diff View file |
A | plugins/tracker/db/mysql/updates/2015/201510141100_add_plugin_tracker_config.php | +84 | โ0 | Go to diff View file |
M | plugins/tracker/db/uninstall.sql | +2 | โ0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_Changeset.class.php | +11 | โ1 | Go to diff View file |
M | plugins/tracker/include/Tracker/GeneralSettings_Presenter.class.php | +19 | โ2 | Go to diff View file |
M | plugins/tracker/include/Tracker/NullTracker.class.php | +3 | โ3 | Go to diff View file |
M | plugins/tracker/include/Tracker/Tracker.class.php | +16 | โ2 | Go to diff View file |
M | plugins/tracker/include/Tracker/TrackerFactory.class.php | +4 | โ2 | Go to diff View file |
M | plugins/tracker/include/Tracker/Tracker_URLVerification.class.php | +2 | โ0 | Go to diff View file |
M | plugins/tracker/include/Tracker/dao/TrackerDao.class.php | +14 | โ6 | Go to diff View file |
A | plugins/tracker/include/TrackerPluginConfig.php | +72 | โ0 | Go to diff View file |
A | plugins/tracker/include/TrackerPluginConfigController.php | +64 | โ0 | Go to diff View file |
A | plugins/tracker/include/TrackerPluginConfigDao.php | +38 | โ0 | Go to diff View file |
A | plugins/tracker/include/TrackerPluginConfigPresenter.php | +77 | โ0 | Go to diff View file |
A | plugins/tracker/include/TrackerPluginConfigRouter.php | +58 | โ0 | Go to diff View file |
M | plugins/tracker/include/TrackerXmlImport.class.php | +2 | โ0 | Go to diff View file |
M | plugins/tracker/include/autoload.php | +7 | โ2 | Go to diff View file |
M | plugins/tracker/include/trackerPlugin.class.php | +12 | โ1 | Go to diff View file |
M | plugins/tracker/site-content/en_US/tracker.tab | +12 | โ0 | Go to diff View file |
M | plugins/tracker/site-content/fr_FR/tracker.tab | +12 | โ0 | Go to diff View file |
A | plugins/tracker/templates/siteadmin-config.mustache | +58 | โ0 | Go to diff View file |
M | plugins/tracker/templates/tracker-general-settings.mustache | +8 | โ0 | Go to diff View file |
M | plugins/tracker/tests/TrackerTest.php | +1 | โ1 | Go to diff View file |
M | plugins/tracker/tests/Tracker_Artifact_ChangesetTest.php | +5 | โ0 | Go to diff View file |
M | plugins/tracker/tests/builders/aTracker.php | +1 | โ0 | Go to diff View file |
A | plugins/tracker/www/config.php | +41 | โ0 | Go to diff View file |
M | plugins/tracker/www/resources/tracker-definition.rnc | +1 | โ0 | Go to diff View file |
M | plugins/tracker/www/resources/tracker-definition.rng | +9 | โ0 | Go to diff View file |
M | plugins/tracker/www/themes/default/css/style.less | +16 | โ0 | Go to diff View file |
M | src/etc/local.inc.dist | +0 | โ4 | Go to diff View file |