Changesets: MantisBT

master fb121e83

2013-09-28 16:13

vboctor


Details Diff
Fixes 0016416: Improve first login experience by auto-redirecting to create project page.

If MantisBT is pre-installed, the user lands in My View Page without knowing what to do.
We should handle the "first login" experience in MantisBT itself rather than the installation
and provide a helpful getting started over time. For now, we should start with auto-redirecting
to create project page if user is administrator and there aren't at least 1 project in the database.

The cost of this check is one cheap query on the projects table that returns 0 or 1 entries
which is only run at login of an administrator.
Affected Issues
0016416, 0016421
mod - admin/install.php Diff File
mod - core/project_api.php Diff File
mod - login_cookie_test.php Diff File

master-2.0.x 551dea28

2013-09-28 16:09

Paul Richards


Details Diff
move prepare_verison_String into version api
mod - bug_view_inc.php Diff File

master-2.0.x 8b4c7895

2013-09-28 16:08

Paul Richards


Details Diff
move prepare_verison_String into version api
mod - core/prepare_api.php Diff File
mod - core/print_api.php Diff File
mod - core/version_api.php Diff File
mod - print_bug_page.php Diff File

master-2.0.x 1d665f13

2013-09-28 15:47

Paul Richards


Details Diff
fix namespace
mod - core/classes/Exception/Locale/LocalesNotSupported.php Diff File

master-1.2.x 06fc7905

2013-09-28 15:07

Paul Richards


Details Diff
Revert "Editing user prefs when no project exists triggers error"

This reverts commit 26831ea012ff779155ab7e4a2526ad66f30168ef.

See mantis bug - ALL_PROJECTS should remain in this case
mod - account_prefs_inc.php Diff File

master 9804788e

2013-09-28 10:57

Paul Richards


Details Diff
Add type hinting to user preferences api
mod - core/user_pref_api.php Diff File

master-2.0.x a385cfb6

2013-09-28 10:57

Paul Richards


Details Diff
Add type hinting to user preferences api
mod - core/user_pref_api.php Diff File

master e60809f7

2013-09-28 08:32

dregad


Details Diff
Editing user prefs when no project exists triggers error

It was not possible to update a user's preferences when no projects
exists (e.g. right after installation), Mantis triggered application
error 20.

We now omit 'All projects' from the default project selection list only
when the project count is 1.

Fixes 0016420
Affected Issues
0016420
mod - account_prefs_inc.php Diff File

master-1.2.x 26831ea0

2013-09-28 08:32

dregad


Details Diff
Editing user prefs when no project exists triggers error

It was not possible to update a user's preferences when no projects
exists (e.g. right after installation), Mantis triggered application
error 20.

We now omit 'All projects' from the default project selection list only
when the project count is 1.

Fixes 0016420
Affected Issues
0016420
mod - account_prefs_inc.php Diff File

master-2.0.x 8a81cd4c

2013-09-28 05:22

Paul Richards


Details Diff
Gettext: add english translation file
add - locale/en/LC_MESSAGES/core.po Diff File

master-2.0.x 1d1336b8

2013-09-28 02:34

Paul Richards


Details Diff
fix format string
mod - manage/config_workflow_graph_page.php Diff File

master-2.0.x 7ddd0299

2013-09-28 02:13

Paul Richards


Details Diff
fix format string
mod - manage/config_work_threshold_page.php Diff File

master-2.0.x fd9ff728

2013-09-28 02:12

Paul Richards


Details Diff
Fix php format strings
mod - core/email_api.php Diff File
mod - manage/config_email_page.php Diff File
mod - manage/plugin_page.php Diff File
mod - my_view_inc.php Diff File

master-2.0.x ed6c90bd

2013-09-28 02:10

Paul Richards


Details Diff
fix sprintf format strings
mod - bug_revision_view_page.php Diff File
mod - bug_sponsorship_list_view_inc.php Diff File
mod - bugnote_view_inc.php Diff File
mod - core/print_api.php Diff File
mod - manage/config_workflow_page.php Diff File
mod - manage/config_workflow_set.php Diff File
mod - manage/plugin_page.php Diff File
mod - manage/proj_cat_delete.php Diff File
mod - manage/tags_page.php Diff File
mod - tag_update_page.php Diff File
mod - tag_view_page.php Diff File

