Changesets: MantisBT

master 040cde62

2016-04-22 03:19

Alexander Ishmuradov

Committer: dregad


Details Diff
Add email notifications for users assigned to categories

Users who are assigned to categories can now receive email
notifications. This is configurable via E-mail Notifications page,
on a per-project basis.

A common use case:
- A user was assigned to some category;
- When new issue is submitted to this category and "Assigned To" field
is empty, this issue is assigned to Category Owner (who receives a
notification);
- If we then re-assign issue to someone else, the Category Owner will no
longer receive notifications.

This commit makes it possible for category owners receiving
notifications in this case as well.

Fixes 0020876

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

Original commit amended to default the new flag to ON as per [1].
Reworded and formatted commit message.

[1] https://github.com/mantisbt/mantisbt/pull/762#issuecomment-217280123
Affected Issues
0020876
mod - config_defaults_inc.php Diff File
mod - core/email_api.php Diff File
mod - docbook/Admin_Guide/en-US/Customizing.xml Diff File
mod - docbook/Admin_Guide/en-US/config/email.xml Diff File
mod - lang/strings_english.txt Diff File
mod - manage_config_email_page.php Diff File
mod - manage_config_email_set.php Diff File

master 8107ea50

2016-04-22 03:04

dregad


Details Diff
Parse complex configs using PHP tokenizer

Implements 2 classes to parse 'complex' config options in admin
Configuration Report page using PHP tokenizer instead of relying on
regular expressions.

- Tokenizer calls token_get_all() to build a list of tokens from the
given code
- Parser uses a Tokenizer object to convert the code (string) to an
actual PHP array variable

TODO: Move classes to an API and write automated tests

Fixes 0020787, 0020812, 0020813, 0020850, 0020851
Affected Issues
0020787, 0020812, 0020813, 0020850, 0020851
mod - adm_config_set.php Diff File
mod - core/constant_inc.php Diff File
mod - lang/strings_english.txt Diff File

master 7335fdde

2016-04-22 02:18

dregad


Details Diff
Removed one more hr_size/hr_width reference

Forgot to run 'git add' before committing the previous change...
mod - config_defaults_inc.php Diff File

master c1b463e6

2016-04-22 02:11

dregad


Details Diff
Remove unused $g_hr_size and $g_hr_width config options

These 2 configs were removed from the code several years ago (see commit
6a0714fec0426d7dfb44c3978b91e96d0103c740), but their definition remained
in config_defaults_inc.php and the documentation (admin guide).
mod - config_defaults_inc.php Diff File
mod - core/obsolete.php Diff File
mod - docbook/Admin_Guide/en-US/config/html.xml Diff File

master 4853bd12

2016-04-21 18:49

vboctor


Details Diff
Re-use user exists check when rendering avatars
mod - core/classes/Avatar.class.php Diff File

master 6c531644

2016-04-21 16:47

cproensa

Committer: dregad


Details Diff
Add tests
mod - tests/Mantis/AllTests.php Diff File
add - tests/Mantis/ConfigParserTest.php Diff File

master 341e1baf

2016-04-21 07:32

vboctor


Details Diff
Rendering avatars for deleted users triggers error

Fixes 0013788
Affected Issues
0013788
mod - core/classes/Avatar.class.php Diff File

master f008b8d8

2016-04-21 06:09

vboctor


Details Diff
Fix error on reporting issues w/ tags field hidden

Fixes 0009450
Affected Issues
0009450
mod - bug_report.php Diff File

master 59970d87

2016-04-20 22:47

vboctor


Details Diff
Support @ mentions

This provides the basic support for @ mentions. We can grow this feature
further over time.

Fixes 0020837
Affected Issues
0020837
mod - config_defaults_inc.php Diff File
mod - core/bug_api.php Diff File
mod - core/bugnote_api.php Diff File
add - core/mention_api.php Diff File
mod - docbook/Admin_Guide/en-US/config/misc.xml Diff File
mod - plugins/MantisCoreFormatting/MantisCoreFormatting.php Diff File
mod - tests/Mantis/AllTests.php Diff File
add - tests/Mantis/MentionTest.php Diff File
mod - tests/TestConfig.php Diff File

master d65a4135

2016-04-20 10:37

Rafik Robeal


Details Diff
Merge pull request 0000001 from dregad/mui-report-page-profile

Improve profile fill-in layout on bug report page
mod - bug_report_page.php Diff File

master 9c9e7384

2016-04-19 13:49

Damien Regad


Details Diff
Improve profile fill-in layout on bug report page

- Apply classes to the inner table so it looks more like the main one
- Move 'or_fill_in' text for collapsed section to separate PHP tag so
it's consistent with open section
mod - bug_report_page.php Diff File

master-1.2.x 9109ed67

2016-04-18 03:28

dregad


Details Diff
Fix token_touch() call in collapse_cache_token()

