Skip to content

Conversation

dregad
Copy link
Member

@dregad dregad commented Oct 24, 2017

Recreating PR #26, which contained an unrelated commit that wouldn't go away.

Fixes #16

@dregad
Copy link
Member Author

dregad commented Oct 24, 2017

@vboctor I think I've addressed all your comments.

@dregad dregad requested a review from vboctor October 24, 2017 19:01
README.md Outdated
## Requirements

The plugin requires [MantisBT](http://mantisbt.org/) version 2.0 or higher.
The plugin requires [MantisBT](http://mantisbt.org/) version 2.3 r higher.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: 2.3 r higher

XHR was deprecated in Mantis 2.3.0.

Publish 3 REST API endpoints to replace the corresponding XHR functions:

- xmlhttprequest_plugin_snippets_data
  => ./plugins/Snippets/list and ./plugins/Snippets/list/{bug_id}
- xmlhttprequest_plugin_snippets_help
  => ./plugins/Snippets/help

Fixes mantisbt-plugins#16
Following @vboctor's recommendation in the PR's discussion:

> We may want to have the API extensibility infrastructure do the
> plugin_push_current() call so that each plugin doesn't have to worry
> about this. We can have a middle where that matches against paths
> under plugin_route_group() and pushes the base name. In preparation
> for that, it may be useful just to have one line for a push rather
> than having N places references base name
This was introduced in v0.3 (f2b7f23),
but the version information was never actually used in the javascript.

Fixes mantisbt-plugins#27
@dregad dregad merged commit 543b7a4 into mantisbt-plugins:master Oct 27, 2017
@dregad dregad deleted the rest branch October 27, 2017 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants