aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorPitu <[email protected]>2017-02-07 05:14:01 -0300
committerPitu <[email protected]>2017-02-07 05:14:01 -0300
commitdfcbac0c31159116ad3c57ebf479d59e431e5ce9 (patch)
tree8d55fdd79bd32d4f70f789a57874eca54fb37e82 /README.md
parentLittle fix (diff)
downloadhost.fuwn.me-dfcbac0c31159116ad3c57ebf479d59e431e5ce9.tar.xz
host.fuwn.me-dfcbac0c31159116ad3c57ebf479d59e431e5ce9.zip
Version v2.2.0 bump
Diffstat (limited to 'README.md')
-rw-r--r--README.md27
1 files changed, 26 insertions, 1 deletions
diff --git a/README.md b/README.md
index 5dcf042..808f39d 100644
--- a/README.md
+++ b/README.md
@@ -4,12 +4,37 @@ A small safe worth protecting.
---
### 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)
- [fluntcaps.me](https://fluntcaps.me)
- 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
2. Rename `config.sample.js` to `config.js`