Changesets: MantisBT

master 609c6b8d

2019-08-08 13:22

dregad


Details Diff
Update Chart.js and move to MantisGraph plugin

- Update Chart.js library to v2.8.0
- Update colorschemes Chart.js plugin to v0.4.0
- Use jsDelivr CDN for all MantisGraph javascripts
- Define Chart.js constants in MantisGraph plugin
- Define and use constant for jsDelivr CDN URL
- Use foreach loop to output script tags
- PHPDoc fixes

Merge PR 1533 - https://github.com/mantisbt/mantisbt/pull/1533
mod - core/constant_inc.php Diff File
mod - library/README.md Diff File
mod - plugins/MantisGraph/MantisGraph.php Diff File
rm - plugins/MantisGraph/files/Chart-2.7.3.min.js Diff
add - plugins/MantisGraph/files/Chart-2.8.0.min.js Diff File
rm - plugins/MantisGraph/files/Chart.bundle-2.7.3.min.js Diff
add - plugins/MantisGraph/files/Chart.bundle-2.8.0.min.js Diff File
add - plugins/MantisGraph/files/chartjs-plugin-colorschemes-0.4.0.min.js Diff File
rm - plugins/MantisGraph/files/chartjs-plugin-colorschemes.min.js Diff

master a02680db

2019-08-08 10:15

translatewiki.net


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

master 404bdd68

2019-08-06 15:13

cproensa

Committer: vboctor


Details Diff
Make custom fields table sortable.
mod - manage_custom_field_page.php Diff File

master 7786bfd5

2019-08-06 15:13

cproensa

Committer: vboctor


Details Diff
Use html regex validation for string custom fields

Use the custom field configured regex in the html input "pattern"
attribute.
This is only supported (natively in html5) for text inputs, not
textareas.

Fixes: 0025972
Affected Issues
0025972
mod - core/cfdefs/cfdef_standard.php Diff File

master 82b8d472

2019-08-06 12:30

cproensa

Committer: vboctor


Details Diff
Don't force caching of form pages

These pages were explicitly setting a flag to make the pages cacheable.
Before the changes in 97b745dc102323c312ca27b6fcb8f838c3e50b8f
the expiration headers were not being correctly set, however after that
commit, the issue is fixed and these pages have become cacheable
This causes undesired effects.

Since the previos status of this scenario is that the pages were not
being cached anyway, we are removing the explicit $g_allow_browser_cache
flag.

Fixes: 0025969
Affected Issues
0025969
mod - bug_change_status_page.php Diff File
mod - bug_report_page.php Diff File
mod - bug_update_page.php Diff File

master bfcb3c6d

2019-08-05 16:36

dregad


Details Diff
PHPUnit: fix RestIssueAddTest - categories

The assertion is now conditional, based on how $g_allow_no_category is
set. This option defaults to OFF, but Travis builds set it to ON to
avoid skipping tests in SOAP suite.
mod - tests/rest/RestIssueAddTest.php Diff File

master 9a1900fb

2019-08-05 16:35

dregad


Details Diff
PHPUnit: fix RestIssueAddTest - tags
mod - tests/rest/RestIssueAddTest.php Diff File

master b2096a72

2019-08-05 16:33

dregad


Details Diff
Travis: generate Tag data
mod - scripts/travis_before_script.sh Diff File

master b3c85ad9

2019-08-05 15:46

dregad


Details Diff
PHPUnit: fix RestIssueAddTest - versions

Prior to this, the tests were written to use harcoded version numbers
and ids taken from mantisbt.org database.

Now we retrieve versions from the database; there must be at least 3
defined versions for the test project.
mod - tests/rest/RestIssueAddTest.php Diff File

master efb543c4

2019-08-05 15:43

dregad


Details Diff
Travis: generate Version data

Update before_script to create 3 version records.

This is used by REST tests.
mod - scripts/travis_before_script.sh Diff File

master e05cfbf8

2019-08-05 15:40

dregad


Details Diff
RestBase: include MantisCore and add dbConnect()

