Changesets: MantisBT

master c9f8cddc

2019-03-09 23:42

cproensa

Committer: dregad


Details Diff
Move "all projects" into the scrollable area

Move the "All projects" entry in navbar projects list to be the first
element in the scrollable area.
mod - core/layout_api.php Diff File

master d47a7c60

2019-03-09 08:12

cproensa

Committer: dregad


Details Diff
Projects list js

Changes and clean up for the navbar project list dropdown:

- When the dropdown is displayed:
- Apply focus to the active list element to position the
scrollable area over that element.
- If the list is empty, apply focus to the searchbox.

- Manage key events in the dropdown elements:
- When using the list and any key not related to list navigation is
pressed (for example, typing a text for searching), switch the focus
to the search box for it to receive the input.
- When using the searchbox and any key of up, down, pageup, pagedown,
is pressed, switch the focus to the list to allow navigating with
keyboard.
- Escape key in the search box will close the dropdown.

- Fix hiding the searchbox when only 10 or less items are displayed.

- Code clean-up:
- Move all the code related to the navbar projects menu to the same
place in the js file.
- Rename variables for less probability of collision with other
unrelated code.

Fixes: 0023037, 0025594
Affected Issues
0023037, 0025594
mod - js/common.js Diff File

master 09a9aea1

2019-03-09 07:15

dregad


Details Diff
Adjust height of scrollable project list
mod - css/ace-mantis.css Diff File

master 0b37e2e1

2019-03-09 03:30

cproensa

Committer: dregad


Details Diff
Move projects searchbox outside of scrollable list

In the navbar menu for project selection, move the search box, and "all
projects" item, outside of the scrollable area for the list of
individual projects.
mod - core/layout_api.php Diff File

master ef311984

2019-03-08 12:15

dregad


Details Diff
Follow-up fixes for improved manage project users page

- Adjust column width
- Fix js error on empty section
- Fix misplaced div

Pull request https://github.com/mantisbt/mantisbt/pull/1474
Commit 3753aa8943445ceb5a795ce5251280787e639b3a

Fixes 0005151
Affected Issues
0005151
mod - js/manage_proj_edit_page.js Diff File
mod - manage_proj_edit_page.php Diff File

master 9cd69967

2019-03-07 09:03

cproensa

Committer: dregad


Details Diff
Optimize summary time stats query

The query for issues time stats is based on bug history, and history
queries are expensive when scanning a lot of issues.
The previous query retrieves all individual times for each issue, and
then processes all the rows to find the maximum, average, etc. This
processing, for a big number of issues, adds a considerable time to the
function execution.

With this change:
- Introduce a database api check to know if window functions (analytic)
are supported by current database.
- When window functions are availabe, perform a query that computes the
aggregated values by itself. The result is now only one row.
- When window functions are not available, perform the simple, non
aggregated query as before.

The time cost for the windowed query is very similar to the previous
version, but it improves:
- No postprocessing time.
- By returning one row, it can be effectively cached by the database,
and further reduce times in succesive page loads.
mod - core/constant_inc.php Diff File
mod - core/database_api.php Diff File
mod - core/summary_api.php Diff File

master d92e90f5

2019-03-07 06:49

dregad


Details Diff
Merge branch 'origin/master-2.19'
mod - core/bug_api.php Diff File
mod - core/config_api.php Diff File
mod - core/email_api.php Diff File

master 5c312ead

