Pitu
09d8d02e6c
Cleanup
2020-12-25 02:08:54 +09:00
Pitu
fb2c27086f
Fix ESLint rules once and for all
2020-12-24 23:45:16 +09:00
Zephyrrus
90001c2df5
chore: remove trailing commas
2020-12-24 10:40:50 +02:00
Zephyrrus
6fee07d9e1
fix: don't crash the server if a route fails to load
2020-07-20 21:29:06 +03:00
Zephyrrus
645b62b81d
Merge branch 'dev' into dev-zephy
2020-07-19 22:35:59 +03:00
Pitu
2d06d918a1
Timeout, package and docs cleanup
2020-07-18 02:21:31 +09:00
Zephyrrus
746a454612
fix: stop leaking user's password and their apikey to admins
2020-07-09 02:22:08 +03:00
Zephyrrus
ad852de51a
chore: linter the entire project using the new rules
2020-07-08 04:00:12 +03:00
Zephyrrus
49d3e3b203
feat: add morgan for logging requests if env is not production
2020-07-08 03:15:27 +03:00
Zephyrrus
dd46f79550
feat: return APIKey when fetching user
2020-07-02 23:40:35 +03:00
Pitu
207fc916d9
Handle nuxt routes on page load
2020-06-25 02:06:11 +09:00
Pitu
f189ddf9e6
Cleanup
2020-06-25 02:05:48 +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
4c52932426
Features:
...
* Serve files during development
* Own endpoint for fetching the albums of a file
2020-05-10 20:02:48 +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
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
8e4f1b7838
feature: album links
2019-09-30 07:06:22 +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
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
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
107d1f4750
API key WIP
2019-03-19 07:58:36 +00:00
Pitu
73d85e8c79
Enviroment variables parsing fix
2019-03-02 02:08:11 +09:00
Pitu
ab66e095a8
Added adminOnly routes
2019-02-26 22:26:35 +09:00
Pitu
fc95cb7b0f
Better DB handling and stuff
2019-02-23 00:45:45 +09:00
Kana
80a76d868f
Update Route.js
2019-02-22 15:06:29 +09:00
Pitu
c7a4a39de4
Add support for sqlite
2019-02-22 00:00:07 +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
89a271818e
Switch config to .env
2019-02-19 23:52:24 +09:00
Pitu
e33cf30449
Changes
2019-02-19 00:06:38 +09:00
Pitu
4b2b02110b
We can now download albums yayyyy
2018-09-18 03:34:00 -03:00
Pitu
f2c885b718
Commented all the code
2018-09-17 04:55:42 -03:00
Pitu
7268d24143
Base structures
2018-09-16 00:55:30 -03:00