Merge pull request #2638 from pixelfed/staging

Staging
This commit is contained in:
daniel 2021-02-07 00:21:08 -07:00 committed by GitHub
commit 12c5f74e6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 22 additions and 3 deletions

View file

@ -37,6 +37,9 @@
- Updated DiscoverComponent, allow unathenicated if enabled. ([a1059a6e](https://github.com/pixelfed/pixelfed/commit/a1059a6e)) - Updated DiscoverComponent, allow unathenicated if enabled. ([a1059a6e](https://github.com/pixelfed/pixelfed/commit/a1059a6e))
- Updated components, improve content warnings. ([a9e98965](https://github.com/pixelfed/pixelfed/commit/a9e98965)) - Updated components, improve content warnings. ([a9e98965](https://github.com/pixelfed/pixelfed/commit/a9e98965))
- Updated ComposeModal, prevent tagging empty users. Fixes #2633. ([ceae664c](https://github.com/pixelfed/pixelfed/commit/ceae664c)) - Updated ComposeModal, prevent tagging empty users. Fixes #2633. ([ceae664c](https://github.com/pixelfed/pixelfed/commit/ceae664c))
- Updated ComposeModal, show filter warning for unsupported browsers. ([12ce7602](https://github.com/pixelfed/pixelfed/commit/12ce7602))
- Updated Hashtag component, fix null infinite loading bug. Fixes #2637. ([55136518](https://github.com/pixelfed/pixelfed/commit/55136518))
- Updated filesystems config, add backup driver to store backups on other filesystems. ([ae90eef9](https://github.com/pixelfed/pixelfed/commit/ae90eef9))
- ([](https://github.com/pixelfed/pixelfed/commit/)) - ([](https://github.com/pixelfed/pixelfed/commit/))
## [v0.10.10 (2021-01-28)](https://github.com/pixelfed/pixelfed/compare/v0.10.9...v0.10.10) ## [v0.10.10 (2021-01-28)](https://github.com/pixelfed/pixelfed/compare/v0.10.9...v0.10.10)

View file

@ -81,6 +81,19 @@ return [
'url' => str_replace(env('DO_SPACES_REGION'),env('DO_SPACES_BUCKET').'.'.env('DO_SPACES_REGION'),str_replace("digitaloceanspaces","cdn.digitaloceanspaces",env('DO_SPACES_ENDPOINT'))), 'url' => str_replace(env('DO_SPACES_REGION'),env('DO_SPACES_BUCKET').'.'.env('DO_SPACES_REGION'),str_replace("digitaloceanspaces","cdn.digitaloceanspaces",env('DO_SPACES_ENDPOINT'))),
], ],
'backup' => [
'driver' => env('PF_BACKUP_DRIVER', 'local'),
'visibility' => 'private',
'root' => env('PF_BACKUP_DRIVER', 'local') == 'local' ?
storage_path('app/backups/') :
env('PF_BACKUP_ROOT','/'),
'key' => env('PF_BACKUP_KEY'),
'secret' => env('PF_BACKUP_SECRET'),
'endpoint' => env('PF_BACKUP_ENDPOINT'),
'region' => env('PF_BACKUP_REGION'),
'bucket' => env('PF_BACKUP_BUCKET'),
],
], ],
]; ];

BIN
public/js/compose.js vendored

Binary file not shown.

BIN
public/js/hashtag.js vendored

Binary file not shown.

Binary file not shown.

View file

@ -1131,7 +1131,7 @@ export default {
// this is where the magic happens // this is where the magic happens
var ua = navigator.userAgent.toLowerCase(); var ua = navigator.userAgent.toLowerCase();
if(ua.indexOf('firefox') == -1 && ua.indexOf('chrome') == -1) { if(ua.indexOf('firefox') == -1 && ua.indexOf('chrome') == -1) {
// swal('Oops!', 'Your browser does not support the filter feature. Please use Chrome or Firefox if you want to apply a filter.', 'error'); swal('Oops!', 'Your browser does not support the filter feature.', 'error');
return; return;
} }

View file

@ -168,7 +168,7 @@
}).then(res => { }).then(res => {
let data = res.data; let data = res.data;
let tags = data.tags.filter(n => { let tags = data.tags.filter(n => {
if(!n || n.length == 0) { if(!n || n.length == 0 || n.status == null) {
return false; return false;
} }
return true; return true;
@ -195,7 +195,7 @@
let data = res.data; let data = res.data;
if(data.tags.length) { if(data.tags.length) {
let tags = data.tags.filter(n => { let tags = data.tags.filter(n => {
if(!n || n.length == 0) { if(!n || n.length == 0 || n.status == null) {
return false; return false;
} }
return true; return true;

View file

@ -1,4 +1,5 @@
* *
!backups/
!public/ !public/
!remcache/ !remcache/
!cities.json !cities.json

2
storage/app/backups/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
*
!.gitignore