Compare commits
27 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
90a160e83f | ||
|
|
f58aa8cd5b | ||
|
|
b9ff7b6f32 | ||
|
|
5761342069 | ||
|
|
d8480a0db6 | ||
|
|
03a4f1227e | ||
|
|
ee6c3f958f | ||
|
|
e78519f492 | ||
|
|
f80501b505 | ||
|
|
0f89ade048 | ||
|
|
6d0aefd7bb | ||
|
|
6aa0a1ffa9 | ||
|
|
ce4b6dc586 | ||
|
|
4410394ede | ||
|
|
e5eb354d7b | ||
|
|
b660feafbf | ||
|
|
b75f0e561b | ||
|
|
83cd5d9b2f | ||
|
|
b051629f13 | ||
|
|
32da62cdc8 | ||
|
|
93124f75cf | ||
|
|
0fce4c98a0 | ||
|
|
5dad419f60 | ||
|
|
cd9ad97235 | ||
|
|
67308838fd | ||
|
|
3360576e07 | ||
|
|
c5a51a9fb7 |
@@ -944,6 +944,6 @@
|
||||
}
|
||||
],
|
||||
"version": {
|
||||
"VERSION": "{\"SchemaVersion\":\"2.19.2\",\"MigratorCount\":0,\"Edition\":1,\"InstanceID\":\"463d5c47-0ea5-4aca-85b1-405ceefee254\"}"
|
||||
"VERSION": "{\"SchemaVersion\":\"2.19.4\",\"MigratorCount\":0,\"Edition\":1,\"InstanceID\":\"463d5c47-0ea5-4aca-85b1-405ceefee254\"}"
|
||||
}
|
||||
}
|
||||
@@ -17,7 +17,6 @@ import (
|
||||
// @success 204 "Success"
|
||||
// @failure 500 "Server error"
|
||||
// @router /auth/logout [post]
|
||||
|
||||
func (handler *Handler) logout(w http.ResponseWriter, r *http.Request) *httperror.HandlerError {
|
||||
tokenData := handler.bouncer.JWTAuthLookup(r)
|
||||
|
||||
|
||||
@@ -84,7 +84,7 @@ type Handler struct {
|
||||
}
|
||||
|
||||
// @title PortainerCE API
|
||||
// @version 2.19.2
|
||||
// @version 2.19.4
|
||||
// @description.markdown api-description.md
|
||||
// @termsOfService
|
||||
|
||||
|
||||
@@ -1561,7 +1561,7 @@ type (
|
||||
|
||||
const (
|
||||
// APIVersion is the version number of the Portainer API
|
||||
APIVersion = "2.19.2"
|
||||
APIVersion = "2.19.4"
|
||||
// Edition is what this edition of Portainer is called
|
||||
Edition = PortainerCE
|
||||
// ComposeSyntaxMaxVersion is a maximum supported version of the docker compose syntax
|
||||
|
||||
@@ -171,6 +171,11 @@ func getUserRegistries(datastore dataservices.DataStore, user *portainer.User, e
|
||||
}
|
||||
|
||||
func isEnvironmentOnline(endpoint *portainer.Endpoint) bool {
|
||||
if endpoint.Type != portainer.AgentOnDockerEnvironment &&
|
||||
endpoint.Type != portainer.AgentOnKubernetesEnvironment {
|
||||
return true
|
||||
}
|
||||
|
||||
var err error
|
||||
var tlsConfig *tls.Config
|
||||
if endpoint.TLSConfig.TLS {
|
||||
|
||||
@@ -474,7 +474,7 @@ angular.module('portainer.docker').controller('ServiceController', [
|
||||
'';
|
||||
if (oldCredSpecId && !credSpecId) {
|
||||
delete config.TaskTemplate.ContainerSpec.Privileges.CredentialSpec;
|
||||
} else if (oldCredSpecId !== credSpec) {
|
||||
} else if (credSpec && oldCredSpecId !== credSpec) {
|
||||
config.TaskTemplate.ContainerSpec.Privileges = {
|
||||
...(config.TaskTemplate.ContainerSpec.Privileges || {}),
|
||||
CredentialSpec: {
|
||||
@@ -854,6 +854,10 @@ angular.module('portainer.docker').controller('ServiceController', [
|
||||
|
||||
$scope.filterConfigs = filterConfigs;
|
||||
function filterConfigs(configs) {
|
||||
if (!configs) {
|
||||
return [];
|
||||
}
|
||||
|
||||
return configs.filter((config) => $scope.service.ServiceConfigs.every((serviceConfig) => config.Id !== serviceConfig.Id));
|
||||
}
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"author": "Portainer.io",
|
||||
"name": "portainer",
|
||||
"homepage": "http://portainer.io",
|
||||
"version": "2.19.2",
|
||||
"version": "2.19.4",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git@github.com:portainer/portainer.git"
|
||||
@@ -231,4 +231,4 @@
|
||||
"**/moment": "^2.21.0"
|
||||
},
|
||||
"browserslist": "last 2 versions"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user