mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-31 07:11:33 +00:00
Version v2.2.0 bump
This commit is contained in:
parent
61a4e984de
commit
dfcbac0c31
27
README.md
27
README.md
@ -4,11 +4,36 @@ A small safe worth protecting.
|
|||||||
---
|
---
|
||||||
### Sites using loli-safe
|
### Sites using loli-safe
|
||||||
|
|
||||||
- [i.kanacchi.moe](https://i.kanacchi.moe): A small safe with a smile worth protecting.
|
- [lolisafe.moe](https://lolisafe.moe): A small safe worth protecting.
|
||||||
- [cuntflaps.me](https://cuntflaps.me)
|
- [cuntflaps.me](https://cuntflaps.me)
|
||||||
- [fluntcaps.me](https://fluntcaps.me)
|
- [fluntcaps.me](https://fluntcaps.me)
|
||||||
- Feel free to add yours here.
|
- Feel free to add yours here.
|
||||||
|
|
||||||
|
---
|
||||||
|
### What's new in v2.2.0
|
||||||
|
|
||||||
|
- Creation of public link for sharing a gallery
|
||||||
|
- Ability to add your own html files without making git dirty (Check [this commit](https://github.com/WeebDev/loli-safe/commit/18c66d27fb580ed0f847f11525d2d2dca0fda2f4))
|
||||||
|
- Thumbnail creation for .webm and .mp4 (Thanks to [PascalTemel](https://github.com/PascalTemel))
|
||||||
|
- Changed how duplicate files work (Check [this issue for more info](https://github.com/WeebDev/loli-safe/issues/8))
|
||||||
|
|
||||||
|
If you're upgrading from a previous version, create a `migrate.js` file on the root folder with the following code and run it only once:
|
||||||
|
|
||||||
|
```js
|
||||||
|
const config = require('./config.js')
|
||||||
|
const db = require('knex')(config.database)
|
||||||
|
const randomstring = require('randomstring')
|
||||||
|
|
||||||
|
db.schema.table('albums', function (table) {
|
||||||
|
table.string('identifier')
|
||||||
|
}).then(() => {
|
||||||
|
db.table('albums').then((albums) => {
|
||||||
|
for(let album of albums)
|
||||||
|
db.table('albums').where('id', album.id).update('identifier', randomstring.generate(8)).then(() => {})
|
||||||
|
})
|
||||||
|
})
|
||||||
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
1. Clone
|
1. Clone
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "loli-safe",
|
"name": "loli-safe",
|
||||||
"version": "2.1.0",
|
"version": "2.2.0",
|
||||||
"description": "Pomf-like uploading service, written in node",
|
"description": "Pomf-like uploading service, written in node",
|
||||||
"author": "kanadeko",
|
"author": "kanadeko",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
Loading…
Reference in New Issue
Block a user