2019-03-07 05:18

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net.
mod - lang/strings_arabic.txt Diff File
mod - lang/strings_belarusian_tarask.txt Diff File
mod - lang/strings_breton.txt Diff File
mod - lang/strings_bulgarian.txt Diff File
mod - lang/strings_catalan.txt Diff File
mod - lang/strings_chinese_simplified.txt Diff File
mod - lang/strings_chinese_traditional.txt Diff File
mod - lang/strings_croatian.txt Diff File
mod - lang/strings_dutch.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_italian.txt Diff File
mod - lang/strings_korean.txt Diff File
mod - lang/strings_latvian.txt Diff File
mod - lang/strings_macedonian.txt Diff File
mod - lang/strings_polish.txt Diff File
mod - lang/strings_portuguese_brazil.txt Diff File
mod - lang/strings_russian.txt Diff File
mod - lang/strings_serbian.txt Diff File
add - lang/strings_sh.txt Diff File
mod - lang/strings_spanish.txt Diff File
mod - lang/strings_swedish.txt Diff File
mod - lang/strings_ukrainian.txt Diff File
mod - lang/strings_vietnamese.txt Diff File
mod - lang/strings_zazaki.txt Diff File
mod - plugins/MantisGraph/lang/strings_arabic.txt Diff File
mod - plugins/MantisGraph/lang/strings_bulgarian.txt Diff File
mod - plugins/MantisGraph/lang/strings_catalan.txt Diff File
mod - plugins/MantisGraph/lang/strings_chinese_simplified.txt Diff File
mod - plugins/MantisGraph/lang/strings_chinese_traditional.txt Diff File
mod - plugins/MantisGraph/lang/strings_danish.txt Diff File
mod - plugins/MantisGraph/lang/strings_french.txt Diff File
mod - plugins/MantisGraph/lang/strings_german.txt Diff File
mod - plugins/MantisGraph/lang/strings_italian.txt Diff File
mod - plugins/MantisGraph/lang/strings_korean.txt Diff File
mod - plugins/MantisGraph/lang/strings_macedonian.txt Diff File
mod - plugins/MantisGraph/lang/strings_portuguese_brazil.txt Diff File
mod - plugins/MantisGraph/lang/strings_serbian.txt Diff File
mod - plugins/MantisGraph/lang/strings_spanish.txt Diff File
mod - plugins/MantisGraph/lang/strings_swedish.txt Diff File
mod - plugins/MantisGraph/lang/strings_zazaki.txt Diff File

master 7478b05b

2019-03-05 11:08

cproensa

Committer: dregad


Details Diff
Fix js error on empty section

Only initialize the table when the table exists.
mod - js/manage_proj_edit_page.js Diff File

master 6c0dc236

2019-03-05 11:01

cproensa

Committer: dregad


Details Diff
Fix misplaced div tag
mod - manage_proj_edit_page.php Diff File

master-2.19 2c2819ad

2019-03-05 02:30

dregad


Details Diff
PHPDoc / code cleanup

Avoids various warnings from IDE code inspection

- missing or incorrect @return type
- missing @throws
- define type for global $g_phpMailer
- add @property in BugData class for access via magic methods
- $t_mx initialized with incorrect data type for getmxrr() call
mod - core/bug_api.php Diff File
mod - core/config_api.php Diff File
mod - core/email_api.php Diff File

i25566-phpmailer-fixes 0e6ce2ee

2019-03-05 02:30

dregad


Details Diff
PHPDoc / code cleanup

Avoids various warnings from IDE code inspection

- missing or incorrect @return type
- missing @throws
- define type for global $g_phpMailer
- add @property in BugData class for access via magic methods
- $t_mx initialized with incorrect data type for getmxrr() call
mod - core/bug_api.php Diff File
mod - core/config_api.php Diff File
mod - core/email_api.php Diff File

master-2.19 e8e2cfaf

2019-03-05 02:14

dregad


Details Diff
Use PHPMailer::getSMTPInstance()

$smtp property is protected and can't be accessed directly.
mod - core/email_api.php Diff File

i25566-phpmailer-fixes 21aa795f

2019-03-05 02:14

dregad


Details Diff
Use PHPMailer::getSMTPInstance()

$smtp property is protected and can't be accessed directly.
mod - core/email_api.php Diff File

master-2.19 14c8334f

2019-03-05 02:02

dregad


Details Diff
Adjust case of PHPMailer method names

In PHPMailer 6, functions have been renamed to camelCase, this commit
modifies our email API code to use the new names.

Issue 0025566
Affected Issues
0025566
mod - core/email_api.php Diff File

i25566-phpmailer-fixes f59c514f

2019-03-05 02:02

dregad


Details Diff
Adjust case of PHPMailer method names

