Changesets: MantisBT

master 11a6d0de

2021-01-16 09:43:56

dregad

Details Diff
Improve handling of invalid plugins

When installing plugins in a MantisBT instance, or when moving /
upgrading MantisBT there are several things that can go wrong:

- The case of the directory in which the plugin is installed does not
exactly match the plugin's name
- A registered plugin is no longer present on disk
- The plugin code could be invalid
- etc.

This feature branch adds an "Invalid plugins" section on Manage Plugins
page, allowing the Administrator to identify issues and eventually fix
them.

Fixes 0026142, PR https://github.com/mantisbt/mantisbt/pull/1565
Affected Issues
0026142
add - admin/check/check_plugins_inc.php Diff File
mod - admin/check/index.php Diff File
add - core/classes/InvalidDefinitionPlugin.class.php Diff File
add - core/classes/InvalidPlugin.class.php Diff File
mod - core/classes/MantisPlugin.class.php Diff File
add - core/classes/MissingClassPlugin.class.php Diff File
add - core/classes/MissingPlugin.class.php Diff File
mod - core/plugin_api.php Diff File
mod - lang/strings_english.txt Diff File
mod - manage_plugin_page.php Diff File
mod - manage_plugin_uninstall.php Diff File
mod - manage_plugin_upgrade.php Diff File

master 50e1fc7b

2021-01-14 09:59:20

translatewiki.net

Details Diff
Localisation updates from https://translatewiki.net.
Attach Issues:
mod - lang/strings_chinese_simplified.txt Diff File
mod - lang/strings_slovene.txt Diff File

master 38872131

2021-01-11 11:41:03

translatewiki.net

Details Diff
Localisation updates from https://translatewiki.net.
Attach Issues:
mod - lang/strings_chinese_traditional.txt Diff File
mod - lang/strings_danish.txt Diff File
mod - lang/strings_finnish.txt Diff File
mod - lang/strings_french.txt Diff File
mod - lang/strings_german.txt Diff File
mod - lang/strings_italian.txt Diff File
mod - lang/strings_luxembourgish.txt Diff File
mod - lang/strings_macedonian.txt Diff File
mod - lang/strings_portuguese_brazil.txt Diff File
mod - lang/strings_turkish.txt Diff File

master 30d49a4b

2021-01-10 06:40:11

dregad

Details Diff
Merge branch 'i25764-sign-email'

PR https://github.com/mantisbt/mantisbt/pull/1591
Attach Issues:
mod - config_defaults_inc.php Diff File
mod - core/email_api.php Diff File
mod - docbook/Admin_Guide/en-US/config/email.xml Diff File

master a0291ffd

2021-01-08 14:29:50

dregad

Details Diff
$g_global_settings: 1 config per line, sort alphabetically

This makes it easier to maintain the list.
Attach Issues:
mod - config_defaults_inc.php Diff File

master 043b7f89

2021-01-08 14:23:23

dregad

Details Diff
Admin Guide: move DKIM settings to their own section

It makes sense to regroup them, like the S/MIME settings.
Attach Issues:
mod - docbook/Admin_Guide/en-US/config/email.xml Diff File

master e09ea350

2021-01-08 14:21:22

dregad

Details Diff
Add new $g_email_smime_enable setting

This allows calling PHPMailer::sign() only if necessary, and avoids
4 unnecessary config_get_global() calls if not.

Fixes 0025764
Affected Issues
0025764
mod - config_defaults_inc.php Diff File
mod - core/email_api.php Diff File
mod - docbook/Admin_Guide/en-US/config/email.xml Diff File

master cb13a049

2021-01-08 14:05:46

dregad

Details Diff
Allow S/MIME signature for all mail methods

The original implementation only enabled S/MIME signature for
PHPMAILER_METHOD_SMTP.

Moving the call to PHPMailer::sign() out of the switch() statement, so
it is also called when mail method is PHPMAILER_METHOD_SENDMAIL or
PHPMAILER_METHOD_MAIL.

