Commit Graph

123 Commits

Author SHA1 Message Date
Bobby Wibowo
3fa5b24ee5
Updates
* Better auth handling.

* Deleting a file will no longer cause the dashboard to load the very first page of uploaded files list. It will instead reload the currently viewed page.

* Updated dropzone (I guess).
2018-03-25 02:47:41 +07:00
Bobby Wibowo
83f3b36f15
Updates
* Added "Size" column to list view of uploaded files. The size will be use 'pretty' view (kB, MB, etc).

* Added delete button to thumbs view of uploaded files.

* All instances of "file length" in public views renamed to "file name length". The latter makes more sense.
2018-03-24 23:45:51 +07:00
Bobby Wibowo
20f8fd4957
Updated dashboard.js
I forgot to set the "Preferred file length" menu active when clicked.
2018-03-24 21:49:44 +07:00
Bobby Wibowo
6dccd1c982
Updated dashboard.html
My bad, changed wrong version string (last commit was supposed to change the JS file instead of the CSS file).
2018-03-24 21:21:10 +07:00
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
763d06ff95
I AM SUFFERING 2018-03-20 00:32:12 +07:00
Bobby Wibowo
5b5fe9074e
SOMEONE PLEASE END MY SUFFERING 2018-03-20 00:28:46 +07:00
Bobby Wibowo
6c85dda86a
Updated home.html
Fixed section display thingy. Basically it went out-of-bound in small screens, or something.
2018-03-20 00:25:42 +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
18155e464e
Added random bits to query string of js/css files
We need to get client to stop using their cached files due to the massive updates.
2018-03-19 23:58:21 +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
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
2f3205bfa5
Updated faq.html
Updated notes about albums.
2018-01-31 17:51:37 +07:00
Bobby Wibowo
1e52b66f58
Updated faq.html
Changed contact mail address.
2018-01-31 17:41:24 +07:00
Bobby Wibowo
b324eb65fd
Updates
I kinda forgotten to use rounded icons as favicons.
2018-01-27 00:54:06 +07:00
Bobby Wibowo
59bb906098
Updates
Tags, icons, images and stuff.
2018-01-27 00:34:20 +07:00
Bobby Wibowo
8da92b4eb5
Update
Load "Home" and "Blog" links in current tab.
2018-01-25 00:25:12 +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
ScruffyRules
d367bc27fa Make ShareX link download a sharex file if you're logged in 2017-10-06 16:58:39 +10:30
Pitu
f5d0d7271a Forgot some spaces here and there 2017-10-03 21:14:37 -03:00
Pitu
3c5303e505 tabs pls 2017-10-03 21:12:46 -03:00
Jason Etcovitch
11cd00c804 Proper casing of GitHub
Github => GitHub
2017-09-25 22:09:12 -04:00
Pitu
2a978df1a7 Made that an ID 2017-04-27 04:47:08 -03:00
Pitu
6dda9951de Changed the dropdown option and removed label 2017-04-27 04:28:02 -03:00
Onestay
b9fd64c620 added a bit of styling 2017-04-23 15:19:10 +02:00
Onestay
7d71546388 Add none option 2017-04-23 14:29:19 +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
Pitu
de1af70b22 Added ShareX config instructions 2017-03-17 01:30:55 -03:00
Pitu
36e17b0372 Album stuff 2017-02-07 04:52:53 -03:00
Pitu
2eaf2712ef Added missing metadata and favicons 2017-02-07 04:33:13 -03:00
Pitu
e05a7c751e Added public album sharing 👌 2017-02-07 04:32:55 -03:00
Crawl
ea8669a989 Don't declare viewport twice, you dummy @pitu 2017-01-31 12:31:07 +01:00
Pitu
399cce6f99 This is the last commit with tags 2017-01-31 04:46:25 -03:00
Pitu
982796495b (╯°□°)╯︵ ┻━┻ 2017-01-31 04:44:05 -03:00
Pitu
7d524c2c01 sigh 2017-01-31 04:42:23 -03: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
ec9de34cb3 Added changePassword 2017-01-30 05:43:15 -03:00
Pitu
418f4ffe79 Stuff 2017-01-30 05:10:39 -03:00
Pitu
cc2616aa30 Made passwords behave like passwords 2017-01-30 04:41:18 -03:00
Pitu
9fae21a529 Created auth view 2017-01-29 04:19:43 -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
02e44ce48d Fixed frontpage chrome extension link 2017-01-20 03:40:39 -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
84ff2241ba Shit ton of things on this update 2017-01-18 02:40:14 -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
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
2b95f62396 Removed unused columns on mobile 2017-01-17 17:12:58 -03:00
kanadeko
a114d298d0 Rewrote token handling and upload.js 2017-01-17 16:54:25 -03:00
kanadeko
79e786f3b8 Added 500 error page 2017-01-17 15:56:44 -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
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
91a7ec7286 WIP admin, probably not smart to clone repo now 2017-01-14 22:36:24 -03:00