Code copied from MantisCoreBase suite.
TODO: check if code duplication can be avoided
mod - tests/rest/RestBase.php Diff File

master de47e343

2019-08-05 14:12

dregad


Details Diff
Travis: enable REST tests

Dynamically generate an API token for the administrator user to execute
the REST API test suite.
mod - scripts/travis_before_script.sh Diff File
add - tests/travis_create_api_token.php Diff File

master a15ea304

2019-08-05 14:01

dregad


Details Diff
New api_token_name_is_unique() function
mod - core/api_token_api.php Diff File

master 564285ba

2019-08-05 02:11

translatewiki.net


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

master f878bca4

2019-08-04 22:45

dregad


Details Diff
Travis: enable_product_build to avoid skipped test

With previous configuration, IssueUpdateTest::testUpdateWithRareFields
was not executed.
mod - scripts/travis_before_script.sh Diff File

master b13c301e

2019-08-04 17:17

vboctor

Committer: dregad


Details Diff
Fix test case to expect one history entry

When creating an issue with non-default status/resolution, check that a single entry is created.

Fixes 0025962
Affected Issues
0025962
mod - tests/soap/IssueHistoryTest.php Diff File

master 36dd970b

2019-08-04 17:01

vboctor

Committer: dregad


Details Diff
Change Gravatar plugin to always use https

Fixes 0025963
Affected Issues
0025963
mod - docbook/Admin_Guide/en-US/config/display.xml Diff File
mod - plugins/Gravatar/Gravatar.php Diff File
mod - plugins/Gravatar/README.md Diff File

master da2079ba

2019-08-04 15:47

dregad


Details Diff
Add IssueHistoryTest to soap AllTests suite

Fixes 0025961
Affected Issues
0025961
mod - tests/soap/AllTests.php Diff File

master 272d6c50

2019-08-04 15:41

dregad


Details Diff
PHPDoc fixes

- routes(): missing function parameter types
- graph_filter_menu(): return type should match PHPDoc definition
mod - plugins/MantisGraph/MantisGraph.php Diff File

master 544b3b24

2019-08-04 15:31

dregad


Details Diff
Define and use constant for jsDelivr CDN URL

As per @atrol's suggestion in PR review
https://github.com/mantisbt/mantisbt/pull/1533#discussion_r310362293
mod - plugins/MantisGraph/MantisGraph.php Diff File

master c9fafd4a

2019-08-04 14:17

vboctor


Details Diff
Use file bugnote id = null for issue attachments

The bugnote_id field on files now support 3 states:

- null: file explicitly associated with the issue, not a note.
- non-zero: file explicitly associated with a note.
- 0: no explicitly attached (old files)
mod - admin/schema.php Diff File
mod - core/commands/IssueAddCommand.php Diff File
mod - core/file_api.php Diff File

master 491f8ea9

2019-08-04 12:56

vboctor


Details Diff
Add files info to EVENT_BUGNOTE_ADD event

Added a `files` argument with array of events. Each containing id, name, and size.
Affected Issues
0033058
mod - core/bugnote_api.php Diff File
mod - core/commands/IssueNoteAddCommand.php Diff File
mod - core/file_api.php Diff File
mod - docbook/Developers_Guide/en-US/Events_Reference_Bug.xml Diff File

master d3c4a6b1

2019-08-04 12:39

vboctor


Details Diff
Trigger note added event after adding note files
mod - core/bugnote_api.php Diff File
mod - core/commands/IssueNoteAddCommand.php Diff File

master bf3b7e03

2019-08-03 20:19

vboctor


Details Diff
Add schema upgrade step for bug file table
mod - admin/schema.php Diff File

master fd98a500

2019-08-03 14:37

syncguru

Committer: vboctor


Details Diff
Update dropzone text to include pasting files
mod - lang/strings_english.txt Diff File
 First  Prev  1 2 3 ... 70 ... 125 126 127 128 129 130 131 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 700 ... 746 747 748  Next  Last