Zephyrrus
7e78a03931
fix: stop leaking user passwords to admins AGAIN
2020-07-10 01:13:23 +03:00
Zephyrrus
fd3f6de51a
refactor: refactor most of the admin pages to use the store instead of internal states
2020-07-09 02:24:40 +03:00
Zephyrrus
5ded974ef9
feat: add lolisafe as a color to bulma instead of doing weird hacks
2020-07-09 02:23:19 +03:00
Zephyrrus
704578e964
feat: add handler for actions
...
Takes care of dispatching a 🍞 on success/error
2020-07-09 02:22:48 +03:00
Zephyrrus
746a454612
fix: stop leaking user's password and their apikey to admins
2020-07-09 02:22:08 +03:00
Zephyrrus
495a23c3a5
feat: add notifier plugin for 🐍 and 🍞
2020-07-09 02:21:35 +03:00
Zephyrrus
6713eca9d4
chore: add unique integrity checks to the database for many-to-many tables
2020-07-08 19:22:25 +03:00
Zephyrrus
ad852de51a
chore: linter the entire project using the new rules
2020-07-08 04:00:12 +03:00
Zephyrrus
b519b6ccb4
refactor: refactor grid to use vuex for every action
2020-07-08 03:37:50 +03:00
Zephyrrus
49d3e3b203
feat: add morgan for logging requests if env is not production
2020-07-08 03:15:27 +03:00
Zephyrrus
1526637881
feat: add new sidebar with mdi icons and active reactivity
2020-07-08 03:15:07 +03:00
Zephyrrus
1a8b6602e0
refactor: change uploader component to use vuex
2020-07-08 03:13:51 +03:00
Zephyrrus
eccbb1ca93
fix: errors in Util caused by separating into different classes improperly
2020-07-08 02:32:12 +03:00
Zephyrrus
5d61b4d000
feat: refactor waterfall to be more efficient
2020-07-07 02:50:03 +03:00
Zephyrrus
fb0bc57542
feat: try fixing THE SHITTY WATERFALL
2020-07-07 02:02:59 +03:00
Zephyrrus
15f296a780
chore: eslint stores
...
feat: merge album and images
2020-07-07 02:02:37 +03:00
Zephyrrus
766e74cc51
feat: add video preview on hover to dashboard and apply new linter rules to some of the files
2020-07-05 04:18:08 +03:00
Zephyrrus
04fdd63cee
feat: refactor single album page to use vuex
2020-07-05 04:17:09 +03:00
Zephyrrus
1e1f3fbb27
feat: experimental videos in grid
2020-07-04 23:18:51 +03:00
Zephyrrus
b4603fd64e
fix: fix axios plugin throwing if no message from backend
2020-07-04 03:53:06 +03:00
Zephyrrus
39ed9d336e
feat: make the delete link button more reactive (loading state if deletion pending)
2020-07-04 03:52:40 +03:00
Zephyrrus
ac1d6eec5b
fix: change watcher from a component watcher to a store watcher
2020-07-04 03:28:05 +03:00
Zephyrrus
92be4504cc
feat: refactor most of the album components to use store for presentation and actions
2020-07-04 03:26:35 +03:00
Zephyrrus
836a01327d
chore: add nsfw flag to migration
2020-07-04 03:25:21 +03:00
Zephyrrus
b620aa9815
feat: refactor some of the queries to returned added/updated data
2020-07-04 03:25:04 +03:00
Zephyrrus
7581d13d1c
feat: separate album view into multiple components and use vuex
2020-07-03 00:35:09 +03:00
Zephyrrus
22f9eb4dff
feat: refactor preview to support random fragment extraction
2020-07-02 23:42:44 +03:00
Zephyrrus
c2dbbe6396
feat: refactor account to use vuex, fix small presentational components
2020-07-02 23:42:02 +03:00
Zephyrrus
dd46f79550
feat: return APIKey when fetching user
2020-07-02 23:40:35 +03:00
Zephyrrus
24157dd1b9
feat: experimental video preview generator in webm form
2020-07-02 20:13:05 +03:00
Zephyrrus
a790d7749e
feat: add experimental meaningful preview extraction from videos
...
For now, it sitll requires gifski. It could be rewritten to use webp instead of gifs, because that is a lot faster, uses less space and we could use ffmpeg for it.
2020-07-02 03:42:20 +03:00
Zephyrrus
42f1a1003a
feat: externalize thumb generation function for easier testing
2020-07-02 03:12:12 +03:00
Zephyrrus
720ffaf008
feat: start refactoring the code to actually use vuex
...
This includes creating multiple stores as needed for components and removing all complex states from components (since all those states should be stored in vuex)
2020-07-02 02:50:55 +03:00
Zephyrrus
6688587eb6
feat: move toolbar into a level and add slot for pagination on grid
2020-07-02 02:48:21 +03:00
Zephyrrus
e9ef148d74
feat: backend pagination for albums
2020-07-01 20:40:10 +03:00
Zephyrrus
261d0f4781
chore: add thumb generator for migration
2020-07-01 20:39:55 +03:00
Zephyrrus
44e8175e96
feat: use SSR when rendering the dashboard (if possible)
2020-07-01 20:39:42 +03:00
Zephyrrus
8416dc81a3
fix: use file id instead of index and remove load more button
2020-07-01 20:15:08 +03:00
Zephyrrus
3e1677c18a
fix: remove .bmp from the imageExtensions because sharp doesn't support it
...
Trying to generate a thumb would throw a not supported exception, which would crash newer node.js versions because the process (on older version, it would only throw a UnhandledPromiseRejectionWarning)
2020-07-01 20:13:34 +03:00
Zephyrrus
520062508c
feat: backend pagination
...
serverLoad++;
userRamUsage--;
2020-06-29 22:18:42 +03:00
Zephyrrus
c8ad345d12
fix: heigh issues where the parent is smaller than the child
2020-06-29 22:18:18 +03:00
Zephyrrus
20a782fefe
feat: add darker image for album section
2020-06-29 22:17:42 +03:00
Zephyrrus
7e4dbdbd2b
misc: Change the color of the warning on the homepage to red and bigger font-size
2020-06-29 20:12:14 +03:00
Zephyrrus
ac037c773e
fix: Remove hero and hero body and use sections and containers instead
...
Hero is meant to be used as a full-width banner to showcare or present somethign, not to contain the entire content of the webpage
2020-06-29 20:02:47 +03:00
Zephyrrus
27b0fdafb2
misc: remove patreon. sorry.
2020-06-29 20:00:49 +03:00
Zephyrrus
50d233cd66
fix: fix minor visual issues on the album page
2020-06-29 17:02:06 +03:00
Zephyrrus
0a50ef771e
fix: change navbar to buefy navbar for mobile support
2020-06-29 17:01:38 +03:00
Zephyrrus
048e5d9325
feat: add logout link if logged in
2020-06-29 16:03:08 +03:00
Zephyrrus
4df3976ded
fix: dispatch logout from axios if token expires
2020-06-29 16:02:23 +03:00
Pitu
04319acf20
Only display `Show more` button when there's more to show
2020-06-25 02:14:11 +09:00
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