Commit Graph

93 Commits

Author SHA1 Message Date
Bobby Wibowo
7770192ca8
Updates
* Improved list view. When a row is clicked, as long as it has a thumbnail, a modal will pop-out to show the thumbnail.

* Improved image placement in thumb view.

* Refactored all instances of id attribute in HTML files to use double quotes instead of single quote.
2018-03-28 19:28:17 +07:00
Bobby Wibowo
66a63ca6d6
Updates (YAY, CHUNKED UPLOADS!)
* Added new dependency: rimraf. This will be used by chunked upload support to bulk delete temporary chunk files.

* Added chunked uploads support :3

* Updated Dropzone to 5.2.0.

* More improvements to thumbnail view. Delete button will now only appear on hover. Some other details, such as file name, size and album/owner will also appear on hover. Touch devices will have all of those appear always visible by default.

* Image thumbnails will now appear on home page after successful uploads (only for WEBP, JPG, JPEG, BMP, GIF and PNG files). WEBP may not work properly in Firefox though.

* Refactored home.js to use const/let and some other stuff.

* Refactored album view. It will now display properly on mobile screen. Download Album button will also no longer be located at the top right, but right below the subtitle.

* Updated some version strings.

* And maybe some others that I can't remember.
2018-03-28 18:36:28 +07:00
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
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