mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-13 19:35:24 +00:00
Compare commits
5 Commits
v4.10.14-l
...
v3.9.3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c822988509 | ||
|
|
4b93cf298c | ||
|
|
3bd0f045c8 | ||
|
|
a75b68f713 | ||
|
|
84180c7f14 |
10
.github/workflows/release-drafter.yml
vendored
10
.github/workflows/release-drafter.yml
vendored
@@ -19,9 +19,7 @@ jobs:
|
||||
id: get_version
|
||||
run: |
|
||||
TAG=$(basename ${GITHUB_REF})
|
||||
VERSION=${TAG/v/}
|
||||
echo "::set-output name=TAG::$TAG"
|
||||
echo "::set-output name=VERSION::$VERSION"
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: release-drafter/release-drafter@v5
|
||||
@@ -43,10 +41,10 @@ jobs:
|
||||
- name: Create Upload Assets
|
||||
run: |
|
||||
rm -rf build/*
|
||||
mv lina lina-${{ steps.get_version.outputs.VERSION }}
|
||||
tar -czf lina-${{ steps.get_version.outputs.VERSION }}.tar.gz lina-${{ steps.get_version.outputs.VERSION }}
|
||||
echo $(md5sum lina-${{ steps.get_version.outputs.VERSION }}.tar.gz | awk '{print $1}') > build/lina-${{ steps.get_version.outputs.VERSION }}.tar.gz.md5
|
||||
mv lina-${{ steps.get_version.outputs.VERSION }}.tar.gz build/
|
||||
mv lina lina-${{ steps.get_version.outputs.TAG }}
|
||||
tar -czf lina-${{ steps.get_version.outputs.TAG }}.tar.gz lina-${{ steps.get_version.outputs.TAG }}
|
||||
echo $(md5sum lina-${{ steps.get_version.outputs.TAG }}.tar.gz | awk '{print $1}') > build/lina-${{ steps.get_version.outputs.TAG }}.tar.gz.md5
|
||||
mv lina-${{ steps.get_version.outputs.TAG }}.tar.gz build/
|
||||
- name: Release Upload Assets
|
||||
uses: softprops/action-gh-release@v1
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
|
||||
@@ -81,7 +81,7 @@ export default {
|
||||
},
|
||||
{
|
||||
label: this.$t('common.Version'),
|
||||
value: 'version-dev'
|
||||
value: 'v3.9.3'
|
||||
},
|
||||
{
|
||||
label: this.$t('common.PermissionCompany'),
|
||||
|
||||
@@ -108,7 +108,7 @@ export default {
|
||||
el: {
|
||||
width: '10%',
|
||||
height: '10%',
|
||||
accept: 'image/*',
|
||||
accept: 'image/jpg, image/png, image/jpeg',
|
||||
tip: this.$t('xpack.loginImageTip')
|
||||
},
|
||||
on: {
|
||||
@@ -123,7 +123,7 @@ export default {
|
||||
el: {
|
||||
width: '5%',
|
||||
height: '5%',
|
||||
accept: 'image/*',
|
||||
accept: 'image/jpg, image/png, image/jpeg',
|
||||
tip: this.$t('xpack.faviconTip')
|
||||
},
|
||||
on: {
|
||||
@@ -138,7 +138,7 @@ export default {
|
||||
el: {
|
||||
width: '10%',
|
||||
height: '10%',
|
||||
accept: 'image/*',
|
||||
accept: 'image/jpg, image/png, image/jpeg',
|
||||
tip: this.$t('xpack.logoIndexTip')
|
||||
},
|
||||
on: {
|
||||
@@ -153,7 +153,7 @@ export default {
|
||||
el: {
|
||||
width: '5%',
|
||||
height: '5%',
|
||||
accept: 'image/*',
|
||||
accept: 'image/jpg, image/png, image/jpeg',
|
||||
tip: this.$t('xpack.logoLogoutTip')
|
||||
},
|
||||
on: {
|
||||
|
||||
@@ -91,7 +91,7 @@ export default {
|
||||
{
|
||||
name: 'set_to_default',
|
||||
title: this.$t('sessions.SetToDefault'),
|
||||
can: this.$hasPerm('terminal.change_replaystorage'),
|
||||
can: (value) => this.$hasPerm('terminal.change_replaystorage') && value.row.type.value !== 'sftp',
|
||||
type: 'primary',
|
||||
callback: function({ row, col, cellValue, reload }) {
|
||||
SetToDefaultReplayStorage(row.id).then(data => {
|
||||
|
||||
@@ -63,7 +63,8 @@ export default {
|
||||
}
|
||||
},
|
||||
is_default: {
|
||||
helpText: this.$t('sessions.SetToDefaultStorage')
|
||||
helpText: this.$t('sessions.SetToDefaultStorage'),
|
||||
hidden: (formValue) => formValue.type === 'sftp'
|
||||
}
|
||||
},
|
||||
cleanFormValue(values) {
|
||||
|
||||
Reference in New Issue
Block a user