master-2.0.x e935cd7e

2013-09-28 02:00

Paul Richards


Details Diff
fix sprintf statements
mod - bug_actiongroup_page.php Diff File
mod - bugnote_view_inc.php Diff File
mod - core/columns_api.php Diff File
mod - core/email_api.php Diff File
mod - core/html_api.php Diff File
mod - core/print_api.php Diff File
mod - roadmap_page.php Diff File
mod - tag_update_page.php Diff File
mod - tag_view_page.php Diff File

master f0b98c1d

2013-09-27 02:13

dregad


Details Diff
Use extract() function instead of manual assignment
mod - core/history_api.php Diff File

master 54630069

2013-09-26 13:05

dregad


Details Diff
Merge branch 'master' into 13x

Conflicts:
core/print_api.php
mod - .travis.yml Diff File
mod - api/soap/mc_tag_api.php Diff File
mod - core/config_api.php Diff File
mod - core/form_api.php Diff File
mod - core/html_api.php Diff File
mod - core/tag_api.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_tags_page.php Diff File
mod - plugins/MantisCoreFormatting/MantisCoreFormatting.php Diff File

master 42d19a11

2013-09-26 08:24

dregad


Details Diff
Display blank instead of 'user0' in Assigned to field

When a user lacking the 'update_bug_assign_threshold' privilege (e.g.
updater) tries to edit an issue that has no handler, the 'Assigned to'
field shows 'user0' instead of a blank field as expected.

Fixes 0012480
Affected Issues
0012480
mod - bug_update_advanced_page.php Diff File

master-1.2.x d67d9bd1

2013-09-26 08:24

dregad


Details Diff
Display blank instead of 'user0' in Assigned to field

When a user lacking the 'update_bug_assign_threshold' privilege (e.g.
updater) tries to edit an issue that has no handler, the 'Assigned to'
field shows 'user0' instead of a blank field as expected.

Fixes 0012480
Affected Issues
0012480
mod - bug_update_advanced_page.php Diff File

master cf72f3d5

2013-09-26 06:31

dregad


Details Diff
Workflow thresholds page: hide delete button when not needed

The button is now displayed only when there are overrides specific to
the current project.

Fixes 0016412
Affected Issues
0016412
mod - manage_config_work_threshold_page.php Diff File

master 2ecfefa0

2013-09-26 06:19

dregad


Details Diff
Workflow thresholds page: add color highlight for 'who can alter'

Normally on this page, all changes versus system / global defaults are
highlighted in color. This did not work for the access level threshold
of 'Who can alter this value', which are never color-coded regardless of
the actual value.

This commit introduces a new function print_who_can_change() to remove
code duplication.

Fixes 0016411
Affected Issues
0016411
mod - manage_config_work_threshold_page.php Diff File

master f64db453

2013-09-26 05:57

dregad


Details Diff
Workflow thresholds page: improve html layout

Adding newlines and tabs to make the generated HTML more readable.
mod - manage_config_work_threshold_page.php Diff File

master 33db5208

2013-09-26 05:35

dregad


Details Diff
Workflow thresholds page: new set_color() function

Simplify program by moving duplicated code into a new function.

And sorry for the Brits but it's 'color', not 'colour' ;)
mod - manage_config_work_threshold_page.php Diff File

master 223dd63d

2013-09-26 05:23

dregad


Details Diff
Fix whitespace
mod - manage_config_work_threshold_page.php Diff File

master-1.2.x f4a4e903

2013-09-26 05:14

dregad


Details Diff
Coding guidelines
mod - core/config_api.php Diff File
 First  Prev  1 2 3 ... 80 ... 160 ... 240 ... 320 ... 342 343 344 345 346 347 348 ... 400 ... 480 ... 560 ... 640 ... 720 ... 762 763 764  Next  Last