Merge branch 'release/2.9.x' into 'master'
2.9.3 into master See merge request pleroma/pleroma-fe!2157
This commit is contained in:
commit
6341a48d05
12 changed files with 25 additions and 15 deletions
|
|
@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||||
|
|
||||||
|
## 2.9.3
|
||||||
|
### Fixed
|
||||||
|
- Being unable to update profile
|
||||||
|
|
||||||
## 2.9.2
|
## 2.9.2
|
||||||
### Changed
|
### Changed
|
||||||
- BREAKING: due to some internal technical changes logging into AdminFE through PleromaFE is no longer possible
|
- BREAKING: due to some internal technical changes logging into AdminFE through PleromaFE is no longer possible
|
||||||
|
|
|
||||||
0
changelog.d/finalfix-fr.skip
Normal file
0
changelog.d/finalfix-fr.skip
Normal file
0
changelog.d/finalfix.skip
Normal file
0
changelog.d/finalfix.skip
Normal file
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "pleroma_fe",
|
"name": "pleroma_fe",
|
||||||
"version": "2.9.2",
|
"version": "2.9.3",
|
||||||
"description": "Pleroma frontend, the default frontend of Pleroma social network server",
|
"description": "Pleroma frontend, the default frontend of Pleroma social network server",
|
||||||
"author": "Pleroma contributors <https://git.pleroma.social/pleroma/pleroma-fe/-/blob/develop/CONTRIBUTORS.md>",
|
"author": "Pleroma contributors <https://git.pleroma.social/pleroma/pleroma-fe/-/blob/develop/CONTRIBUTORS.md>",
|
||||||
"private": false,
|
"private": false,
|
||||||
|
|
|
||||||
10
src/App.scss
10
src/App.scss
|
|
@ -749,13 +749,11 @@ option {
|
||||||
max-height: 0.6em;
|
max-height: 0.6em;
|
||||||
min-width: 0.6em;
|
min-width: 0.6em;
|
||||||
max-width: 0.6em;
|
max-width: 0.6em;
|
||||||
padding: 0;
|
left: calc(50% + 0.5em);
|
||||||
|
top: calc(50% - 1em);
|
||||||
line-height: 0;
|
line-height: 0;
|
||||||
font-size: 0;
|
padding: 0;
|
||||||
left: calc(50% - 0.6em);
|
margin: 0;
|
||||||
top: calc(50% - 0.6em);
|
|
||||||
margin-left: 0.4em;
|
|
||||||
margin-top: -0.4em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&.-counter {
|
&.-counter {
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,9 @@ const AccountActions = {
|
||||||
hideConfirmRemoveUserFromFollowers () {
|
hideConfirmRemoveUserFromFollowers () {
|
||||||
this.showingConfirmRemoveFollower = false
|
this.showingConfirmRemoveFollower = false
|
||||||
},
|
},
|
||||||
|
hideConfirmBlock () {
|
||||||
|
this.showingConfirmBlock = false
|
||||||
|
},
|
||||||
showRepeats () {
|
showRepeats () {
|
||||||
this.$store.dispatch('showReblogs', this.user.id)
|
this.$store.dispatch('showReblogs', this.user.id)
|
||||||
},
|
},
|
||||||
|
|
@ -56,7 +59,7 @@ const AccountActions = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
doBlockUser () {
|
doBlockUser () {
|
||||||
this.$store.dispatch('blockUser', this.user.id)
|
this.$store.dispatch('blockUser', { id: this.user.id })
|
||||||
this.hideConfirmBlock()
|
this.hideConfirmBlock()
|
||||||
},
|
},
|
||||||
unblockUser () {
|
unblockUser () {
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ const BlockCard = {
|
||||||
if (this.blockExpirationSupported) {
|
if (this.blockExpirationSupported) {
|
||||||
this.$refs.timedBlockDialog.optionallyPrompt()
|
this.$refs.timedBlockDialog.optionallyPrompt()
|
||||||
} else {
|
} else {
|
||||||
this.$store.dispatch('blockUser', this.user.id)
|
this.$store.dispatch('blockUser', { id: this.user.id })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -129,6 +129,13 @@ export default {
|
||||||
shadow: ['--buttonDefaultHoverGlow', '--buttonPressedBevel']
|
shadow: ['--buttonDefaultHoverGlow', '--buttonPressedBevel']
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
state: ['toggled', 'hover', 'focused'],
|
||||||
|
directives: {
|
||||||
|
background: '--accent,-24.2',
|
||||||
|
shadow: ['--buttonDefaultHoverGlow', '--buttonPressedBevel']
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
state: ['toggled', 'disabled'],
|
state: ['toggled', 'disabled'],
|
||||||
directives: {
|
directives: {
|
||||||
|
|
|
||||||
|
|
@ -270,8 +270,7 @@
|
||||||
// big one
|
// big one
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
line-height: 2em;
|
line-height: 2em;
|
||||||
filter: drop-shadow(0 0 5em var(--profileTint))
|
filter: drop-shadow(0 0 0.5em var(--profileTint))
|
||||||
drop-shadow(0 0 0.5em var(--profileTint))
|
|
||||||
drop-shadow(0 0 0.2em var(--profileTint));
|
drop-shadow(0 0 0.2em var(--profileTint));
|
||||||
|
|
||||||
.alert {
|
.alert {
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,7 @@
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
||||||
.user-info {
|
.user-info {
|
||||||
|
width: 100%;
|
||||||
margin: 1.2em;
|
margin: 1.2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -226,7 +226,8 @@ const updateProfile = ({ credentials, params }) => {
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
if (typeof params[name] === 'object') {
|
if (typeof params[name] === 'object') {
|
||||||
console.warning('Object detected in updateProfile API call. This will not work, use updateProfileJSON instead.')
|
console.warn('Object detected in updateProfile API call. This will not work, use updateProfileJSON instead.')
|
||||||
|
console.warn('Object:\n' + JSON.stringify(params[name], null, 2))
|
||||||
}
|
}
|
||||||
formData.append(name, params[name]);
|
formData.append(name, params[name]);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,6 @@ export const createStyleSheet = (id, priority = 1000) => {
|
||||||
|
|
||||||
|
|
||||||
export const adoptStyleSheets = throttle(() => {
|
export const adoptStyleSheets = throttle(() => {
|
||||||
console.log('adopt')
|
|
||||||
if (supportsAdoptedStyleSheets) {
|
if (supportsAdoptedStyleSheets) {
|
||||||
document.adoptedStyleSheets = Object
|
document.adoptedStyleSheets = Object
|
||||||
.values(stylesheets)
|
.values(stylesheets)
|
||||||
|
|
@ -138,8 +137,6 @@ export const tryLoadCache = async () => {
|
||||||
eagerStyles.ready = true
|
eagerStyles.ready = true
|
||||||
lazyStyles.ready = true
|
lazyStyles.ready = true
|
||||||
|
|
||||||
adoptStyleSheets()
|
|
||||||
|
|
||||||
console.info(`Loaded theme from cache`)
|
console.info(`Loaded theme from cache`)
|
||||||
return true
|
return true
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue