もう少し
このコミットが含まれているのは:
コミット
e2a0471012
|
@ -1,5 +1,11 @@
|
|||
# GNU social - Log of Changes
|
||||
|
||||
## 2.1.0 - 2023-??-??
|
||||
|
||||
### 更新
|
||||
|
||||
- PHP 8.2対応
|
||||
|
||||
## 2.0.2 - 2023-08-21
|
||||
|
||||
### Added
|
||||
|
|
|
@ -7,12 +7,9 @@ class FileNotStoredLocallyException extends ServerException
|
|||
public $widgetOpts;
|
||||
public $scoped;
|
||||
|
||||
public $file = null;
|
||||
|
||||
public function __construct(File $file)
|
||||
{
|
||||
$this->file = $file;
|
||||
common_debug('Requested local URL for a file that is not stored locally with id=='._ve($this->file->getID()));
|
||||
common_debug('Requested local URL for a file that is not stored locally with id=='._ve($file->getID()));
|
||||
parent::__construct(_('Requested local URL for a file that is not stored locally.'));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -35,11 +35,8 @@ class UseFileAsThumbnailException extends UnsupportedMediaException
|
|||
public $widgetOpts;
|
||||
public $scoped;
|
||||
|
||||
public $file = null;
|
||||
|
||||
public function __construct(File $file)
|
||||
{
|
||||
$this->file = $file;
|
||||
parent::__construct('Thumbnail not generated', $this->file->getPath());
|
||||
parent::__construct('Thumbnail not generated', $file->getPath());
|
||||
}
|
||||
}
|
||||
|
|
|
@ -156,7 +156,7 @@ class AttachmentListItem extends Widget
|
|||
'src' => $this->attachment->getUrl(true),
|
||||
'alt' => $this->attachment->getTitle()]);
|
||||
} catch (FileNotStoredLocallyException $e) {
|
||||
$url = $e->file->getUrl(false);
|
||||
$url = $this->attachment->url;
|
||||
$this->out->element('a', ['href' => $url, 'rel' => 'external'], $url);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -34,8 +34,8 @@ define('GNUSOCIAL_ENGINE', 'GNU social');
|
|||
define('GNUSOCIAL_ENGINE_URL', 'https://gnusocial.rocks/');
|
||||
define('GNUSOCIAL_ENGINE_REPO_URL', 'https://notabug.org/diogo/gnu-social/'); // Change to https://git.gnu.io/gnu/gnu-social
|
||||
|
||||
define('GNUSOCIAL_BASE_VERSION', '2.0.2');
|
||||
define('GNUSOCIAL_LIFECYCLE', 'beta0'); // 'dev', 'alpha[0-9]+', 'beta[0-9]+', 'rc[0-9]+', 'release'
|
||||
define('GNUSOCIAL_BASE_VERSION', '2.1.0');
|
||||
define('GNUSOCIAL_LIFECYCLE', 'rc1'); // 'dev', 'alpha[0-9]+', 'beta[0-9]+', 'rc[0-9]+', 'release'
|
||||
|
||||
define('GNUSOCIAL_VERSION', GNUSOCIAL_BASE_VERSION . '-' . GNUSOCIAL_LIFECYCLE);
|
||||
|
||||
|
|
読み込み中…
新しいイシューから参照