Skip to content
This repository has been archived by the owner on Jun 9, 2021. It is now read-only.

Commit

Permalink
Latest changelog plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasbjerre committed Jun 24, 2016
1 parent 2abbb19 commit daf75d6
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 12 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,18 @@
Changelog of Pull Request Notifier for Bitbucket.

## Unreleased
### No issue
Latest changelog plugin

[a2ae249fec5b6f1](https://github.com/tomasbjerre/pull-request-notifier-for-bitbucket/commit/a2ae249fec5b6f1) Tomas Bjerre *2016-06-24 09:38:01*

## 2.26
### GitHub [#124](https://github.com/tomasbjerre/pull-request-notifier-for-bitbucket/issues/124) PR Updated not triggering a Job
Using ApplicationUser from PR event

* Was taking it from AuthenticationContext when a RESCOPED event occured. At that time the getCurrentUser() returns null.

[b70b9d0e3b4091f](https://github.com/tomasbjerre/pull-request-notifier-for-bitbucket/commit/b70b9d0e3b4091f) Tomas Bjerre *2016-06-23 14:44:29*
[1964ba412ccbf84](https://github.com/tomasbjerre/pull-request-notifier-for-bitbucket/commit/1964ba412ccbf84) Tomas Bjerre *2016-06-23 19:35:41*

### No issue
Building with BBS 4.7.1
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
<plugin>
<groupId>se.bjurr.gitchangelog</groupId>
<artifactId>git-changelog-maven-plugin</artifactId>
<version>1.29</version>
<version>1.32</version>
<executions>
<execution>
<id>GenerateGitChangelog</id>
Expand Down Expand Up @@ -262,4 +262,4 @@ Changelog of Pull Request Notifier for Bitbucket.
<bitbucket.data.version>${bitbucket.version}</bitbucket.data.version>
<amps.version>6.1.0</amps.version>
</properties>
</project>
</project>
8 changes: 4 additions & 4 deletions src/main/resources/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ define('plugin/prnfb/admin', [
var buttonsAdminUrlPostUrl = AJS.contextPath() + "/rest/prnfb-admin/1.0/settings/buttons"; 
var buttonsAdminUrl = buttonsAdminUrlPostUrl;

if ($('#prnfbRepositorySlug').length != 0) {
if ($('#prnfbRepositorySlug').length !== 0) {
var projectKey = $('#prnfbProjectKey').val();
var repositorySlug = $('#prnfbRepositorySlug').val();

notificationsAdminUrl = notificationsAdminUrlPostUrl + '/projectKey/'+projectKey+'/repositorySlug/'+repositorySlug;
buttonsAdminUrl = buttonsAdminUrlPostUrl + '/projectKey/'+projectKey+'/repositorySlug/'+repositorySlug;
notificationsAdminUrl = notificationsAdminUrlPostUrl + '/projectKey/' + projectKey + '/repositorySlug/' + repositorySlug;
buttonsAdminUrl = buttonsAdminUrlPostUrl + '/projectKey/' + projectKey + '/repositorySlug/' + repositorySlug;
}


Expand All @@ -31,7 +31,7 @@ define('plugin/prnfb/admin', [

$(document).ready(function() {
utils.setupForm('#prnfbsettingsadmin', settingsAdminUrl, settingsAdminUrlPostUrl);
utils.setupForms('#prnfbbuttonadmin', buttonsAdminUrl ,buttonsAdminUrlPostUrl);
utils.setupForms('#prnfbbuttonadmin', buttonsAdminUrl, buttonsAdminUrlPostUrl);
utils.setupForms('#prnfbnotificationadmin', notificationsAdminUrl, notificationsAdminUrlPostUrl);
});
});
Expand Down
10 changes: 5 additions & 5 deletions src/main/resources/admin.vm
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
<!-- //-->
#if($repository)
<!-- //-->
<input type="hidden" id="prnfbProjectKey" name="projectKey" value="$repository.project.key" />
<input type="hidden" id="prnfbRepositorySlug" name="repositorySlug" value="$repository.slug" />
<!-- //-->
#end
<!-- //-->
<input type="hidden" id="prnfbProjectKey" name="projectKey" value="$repository.project.key" />
<input type="hidden" id="prnfbRepositorySlug" name="repositorySlug" value="$repository.slug" />
<!-- //-->
#end
<!-- //-->

<div class="statusresponse"></div>

Expand Down

0 comments on commit daf75d6

Please sign in to comment.