Commit Graph

375 Commits

Author SHA1 Message Date
Pitu 207fc916d9 Handle nuxt routes on page load 2020-06-25 02:06:11 +09:00
Pitu d1340c26b5 Optimize album view 2020-06-25 02:06:00 +09:00
Pitu f189ddf9e6 Cleanup 2020-06-25 02:05:48 +09:00
Pitu a9fe08f9e5 Update error message 2020-06-25 01:36:04 +09:00
Pitu b526d88036 Optimize the queries fetching albums/files 2020-06-25 01:35:52 +09:00
Pitu b8fc0cc858 Fix frontend registration display 2020-05-11 01:15:46 +09:00
Pitu 496477ebda Feature: enable apiKey access to uploads and album fetching for the uploader/sharex/3rd party 2020-05-11 00:57:56 +09:00
Pitu b886fda079 chore: cleanup and todo 2020-05-11 00:19:10 +09:00
Pitu ec67bb8087 fix: remove uuid from user registration 2020-05-10 22:44:21 +09:00
Pitu 124ff68f06 Feat: implement lazy loading for waterfall view 2020-05-10 21:22:48 +09:00
Pitu b27b4c47f7 feat: Proper deleting of albums 2020-05-10 21:22:25 +09:00
Pitu 1836c8c93a Small fix for migration script, dont import deleted albums 2020-05-10 21:12:30 +09:00
Pitu 4c52932426 Features:
* Serve files during development
* Own endpoint for fetching the albums of a file
2020-05-10 20:02:48 +09:00
Pitu d4ac722f58 Feature: Migration script from v3 to v4 2020-05-10 20:01:37 +09:00
Pitu aadb01bcff Style changes to albums 2020-05-10 20:01:05 +09:00
Pitu 6da29eb7c1 Sort files by newest 2020-05-10 20:00:52 +09:00
Pitu 432d86022c chore: forgot to remove this uuid 2020-05-10 00:39:53 +09:00
Pitu de54e19d3a chore: remove the use of uuid 2020-05-10 00:03:45 +09:00
Pitu a639b85734 Fix: consistent hash of uploads 2020-05-09 23:56:35 +09:00
Pitu c114e59be3 Feature:
* Frontend is now served by the API process
* Only 1 process spawns for lolisafe to work
* Switched frontend from server-side render to static site, now saved in `/dist`
2020-05-09 19:21:20 +09:00
Pitu d63f1f57e9 wip:
* Dark theme by default
* Re-arranged vue files structure
* Re-arranged the layout file to make it easier to extend
2020-04-28 10:47:22 +09:00
Pitu bf37e04cb6 feature: footer 2020-04-13 01:17:03 +09:00
Pitu 759832cd78 chore: revamp colors 2020-04-13 01:16:54 +09:00
Pitu 05c129ec32 chore: remove filepond 2020-04-11 00:52:06 +09:00
Pitu 3fb303380e chore: make use of sass 2020-04-11 00:36:14 +09:00
Pitu a957713e81 chore: update deps 2020-04-10 23:40:22 +09:00
Pitu cba7bf8586 This commit adds a bunch of features for admins:
* banning IP
* see files from other users if you are admin
* be able to see details of an uploaded file and it's user
* improved display of thumbnails for non-image files
2019-10-13 02:53:45 +09:00
Pitu 4e4b4ea468 don't log out on API error 2019-10-12 22:59:56 +09:00
Pitu bca8fbcd83 refactor: removed useless code, cleaned up, fixed permissions 2019-10-12 21:14:19 +09:00
Pitu 5ca3c35381 Added new links to the navbar 2019-10-12 20:16:38 +09:00
Pitu 1177de9b04 fix: update sharex snippet 2019-10-12 20:16:23 +09:00
Pitu 43eb86c77f fix: we don't want non-admins to access the settings section 2019-10-12 20:16:10 +09:00
Pitu 2695d192ba feature: prevent duplicated files
- If the user uploads a file that already exists under their account, it will return the previous url
- If an anonymous user uploads a file and already exists previously from another anon, return that url
- Files are unique per account since they can be deleted, anonymous files can't
2019-10-12 18:18:32 +09:00
Pitu e6eb13e5cd feature: save uploaded files to album if specified 2019-10-12 17:52:49 +09:00
Pitu 391ee68e4a chore: Upgrade buefy to newest version 2019-10-12 15:47:25 +09:00
Pitu 459ab5433b chore: remove exif strip support.
After some thought, modifying uploaded files is not something I want to support.
2019-10-12 14:58:58 +09:00
Pitu dd9c9ac11f chore: wizard was a stupid name, it's setup 2019-10-12 14:57:31 +09:00
Pitu c121bd42f3 chore: upload fixes 2019-10-12 14:37:09 +09:00
Pitu 3680432bdf chore: prepare for filepond 2019-10-01 14:20:37 -03:00
Pitu 579e1e754a feature: uploader with chunks support 2019-10-01 14:11:16 -03:00
Pitu a552aca8ab chore: Remove unnecesary stuff 2019-10-01 14:08:43 -03:00
Pitu b1f56ef9b9 chore: hide search until it's ready 2019-09-30 07:26:15 +00:00
Pitu 4db167ec43 Fix deletion of albums and links 2019-09-30 07:24:37 +00:00
Pitu 0d36f0d69a feature: tags logic 2019-09-30 07:06:35 +00:00
Pitu 8e4f1b7838 feature: album links 2019-09-30 07:06:22 +00:00
Pitu ca9e1c859d Add parallel chunks and raise timeout 2019-04-30 16:01:38 +00:00
Pitu b5a04f21f9 Fix color 2019-04-24 11:14:43 +00:00
Pitu c074b5e197 Fix database value conversion 2019-04-24 09:28:30 +00:00
Pitu fec273b23b Fix when response is not an object 2019-04-24 08:41:49 +00:00
Pitu ac36cdc143 Standarize database calls to support sqlite as well as mysql/postgres 2019-04-24 08:38:53 +00:00
Pitu a7c1855ce5 Better alert handling 2019-04-24 08:37:12 +00:00
Pitu ab0839f1f5 Globally catch exceptions 2019-04-24 08:36:47 +00:00
Pitu 3bd8d119ba Refactor a bit since we globally catch API exceptions 2019-04-24 08:36:28 +00:00
Pitu 9609279554 Get rid of the icons altogether in a future commit 2019-04-23 22:20:23 +09:00
Pitu d44154d379 Fix toast 2019-04-23 22:11:14 +09:00
Pitu 5dc7eda038 Check if accept header is passed 2019-04-16 02:56:49 +00:00
Pitu 4b0966f857 Ditched sqlite. Use postgres or mysql/mariadb 2019-04-05 06:05:21 +00:00
Pitu a248f69947 Tody up a little bit 2019-03-29 03:28:25 +00:00
Pitu e9ce158e36 Add flexsearch 2019-03-29 03:28:16 +00:00
Pitu c4d803c4f6 Make sure to remove the token to prevent credential leak 2019-03-29 03:27:52 +00:00
Pitu 0f4d196c8c Fix conflicts 2019-03-29 00:44:33 +09:00
Pitu b12cc4c289 WIP apiKey validation 2019-03-29 00:36:50 +09:00
Pitu 9aba5cd221 Fix 2019-03-29 00:36:39 +09:00
Pitu 5df5751736 Removed apikey from user object and added route for requesting a new one 2019-03-29 00:36:28 +09:00
Pitu ea3e503d13 Added middleware for pages and switched to $axios 2019-03-29 00:35:58 +09:00
Pitu 8905f2e7a7 Added axios package 2019-03-29 00:35:22 +09:00
Robin B cff0ab7ccb
Update account.vue
As discussed before, an adjustment for the wording alongside a grammatical fix.

