Commit Graph

157 Commits

Author SHA1 Message Date
Bobby Wibowo
a3dabb33b1
Updated home.css
Changing the blue color of active tab to match the color scheme.
2018-05-11 21:46:39 +07:00
Bobby Wibowo
33735018d5
Updated README.md 2018-05-11 21:40:29 +07:00
Bobby Wibowo
d86dfc9b0e
Updated README.md 2018-05-06 21:26:16 +07:00
Bobby Wibowo
7eccdbde63
Updated README.md 2018-05-06 21:25:15 +07:00
Bobby Wibowo
4660200b1e
More improvements to albums, and others
Improvements related to albums:

* Changed "rename album" option with a better "edit album" feature. With it you can also disable download or public link and even request a new public link (https://i.fiery.me/fz1y.png).
This also adds a new API route: /api/albums/edit.
The old API route, /api/albums/rename, is still available but will silently be using the new API in backend.

* Deleting album will now also delete its zip archive if exists.

* Renaming albums will also rename its zip archive if exists.

* Generating zip will use async fs.readFile instead of fs.readFileSync. This should improve generating speed somewhat.

* The codes that tries to generate random identifier for album will now check whether an album with the same identifier already exists. It will also rely on "uploads.maxTries" config option to limit how many times it will try to re-generate a new random identifier.

* Added a new config option "uploads.albumIdentifierLength" which sets the length of the randomly generated identifier.

* Added "download" and  "public" columns to "albums" table in database/db.js.
Existing users can run "node database/migration.js" to add the columns.

Others:

* uploadsController.getUniqueRandomName will no longer accept 3 paramters (previously it would accept a callback in the third parameter). It will now instead return a Promise.

* Album name of disabled/deleted albums will no longer be shown in uploads list.

* Added "fileLength" column to "users" table in database/db.js.

* Renamed HTTP404.html and HTTP500.html in /pages/error to 404.html and 500.html respectively. I'm still using symlinks though.

* Added a new CSS named sweetalert.css which will be used in homepage, auth and dashboard. It will style all sweetalert modals with dark theme (matching the current color scheme used in this branch).

* Updated icons (added download icon).

* Some other improvements/tweaks here and there.
2018-04-29 00:26:39 +07:00
Bobby Wibowo
1f6dfae78e
Updates
* Updated screenshot in README.md, as well as replaced fb_share.png with the same image.

* Removed 512px.png and replaced it with 512pxr.png (a round version) in manifest.json.

* globals.v is now split into globals.v1 and globals.v2. The former for CSS and JS files, the latter for images and config files (manifest.json, etcetera).

* All static images that are part of the layout will now have their URLs appended with globals.v2 (which means this does not include dynamically generated images such as thumbnails of uploaded files).
2018-04-26 19:53:19 +07:00
Bobby Wibowo
6cc6928c62
Merging all the changes from 'master'
There's nothing much really. Here's a summary:
* Added dmca.gripe to README.md.
* Updated chrome extension's instruction in README.md.
* Bumped year in LICENSE.
* Moved error pages from /pages/errors to /pages/error.
* Added a README.md to /pages/error clarifying the fact that this repo is using symlinks for error pages.
2018-04-26 19:28:31 +07:00
Kayo
c4993e5882
Removed Bold style from dmca.gripe 2018-04-25 23:57:04 -07:00
Shumatsu
44ca2dd53d De loli-safe (#77)
* Change all occurences of loli-safe to lolisafe

Saw that repository was renamed, links were changed, but a lot of files of lolisafe were unchanged. So I followed the links and changed what seemed safe to change. Which turned out to be all occurences. 

Also, bumped the copyright.

* Change year in LICENSE

This seems to be the proper format.

* Image fix

It was out of focus.

* Relative image path

Heard on StackOverflow it can be done like this.
2018-04-26 08:54:07 +02:00
Kosinus
717367320e added dmca.gripe (#96) 2018-04-26 08:51:35 +02:00
Bobby Wibowo
c854e416ae
Updates
I'm reverting 2 commits before this. It was mainly about changing icons size to 1.75x instead of 2x their size. This time I'm keeping it back to 2x. I did some more thinking and I just wasn't satisfied with 1.75x.
2018-04-23 03:22:26 +07:00
Bobby Wibowo
c12add2ace
Updated screenshot in README.md 2018-04-12 21:41:57 +07:00
Bobby Wibowo
b31f28ddcf
Updates
* De loli-safe wherever it's safe to do so.

* Removed bulma tooltip. Sigh, it came from an impulsive decision out of boredom to begin with.

* Chrome extension and GitHub links in home page will now open in new tab.

* File's link in the dashboard's list will still show the full URL in its tooltip, but it will no longer use bulma tooltip extension.
2018-04-04 23:47:20 +07:00
Bobby Wibowo
c42a88a64b
Updated screenshot in README.md 2018-04-04 01:56:34 +07:00
Bobby Wibowo
567e3ffdd1
Updated README.md 2018-04-03 22:06:13 +07:00
Bobby Wibowo
c988a5c5ad
Merge branch 'master' into safe.fiery.me 2018-04-03 22:05:27 +07:00
Bobby Wibowo
a61060249f
Updates
* Updated README.md to get rid of all the warnings from linter. Just because.

* Removed an unnecessary logic check in albumsController.addFiles().

* Refactored "successIds" to "updateDbIds" in utilsController.bulkDeleteFilesByIds().
2018-04-03 22:01:19 +07:00
Kana
917cdabcb0
Merge pull request #73 from RyoshiKayo/master
Added CF-Connecting-IP
2018-04-03 10:55:55 -03:00
Kayo
5715a2d1f3
Updated README about CF support 2018-04-01 23:59:03 -07:00
Bobby Wibowo
6fa375887b
Merge branch 'master' into safe.fiery.me 2018-03-31 22:57:26 +07:00
Bobby Wibowo
4a2b7b3693
Updates
* File name, album/owner and size in thumbs view will no longer be clipped. Instead their overflow will be hidden in the form of ellipsis.

* Updated screenshot in README.md.
2018-03-31 21:44:06 +07:00
Bobby Wibowo
2dd724f88f
Updates
* Switched standard to eslint with eslint-config-standard (and 4 more eslint plugins needed by standard).

* Added "curly" eslint rule with "all" option. I like it.

* Refactored all JS files to apply the new "curly" eslint rule.

* Renewed axios.min.js, dropzone.min.js and sweetalert.min.js. Re-minified and added a small comment stating their version and copyright statement.

* Some buttons in dashboard will now show loading icon whenever they're waiting for response from the server.

* Updated README.md and .gitignore.
2018-03-29 00:40:50 +07:00
Kayo
46bb4079c6
Added kayo.pics
umu
2018-03-26 02:42:03 -07:00
RyoshiKayo
d009c2dcf6 Typing is hard 2018-02-11 23:54:05 -05:00
RyoshiKayo
47821474a5 Added CloudFlare Supprt for WeebDev/lolisafe#70 2018-02-11 23:49:11 -05:00
Bobby Wibowo
27050d5ac0
Merge branch 'safe.fiery.me' into master 2018-02-04 03:55:06 +07:00
Kana
48ec9d9559
Merge pull request #69 from RyoshiKayo/master
Added HTTP Version of NGINX sample configuration
2018-02-01 00:28:56 -03:00
Bobby Wibowo
a940d14731
Updates
* Added fb_share.png.

* Updated README.md to use fb_share.png (using a copy hosted at safe.fiery.me though).

* Updated all html files to add fb_share.png as an extra og:image tag.
2018-01-31 19:00:12 +07:00
RyoshiKayo
a9232b905c Added NGINX SSL Version 2018-01-27 06:24:21 +01:00
Bobby Wibowo
f42bd7d011
Added safe.fiery.me to README.md. 2018-01-24 01:14:48 +07:00
vistafan12
e64417d0cb
added updx.xyz 2018-01-03 20:21:01 +01:00
Kana
ef153d0cc1
Update README.md 2017-11-07 16:03:50 -03:00
Kana
48883d7728 Added minimum node version 2017-10-06 02:53:12 -03:00
Pitu
5ff33ba930 Updated README and added nginx sample configuration file 2017-10-04 02:26:00 -03:00
Kana
a2cd342720 Added support link 2017-10-03 13:21:33 -03:00
Kana
f8d6cc7db6 Update README.md 2017-07-24 01:19:25 -03:00
Crawl
4d0c309987 Update logo link 2017-04-27 08:57:25 +02:00
Austin
4d3cc50f20 link change 2017-02-14 09:47:56 -06:00
Pitu
dbca0104cf Updated README 2017-02-07 05:18:44 -03:00
Pitu
dfcbac0c31 Version v2.2.0 bump 2017-02-07 05:14:01 -03:00
Pitu
79fee8defd Etooo 2017-01-30 05:15:30 -03:00
Pitu
640e45a59b Updated readme 2017-01-30 05:10:56 -03:00
Pitu
6da6517b0e Reuploaded header image for the 3rd time 2017-01-21 05:23:33 -03:00
Pitu
3daca98298 Added chrome extension link 2017-01-18 20:33:38 -03:00
Pitu
87bdcb7659 New README 2017-01-18 13:31:55 -03:00
pitu
329aec24ee Changed header image on readme 2017-01-14 19:45:20 -03:00
pitu
0e0a1c6f35 Updated readme 2017-01-14 18:42:38 -03:00
kanadeko
b81cf72ac4 Changed from ip whitelist to token based auth 2017-01-14 18:13:58 -03:00
kanadeko
b908343a12 Removed unused files 2017-01-14 06:16:47 -03:00
kanadeko
3b648ab45e Frontend ip blocking 2017-01-14 06:06:01 -03:00
kanadeko
7b01e7b40c Small edit 2017-01-14 03:45:10 -03:00
kanadeko
669819bc31 typo 2017-01-13 05:13:07 -03:00
kanadeko
26879a8401 Updated readme 2017-01-13 04:58:36 -03:00
Pitu
9129a3cac5 typo 2017-01-13 04:51:47 -03:00
Pitu
de975f0f62 Updated readme 2017-01-13 04:48:18 -03:00
Pitu
376cf10663 First version 2017-01-13 04:34:21 -03:00
Kanacchi
b285f24415 Initial commit 2017-01-13 04:28:41 -03:00