Changesets: MantisBT

master 74419508

2019-01-01 08:09

cproensa

Committer: dregad


Details Diff
Refactor user_pref_api

Changes include:
- Do not call database logic directly for the common use cases. Only
special cases, like user or project delete, call directly to db
functions.
- Make account management pages operate explicitly on ALL_PROJECTS. We
don't support per-project preferences over UI, but if those exists by
manual creation, at least don't break them.
- Add a way to skip checks for protected users, in some special cases
core api should be able ti update those too.
mod - account_prefs_reset.php Diff File
mod - account_prefs_update.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 2ec8df69

2019-01-01 02:37

cproensa

Committer: dregad


Details Diff
Don't apply single project logic for some users

Eventhough the project selector may be hidden when there are not
multiple projects to choose from, it is still needed for editing manage
and configuration pages that apply to either specific project or
ALL_PROJECTS.
Here we add a condition that if the user has access to manage pages, the
project selector is never hidden, and both the specific project and
ALL_PROJECTS are available to be used.

Fixes: 0020054
Affected Issues
0020054
mod - core/current_user_api.php Diff File
mod - core/layout_api.php Diff File

master 63a48421

2018-12-31 07:01

translatewiki.net


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

master 8c704951

2018-12-31 05:53

cproensa

Committer: dregad


Details Diff
Rewrite hide project list and default project check

Previously, when a user only has one project, some things happens:
- The project selector was hidden, as it is not useful without more
projects.
- A check is performed where if current project is ALL_PROJECTS, then
current and default project are updated to the only available project.

To fix issues with that implementation, the logic has been separated:
- Helper function to check if the user has more than one project. It's
used in layout_api to decide if the project selector must be shown.
- Helper function to check if the user has ALL_PROJECTS as
current/default project when only one is available. In that case,
update current and modify default in user preferences.

Fixes: 0025110, 0025133
Affected Issues
0025110, 0025133
mod - core/current_user_api.php Diff File
mod - core/layout_api.php Diff File
mod - core/user_api.php Diff File

master 8467f5bd

2018-12-31 02:12

cproensa

Committer: dregad


Details Diff
Move db check

For whatever reason the db check is there, seems logical to be placed
before layout_navbar().
mod - core/layout_api.php Diff File

master 6637fcdc

2018-12-30 20:17

cproensa

Committer: dregad


Details Diff
Relocate collapsed filter elements
mod - core/filter_api.php Diff File
mod - js/bugFilter.js Diff File

master 620fe73f

2018-12-30 15:54

cproensa

Committer: dregad


Details Diff
Refactor gpc_string_to_bool

Avoid repeated calls to strcasecmp
mod - core/filter_form_api.php Diff File
mod - core/gpc_api.php Diff File

master afee374d

2018-12-30 15:36

cproensa

Committer: dregad


Details Diff
Group filter constants in constant_inc.php
mod - core/constant_inc.php Diff File

master 24200992

2018-12-30 13:10

dregad


Details Diff
Increase size of Load Filter select in expanded mode
mod - core/filter_api.php Diff File

master f4c1fbd9

2018-12-30 13:02

dregad


Details Diff
Whitespace fixes
mod - core/constant_inc.php Diff File
mod - core/filter_api.php Diff File
mod - core/filter_form_api.php Diff File
mod - css/default.css Diff File

master ad4805d5

2018-12-30 12:39

dregad


Details Diff
Add tooltip to persist and reset buttons
mod - core/filter_api.php Diff File

master 261b89ab

2018-12-30 12:12

cproensa

Committer: dregad


Details Diff
Filters contains unneeded reset entry in collapsed mode.

The [reset filter] option in dropdown list, when the widget is
collapsed, is no longer needed, as now there is a dedicated button.
mod - core/filter_api.php Diff File

master 9787aa22

2018-12-30 12:08

cproensa

Committer: dregad


Details Diff
Remove persist filter option for anonymous user

Users that can't use persistent filters (currently, anonymous user),
should not be presented with the option to do so.
mod - core/filter_api.php Diff File
mod - view_all_set.php Diff File

master fd56979f

2018-12-30 10:40

atrol


Details Diff
Update Bootstrap to 3.4.0

