Changesets: MantisBT

master 584537ae

2016-04-23 02:54

dregad


Details Diff
Use new addCase() method

Also rename 'test_correct_syntax' property to 'cases'.
mod - tests/Mantis/ConfigParserTest.php Diff File

master 3304c32b

2016-04-23 02:49

dregad


Details Diff
Fix cproensa's unit tests to use ConfigParser class
mod - tests/Mantis/ConfigParserTest.php Diff File

master 8d8e4804

2016-04-23 01:33

dregad


Details Diff
Remove debugging code
mod - adm_config_set.php Diff File
mod - core/classes/ConfigParser.class.php Diff File

master 4569bdc7

2016-04-23 01:25

dregad


Details Diff
Use parse() method for scalar types

Avoids direct calls to constant_replace().
mod - adm_config_set.php Diff File

master 22b3a684

2016-04-23 01:08

dregad


Details Diff
Improve error messages
mod - core/classes/ConfigParser.class.php Diff File
mod - core/classes/Tokenizer.class.php Diff File
mod - lang/strings_english.txt Diff File

master fa8ed997

2016-04-23 01:06

dregad


Details Diff
ConfigParser: add option to ignore extra tokens

Prior to this, parse() method would always throw an exception when
additional code is found after the first token.
mod - adm_config_set.php Diff File
mod - core/classes/ConfigParser.class.php Diff File

master dabb160e

2016-04-22 20:19

vboctor


Details Diff
Move mentions settings to reminders section
mod - config_defaults_inc.php Diff File
mod - docbook/Admin_Guide/en-US/config/misc.xml Diff File
mod - docbook/Admin_Guide/en-US/config/reminders.xml Diff File

master 3bb856ef

2016-04-22 09:25

dregad


Details Diff
Move constant_replace() to ConfigParser class as static method
mod - adm_config_set.php Diff File
mod - core/classes/ConfigParser.class.php Diff File

master 9d782478

2016-04-22 09:08

dregad


Details Diff
Move Tokenizer and Parser to core class files
mod - adm_config_set.php Diff File
add - core/classes/ConfigParser.class.php Diff File
add - core/classes/Tokenizer.class.php Diff File

master da3d2be7

2016-04-22 08:45

cproensa

Committer: dregad


Details Diff
Only cache visible plugin columns

On issues view/print/export, a call is made to all MantisColumn plugin
objects to cache the list of issues.

This call is now done only for those columns that are part of the
user column selection.

Fixes 0020854

Signed-off-by: Damien Regad <dregad@mantisbt.org>
Affected Issues
0020854
mod - core/columns_api.php Diff File
mod - csv_export.php Diff File
mod - excel_xml_export.php Diff File
mod - print_all_bug_page.php Diff File
mod - view_all_inc.php Diff File

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
 First  Prev  1 2 3 ... 70 ... 140 ... 210 ... 237 238 239 240 241 242 243 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 700 ... 746 747 748  Next  Last