In PHPMailer 6, functions have been renamed to camelCase, this commit
modifies our email API code to use the new names.

Issue 0025566
mod - core/email_api.php Diff File

master-2.19 ab2353cd

2019-03-05 01:58

dregad


Details Diff
Use new namespaced PHPMailer exception

Define alias for PHPMailer\Exception as phpmailerException, matching
previous usage in the code.

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

i25566-phpmailer-fixes 37eef756

2019-03-05 01:58

dregad


Details Diff
Use new namespaced PHPMailer exception

Fixes 0025566
mod - core/email_api.php Diff File

master 8b721408

2019-03-04 13:57

cproensa

Committer: dregad


Details Diff
Fix column width in manage_proj_edit_page

In manage_proj_edit_page.php, in the redesigned section for user
assignments, the column width varies when showing and hiding the access
level dropdowns.
By making this column a fixed width, the location of contents is more
predictable.
mod - manage_proj_edit_page.php Diff File

master c69b096c

2019-03-02 14:16

dregad


Details Diff
Logic for users with only one accessible project

Merge PR https://github.com/mantisbt/mantisbt/pull/1433
mod - account_prefs_reset.php Diff File
mod - account_prefs_update.php Diff File
mod - core/current_user_api.php Diff File
mod - core/layout_api.php Diff File
mod - core/project_api.php Diff File
mod - core/user_api.php Diff File
mod - core/user_pref_api.php Diff File

master 3753aa89

2019-03-02 14:12

dregad


Details Diff
Improve project users manage page

Merge PR https://github.com/mantisbt/mantisbt/pull/1449
mod - core/constant_inc.php Diff File
mod - core/prepare_api.php Diff File
mod - core/project_api.php Diff File
mod - css/ace-mantis.css Diff File
mod - css/default.css Diff File
mod - js/common.js Diff File
rm - js/list-1.4.1.min.js Diff
add - js/list-1.5.0.js Diff File
add - js/list-1.5.0.min.js Diff File
add - js/manage_proj_edit_page.js Diff File
mod - lang/strings_english.txt Diff File
mod - library/README.md Diff File
mod - manage_proj_edit_page.php Diff File
add - manage_proj_user_update.php Diff File

master 8d191ce3

2019-03-02 14:02

dregad


Details Diff
Fix arrow direction for RTL languages
mod - manage_proj_edit_page.php Diff File

master c2a7271d

2019-03-02 13:59

dregad


Details Diff
Use fontawesome arrow instead of '=>'
mod - manage_proj_edit_page.php Diff File

master 39358ff9

2019-03-02 13:16

dregad


Details Diff
MantisGraph: horizontal bar chart's X-axis at top

Makes it easier to read charts with many categories, without having to
scroll down to see the scale.

Fixes 0025524
Affected Issues
0025524
mod - plugins/MantisGraph/files/MantisGraph.js Diff File

master 65464fb9

2019-03-02 12:41

dregad


Details Diff
MantisGraph plugin improvements

Fixes the following issues

- 0025522 - MantisGraph: limit number of slices in By Category pie chart
- 0025523 - MantisGraph: improve handling of colors in Pie charts
- 0025524 - MantisGraph: improve display of By Category Bar chart
- Code cleanup

Merge PR https://github.com/mantisbt/mantisbt/pull/1472
mod - core/helper_api.php Diff File
mod - library/README.md Diff File
mod - plugins/MantisGraph/MantisGraph.php Diff File
mod - plugins/MantisGraph/core/graph_api.php Diff File
mod - plugins/MantisGraph/files/MantisGraph.js Diff File
add - plugins/MantisGraph/files/chartjs-plugin-colorschemes.min.js Diff File
mod - plugins/MantisGraph/lang/strings_english.txt Diff File
mod - plugins/MantisGraph/pages/category_graph.php Diff File
mod - plugins/MantisGraph/pages/status_graph.php Diff File
 First  Prev  1 2 3 ... 70 ... 135 136 137 138 139 140 141 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 700 ... 744 745 746  Next  Last