PR as suggested by you.
2019-03-21 17:47:14 +01:00
Pitu 107d1f4750 API key WIP 2019-03-19 07:58:36 +00:00
Pitu 19e79365ad proper baseurl 2019-03-15 07:52:33 +00:00
Pitu d7745aff40 Turns out we were using the wrong cookieparser 2019-03-15 07:34:19 +00:00
Pitu a142078f64 No need for this 2019-03-15 07:30:58 +00:00
Pitu dfaeb1051f yeah 2019-03-15 07:25:05 +00:00
Pitu 85ed48219e This is not needed anymore 2019-03-15 07:17:35 +00:00
Pitu 088ffe175e This should fix credential leaking 😓 2019-03-15 07:17:27 +00:00
Pitu f06c8c9d33 dunno what's wrong here yet 2019-03-14 23:14:45 +09:00
Pitu 497a961a38 Tags 2019-03-14 23:14:37 +09:00
Pitu 79eb00f71c Small fixes 2019-03-14 23:14:24 +09:00
Pitu af9d752eaf Add uuid package 2019-03-14 23:13:51 +09:00
Pitu b1e7511593 What are strings even 2019-03-12 08:17:37 +00:00
Pitu e04833dff1 Whoops 2019-03-12 08:05:46 +00:00
Pitu e7d27844d0 Wonder if password generation is failing because of long passwords 2019-03-12 07:57:15 +00:00
Pitu 455c9ee25c Added meta tags 2019-03-12 07:43:14 +00:00
Pitu f11cb56db8 Clicking on album title takes you to the album now 2019-03-12 07:02:26 +00:00
Pitu dc4e6bf907 Added faq 2019-03-12 06:43:17 +00:00
Pitu 771a5c2bf7 Not tested, but should delete an album 2019-03-12 06:32:10 +00:00
Pitu 4ab3796fbd Add TODO 2019-03-12 06:19:57 +00:00
Pitu 4277db90f6 Possible fix for files not being purged 2019-03-12 06:18:32 +00:00
Pitu 69dd014f49 Add uuids 2019-03-12 06:18:19 +00:00
Pitu 00058e9915 stuff 2019-03-12 06:03:15 +00:00
Pitu 197e69f2f2 Prevent snowflakes from demoting/disabling themselves 2019-03-12 05:48:01 +00:00
Pitu 4a2ed9f0f4 No more infinite loading if album is empty 2019-03-12 05:41:10 +00:00
Pitu 2f063735d7 Changed store from deprecated mode 2019-03-12 05:38:25 +00:00
Pitu dd98cecfeb Error consistency 2019-03-12 05:38:13 +00:00
Pitu 85ac744837 Typo 2019-03-12 05:31:55 +00:00
Pitu c6b0f62d13 Put this on hold 2019-03-12 05:31:31 +00:00
Pitu 3653884560 No point in asking 2019-03-12 04:45:52 +00:00
Pitu 71f2450431 WIP 2019-03-08 00:47:30 +09:00
Pitu 3ce7657871 wip 2019-03-02 22:36:28 +09:00
Pitu 99bc74875e Various password fixes 2019-03-02 22:36:16 +09:00
Pitu 789f5fc259 Removed google analytics 2019-03-02 22:16:35 +09:00
Pitu 70301ca368 Fix uploader not showing up when logged in 2019-03-02 22:07:37 +09:00
Pitu ce76a8ec7b Be able to add a file to multiple albums 2019-03-02 22:07:24 +09:00
Pitu 0639c4e1bb Fix token 2019-03-02 02:55:11 +09:00
Pitu 33dded09a7 back 2019-03-02 02:48:11 +09:00
Pitu d821ebf4ac test 2019-03-02 02:47:59 +09:00
Pitu 0ed4624dd0 Allow downloading shareX config file 2019-03-02 02:45:31 +09:00
Pitu 73d85e8c79 Enviroment variables parsing fix 2019-03-02 02:08:11 +09:00
Kana 04ee40e673
Update uploadPOST.js 2019-03-01 13:53:53 +09:00
Kana 47ca404b6b
Update uploadPOST.js 2019-03-01 12:50:48 +09:00
Pitu 5a701536cf todo 2019-03-01 01:14:34 +09:00
Pitu a9e9373c9c clearer instructions 2019-03-01 00:36:06 +09:00
Pitu 9cba85c47c changes 2019-02-28 23:52:04 +09:00
Pitu 9f5a3d15f5 Purge user's files 2019-02-28 23:51:59 +09:00
Pitu c169ab6dc1 Some stuff 2019-02-28 23:26:44 +09:00
Pitu f37d206943 Change password and api keys 2019-02-28 23:26:28 +09:00
Pitu 7ad463469b When a call regarding the token fails, logout 2019-02-28 23:26:03 +09:00
Pitu 7a74647d3e User management 2019-02-26 23:13:24 +09:00
Pitu 62c0c1db20 Add background to main page 2019-02-26 23:13:18 +09:00
Pitu 6cd31674d5 Not needed anymore 2019-02-26 22:26:54 +09:00
Pitu ab66e095a8 Added adminOnly routes 2019-02-26 22:26:35 +09:00
Pitu 80732ff90a User promotion/demotion 2019-02-26 22:26:18 +09:00
Pitu 8be134c8d8 Settings page and other things 2019-02-26 22:26:03 +09:00
Pitu c8e0ebd8ff add deleteUrl when uploading a file 2019-02-23 02:30:53 +09:00
Pitu fc95cb7b0f Better DB handling and stuff 2019-02-23 00:45:45 +09:00
Kana df90d3157a
Update Util.js 2019-02-22 15:07:37 +09:00
Kana 80a76d868f
Update Route.js 2019-02-22 15:06:29 +09:00
Kana 9c81720c30
Update wizard.js 2019-02-22 14:47:39 +09:00
Kana 5b7dcc7576
WIP deleteUrl 2019-02-22 10:06:43 +09:00
Kana 165f891686
Update wizard.js 2019-02-22 09:31:55 +09:00
Pitu a284a9a064 Leftovers 2019-02-22 00:37:20 +09:00
Pitu 84c4b442cf whoops 2019-02-22 00:12:51 +09:00
Pitu c7a4a39de4 Add support for sqlite 2019-02-22 00:00:07 +09:00
Pitu 48d1859723 Load enviroment variables into config 2019-02-21 23:49:44 +09:00
Pitu 44e6fd31d2 Database migration and seeding 2019-02-21 23:49:29 +09:00
Pitu 25c5a06ec3 derp 2019-02-21 23:05:56 +09:00
Pitu 55e6c1f9cd WIP 2019-02-19 23:54:11 +09:00
Pitu 89a271818e Switch config to .env 2019-02-19 23:52:24 +09:00
Kana 2e0cbd3ea7
Create wizard.js 2019-02-19 11:30:10 +09:00
Pitu e33cf30449 Changes 2019-02-19 00:06:38 +09:00
Pitu 63f327e49d CRLF to LF 2019-02-18 23:43:15 +09:00
Pitu 4c241dc1d1 Styling 2019-02-18 23:36:35 +09:00
Pitu 430af8306b Switch to Nuxt.js 2018-09-19 04:45:50 -03:00
Pitu 8e1711ed6c Some adjustements to public album view 2018-09-18 04:21:48 -03:00
Pitu 04fb2218cd Return less info to the user when verifying 2018-09-18 04:21:34 -03:00
Pitu 108e5d5d2f 404エラ 2018-09-18 04:02:21 -03:00
Pitu c3fde6d5a6 Unused lines 2018-09-18 03:53:10 -03:00
Pitu 8ca6784eec Better error handling on invalid links 2018-09-18 03:52:49 -03:00
Pitu b75023114a Enable changing album options 2018-09-18 03:34:29 -03:00
Pitu 4b2b02110b We can now download albums yayyyy 2018-09-18 03:34:00 -03:00
Pitu e8bb2c5a7f Stupid hash was working, the size changes for some reason when uploading 2018-09-18 01:49:13 -03:00
Pitu 1fe6f579f9 Delete thumbs when deleting a file 2018-09-18 01:44:58 -03:00
Pitu 41cb8ff986 Add an add more files button to the uploader 2018-09-18 01:44:46 -03:00
Pitu f2c885b718 Commented all the code 2018-09-17 04:55:42 -03:00
Pitu 9f03bc6d4a Changes 2018-09-17 04:38:52 -03:00
Pitu 455ca39886 Removed unused stuff 2018-09-17 04:38:33 -03:00
Pitu c2c6e99878 Public albums wooo! 2018-09-17 04:38:25 -03:00
Pitu 46ed1c6a82 This route should handle more stuff, so it does now 2018-09-17 04:37:27 -03:00
Pitu 77dd0c70f7 We need some more config stuff for the frontend 2018-09-17 04:37:04 -03:00
Pitu 977d3c6d3a Be able to create links on the frontend 2018-09-16 17:53:48 -03:00
Pitu d777439c7b Flawed logic on the async retry 2018-09-16 17:53:26 -03:00
Pitu 7df56eb91c Switching to postgresql as the default had some implications 2018-09-16 17:53:14 -03:00
Pitu e073fb4317 Links can now be created 2018-09-16 17:52:46 -03:00
Pitu 9001133414 Links are managed elsewhere, so there's no point in this 2018-09-16 05:42:38 -03:00
Pitu 22b511cf25 Need to figure out why 404 is breaking stuff 2018-09-16 05:27:27 -03:00
Pitu 072fec199d Added logo 2018-09-16 05:27:10 -03:00
Pitu c7af18e730 Preload of config file 2018-09-16 05:27:02 -03:00
Pitu 65a5967058 Second version of startup script 2018-09-16 05:26:35 -03:00
Pitu b0e5dd4539 Styling login and register 2018-09-16 05:26:20 -03:00
Pitu 44e54187c6 We dont need these 2018-09-16 05:25:34 -03:00
Pitu 04cb6dcce5 We dont need the second one, probably 2018-09-16 01:10:46 -03:00
Pitu fe10a00ba9 Site 2018-09-16 01:09:02 -03:00
Pitu 3243d85b59 First version of start script 2018-09-16 00:56:25 -03:00
Pitu e7767ac709 Routes 2018-09-16 00:56:13 -03:00
Pitu a42cf4400e Utils 2018-09-16 00:55:41 -03:00
Pitu 7268d24143 Base structures 2018-09-16 00:55:30 -03:00