Fixes 0025764
Affected Issues
0025764
mod - core/email_api.php Diff File

master 741d91f5

2021-01-08 13:59:25

dregad

Details Diff
Updated PHPDoc and added new configs in Admin Guide

Created a new 'S/MIME signature' section under Config / Email.

Issue 0025764
Affected Issues
0025764
mod - config_defaults_inc.php Diff File
mod - docbook/Admin_Guide/en-US/config/email.xml Diff File

master 1bf2f040

2021-01-08 13:57:03

tsz


Committer: dregad Details Diff
Enable S/MIME signing of e-mails

Use existing PHPMailer functionality to allow MantisBT to sign outgoing
e-mail notifications.

Fixes 0025764

Signed-off-by: Damien Regad <dregad@mantisbt.org>

TomekAP's original contribution was modified as follows:
- Fix inconsistent naming of 'g_email_signing_sign_extracerts_file' in
config_defaults_inc.php, referenced everywhere else as
'g_email_signing_extracerts_file'
- Rename configs with prefix 'smime' instead of 'signing', to avoid any
confusion with DKIM which is also about signing
- Use suffix '_file' instead of '_filename'
- Fix whitespace
Affected Issues
0025764
mod - config_defaults_inc.php Diff File
mod - core/email_api.php Diff File

master 92b63dfa

2021-01-08 10:46:06

atrol

Details Diff
Minor layout fixes after print icon changes

Issue 0027828
Affected Issues
0027828
mod - bugnote_view_inc.php Diff File

master dc62d618

2021-01-08 06:33:47

dregad

Details Diff
Merge branch 'icon-api-new-func'

