Changesets: MantisBT

master-1.3.x a164d8f9

2019-08-03 03:42

dregad


Details Diff
Travis: force use of trusty for builds

Xenial is now default, but since this platform does not support PHP 5.5
we need to force use of Trusty, until we raise our minimum PHP version
requirement.

Fixes #25955

(cherry picked from commit e93ed92228463d514bf10b2997e6acc0cc0b5e19)
mod - .travis.yml Diff File

master e93ed922

2019-08-03 03:42

dregad


Details Diff
Travis: force use of trusty for builds

Xenial is now default, but since this platform does not support PHP 5.5
we need to force use of Trusty, until we raise our minimum PHP version
requirement.

Fixes #25955
mod - .travis.yml Diff File

master 2e1d1ca1

2019-08-01 02:59

dregad


Details Diff
Use jsDelivr CDN for all MantisGraph javascripts

Standardize on a single CDN source. jsDeliver was selected because the
colorschemes Chart.js plugin is not available on CloudFlare.

Fixes 0025951 (see 0025951:0062489)
Affected Issues
0025951
mod - plugins/MantisGraph/MantisGraph.php Diff File

master 5d9a4f31

2019-08-01 02:55

dregad


Details Diff
Define Chart.js constants in MantisGraph plugin

The library is only used by the MantisGraph plugin, so it makes more
sense to define the related constants within the plugin's class, instead
of doing it in constants_inc.php.

Fixes 0025952
Affected Issues
0025952
mod - core/constant_inc.php Diff File
mod - plugins/MantisGraph/MantisGraph.php Diff File

master aff3eeeb

2019-08-01 02:50

dregad


Details Diff
Whitespace: indent with tabs
mod - plugins/MantisGraph/pages/category_graph.php Diff File
mod - plugins/MantisGraph/pages/developer_graph.php Diff File
mod - plugins/MantisGraph/pages/issues_trend_page.php Diff File
mod - plugins/MantisGraph/pages/reporter_graph.php Diff File
mod - plugins/MantisGraph/pages/severity_graph.php Diff File
mod - plugins/MantisGraph/pages/status_graph.php Diff File

master aa8c79ac

2019-08-01 01:49

dregad


Details Diff
Add current page param to print_summary_submenu()

This is required to highlight the 'Synthesis' menu item, which is only
displayed when a plugin hooks the EVENT_SUBMENU_SUMMARY to add new
submenu items to the Summary page.
mod - core/html_api.php Diff File

master 5c25f2c5

2019-07-31 17:44

dregad


Details Diff
Fix summary filter for Graphs tab and submenu

The links on the graphs manu did not properly include the filter param,
causing it to be lost when navigating between Summary and Graphs pages.
mod - plugins/MantisGraph/MantisGraph.php Diff File

master 539698d9

2019-07-31 17:29

dregad


Details Diff
Update MantisGraph to print submenu

Previously, the plugin's submenu was handled as an event hook, adding
buttons to the Summary page via EVENT_SUBMENU_SUMMARY.

Since the graphs are now grouped under their own tab, it does not make
sense to rely on that hook anymore, so the plugin's summary_submenu()
method was renamed print_submenu() and the code updated to use the
HTML API's eponymous function.

The plugin also defines and signals a new EVENT_MANTISGRAPH_SUBMENU
event, allowing 3rd-party plugins to add additional graphs.
mod - plugins/MantisGraph/MantisGraph.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

master 27884080

2019-07-31 17:13

dregad


Details Diff
New generic print_submenu() function

Update print_submary_submenu() to use the new API function.
mod - core/html_api.php Diff File

master 7d0f5b9b

2019-07-31 16:53

dregad


Details Diff
New generic print_menu() API function

Prior to this, the code to generate menus was duplicated in several HTML
API functions:
- print_manage_menu()
- print_account_menu
- print_doc_menu
- print_summary_menu

This commit moves the logic in a new print_menu() function, called by
the above.

Another new function plugin_menu_items() takes care of retrieving
plugin-defined menu items for a given event.
mod - core/html_api.php Diff File
mod - core/plugin_api.php Diff File

master 0697951d

2019-07-29 09:08

dregad


