Merge branch 'master' into rip-mysql

This commit is contained in:
Andrew Dolgov 2025-04-25 18:54:29 +03:00
commit f80187e05f
No known key found for this signature in database
GPG Key ID: 1A56B4FA25D4AF2A
3 changed files with 3289 additions and 1742 deletions

4000
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -4,6 +4,7 @@
"description": "",
"devDependencies": {
"eslint": "^7.9.0",
"eslint-formatter-gitlab": "^5.1.0",
"gulp": "^4.0.2",
"gulp-less": "^4.0.1",
"gulp-touch-fd": "^2.0.0",

View File

@ -24,12 +24,6 @@ class Cache_Starred_Images extends Plugin {
$this->cache = DiskCache::instance("starred-images");
$this->cache_status = DiskCache::instance("starred-images.status-files");
if ($this->cache->make_dir())
chmod($this->cache->get_dir(), 0777);
if ($this->cache_status->make_dir())
chmod($this->cache_status->get_dir(), 0777);
if (!$this->cache->exists(".no-auto-expiry"))
$this->cache->put(".no-auto-expiry", "");