Fixes 0024672
Affected Issues
0024672
mod - core/constant_inc.php Diff File
rm - css/bootstrap-3.3.6.css Diff
rm - css/bootstrap-3.3.6.min.css Diff
add - css/bootstrap-3.4.0.css Diff File
add - css/bootstrap-3.4.0.min.css Diff File
rm - js/bootstrap-3.3.6.min.js Diff
add - js/bootstrap-3.4.0.js Diff File
add - js/bootstrap-3.4.0.min.js Diff File

master-1.3.x ba29b8d8

2018-12-30 00:12

dregad


Details Diff
Update PHPMailer library to 5.2.27

Patches several security issues and improves PHP 7.2 compatibility.

Fixes 0025131
Affected Issues
0025131
mod - library/README.md Diff File
mod - library/phpmailer Diff File

master 8dbcfa12

2018-12-29 07:45

dregad


Details Diff
Add "Check Installation" to Admin menu

The Admin Checks used to be available via the Administration pages'
menu in Mantis <= 1.3. However, the menu item disappeared when the
Modern UI was introduced.

This reintroduces a dedicated tab, facilitating access to this useful
troubleshooting tool.

Fixes 0025130
Affected Issues
0025130
mod - admin/check/index.php Diff File
mod - core/html_api.php Diff File

master 014bf679

2018-12-29 07:36

dregad


Details Diff
Refactor print_admin_menu_bar()

Avoid code duplication through use of an array to define the menu tabs
to display.
mod - core/html_api.php Diff File

master 1417e38c

2018-12-29 00:22

cproensa

Committer: dregad


Details Diff
Add configuration for viewing roadmap threshold

Fixes: 0025116
Affected Issues
0025116
mod - docbook/Admin_Guide/en-US/Page_Descriptions.xml Diff File
mod - manage_config_work_threshold_page.php Diff File
mod - manage_config_work_threshold_set.php Diff File

master da62c7bf

2018-12-29 00:21

cproensa

Committer: dregad


Details Diff
Change "new account" button into a link

The "new account" button is implemented as a standalone form, but since
the destination page is not required to do any action, a link is best
suited instead.

A link button also avoids browser warnings when going back (eg, after a
validation error when submitting the actual form).

Fixes: 0025112
Affected Issues
0025112
mod - manage_user_page.php Diff File

master de71b42f

2018-12-29 00:20

talentant

Committer: dregad


Details Diff
Whitespace

https://github.com/mantisbt/mantisbt/pull/1430
mod - config_defaults_inc.php Diff File

master 34c79974

2018-12-26 23:54

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net.
mod - lang/strings_breton.txt Diff File
mod - lang/strings_danish.txt Diff File
mod - lang/strings_icelandic.txt Diff File
mod - lang/strings_zazaki.txt Diff File
mod - plugins/XmlImportExport/lang/strings_icelandic.txt Diff File

master eeb23fa1

2018-12-26 05:59

cproensa


Details Diff
Add documentation

For new options
- 'limit_reporter_unless_threshold'
- 'limit_handler_unless_threshold'
mod - config_defaults_inc.php Diff File
mod - docbook/Admin_Guide/en-US/Page_Descriptions.xml Diff File
mod - docbook/Admin_Guide/en-US/config/misc.xml Diff File

master acffd536

2018-12-25 15:42

cproensa


Details Diff
Check proper issue access for changelog, roadmap

Use the actual access api checks for ensuring the user has view access
to each issue.

Fixes: 0025115
Affected Issues
0025115
mod - changelog_page.php Diff File
mod - roadmap_page.php Diff File

master e8cd8367

2018-12-25 14:25

cproensa


Details Diff
Remove filter_api dead code

The old code for filters was left as deprecated, but with new access
options it becomes invalid logic.
mod - core/filter_api.php Diff File

master 5bed42fe

2018-12-24 09:13

cproensa

Committer: dregad


Details Diff
PR fixes
mod - config_defaults_inc.php Diff File
mod - core/constant_inc.php Diff File
mod - set_project.php Diff File
mod - view_all_set.php Diff File
 First  Prev  1 2 3 ... 70 ... 140 ... 143 144 145 146 147 148 149 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 700 ... 745 746 747  Next  Last