Commit Graph

1230 Commits

Author SHA1 Message Date
Bobby Wibowo
2bfe24758c
Merge branch 'master' into safe.fiery.me 2018-09-07 22:05:15 +07:00
Bobby Wibowo
ed7612bd89
Fix .eslintrc.json for client-side JS files
I can't remember why I extended the config with "eslint:recommended" instead of "standard" back then. I know I wanted to force an older ecmaversion, but even then it would still work just fine with standard.
I've fixed it now to use standard. I've also applied auto-fix to dashboard.js and home.js, which fixed some stray or missing whitespaces, as well as the indenting of case's inside switch statement.
2018-09-07 22:02:04 +07:00
Uriel
4e7a9b9fe6
Update README.md 2018-09-06 22:07:06 -03:00
Kana
bb3761c23e
Merge pull request #144 from SanchezSihaya/patch-1
Anutha one
2018-09-06 20:25:28 -03:00
Kana
0d40f21ce8
Merge pull request #143 from Kosemii/patch-1
Remove inactive clones
2018-09-06 20:25:16 -03:00
Bobby Wibowo
7587bfa408
Updates
* Updated utilsController.js: Unlink thumb of type symlink whenever generateThumbs() is called.

* Updated thumbs.js: Add stats (success/error/skipped).
2018-09-05 00:29:53 +07:00
Bobby Wibowo
29f9187e92
Updated scripts/thumbs.js
* Patched getFiles() function to regard symbolic link files as nonexistent. By default failing thumbs will create symbolic links to a placeholder image. Previously the script would regard those symbolic links as existing thumbs, thus preventing the script from generating thumbs for those files.

