Show More
The requested changes are too big and content was truncated. Show full diff
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: new file 100644 | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
@@ -52,6 +52,18 b" angular.module('appenlight.components', [" | |||
|
52 | 52 | 'appenlight.components.userAuthTokensView', |
|
53 | 53 | 'appenlight.components.userAlertChannelsListView', |
|
54 | 54 | 'appenlight.components.userAlertChannelsEmailNewView', |
|
55 | 'appenlight.components.applicationsListView', | |
|
56 | 'appenlight.components.applicationsPurgeLogsView', | |
|
57 | 'appenlight.components.applicationsUpdateView', | |
|
58 | 'appenlight.components.integrationsListView', | |
|
59 | 'appenlight.components.bitbucketIntegrationConfigView', | |
|
60 | 'appenlight.components.campfireIntegrationConfigView', | |
|
61 | 'appenlight.components.flowdockIntegrationConfigView', | |
|
62 | 'appenlight.components.githubIntegrationConfigView', | |
|
63 | 'appenlight.components.hipchatIntegrationConfigView', | |
|
64 | 'appenlight.components.jiraIntegrationConfigView', | |
|
65 | 'appenlight.components.slackIntegrationConfigView', | |
|
66 | 'appenlight.components.webhooksIntegrationConfigView', | |
|
55 | 67 | 'appenlight.components.settingsView' |
|
56 | 68 | ]); |
|
57 | 69 | angular.module('appenlight.directives', [ |
@@ -1,12 +1,12 b'' | |||
|
1 |
<ng-include src="'templates/loader.html'" ng-if=" |
|
|
1 | <ng-include src="'templates/loader.html'" ng-if="$ctrl.loading.application && $state.is('applications.integrations')"></ng-include> | |
|
2 | 2 | |
|
3 | 3 | <ui-view> |
|
4 |
<div class="panel panel-default" ng-show="! |
|
|
5 |
<div class="panel-heading" ng-include="'templates/ |
|
|
4 | <div class="panel panel-default" ng-show="!$ctrl.loading.application"> | |
|
5 | <div class="panel-heading" ng-include="'templates/settings_breadcrumbs.html'"></div> | |
|
6 | 6 | <div class="panel-body"> |
|
7 | 7 | |
|
8 | 8 | <a class="btn btn-default integration" |
|
9 |
data-ui-sref="applications.integrations.edit({resourceId: |
|
|
9 | data-ui-sref="applications.integrations.edit({resourceId:$ctrl.resource.resource_id, integration:'bitbucket'})"> | |
|
10 | 10 | <span class="fa fa-fw fa-bitbucket fa-3x pull-left"></span> |
|
11 | 11 | <strong>Bitbucket</strong> |
|
12 | 12 | |
@@ -14,7 +14,7 b'' | |||
|
14 | 14 | </a> |
|
15 | 15 | |
|
16 | 16 | <a class="btn btn-default integration" |
|
17 |
data-ui-sref="applications.integrations.edit({resourceId: |
|
|
17 | data-ui-sref="applications.integrations.edit({resourceId:$ctrl.resource.resource_id, integration:'campfire'})"> | |
|
18 | 18 | <span class="fa fa-fw fa-comment fa-3x pull-left"></span> |
|
19 | 19 | <strong>Campfire</strong> |
|
20 | 20 | |
@@ -22,7 +22,7 b'' | |||
|
22 | 22 | </a> |
|
23 | 23 | |
|
24 | 24 | <a class="btn btn-default integration" |
|
25 |
data-ui-sref="applications.integrations.edit({resourceId: |
|
|
25 | data-ui-sref="applications.integrations.edit({resourceId:$ctrl.resource.resource_id, integration:'flowdock'})"> | |
|
26 | 26 | <span class="fa fa-fw fa-envelope fa-3x pull-left"></span> |
|
27 | 27 | <strong>Flowdock</strong> |
|
28 | 28 | |
@@ -31,7 +31,7 b'' | |||
|
31 | 31 | </a> |
|
32 | 32 | |
|
33 | 33 | <a class="btn btn-default integration" |
|
34 |
data-ui-sref="applications.integrations.edit({resourceId: |
|
|
34 | data-ui-sref="applications.integrations.edit({resourceId:$ctrl.resource.resource_id, integration:'github'})"> | |
|
35 | 35 | <span class="fa fa-fw fa-github fa-3x pull-left"></span> |
|
36 | 36 | <strong>Github</strong> |
|
37 | 37 | |
@@ -39,7 +39,7 b'' | |||
|
39 | 39 | </a> |
|
40 | 40 | |
|
41 | 41 | <a class="btn btn-default integration" |
|
42 |
data-ui-sref="applications.integrations.edit({resourceId: |
|
|
42 | data-ui-sref="applications.integrations.edit({resourceId:$ctrl.resource.resource_id, integration:'hipchat'})"> | |
|
43 | 43 | <span class="fa fa-fw fa-comment fa-3x pull-left"></span> |
|
44 | 44 | <strong>HipChat</strong> |
|
45 | 45 | |
@@ -47,7 +47,7 b'' | |||
|
47 | 47 | </a> |
|
48 | 48 | |
|
49 | 49 | <a class="btn btn-default integration" |
|
50 |
data-ui-sref="applications.integrations.edit({resourceId: |
|
|
50 | data-ui-sref="applications.integrations.edit({resourceId:$ctrl.resource.resource_id, integration:'jira'})"> | |
|
51 | 51 | <span class="fa fa-fw fa-ticket fa-3x pull-left"></span> |
|
52 | 52 | <strong>Jira</strong> |
|
53 | 53 | |
@@ -55,7 +55,7 b'' | |||
|
55 | 55 | </a> |
|
56 | 56 | |
|
57 | 57 | <a class="btn btn-default integration" |
|
58 |
data-ui-sref="applications.integrations.edit({resourceId: |
|
|
58 | data-ui-sref="applications.integrations.edit({resourceId:$ctrl.resource.resource_id, integration:'slack'})"> | |
|
59 | 59 | <span class="fa fa-fw fa-comment fa-3x pull-left"></span> |
|
60 | 60 | <strong>Slack</strong> |
|
61 | 61 | |
@@ -63,7 +63,7 b'' | |||
|
63 | 63 | </a> |
|
64 | 64 | |
|
65 | 65 | <a class="btn btn-default integration" |
|
66 |
data-ui-sref="applications.integrations.edit({resourceId: |
|
|
66 | data-ui-sref="applications.integrations.edit({resourceId:$ctrl.resource.resource_id, integration:'webhooks'})"> | |
|
67 | 67 | <span class="fa fa-fw fa-cloud-upload fa-3x pull-left"></span> |
|
68 | 68 | <strong>Webhooks</strong> |
|
69 | 69 |
@@ -17,12 +17,15 b'' | |||
|
17 | 17 | // # services, and proprietary license terms, please see |
|
18 | 18 | // # https://rhodecode.com/licenses/ |
|
19 | 19 | |
|
20 |
angular.module('appenlight.co |
|
|
21 | .controller('IntegrationsListController', IntegrationsListController) | |
|
20 | angular.module('appenlight.components.integrationsListView', []) | |
|
21 | .component('integrationsListView', { | |
|
22 | templateUrl: 'components/views/applications-integrations-view/applications-integrations-view.html', | |
|
23 | controller: IntegrationsListViewController | |
|
24 | }); | |
|
22 | 25 | |
|
23 | IntegrationsListController.$inject = ['$state', 'applicationsResource']; | |
|
26 | IntegrationsListViewController.$inject = ['$state', 'applicationsResource']; | |
|
24 | 27 | |
|
25 | function IntegrationsListController($state, applicationsResource) { | |
|
28 | function IntegrationsListViewController($state, applicationsResource) { | |
|
26 | 29 | console.debug('IntegrationsListController'); |
|
27 | 30 | var vm = this; |
|
28 | 31 | vm.loading = {application: true}; |
@@ -1,14 +1,14 b'' | |||
|
1 |
<ng-include src="'templates/loader.html'" ng-if=" |
|
|
1 | <ng-include src="'templates/loader.html'" ng-if="$ctrl.loading.applications"></ng-include> | |
|
2 | 2 | |
|
3 |
<div class="panel panel-default" ng-show="! |
|
|
4 |
<div class="panel-heading" ng-include="'templates/ |
|
|
5 |
<div class="panel-body" ng-if=" |
|
|
3 | <div class="panel panel-default" ng-show="!$ctrl.loading.applications"> | |
|
4 | <div class="panel-heading" ng-include="'templates/settings_breadcrumbs.html'"></div> | |
|
5 | <div class="panel-body" ng-if="$ctrl.applications.length === 0 "> | |
|
6 | 6 | |
|
7 | 7 | <p>You have to create a new application first.</p> |
|
8 | 8 | |
|
9 | 9 | </div> |
|
10 | 10 | |
|
11 |
<table class="table table-striped" ng-if=" |
|
|
11 | <table class="table table-striped" ng-if="$ctrl.applications.length > 0"> | |
|
12 | 12 | <thead> |
|
13 | 13 | <tr> |
|
14 | 14 | <th class="resource_name">Resource Name</th> |
@@ -17,7 +17,7 b'' | |||
|
17 | 17 | </tr> |
|
18 | 18 | </thead> |
|
19 | 19 | <tbody> |
|
20 |
<tr class="r{{$index+1}}" ng-repeat="application in |
|
|
20 | <tr class="r{{$index+1}}" ng-repeat="application in $ctrl.applications"> | |
|
21 | 21 | <td>{{application.resource_name}}</td> |
|
22 | 22 | <td>{{application.domains}}</td> |
|
23 | 23 | <td class="options"> |
@@ -17,14 +17,18 b'' | |||
|
17 | 17 | // # services, and proprietary license terms, please see |
|
18 | 18 | // # https://rhodecode.com/licenses/ |
|
19 | 19 | |
|
20 |
angular.module('appenlight.co |
|
|
21 | .controller('ApplicationsListController', ApplicationsListController) | |
|
20 | angular.module('appenlight.components.applicationsListView', []) | |
|
21 | .component('applicationsListView', { | |
|
22 | templateUrl: 'components/views/applications-list-view/applications-list-view.html', | |
|
23 | controller: ApplicationsListViewController | |
|
24 | }); | |
|
22 | 25 | |
|
23 | ApplicationsListController.$inject = ['applicationsResource']; | |
|
26 | ApplicationsListViewController.$inject = ['$state', 'applicationsResource']; | |
|
24 | 27 | |
|
25 | function ApplicationsListController(applicationsResource) { | |
|
28 | function ApplicationsListViewController($state, applicationsResource) { | |
|
26 | 29 | console.debug('ApplicationsListController'); |
|
27 | 30 | var vm = this; |
|
31 | vm.$state = $state; | |
|
28 | 32 | vm.loading = {applications: true}; |
|
29 | 33 | vm.applications = applicationsResource.query(null, function(){ |
|
30 | 34 | vm.loading.applications = false; |
@@ -1,17 +1,17 b'' | |||
|
1 |
<ng-include src="'templates/loader.html'" ng-if=" |
|
|
1 | <ng-include src="'templates/loader.html'" ng-if="$ctrl.loading.applications"></ng-include> | |
|
2 | 2 | |
|
3 |
<div ng-show="! |
|
|
3 | <div ng-show="!$ctrl.loading.applications"> | |
|
4 | 4 | <div class="panel panel-default"> |
|
5 |
<div class="panel-heading" ng-include="'templates/ |
|
|
5 | <div class="panel-heading" ng-include="'templates/settings_breadcrumbs.html'"></div> | |
|
6 | 6 | <div class="panel-body"> |
|
7 | 7 | |
|
8 |
<form method="post" class="form-horizontal" name=" |
|
|
8 | <form method="post" class="form-horizontal" name="$ctrl.form" ng-submit="$ctrl.purgeLogs()"> | |
|
9 | 9 | <div class="form-group"> |
|
10 | 10 | <label class="control-label col-sm-3 col-lg-2">Application:</label> |
|
11 | 11 | |
|
12 | 12 | <div class="col-sm-9 col-lg-10 form-inline"> |
|
13 |
<select ng-model=" |
|
|
14 |
ng-options="r.resource_id as r.resource_name for r in |
|
|
13 | <select ng-model="$ctrl.selectedResource" ng-change="$ctrl.getCommonKeys()" | |
|
14 | ng-options="r.resource_id as r.resource_name for r in $ctrl.applications" class="form-control"></select> | |
|
15 | 15 | </div> |
|
16 | 16 | </div> |
|
17 | 17 | |
@@ -19,8 +19,8 b'' | |||
|
19 | 19 | <label class="control-label col-sm-3 col-lg-2">Namespace:</label> |
|
20 | 20 | |
|
21 | 21 | <div class="col-sm-9 col-lg-10"> |
|
22 |
<input type="text" name="namespace" ng-model=" |
|
|
23 |
placeholder="Namespace to filter on" uib-typeahead="ns for ns in |
|
|
22 | <input type="text" name="namespace" ng-model="$ctrl.namespace" | |
|
23 | placeholder="Namespace to filter on" uib-typeahead="ns for ns in $ctrl.commonNamespaces" | |
|
24 | 24 | class="form-control"> |
|
25 | 25 | </div> |
|
26 | 26 | </div> |
@@ -17,14 +17,18 b'' | |||
|
17 | 17 | // # services, and proprietary license terms, please see |
|
18 | 18 | // # https://rhodecode.com/licenses/ |
|
19 | 19 | |
|
20 |
angular.module('appenlight.co |
|
|
21 | .controller('ApplicationsPurgeLogsController', ApplicationsPurgeLogsController) | |
|
20 | angular.module('appenlight.components.applicationsPurgeLogsView', []) | |
|
21 | .component('applicationsPurgeLogsView', { | |
|
22 | templateUrl: 'components/views/applications-purge-logs-view/applications-purge-logs-view.html', | |
|
23 | controller: applicationsPurgeLogsViewController | |
|
24 | }); | |
|
22 | 25 | |
|
23 |
|
|
|
26 | applicationsPurgeLogsViewController.$inject = ['$state' ,'applicationsResource', 'sectionViewResource', 'logsNoIdResource']; | |
|
24 | 27 | |
|
25 |
function |
|
|
26 |
console.debug(' |
|
|
28 | function applicationsPurgeLogsViewController($state, applicationsResource, sectionViewResource, logsNoIdResource) { | |
|
29 | console.debug('applicationsPurgeLogsViewController'); | |
|
27 | 30 | var vm = this; |
|
31 | vm.$state = $state; | |
|
28 | 32 | vm.loading = {applications: true}; |
|
29 | 33 | |
|
30 | 34 | vm.namespace = null; |
|
1 | NO CONTENT: file renamed from frontend/src/templates/applications/applications_update.html to frontend/src/components/views/applications-update-view/applications-update-view.html | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: file renamed from frontend/src/controllers/applications/applications_create.js to frontend/src/components/views/applications-update-view/applications-update-view.js | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: file renamed from frontend/src/controllers/applications/integration.js to frontend/src/components/views/integrations/applications-integrations-edit-view.js | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: file renamed from frontend/src/templates/applications/integrations/bitbucket.html to frontend/src/components/views/integrations/bitbucket-integration-config-view/bitbucket-integration-config-view.html | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: file renamed from frontend/src/templates/applications/integrations/campfire.html to frontend/src/components/views/integrations/campfire-integration-config-view/campfire-integration-config-view.html | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: file renamed from frontend/src/templates/applications/integrations/flowdock.html to frontend/src/components/views/integrations/flowdock-integration-config-view/flowdock-integration-config-view.html | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: file renamed from frontend/src/templates/applications/integrations/github.html to frontend/src/components/views/integrations/github-integration-config-view/github-integration-config-view.html | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: file renamed from frontend/src/templates/applications/integrations/hipchat.html to frontend/src/components/views/integrations/hipchat-integration-config-view/hipchat-integration-config-view.html | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: file renamed from frontend/src/templates/applications/integrations/jira.html to frontend/src/components/views/integrations/jira-integration-config-view/jira-integration-config-view.html | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: file renamed from frontend/src/templates/applications/integrations/slack.html to frontend/src/components/views/integrations/slack-integration-config-view/slack-integration-config-view.html | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: file renamed from frontend/src/templates/applications/integrations/webhooks.html to frontend/src/components/views/integrations/webhooks-integration-config-view/webhooks-integration-config-view.html | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: modified file | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: file renamed from frontend/src/templates/user/breadcrumbs.html to frontend/src/templates/settings_breadcrumbs.html | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: file was removed | |
The requested commit or file is too big and content was truncated. Show full diff |
|
1 | NO CONTENT: file was removed | |
The requested commit or file is too big and content was truncated. Show full diff |
General Comments 0
You need to be logged in to leave comments.
Login now