PR https://github.com/mantisbt/mantisbt/pull/1725
Attach Issues:
mod - account_page.php Diff File
mod - account_prefs_inc.php Diff File
mod - account_prof_edit_page.php Diff File
mod - account_prof_menu_page.php Diff File
mod - account_sponsor_page.php Diff File
mod - adm_config_page.php Diff File
mod - adm_config_report.php Diff File
mod - adm_permissions_report.php Diff File
mod - admin/db_stats.php Diff File
mod - admin/email_queue.php Diff File
mod - admin/index.php Diff File
mod - admin/move_attachments.php Diff File
mod - admin/move_attachments_page.php Diff File
mod - admin/system_utils.php Diff File
mod - admin/test_langs.php Diff File
mod - api_tokens_page.php Diff File
mod - billing_inc.php Diff File
mod - bug_actiongroup_page.php Diff File
mod - bug_change_status_page.php Diff File
mod - bug_relationship_graph.php Diff File
mod - bug_reminder_page.php Diff File
mod - bug_report_page.php Diff File
mod - bug_revision_view_page.php Diff File
mod - bug_sponsorship_list_view_inc.php Diff File
mod - bug_update_page.php Diff File
mod - bug_view_inc.php Diff File
mod - bugnote_add_inc.php Diff File
mod - bugnote_edit_page.php Diff File
mod - bugnote_stats_inc.php Diff File
mod - bugnote_view_inc.php Diff File
mod - changelog_page.php Diff File
mod - core/bug_group_action_api.php Diff File
mod - core/classes/TimelineEvent.class.php Diff File
mod - core/collapse_api.php Diff File
mod - core/columns_api.php Diff File
mod - core/custom_function_api.php Diff File
mod - core/file_api.php Diff File
mod - core/filter_api.php Diff File
mod - core/html_api.php Diff File
mod - core/icon_api.php Diff File
mod - core/layout_api.php Diff File
mod - core/logging_api.php Diff File
mod - core/prepare_api.php Diff File
mod - core/print_api.php Diff File
mod - core/tag_api.php Diff File
mod - core/timeline_inc.php Diff File
mod - core/utility_api.php Diff File
mod - lang/strings_english.txt Diff File
mod - login_page.php Diff File
mod - login_password_page.php Diff File
mod - login_select_proj_page.php Diff File
mod - lost_pwd_page.php Diff File
mod - manage_columns_inc.php Diff File
mod - manage_config_email_page.php Diff File
mod - manage_config_work_threshold_page.php Diff File
mod - manage_config_workflow_page.php Diff File
mod - manage_custom_field_edit_page.php Diff File
mod - manage_custom_field_page.php Diff File
mod - manage_filter_edit_page.php Diff File
mod - manage_filter_page.php Diff File
mod - manage_overview_page.php Diff File
mod - manage_plugin_page.php Diff File
mod - manage_proj_cat_edit_page.php Diff File
mod - manage_proj_create_page.php Diff File
mod - manage_proj_edit_page.php Diff File
mod - manage_proj_page.php Diff File
mod - manage_proj_user_update.php Diff File
mod - manage_proj_ver_edit_page.php Diff File
mod - manage_tags_page.php Diff File
mod - manage_user_create_page.php Diff File
mod - manage_user_edit_page.php Diff File
mod - manage_user_page.php Diff File
mod - my_view_inc.php Diff File
mod - news_edit_page.php Diff File
mod - news_list_page.php Diff File
mod - news_menu_page.php Diff File
mod - plugins/MantisCoreFormatting/pages/config.php Diff File
mod - plugins/MantisGraph/pages/category_graph.php Diff File
mod - plugins/MantisGraph/pages/developer_graph.php Diff File
mod - plugins/MantisGraph/pages/issues_trend_graph.php Diff File
mod - plugins/MantisGraph/pages/priority_graph.php Diff File
mod - plugins/MantisGraph/pages/reporter_graph.php Diff File
mod - plugins/MantisGraph/pages/resolution_graph.php Diff File
mod - plugins/MantisGraph/pages/severity_graph.php Diff File
mod - plugins/MantisGraph/pages/status_graph.php Diff File
mod - plugins/XmlImportExport/pages/config_page.php Diff File
mod - plugins/XmlImportExport/pages/import.php Diff File
mod - print_all_bug_page.php Diff File
mod - proj_doc_add_page.php Diff File
mod - proj_doc_edit_page.php Diff File
mod - proj_doc_page.php Diff File
mod - query_store_page.php Diff File
mod - roadmap_page.php Diff File
mod - signup.php Diff File
mod - signup_page.php Diff File
mod - summary_page.php Diff File
mod - tag_update_page.php Diff File
mod - tag_view_page.php Diff File
mod - tests/Mantis/PrepareTest.php Diff File
mod - verify.php Diff File

master e512b3d6

2021-01-08 04:46:26

atrol

Details Diff
Fix XSS in account_prof_edit_page.php

Fixes 0027853
Affected Issues
0027853
mod - account_prof_edit_page.php Diff File

master 2eb6614c

2021-01-07 09:22:49

translatewiki.net

Details Diff
Localisation updates from https://translatewiki.net.
Attach Issues:
mod - lang/strings_chinese_traditional.txt Diff File
mod - lang/strings_french.txt Diff File
mod - lang/strings_macedonian.txt Diff File
mod - lang/strings_portuguese_brazil.txt Diff File
mod - lang/strings_turkish.txt Diff File
mod - plugins/MantisCoreFormatting/lang/strings_tachelhit.txt Diff File

master 5e968d90

2021-01-05 18:01:03

dregad

Details Diff
Render URLs as hyperlinks in changelog/roadmap pages

Fixes 0027839
Affected Issues
0027839
mod - changelog_page.php Diff File
mod - roadmap_page.php Diff File

master a4e6668e

2021-01-04 08:46:59

translatewiki.net

