Commit Graph

138 Commits

Author SHA1 Message Date
Bobby Wibowo
616124446f
Updates (WARNING!)
WARNING: Please turn off lolisafe before upgrading, then run "node database/migration.js" once after upgrading. Ignore all errors/warnings about duplicate column name. Afterwards make sure your config.js follows the new format in config.sample.js (specifically fileLength and generateThumbnails options).

* generateImageThumbnails and generateVideoThumbnails options in config.js is now renamed to an object named generateThumbnails, with image and video as its properties.

* fileLength option is now an object with min, max, default and userChangeable as its properties.

* User may now change their preferred file length (following the previous option, of course).

* Updated a bunch of responses messages. Mainly appending a dot to the messages.

* New APIs:
/fileLength/config to get an object of the current fileLength config (exactly what is in the config.js file).
/fileLength/change to change user's preferred file length.

* And maybe some others ...?
2018-03-24 20:52:47 +07:00
Bobby Wibowo
5b5fe9074e
SOMEONE PLEASE END MY SUFFERING 2018-03-20 00:28:46 +07:00
Bobby Wibowo
2a78fee990
Updates
Better thumbnail view.
I should really do something about the fact that I literally have to update the query string on every updates. Sheesh.
2018-03-20 00:18:29 +07:00
Bobby Wibowo
c96f5b0a33
Updates
* Updated Bulma to 0.6.2. Text will look slightly bigger in general now. I may change that in the future.

* Updated SweetAlert to 2.1.0.

* A bunch of other updates to make it compatible with the updated Bulma and SweetAlert.
2018-03-19 23:51:39 +07:00
Bobby Wibowo
c1db799aee
Updates
Replaced all instances of "ocurred" into "occurred".
2018-02-25 02:33:31 +07: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
Bobby Wibowo
59bb906098
Updates
Tags, icons, images and stuff.
2018-01-27 00:34:20 +07:00
Bobby Wibowo
fc71601074
Updates
* Show horizontal scrollbar for table only when needed.

* Cache-Control for static files.
2018-01-24 23:04:21 +07:00
Bobby Wibowo
32dd070e49
Yet another bunch of updates
* Self-host all libs (including but not limited to Font Awesome icons). LICENSE files were properly included as well.

* Temporarily disabling error pages.

* Added "start" and "pm2" scripts. To be used with "yarn SCRIPT_NAME" or "npm run SCRIPT_NAME".

* Added container for the tables in dashboard. On narrow screens, such as phones, users will then have the ability to use horizontal scroll on the tables.