* Added verbose option. Previously the script would print even all files that already had thumbs. Now it would only print files with missing thumbs, and enabling the option would restore the previous behavior.
2018-09-05 00:02:24 +07:00
Bobby Wibowo
2e959a3286
Updated README.md (typo) 2018-09-04 23:39:43 +07:00
Bobby Wibowo
f46621771e
Updated README.md 2018-09-04 23:37:19 +07:00
Bobby Wibowo
ace263be03
Updated config.sample.js
This is the new format of the scan option for the previous clamdjs commit. I forgot to include changes to the sample config file.
2018-09-04 23:11:20 +07:00
Bobby Wibowo
56bdd08ee7
Init 'browser-ecma5' branch (#7)
* Downgraded ecma version of client-side scripts to v5. This change means no more backtick strings and some others.

* Massively modified auth.js, dashboard.js and home.js to support the downgrade (dashboard.js had the most changes).

* Removed enter key event handler from auth page. The previous code had some small issues. I'd rather not have the handler than let the issues persist. I'll eventually look into adding this again in the future.

* Updated uploadController.js to handle some invalid requests into /api/delete and /api/bulkdelete.
2018-09-04 22:49:37 +07:00
Bobby Wibowo
a207c4a806
Init 'clamdjs' branch (#8)
Use clamdjs module instead of clam-engine. This module connects to clam daemon server.
2018-09-04 22:48:24 +07:00
Bobby Wibowo
36da76357e
Updates
* Added an experimental virus scanning feature using ClamAV. This has only been tested with an Ubuntu machine.

* File extensions will now be parsed with path-complete-extname module. This will ensure extensions such as .tar.gz are properly parsed.

Notice: It may take a minute or so to start the safe with virus scanning, as apparently the module takes a while to create the engine. I'm guessing since it'll be loaded to memory? Either way, once the engine is created, everything should work fine. Virus scanning should also not have that much of an impact to the upload time.
2018-09-02 03:37:26 +07:00
Bobby Wibowo
bf31a59f2c
Updates
Added meta tag support for Google site verification.
2018-08-31 01:45:51 +07:00
Sanchez
9a4047afa5
Anutha one 2018-08-26 19:43:11 +10:00
Kosemii
20984be41f
Remove inactive clones 2018-08-26 01:12:28 +01:00
Bobby Wibowo
b49d625a01
Merge branch 'master' into safe.fiery.me 2018-08-21 06:31:52 +07:00
Bobby Wibowo
49ce5aa654
Merge branch 'browser-ecma6' into safe.fiery.me 2018-08-21 06:28:14 +07:00
Bobby Wibowo
e204187efc
Updates
* Updated README.md to include information about the thumbnails generation script.

* Added .markdownlint.json to disable 2 rules from markdownlint.
2018-08-21 06:24:50 +07:00
Kana
6847cbb346
Merge pull request #142 from BigBrainAFK/patch-1
Added discordjs.moe
2018-08-10 09:26:03 -03:00
Tony Langhammer
a6b0a827cf
Added discordjs.moe 2018-08-10 13:37:59 +02:00
Kana
a59396aa6d
Merge pull request #140 from hyperdefined/master
safe is dead
2018-08-02 09:06:22 -03:00
hyperdefined
073f14a7c0
safe is gone 2018-08-01 17:57:33 -04:00
hyperdefined
d3b13af53b
Merge pull request #1 from WeebDev/master
updated
2018-08-01 17:57:01 -04:00
Kana
7ca08ceade
Merge pull request #139 from Pyxelx/master
Update README.md
2018-07-30 14:35:42 -03:00
Brayden
ea65e4b5ea
fix some spelling/grammar 2018-07-30 05:48:29 -08:00
Brayden
3b75760886
Update README.md 2018-07-28 04:39:25 -08:00
Bobby Wibowo
5c365dc4a8
More changes related to the previous commit 2018-07-17 10:21:04 +07:00
Bobby Wibowo
c238f4f8ed
Updated auth page
Experimental changes:
* No more elements with "onclick" attribute.
* Form can now be submitted with Enter button as long as both the user and the pass inputs are filled.
2018-07-17 10:13:48 +07:00
Bobby Wibowo
fcdac004f3
Updated dashboard.js and home.js
Continuation of the previous commit.
2018-07-14 11:37:36 +07:00
Bobby Wibowo
5e765f4935
Updated home.js and dashboard.js
Use for-i-loop instead of for-of-loop on various places (I may have missed some spots though).
2018-07-14 11:35:31 +07:00
Bobby Wibowo
bdee00e1a4
Merge branch 'safe.fiery.me' into browser-ecma6 2018-07-14 11:21:30 +07:00
Bobby Wibowo
ff3a6d1fb0
Updated albumsController.js
Trying to purge empty albums (purge = also deleting all of the files associated with it) will no longer throw out warning about failing to delete any of the associated files (since there are supposed to be none for empty albums anyways).
2018-07-14 11:00:10 +07:00
Bobby Wibowo
4d7b23bb39
Initial commit at browser-ecma6 branch
This commit is intended to downgrade codes in JS files used for browser to increase browsers compatibility.

This branch is still experimental and may require much more testing.
2018-07-14 10:42:18 +07:00
Bobby Wibowo
be0167f4d4
Updated uploadController.js 2018-07-12 13:52:31 +07:00
Bobby Wibowo
2d5cea2808
Updated some CSS files
It will now properly use a single rule to style page background across all pages (html rule at style.css).
2018-07-12 13:50:53 +07:00
Bobby Wibowo
b2d9efa744
Updated uploadController.js 2018-07-12 13:38:43 +07:00
Bobby Wibowo
730836ccaa
Merge branch 'master' into safe.fiery.me 2018-07-12 13:34:58 +07:00
Bobby Wibowo
917afdf7a8
Updated uploadController.js
Fixed a bug where error messages related to multer would not be displayed properly (it would instead print "undefined").
2018-07-12 13:34:22 +07:00
Kana
78c184562a
Merge pull request #134 from Shumatsu/master
Site list revision
2018-07-02 12:54:59 -03:00
Shumatsu
aa8266087f
Removed updx 2018-07-02 17:34:52 +02:00
Shumatsu
b078041503
Restored waliant.pw 2018-07-02 12:43:27 +02:00
Shumatsu
68032b62b9
Site list revision
- UPDX - uses SSL, so no need to keep http: link.
- Kayo.pics - redirects to kayo.moe
- safe.waliant.pw - entire waliant.pw is down right now.
- a.hyper.lol - added a space because I don't like when words are unnecessarily mashed together.
2018-07-02 09:39:19 +02:00
Kana
7711f0d45a
Merge pull request #132 from hyperdefined/master
Added My Site
2018-07-02 03:03:37 -03:00
hyperdefined
39b3c69bd9
xd 2018-07-02 01:59:50 -04:00
hyperdefined
f4d6e4bd64
Update README.md 2018-07-02 01:59:34 -04:00
Bobby Wibowo
616da886f7
Updated README.md 2018-06-17 07:44:22 +07:00
Bobby Wibowo
dfb50da223
Merge branch 'master' into safe.fiery.me 2018-06-16 05:46:21 +07:00
Kana
82e8e7167b
Merge pull request #130 from VVLNT/original
because why not
2018-06-15 17:22:56 -03:00
VVLNT
5ca83af4a4 because why not 2018-06-15 22:11:54 +02:00