Details Diff
Add missing PHPDoc block
mod - core/plugin_api.php Diff File

master e559d200

2019-07-29 04:34

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net.
mod - lang/strings_skr-arab.txt Diff File
mod - lang/strings_swedish.txt Diff File

master f48812c1

2019-07-26 16:59

syncguru

Committer: vboctor


Details Diff
Fix time-tracking UI elements
mod - billing_inc.php Diff File
mod - bugnote_stats_inc.php Diff File

master 8edb6a51

2019-07-22 04:06

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net.
mod - lang/strings_korean.txt Diff File

master ca816d7e

2019-07-21 00:40

vboctor


Details Diff
Link history events to bugnote when visibility changes

When a bugnote visibility changes, update the history events for files
associated with the note to include the bugnote id to control their visibility.
This way when a note is made private, the associated history events won’t be displayed.
mod - core/bug_activity_api.php Diff File
mod - core/history_api.php Diff File

master b6911ede

2019-07-20 20:41

vboctor


Details Diff
Tweaks types returned by file_get_visible_attachments()

Some integers were typed as strings.
mod - core/file_api.php Diff File

master 3bba5a86

2019-07-20 20:39

vboctor


Details Diff
Handle marking of notes w/ attachments as private

Explicitly link attachments to notes (if not already done) so that they are reliabily hidden
and made visible with the note.
mod - bugnote_set_view_state.php Diff File
mod - core/bug_activity_api.php Diff File
mod - core/file_api.php Diff File

master d40a3dcd

2019-07-20 19:53

vboctor


Details Diff
Decide visibility of history file entries

- If bugnote exists and is private, then only show history entries if user can see the private notes.
- If bugnote was deleted, then hide it.
mod - core/file_api.php Diff File
mod - core/history_api.php Diff File

master bf923030

2019-07-20 19:50

vboctor


Details Diff
Enable adding attachments with private notes
mod - core/commands/IssueNoteAddCommand.php Diff File
mod - js/common.js Diff File

master e37437f6

2019-07-20 16:26

vboctor


Details Diff
When deleting notes, delete associated attachments
mod - core/bugnote_api.php Diff File
mod - core/file_api.php Diff File

master db49939c

2019-07-20 15:53

vboctor


Details Diff
Attachments with bugnote id should be auto-linked

When viewing activities automatically link attachments to note when bugnote id is set.
mod - core/bug_activity_api.php Diff File
mod - core/bug_api.php Diff File
mod - core/file_api.php Diff File

master 255dfdf2

2019-07-20 15:28

vboctor


Details Diff
Link attachments to note id when applicable
mod - core/commands/IssueNoteAddCommand.php Diff File
mod - core/file_api.php Diff File

master 1dfac24c

2019-07-18 06:32

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net.
mod - lang/strings_basque.txt Diff File
mod - lang/strings_belarusian_tarask.txt Diff File
mod - lang/strings_chinese_traditional.txt Diff File
mod - lang/strings_french.txt Diff File
mod - lang/strings_italian.txt Diff File
mod - lang/strings_macedonian.txt Diff File
mod - lang/strings_portuguese_brazil.txt Diff File
mod - lang/strings_portuguese_standard.txt Diff File
mod - lang/strings_russian.txt Diff File

master fc6c2a9c

2019-07-15 14:58

dregad


Details Diff
Add new chain event EVENT_MENU_MAIN_FILTER

Allow plugins to customize the complete main sidebar menu before being
output.

Fixes 0024590, PR https://github.com/mantisbt/mantisbt/pull/1365
Affected Issues
0024590
mod - core/events_inc.php Diff File
mod - core/layout_api.php Diff File
mod - docbook/Developers_Guide/en-US/Events_Reference_Output.xml Diff File

master df12b977

2019-07-15 14:53

dregad


Details Diff
Documentation for EVENT_MENU_MAIN_FILTER

James Crickmere's original documentation commit was modified to add
<para> tags and a note explaining the need to return menu data
encapsulated in an array.
mod - docbook/Developers_Guide/en-US/Events_Reference_Output.xml Diff File
 First  Prev  1 2 3 ... 70 ... 126 127 128 129 130 131 132 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 700 ... 745 746 747  Next  Last