Commit Graph

1348 Commits

Author SHA1 Message Date
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
Bobby Wibowo
0b6df9efe4
Merged changes from master
Summary:
* Added 3 new sites to README.md.
* Added some new file extensions to filter.
* Some additions to nginx sample conf files.

Changes such as delete buttons and whatnots for the dashboard were not added.
2018-06-06 08:51:53 +07:00
Bobby Wibowo
9396a9ab49
Updated uploadController.js
Better snekfetch's error handling, probably.
2018-06-06 00:40:33 +07:00
Bobby Wibowo
57834dd362
Updated uploadController.js
Added DuckDuckGo's proxy support for "Upload by URLs". Make sure you add the new option in config.sample.js into your config.js.

This may be considered a hack and not supported by DuckDuckGo, so USE AT YOUR OWN RISK.

Credits to Proxy#1337.
2018-06-06 00:16:41 +07:00
Kana
c46f5d9b31
Merge pull request #128 from cmyui/patch-1
anotha one
2018-06-03 23:29:49 -03:00
Josh
67d7bf18b3
anotha one 2018-06-03 21:39:39 -04:00
Kana
210967396e
Merge pull request #125 from ImUrX/patch-1
Add new site
2018-06-03 11:17:31 -03:00
Uriel
1bc9c1ed7f
removed wip 2018-06-01 09:01:23 -03:00
Uriel
953981f48d
Update README.md 2018-05-31 14:48:24 -03:00
Kana
cbe73ed1ec
Merge pull request #122 from Shumatsu/extensions
File extension bans
2018-05-21 18:23:58 -03:00
Shumatsu
a9ac6b1574
Adjusting to recommendations 2018-05-21 23:22:54 +02:00
Shumatsu
df6d5459e0
File extension bans
`.nt` - turns out there's more Windows batch file extensions.
`.psm1` - PowerScript extension.
`.bash`, `.bsh`, `.csh`, `.bash_profile`, `.bashrc`, `.profile` - apparently those are valid bash script extensions.
`.reg` - overwrites Windows registry keys upon execution.
2018-05-21 23:13:39 +02:00
Kana
41fd4fb81d
Merge pull request #118 from NadyaNayme/no-thumb-deletion
Fix: File Deletion for No Thumbnail in Album View
2018-05-21 04:51:47 -03:00
Kana
3bb212cfda
Merge pull request #117 from Kosemii/patch-2
Fixed an issue with dashboard
2018-05-21 04:51:26 -03:00
Nadya
55e64b1f36 Fix: File Deletion for No Thumbnail in Album View
If a file did not have a thumbnail the delete button would not render.
2018-05-20 15:12:33 -07:00
Kosemii
f28fcf4388
Fixed an issue with dashboard
Fixed an issue cutting off delete button in dashboard
2018-05-20 23:04:33 +01:00
Kana
0994355c7e
Merge pull request #113 from Kosemii/patch-1
Added site
2018-05-20 18:39:47 -03:00
Kana
7655d87066
Merge pull request #116 from NadyaNayme/fix-typo
Fixes typo of charset_Type
2018-05-20 18:31:46 -03:00
Nadya
18b5d8eed9 Fixes typo of charset_Type
unknown directive charset_type, because the directive is charset_types
2018-05-20 14:25:15 -07:00
Kosemii
e0911494e6
Added site 2018-05-19 12:17:37 +01:00
Kana
0f66d74683
Merge pull request #111 from NadyaNayme/better-nginx-settings
Small nginx.config improvements
2018-05-19 05:08:25 -03:00
Nadya
30e460b7f8 Improve nginx defaults
Don't send nginx version in headers and serve all text/* as utf-8
2018-05-19 00:57:19 -07:00
Kana
e07e87e061
Merge pull request #107 from NadyaNayme/Album-Delete
Album View File Deletion
2018-05-13 00:01:49 -03:00
Nadya
ba6b3764dc
Fix typo 2018-05-12 19:25:19 -07:00
Nadya
8758ccac82
Merge pull request #2 from NadyaNayme/Album-Delete-Styles
Styles for Album View Delete
2018-05-12 19:20:14 -07:00
Nadya
ef4e7755ae
Styles for Album View Delete 2018-05-12 19:19:38 -07:00
Nadya
92efc7bf17
Add Delete to Album View
QOL change.
2018-05-12 19:17:21 -07:00
Bobby Wibowo
369b1137a7
Updates
* Some structure updates to the homepage and the No-JS uploader form. Making them both somewhat look better, especially in terms of spacing.

* Upload URLs form will now show an error alert when there the form is empty or only filled with whitespaces.

* Upload URLs form will now automatically remove empty lines or lines that consist of only whitespaces when the upload button is pressed.
2018-05-13 05:13:26 +07:00
Bobby Wibowo
0cf8ff58d0
Updated uploadController.js 2018-05-13 02:16:04 +07:00
Bobby Wibowo
c4eed6e478
Updates
* Added globals.v3 to _globals.njk, which will be used for CSS/JS files of libs (bulma, lazyload, etc.). globals.v1 will now only be used for lolisafe's JS and CSS files.
Since CSS/JS files of libs receive much less updates than lolisafe's (mainly since I push updates a lot), this will decrease the amount of files that users need to re-fetch on every updates.

* Added public/js/album.js which will be used by album.njk (albums public link). I'm going to disable inline scripts in safe.fiery.me.

* Better FAQ. Some points will now dynamically changes depending on the settings you have in your config.js. It's not perfect but certainly much better than before.
2018-05-12 23:34:19 +07:00
Bobby Wibowo
7f23734d67
Updates
* Faster upload response. Back-end will no longer wait for album timestamps to be updated before sending out response.

* Added a simple thumbnail generation script at scripts/thumbs.js. You can use this to generate thumbnails for existing files before enabling the option in config.js.

* Various other code improvements.
2018-05-12 21:01:14 +07:00
Bobby Wibowo
4d634196c5
Updated home.js
* Cache selected album the exact moment "Upload URLs" button is pressed, so that any in progress requests will not have its album id altered.

* All URLs will now be displayed in the uploads list (the thing in between upload buttons and footer links) the moment "Upload URLs" button is pressed. Previously it would only show the URLs one by one after each finished request.
Brief video: https://i.fiery.me/AByv.mp4.
2018-05-11 22:10:49 +07:00
Bobby Wibowo
933fcb8612
Updated screenshot in README again
I can't remember whether I used to use a logged in screenshot or not...
2018-05-11 22:02:03 +07:00