* Fixed various resource paths. This should now work properly when not being hosted in root domain (e.i. https://fiery.me/lolisafe/).

* Before checking API, the "Running in ..." button will now say "Loading..." instead.
2018-01-24 22:31:23 +07:00
Bobby Wibowo
87904c9787
Converted tab indents to space indents
I might have still missed some files though.
2018-01-24 05:16:25 +07:00
Bobby Wibowo
26f092d865
More more updates
* Removed all instances of "og:image:secure_url" meta tag.

* Updated some border colors.
2018-01-24 05:10:17 +07:00
Bobby Wibowo
62ccfe5fee
Updates
* Updated content and colors of faq.html.

* Updated home.js.
2018-01-24 03:41:28 +07:00
Bobby Wibowo
bcdfcd7064
Various updates
* Switched ESLint + Aqua to Standard. I'm a big fan of Standard. Updated yarn.lock file too.

* Lots of refactors to follow the rules of Standard.

* Fixed issue with uploading as a not logged in user.
2018-01-24 03:06:30 +07:00
Bobby Wibowo
47f2f30682
More breaking changes
* Added Editor Config file.

* Added ".vscode/" to .gitignore.

* Added final newline to some files.

* Added KDE Breeze Dark colors.

 * Applied various ESLint autofixes. There were still plenty of non-auto-fixable issues though. I'm not sure why this project had ESLint dev dependency but still ended up with countless issues.

* ... and maybe some others.
2018-01-24 01:00:55 +07:00
Bobby Wibowo
883a601358
Breaking changes
All of these changes are for safe.fiery.me.
2018-01-24 00:15:32 +07:00
EpikPhailure
4ef19ed027
removed extraneous space 2017-11-02 21:19:57 -07:00
ScruffyRules
9c07dda317 Fix up formatting in the sharex_file variable 2017-10-06 17:10:06 +10:30
ScruffyRules
d367bc27fa Make ShareX link download a sharex file if you're logged in 2017-10-06 16:58:39 +10:30
Kana
1544f1ca76 Fix being able to paste an image from clipboard 2017-09-25 19:05:20 -03:00
Pitu
50dbb9526b Delete album.js script since we are SSR now on that route 🎉 2017-09-20 03:03:00 -03:00
Pitu
2a978df1a7 Made that an ID 2017-04-27 04:47:08 -03:00
Pitu
dca43e948e Derp 2017-04-27 04:45:15 -03:00
Pitu
9db6c23ce1 Moved the eventListener 2017-04-27 04:37:30 -03:00
Onestay
f167bc52a0 removed all trailing spaces (I think) 2017-04-23 15:36:26 +02:00
Onestay
480a38d260 change let and const to var to support older browsers 2017-04-23 15:26:45 +02:00
Onestay
07f1b1ca3c remove debug console.log 2017-04-23 15:22:14 +02:00
Onestay
cf6a396730 Uploading to an album 2017-04-23 15:19:31 +02:00
Onestay
b9fd64c620 added a bit of styling 2017-04-23 15:19:10 +02:00
Onestay
e5cd142347 Get albums and put them in the select as options 2017-04-23 14:29:09 +02:00
Onestay
81f1707835 only display album select when user is logged in
It still needs additional styling and stuff
2017-04-23 14:09:44 +02:00
Crawl
91d7cbdb6c Update dashboard.js 2017-03-10 18:19:25 +01:00
RyoshiKayo
fda308146b Password verification. 2017-03-10 08:26:05 -08:00
Pitu
7cf8b6899d Added ability to see who uploaded a file as root 2017-02-13 21:55:07 -03:00
Pitu
36e17b0372 Album stuff 2017-02-07 04:52:53 -03:00
Pitu
e05a7c751e Added public album sharing 👌 2017-02-07 04:32:55 -03:00
ærion
8cddd06d7a Remove .DS_Store files (#6) 2017-02-02 15:26:15 +01:00
Pitu
23f079516f MORE. META. DATA. 2017-01-31 04:38:55 -03:00
Pitu
cf5fda862b More meta tags (╯°□°)╯︵ ┻━┻ 2017-01-31 04:29:50 -03:00
Pitu
4dfe65f3aa Added meta data and stuff 2017-01-31 04:21:15 -03:00
Pitu
d5c9b15ab9 Added username display on dashboard 2017-01-31 03:43:00 -03:00
Pitu
999c148dff Changed /panel to /dashboard 2017-01-31 03:37:17 -03:00
Pitu
9cd3846795 Added FAQ 2017-01-31 03:31:10 -03:00
Pitu
1ec6bbb640 No more asking token on front if private 2017-01-30 06:00:01 -03:00
Pitu
66e7b676d9 Smol fix 2017-01-30 05:45:21 -03:00
Pitu
ec9de34cb3 Added changePassword 2017-01-30 05:43:15 -03:00
Pitu
b781237454 Replaced auth header with token 2017-01-30 04:41:44 -03:00
Pitu
6c2eb4e98e Added image pasting from clipboard 2017-01-30 03:25:34 -03:00
Pitu
8523ee6ac0 Created auth view 2017-01-29 04:20:16 -03:00
Pitu
a44178a272 Created auth view 2017-01-29 04:20:04 -03:00
Pitu
3f4b879144 List and thumb view on uploads 2017-01-22 18:01:39 -03:00
Pitu
b1b5515eec Sections now highlight when active 2017-01-21 19:30:04 -03:00
Pitu
8ee1540c82 Added logout to dashboard 2017-01-21 19:04:14 -03:00
Pitu
e9b3ecbd05 Fixed public upload. Whoopsies 2017-01-21 16:22:34 -03:00
Pitu
1b2af2282f Pagination is gucci 2017-01-21 05:17:29 -03:00
Pitu
bae03cdc25 File delete, album delete and album rename. Sugoooi! 2017-01-20 03:28:26 -03:00
Pitu
83aaef0f82 Changed request system and post data
Changed from XMLHttpRequest to Axiios and made every POST call to look for params or json and not pass the values as headers. Token is still a header though
2017-01-19 02:37:35 -03:00
Pitu
7c8be0341f Cuter file upload progress 2017-01-18 22:08:59 -03:00
Pitu
de130602f9 Added changing of tokens from the dashboard 2017-01-18 04:51:42 -03:00
Pitu
0dcaf36332 Added browsing galleries from dashboard 2017-01-18 04:05:56 -03:00
Pitu
cf98005c4f Better tables and showing album on upload view 2017-01-18 03:29:46 -03:00
Pitu
84ff2241ba Shit ton of things on this update 2017-01-18 02:40:14 -03:00
Pitu
075e1baac7 Better static routes 2017-01-17 20:12:58 -03:00
Pitu
410c702b2d Better links on bottom and displaying max file size 2017-01-17 20:02:32 -03:00
Pitu
66f4961c38 Better link display on homepage 2017-01-17 19:35:18 -03:00
Pitu
ddb6d0df7d Database now saves album 2017-01-17 19:05:00 -03:00
Pitu
c4b5457891 Change from gallery to album 2017-01-17 18:55:35 -03:00
Pitu
e466f85a4e Made dashboard not load up login by default 2017-01-17 17:24:20 -03:00
kanadeko
15fbca2420 Rewrote panel js 2017-01-17 17:10:56 -03:00
kanadeko
a114d298d0 Rewrote token handling and upload.js 2017-01-17 16:54:25 -03:00
kanadeko
54e73085c6 Removed extra routes, moved static to main file 2017-01-17 15:55:27 -03:00
pitu
bdfd512c10 token handling and verification 2017-01-17 00:37:54 -03:00
kanadeko
0da43c4520 Login screen on dashboard 2017-01-16 06:26:43 -03:00
kanadeko
14ddf495b3 Fixed frontend upload 2017-01-16 05:35:36 -03:00
kanadeko
55e2d17636 Admin panel, pomf-standarization and stuff 2017-01-16 04:21:46 -03:00
kanadeko
0c6912d2c3 stuff 2017-01-15 03:15:08 -03:00
pitu
763a43f996 Merge branch 'master' of https://github.com/WeebDev/loli-safe 2017-01-14 22:36:35 -03:00
pitu
91a7ec7286 WIP admin, probably not smart to clone repo now 2017-01-14 22:36:24 -03:00
Kanacchi
ed1fe825a8 Delete .DS_Store 2017-01-14 20:56:15 -03:00
pitu
9facd5215b last fix for now 2017-01-14 19:46:37 -03:00
pitu
0f9b05b588 Some fixes here and there 2017-01-14 19:45:02 -03:00
pitu
d0b5d4a2df Forgot to send token on upload 2017-01-14 19:40:50 -03:00
pitu
6ded8a913c People should stop bugging me about this now 2017-01-14 19:30:31 -03:00
pitu
f4b8544f69 Added token submission to frontpage 2017-01-14 19:24:32 -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
a246fc8365 Frontend done 2017-01-14 05:50:18 -03:00
kanadeko
07ba404dcb Frontend WIP 2017-01-14 03:01:23 -03:00