From: GitHub <no...@gi...> - 2016-07-03 16:59:40
|
Branch: refs/heads/master Home: https://github.com/mantisbt/mantisbt Commit: a523554d204e20df3a59a5199283dd19d84ac0ca https://github.com/mantisbt/mantisbt/commit/a523554d204e20df3a59a5199283dd19d84ac0ca Author: Victor Boctor <vi...@ma...> Date: 2016-06-11 (Sat, 11 Jun 2016) Changed paths: M core/constant_inc.php Log Message: ----------- Update release to 1.3.0-dev Commit: 4d3d4e5b94e626958fb86aa27e1e251410e037f8 https://github.com/mantisbt/mantisbt/commit/4d3d4e5b94e626958fb86aa27e1e251410e037f8 Author: Damien Regad <dr...@ma...> Date: 2016-06-12 (Sun, 12 Jun 2016) Changed paths: M core/constant_inc.php Log Message: ----------- Update version to 1.3.1-dev 1.3.0-dev was the development version _prior_ to the 1.3.0 alpha/beta releases. Commit: bcb9dca6fbcd03cbc823cabbd1a193fe367dbd78 https://github.com/mantisbt/mantisbt/commit/bcb9dca6fbcd03cbc823cabbd1a193fe367dbd78 Author: Damien Regad <dr...@ma...> Date: 2016-06-12 (Sun, 12 Jun 2016) Changed paths: M core/constant_inc.php Log Message: ----------- Revert "Update version to 1.3.1-dev" Nevermind, I'm an idiot This reverts commit 4d3d4e5b94e626958fb86aa27e1e251410e037f8. Commit: 6e598f946597ef8801916ccdc2e47d00d074bae9 https://github.com/mantisbt/mantisbt/commit/6e598f946597ef8801916ccdc2e47d00d074bae9 Author: Damien Regad <dr...@ma...> Date: 2016-06-13 (Mon, 13 Jun 2016) Changed paths: M .mailmap Log Message: ----------- Update .mailmap Commit: f3390f643d63712fafa6d4a8c94c655943a65289 https://github.com/mantisbt/mantisbt/commit/f3390f643d63712fafa6d4a8c94c655943a65289 Author: Damien Regad <dr...@ma...> Date: 2016-06-14 (Tue, 14 Jun 2016) Changed paths: M core/constant_inc.php Log Message: ----------- Bump version number - correctly this time Commit: d9ea999254a2c28d1db4b5f8eb4aa7fbcf962df8 https://github.com/mantisbt/mantisbt/commit/d9ea999254a2c28d1db4b5f8eb4aa7fbcf962df8 Author: Victor Boctor <vi...@ma...> Date: 2016-06-30 (Thu, 30 Jun 2016) Changed paths: M plugins/Gravatar/Gravatar.php Log Message: ----------- show_avatar config in db doesn't work Fixes #21165 Commit: 805ef0cba438336c91c663da772c75b66ecad4fd https://github.com/mantisbt/mantisbt/commit/805ef0cba438336c91c663da772c75b66ecad4fd Author: Damien Regad <dr...@ma...> Date: 2016-07-03 (Sun, 03 Jul 2016) Changed paths: M core/database_api.php Log Message: ----------- New database API function db_mysql_fix_utf8() This new function replaces 4-byte UTF-8 chars by Unicode U+FFFD character for MySQL databases. This is a temporary workaround to avoid data getting truncated on MySQL databases using native utf8 encoding which only supports 3 bytes chars, until we're able to support utf8mb4 charset (see issue #20431). Fixes #21101 Commit: 4dcb16cc9011a3675e71df6d5f71b6d69d9ed3d3 https://github.com/mantisbt/mantisbt/commit/4dcb16cc9011a3675e71df6d5f71b6d69d9ed3d3 Author: Damien Regad <dr...@ma...> Date: 2016-07-03 (Sun, 03 Jul 2016) Changed paths: M core/bug_api.php M core/bugnote_api.php M core/cfdefs/cfdef_standard.php M core/custom_field_api.php Log Message: ----------- Fix 4-byte UTF-8 chars issues on MySQL This applies the new db_mysql_fix_utf8() function to the following fields: - bug.summary - bug.description - bug.steps_to_reproduce - bug.additional_information - bugnote.text - custom fields Fixes #21101 Commit: 5831eb3442829d16f2557c1c283c67f3c9525428 https://github.com/mantisbt/mantisbt/commit/5831eb3442829d16f2557c1c283c67f3c9525428 Author: Damien Regad <dr...@ma...> Date: 2016-07-03 (Sun, 03 Jul 2016) Changed paths: M core/classes/ConfigParser.class.php M core/classes/Tokenizer.class.php M tests/Mantis/ConfigParserTest.php Log Message: ----------- Whitespace Commit: e0e7924b4b0bfd1dc511fa7e6d7a81168a734ac6 https://github.com/mantisbt/mantisbt/commit/e0e7924b4b0bfd1dc511fa7e6d7a81168a734ac6 Author: Damien Regad <dr...@ma...> Date: 2016-07-03 (Sun, 03 Jul 2016) Changed paths: M tests/Mantis/ConfigParserTest.php Log Message: ----------- Config tests: add no tokens case Commit: afdd002a84f3fe37649a99d04e404d2fdcd082e0 https://github.com/mantisbt/mantisbt/commit/afdd002a84f3fe37649a99d04e404d2fdcd082e0 Author: Damien Regad <dr...@ma...> Date: 2016-07-03 (Sun, 03 Jul 2016) Changed paths: M tests/Mantis/ConfigParserTest.php Log Message: ----------- Config tests: add cases for '0' and '' (issue #21124) Commit: d6d526c89b5d066430dcc4763788bda05b115e78 https://github.com/mantisbt/mantisbt/commit/d6d526c89b5d066430dcc4763788bda05b115e78 Author: Damien Regad <dr...@ma...> Date: 2016-07-03 (Sun, 03 Jul 2016) Changed paths: M tests/Mantis/ConfigParserTest.php Log Message: ----------- Use data provider for ScalarTypes tests Commit: 699095627826887a5eb4458c55751eb03ddf5d42 https://github.com/mantisbt/mantisbt/commit/699095627826887a5eb4458c55751eb03ddf5d42 Author: Damien Regad <dr...@ma...> Date: 2016-07-03 (Sun, 03 Jul 2016) Changed paths: M tests/Mantis/ConfigParserTest.php Log Message: ----------- Use data provider for Array tests Commit: 093ea44f04187504cccf6cee5dca8a0b57e40918 https://github.com/mantisbt/mantisbt/commit/093ea44f04187504cccf6cee5dca8a0b57e40918 Author: Damien Regad <dr...@ma...> Date: 2016-07-03 (Sun, 03 Jul 2016) Changed paths: M core/classes/ConfigParser.class.php M tests/Mantis/ConfigParserTest.php Log Message: ----------- Config tests: add cases for negative/positive numbers Commit: 9636642ae550072fb876468c818acdc45ed04718 https://github.com/mantisbt/mantisbt/commit/9636642ae550072fb876468c818acdc45ed04718 Author: Damien Regad <dr...@ma...> Date: 2016-07-03 (Sun, 03 Jul 2016) Changed paths: M core/classes/Tokenizer.class.php Log Message: ----------- Tokenizer: no exception in constructor when given empty string An empty string is a valid code snippet and as such should not trigger an exception. Doing so forces the caller to perform additional error handling. Fixes #21124 Commit: b1173d8050082f968e3c91d92dd4d819df0f8d84 https://github.com/mantisbt/mantisbt/commit/b1173d8050082f968e3c91d92dd4d819df0f8d84 Author: Damien Regad <dr...@ma...> Date: 2016-07-03 (Sun, 03 Jul 2016) Changed paths: M adm_config_set.php Log Message: ----------- Improve handling of empty values in adm_config_set.php When processing an empty value, the code now evaluates the config type as if user had selected 'default'; this ensures the proper case of 'empty' is used depending on the config being set (i.e. 0, ''). We also avoid calling the config parser in this case, because a simple typecast is sufficient to process user input. Fixes #21124 Commit: 7bbf2ea48c5a214bc4ec44669626fa596a07345c https://github.com/mantisbt/mantisbt/commit/7bbf2ea48c5a214bc4ec44669626fa596a07345c Author: Damien Regad <dr...@ma...> Date: 2016-07-03 (Sun, 03 Jul 2016) Changed paths: M adm_config_report.php Log Message: ----------- Avoid config values corruption when editing them Prior to this, an nl2br() conversion was systematically performed when displaying the config option. This caused insertion of '<br />' tags when editing configs containing newlines, which would then be saved. We now only perform the nl2br conversion when the config is printed for display. Fixes #21136 Commit: 5484d10d49e474e848cea806cabe76bbc8895538 https://github.com/mantisbt/mantisbt/commit/5484d10d49e474e848cea806cabe76bbc8895538 Author: Damien Regad <dr...@ma...> Date: 2016-07-03 (Sun, 03 Jul 2016) Changed paths: M core/classes/Tokenizer.class.php Log Message: ----------- Fix Exception message outputting variable name instead of value Commit: 9ed0b9f5d1f984bc33e42325d0fa2fa9fbc22ac5 https://github.com/mantisbt/mantisbt/commit/9ed0b9f5d1f984bc33e42325d0fa2fa9fbc22ac5 Author: Damien Regad <dr...@ma...> Date: 2016-07-03 (Sun, 03 Jul 2016) Changed paths: M adm_config_report.php M adm_config_set.php M core/classes/ConfigParser.class.php M core/classes/Tokenizer.class.php M tests/Mantis/ConfigParserTest.php Log Message: ----------- Fix config parsing issues and improve unit tests PR https://github.com/mantisbt/mantisbt/pull/796 Fixes #21124, #21136 Commit: 352d8f777e00d622d2ec494944990effde062b13 https://github.com/mantisbt/mantisbt/commit/352d8f777e00d622d2ec494944990effde062b13 Author: Damien Regad <dr...@ma...> Date: 2016-07-03 (Sun, 03 Jul 2016) Changed paths: M tests/Mantis/MentionParsingTest.php Log Message: ----------- Tests: add case for issue #21083 Commit: db419f49583d8459c5b3113af12c543e49bd3b33 https://github.com/mantisbt/mantisbt/commit/db419f49583d8459c5b3113af12c543e49bd3b33 Author: Damien Regad <dr...@ma...> Date: 2016-07-03 (Sun, 03 Jul 2016) Changed paths: M core/mention_api.php Log Message: ----------- Remove unnecessary test mention_get_users() already checks whether mentions are enabled and returns an empty array if not, so we can remove this test. Commit: a0c5647015c91c76b58b03d77384b4ff2c9e4bd5 https://github.com/mantisbt/mantisbt/commit/a0c5647015c91c76b58b03d77384b4ff2c9e4bd5 Author: Damien Regad <dr...@ma...> Date: 2016-07-03 (Sun, 03 Jul 2016) Changed paths: M core/mention_api.php Log Message: ----------- Replace deprecated <strike> tag by <s> Commit: 987223b8036638b3783e4adbfeeabad88efac1b8 https://github.com/mantisbt/mantisbt/commit/987223b8036638b3783e4adbfeeabad88efac1b8 Author: Damien Regad <dr...@ma...> Date: 2016-07-03 (Sun, 03 Jul 2016) Changed paths: M core/mention_api.php Log Message: ----------- Use $g_user_login_valid_regex for mentions parsing Commit: dc6620520421b747b28da9bcd1af078aaeb0fe6b https://github.com/mantisbt/mantisbt/commit/dc6620520421b747b28da9bcd1af078aaeb0fe6b Author: Damien Regad <dr...@ma...> Date: 2016-07-03 (Sun, 03 Jul 2016) Changed paths: M core/mention_api.php Log Message: ----------- Use specific regex for parsing mentions It turns out that the current $g_user_login_valid_regex pattern cannot be used as it allows spaces. Furthermore, special handling is required to process e-mail address-like strings. For this reason, a custom regex is built for the purpose of mentions parsing, supporting only a subset of the allowed usernames. Fixes #21083 Commit: b4f592f79badf906f78c455e52d189800ca8ed8e https://github.com/mantisbt/mantisbt/commit/b4f592f79badf906f78c455e52d189800ca8ed8e Author: Damien Regad <dr...@ma...> Date: 2016-07-03 (Sun, 03 Jul 2016) Changed paths: M tests/Mantis/MentionParsingTest.php Log Message: ----------- Tests: use data provider function This is easier to maintain and more efficient than using individual methods for each test case. Commit: fbba81331887bf3be74ad2634d03962b23c54fd0 https://github.com/mantisbt/mantisbt/commit/fbba81331887bf3be74ad2634d03962b23c54fd0 Author: Damien Regad <dr...@ma...> Date: 2016-07-03 (Sun, 03 Jul 2016) Changed paths: M tests/Mantis/MentionParsingTest.php Log Message: ----------- Tests: remove checkMentions function With the use of data provider function, it is no longer necessary to have a private function to perform the checks, they can be done in testMentions() directly. Commit: 5466ec8f3e2996119c8f43511eb647ccdad24585 https://github.com/mantisbt/mantisbt/commit/5466ec8f3e2996119c8f43511eb647ccdad24585 Author: Damien Regad <dr...@ma...> Date: 2016-07-03 (Sun, 03 Jul 2016) Changed paths: M tests/Mantis/MentionParsingTest.php Log Message: ----------- Test: simplify testMentions assertEquals is able to compare 2 arrays, so there is really no need to manually check the array count and the individual elements via foreach. Commit: a9f2f2b2692f91714e4fb3f4feab84b672483cd3 https://github.com/mantisbt/mantisbt/commit/a9f2f2b2692f91714e4fb3f4feab84b672483cd3 Author: Damien Regad <dr...@ma...> Date: 2016-07-03 (Sun, 03 Jul 2016) Changed paths: M tests/Mantis/MentionParsingTest.php Log Message: ----------- Mention tests: invert MentionWithInvalidChars case 'vboctor%%%' should match 'vboctor', as discussed in https://github.com/mantisbt/mantisbt/pull/786#issuecomment-225468428A Commit: b1c9174239344828f5f87a41a65ab2e40b95995c https://github.com/mantisbt/mantisbt/commit/b1c9174239344828f5f87a41a65ab2e40b95995c Author: Damien Regad <dr...@ma...> Date: 2016-07-03 (Sun, 03 Jul 2016) Changed paths: M core/string_api.php Log Message: ----------- New string_process_exclude_anchors() API function Processes a string by applying a callback function to the text between anchor tags (the anchors themselves will be left as-is). The new function is used to process the mailto links in string_insert_hrefs(). Commit: e5e6858c8ae88d3d948734d3d849056f60e8b89f https://github.com/mantisbt/mantisbt/commit/e5e6858c8ae88d3d948734d3d849056f60e8b89f Author: Damien Regad <dr...@ma...> Date: 2016-07-03 (Sun, 03 Jul 2016) Changed paths: M core/mention_api.php Log Message: ----------- Fix Mentions replacement corrupting mailto links mention_format_text() is called after string_insert_hrefs(). Since formatted mailto links contains text that may be interpreted as mention tags, we need to make sure we only perform replacement of the tags excluding existing anchors. Commit: 166930eb4c3c04087c1df6ec0957df1f0fa4a712 https://github.com/mantisbt/mantisbt/commit/166930eb4c3c04087c1df6ec0957df1f0fa4a712 Author: Damien Regad <dr...@ma...> Date: 2016-07-03 (Sun, 03 Jul 2016) Changed paths: M core/mention_api.php M core/string_api.php M tests/Mantis/MentionParsingTest.php Log Message: ----------- Fix #21083: User @ mentions improvements PR https://github.com/mantisbt/mantisbt/pull/786 Commit: 062c207cd7be12effd7ab8a94b0aa361fe4a9657 https://github.com/mantisbt/mantisbt/commit/062c207cd7be12effd7ab8a94b0aa361fe4a9657 Author: Damien Regad <dr...@ma...> Date: 2016-07-03 (Sun, 03 Jul 2016) Changed paths: M doc/CREDITS Log Message: ----------- Update credits Commit: c23fdaff113d8b1b472fee71727421c6c10b0562 https://github.com/mantisbt/mantisbt/commit/c23fdaff113d8b1b472fee71727421c6c10b0562 Author: Damien Regad <dr...@ma...> Date: 2016-07-03 (Sun, 03 Jul 2016) Changed paths: R docbook/README A docbook/README.md Log Message: ----------- Convert DocBook README file to Markdown Commit: 23e9349c45528a884f58ce1795d75e00fce1f78d https://github.com/mantisbt/mantisbt/commit/23e9349c45528a884f58ce1795d75e00fce1f78d Author: Damien Regad <dr...@ma...> Date: 2016-07-03 (Sun, 03 Jul 2016) Changed paths: M docbook/Admin_Guide/en-US/Revision_History.xml M docbook/Admin_Guide/publican.cfg M docbook/Developers_Guide/en-US/Revision_History.xml M docbook/Developers_Guide/publican.cfg Log Message: ----------- Prepare Documentation for 1.3.0 release Commit: 70e73a383f175fb9aed7fe3ef2834e44185a0565 https://github.com/mantisbt/mantisbt/commit/70e73a383f175fb9aed7fe3ef2834e44185a0565 Author: Damien Regad <dr...@ma...> Date: 2016-07-03 (Sun, 03 Jul 2016) Changed paths: M .mailmap M adm_config_report.php M adm_config_set.php M core/bug_api.php M core/bugnote_api.php M core/cfdefs/cfdef_standard.php M core/classes/ConfigParser.class.php M core/classes/Tokenizer.class.php M core/custom_field_api.php M core/database_api.php M core/mention_api.php M core/string_api.php M doc/CREDITS M docbook/Admin_Guide/en-US/Revision_History.xml M docbook/Admin_Guide/publican.cfg M docbook/Developers_Guide/en-US/Revision_History.xml M docbook/Developers_Guide/publican.cfg R docbook/README A docbook/README.md M tests/Mantis/ConfigParserTest.php M tests/Mantis/MentionParsingTest.php Log Message: ----------- Merge master-1.3.x into master Compare: https://github.com/mantisbt/mantisbt/compare/bf7f07ffc9d2...70e73a383f17 |