Details Diff
Localisation updates from https://translatewiki.net.
Attach Issues:
mod - lang/strings_belarusian_tarask.txt Diff File
mod - lang/strings_catalan.txt Diff File
mod - lang/strings_chinese_traditional.txt Diff File
mod - lang/strings_danish.txt Diff File
mod - lang/strings_french.txt Diff File
mod - lang/strings_german.txt Diff File
mod - lang/strings_hebrew.txt Diff File
mod - lang/strings_interlingua.txt Diff File
mod - lang/strings_italian.txt Diff File
mod - lang/strings_korean.txt Diff File
mod - lang/strings_macedonian.txt Diff File
mod - lang/strings_portuguese_brazil.txt Diff File
mod - lang/strings_ripoarisch.txt Diff File
mod - lang/strings_swedish.txt Diff File
mod - lang/strings_turkish.txt Diff File
mod - lang/strings_ukrainian.txt Diff File
mod - lang/strings_urdu.txt Diff File
mod - lang/strings_zazaki.txt Diff File
add - plugins/Gravatar/lang/strings_interlingua.txt Diff File
mod - plugins/MantisCoreFormatting/lang/strings_interlingua.txt Diff File
mod - plugins/MantisGraph/lang/strings_interlingua.txt Diff File

master a52aeeb6

2021-01-03 18:34:51

dregad

Details Diff
PR review fixes
Attach Issues:
mod - account_prof_menu_page.php Diff File
mod - account_sponsor_page.php Diff File
mod - core/layout_api.php Diff File
mod - roadmap_page.php Diff File

master 63a794e9

2021-01-03 17:47:56

dregad

Details Diff
Fix markup in account_prefs_inc.php (take 2)

Commit f65b0cae3b9d4db820d15695e69e797dcdf98bd3 introduced a regression
in the user preferences on account_prefs_page.php.

This fixes the problem, by printing the wrapping div and spacer within
the edit_account_prefs() function again, but only when the Accounts menu
is shown (p_accounts_menu == true).

Fixes 0027574
Affected Issues
0027574
mod - account_prefs_inc.php Diff File
mod - account_prefs_page.php Diff File

master d3298ad0

2021-01-03 08:39:10

atrol

Details Diff
Remove unused option display_project_padding

Fixes 0027833
Affected Issues
0027833
mod - config_defaults_inc.php Diff File
mod - core/obsolete.php Diff File
mod - core/project_api.php Diff File

master 433394ad

2021-01-01 20:35:10

dregad

Details Diff
Merge remote-tracking branch 'origin/master-2.24'
Attach Issues:
mod - core/category_api.php Diff File

master 0cb5e713

2021-01-01 19:45:37

dregad

Details Diff
TravisCI: sort PHP versions in descending order

This way, more recent versions are built first.

Issue 0027829
Affected Issues
0027829
mod - .travis.yml Diff File

master 67b3752b

2021-01-01 19:37:06

dregad

Details Diff
TravisCI: switch to bionic for build environment

Keep using xenial for legacy PHP versions (5.6 and 7.0) as they are not
supported on bionic.

Fixes 0027829
Affected Issues
0027829
mod - .travis.yml Diff File

master f16906f9

2021-01-01 19:36:18

dregad

Details Diff
TravisCI: enable PHP 8.0 builds

Allow pgsql to fail due to issue 0027830.

Fixes 0027829
Affected Issues
0027829, 0027830
mod - .travis.yml Diff File

master-2.24 074b3f5d

2021-01-01 11:19:12

dregad

Details Diff
Fix "Category 0 not found" when reporting new issue

By definition, category "0" (no category) does not exist in any project,
but when empty category is allowed ($g_allow_no_category = ON),
category_exists_in_project() should return true.

Regression introduced by a4c4865b2102c2c0bfc53692499514db0b744dc9 in
issue 0027361.

Fixes 0027826
Affected Issues
0027361, 0027826
mod - core/category_api.php Diff File

master f25e1164

2021-01-01 09:39:55

dregad

Details Diff
Improve pop-up description for file icons

Previously, we used an hardcoded 'file icon' string, replaced with
$s_file_icon_description.

Also, added new $s_unknown_file_extension string to have a descriptive
text when the file extension is not referenced in $g_file_type_icons
instead of just displaying '?'.

Fixes 0027827
Affected Issues
0027827
mod - core/file_api.php Diff File
mod - core/print_api.php Diff File
mod - lang/strings_english.txt Diff File
1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 600 ... 646 647 648  Next  Last