token_touch() requires a token ID, but we give it a TOKEN_COLLAPSE token
type instead, so collapse_cache_token() always tries to update token # 5
rather than the user's token.

Fixes 0020824

Backported from master fd47e9c8cb4d41e0d9ce9785c8b3d79b905fdd46.
Conflicts:
core/collapse_api.php
Affected Issues
0020824
mod - core/collapse_api.php Diff File

master fd47e9c8

2016-04-18 03:28

dregad


Details Diff
Fix token_touch() call in collapse_cache_token()

token_touch() requires a token ID, but we give it a TOKEN_COLLAPSE token
type instead, so collapse_cache_token() always tries to update token # 5
rather than the user's token.

Fixes 0020824
Affected Issues
0020824
mod - core/collapse_api.php Diff File

master-1.2.x f8ea0a03

2016-04-18 03:24

dregad


Details Diff
Use ':' as separator in collapse_settings cookie

Previously we were using a comma, which is not a valid character in a
cookie (per RFC6265 section 4.1.1 [1]).

Fixes 0020822

[1] http://tools.ietf.org/html/rfc6265#section-4.2.1 [^]

Backported from master e3956c28762877e041671427b59d24c927b08521
Conflicts:
js/common.js
Affected Issues
0020822
mod - core/collapse_api.php Diff File
mod - javascript/dev/common.js Diff File

master e3956c28

2016-04-18 03:24

dregad


Details Diff
Use ':' as separator in collapse_settings cookie

Previously we were using a comma, which is not a valid character in a
cookie (per RFC6265 section 4.1.1 [1]).

Fixes 0020822

[1] http://tools.ietf.org/html/rfc6265#section-4.2.1 [^]
Affected Issues
0020822
mod - core/collapse_api.php Diff File
mod - js/common.js Diff File

master 777f5e81

2016-04-17 11:26

cproensa

Committer: dregad


Details Diff
Only update user data if all fields are valid

On user account update, first verify all submitted fields, and only
update the data if they are valid.

Fixes 0020817
Affected Issues
0020817
mod - account_update.php Diff File

master ae8871ce

2016-04-17 09:29

cproensa

Committer: dregad


Details Diff
Fix labels in account update form

- Fix "current password" label association in form source.
- Change label for "new password", to better explain the function of
that field.
mod - account_page.php Diff File

master 01affc80

2016-04-17 08:48

cproensa

Committer: dregad


Details Diff
Do not allow blank password on account verification

Fixes 0020816
Affected Issues
0020816
mod - account_update.php Diff File

master 8fadfb2c

2016-04-17 07:36

cproensa

Committer: dregad


Details Diff
Include realname field in verify.php

Show realname field in account verification, and allow the user to
modify their real name in the same page.

This is useful for self registration, where real name is created blank.
So even if real name is not required, there is more chances that the
user fills in their name on first activation.
mod - account_update.php Diff File
mod - verify.php Diff File

master edb58828

2016-04-13 08:19

cproensa

Committer: dregad


Details Diff
Verify password, text adjustements

Change some text string to match verification behaviour:
- Change warning as token is still valid after initial access
- Change label for "new password" field.
mod - lang/strings_english.txt Diff File
mod - verify.php Diff File

master 607d7d67

2016-04-13 08:13

cproensa

Committer: dregad


Details Diff
Verify password, adjustements for LDAP

In case LDAP is active, don't show the password change form, and print
the warning message explaining that passwords can't be modified.

When LDAP login is active, or in a general case, the user cannot change
its own password, this page should not be reached in the first place,
because the options to reset user password should not be available.
mod - verify.php Diff File

master d4d42571

2016-04-08 23:22

vboctor


Details Diff
Access check breaks unattended upgrade

Removed a redundant access check that breaks the unattended upgrade.
Affected Issues
0020818
mod - core/plugin_api.php Diff File

master 72d200fe

2016-04-08 23:21

vboctor


Details Diff
Handle null steps in upgrade unattended

Due to recent changes in schema.php, the following step now breaks
unattended upgrade:
$g_upgrade[184] = null;

This change fixes that.
Affected Issues
0020818
mod - admin/upgrade_unattended.php Diff File

master b5178344

2016-04-08 20:35

vboctor


Details Diff
Include plugin api even in maintenance mode

Otherwise, this fails upgrade unattended.
Affected Issues
0020818
mod - core.php Diff File

master 97fd55f5

2016-04-08 20:16

vboctor


Details Diff
Remove redundant access check

This access check was causing the upgrade_unattended script to fail.
The check is redundant, since the only product code has ensure access for the
same access level.
Affected Issues
0020818
mod - core/plugin_api.php Diff File
 First  Prev  1 2 3 ... 70 ... 140 ... 210 ... 220 221 222 223 224 225 226 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 700 ... 729 730 731  Next  Last