Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
admin-fe
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
20
Issues
20
List
Boards
Labels
Service Desk
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Pleroma
admin-fe
Commits
a710ca9e
Commit
a710ca9e
authored
Jul 11, 2020
by
Angelina Filippova
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into 'feature/cache-invalidation'
# Conflicts: # CHANGELOG.md
parents
090e127f
13ace35a
Pipeline
#28471
failed with stages
in 6 minutes and 1 second
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
CHANGELOG.md
CHANGELOG.md
+1
-0
src/views/settings/components/Upload.vue
src/views/settings/components/Upload.vue
+10
-0
No files found.
CHANGELOG.md
View file @
a710ca9e
...
...
@@ -18,6 +18,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
-
Add ability to disable multi-factor authentication for a user
-
Add ability to manually evict and ban URLs from the Pleroma MediaProxy cache
-
Add Invalidation settings on MediaProxy tab
-
Ability to configure S3 settings on Upload tab
### Changed
...
...
src/views/settings/components/Upload.vue
View file @
a710ca9e
...
...
@@ -8,6 +8,10 @@
<setting
:setting-group=
"uploadersLocal"
:data=
"uploadersLocalData"
/>
<el-divider
v-if=
"uploadersLocal"
class=
"divider thick-line"
/>
</el-form>
<el-form
v-if=
"showUploadersS3"
:model=
"s3Data"
:label-position=
"labelPosition"
:label-width=
"labelWidth"
>
<setting
:setting-group=
"s3"
:data=
"s3Data"
/>
<el-divider
v-if=
"s3"
class=
"divider thick-line"
/>
</el-form>
<el-form
v-if=
"showUploadersS3"
:model=
"uploadersS3Data"
:label-position=
"labelPosition"
:label-width=
"labelWidth"
>
<setting
:setting-group=
"uploadersS3"
:data=
"uploadersS3Data"
/>
<el-divider
v-if=
"uploadersS3"
class=
"divider thick-line"
/>
...
...
@@ -62,6 +66,12 @@ export default {
loading
()
{
return
this
.
settings
.
loading
},
s3
()
{
return
this
.
settings
.
description
.
find
(
setting
=>
setting
.
key
===
'
:s3
'
)
},
s3Data
()
{
return
_
.
get
(
this
.
settings
.
settings
,
[
'
:ex_aws
'
,
'
:s3
'
])
||
{}
},
showUploadersS3
()
{
const
uploader
=
_
.
get
(
this
.
settings
.
settings
,
[
'
:pleroma
'
,
'
Pleroma.Upload
'
,
'
:uploader
'
])
return
uploader
===
'
Pleroma.Uploaders.S3
'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment