Commit Graph

318 Commits

Author SHA1 Message Date
Pitu
8a96a0df1d Moved thumbnail processing to it's own utils file 2017-03-17 01:14:10 -03:00
Pitu
dd3b47ebc8 Added thumbnail processing while uploading 2017-03-16 21:53:29 -03:00
Pitu
7cf8b6899d Added ability to see who uploaded a file as root 2017-02-13 21:55:07 -03:00
Pitu
61a4e984de Little fix 2017-02-07 04:54:58 -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
Kanacchi
f6869ff7c5 Merge pull request #11 from PascalTemel/master
support thumbnails for .webm and .mp4 files
2017-02-07 03:20:12 -03:00
Pitu
6396d42409 Changed the way repeated files work
From now on, same file upload is restricted per user. Meaning same user cant upload the same file twice, and upon trying to do so they will get the original link instead of an updated one. This works the same way for anonymous uploads, only 1 file of the same kind will be uploaded
2017-02-07 03:18:41 -03:00
Pascal Temel
b008f77d36 Remove unused parameter 2017-02-07 01:15:39 +01:00
Pascal Temel
facf4a29fc support thumbnails for .webm and .mp4 files 2017-02-07 00:53:22 +01:00
Pitu
d5c9b15ab9 Added username display on dashboard 2017-01-31 03:43:00 -03:00
Pitu
0540b0775d Fixed wrong error text 2017-01-30 05:16:08 -03:00
Pitu
418f4ffe79 Stuff 2017-01-30 05:10:39 -03:00
Pitu
4a4ca06366 Forgot it was an array 2017-01-30 04:42:15 -03:00
Pitu
0258c290ff WIP 2017-01-29 22:51:54 -03:00
Pitu
4cd076b4f6 derp 2017-01-29 22:50:44 -03:00
Pitu
c64aa8fa2e Added change password for users 2017-01-29 22:30:00 -03:00
Pitu
751a876360 Updated albumsController to use new auth 2017-01-29 22:17:49 -03:00
Pitu
16164115aa New token shananigans 2017-01-29 22:06:52 -03:00
Pitu
b3cdc406d2 Removed blank lines 2017-01-29 04:18:46 -03:00
Pitu
3a58b5b4b9 WIP changing from auth to just 1 token 2017-01-29 04:18:31 -03:00
Pitu
5f0ff7f6aa Created login/register controller 2017-01-29 04:16:56 -03:00
Pitu
3f4b879144 List and thumb view on uploads 2017-01-22 18:01:39 -03:00
Pitu
4d83ff5a28 Crawl :') 2017-01-21 17:24:20 -03:00
Pitu
cd123b4c11 Forced resolve, updated config.sample.js 2017-01-21 17:21:29 -03:00
Pitu
1b2af2282f Pagination is gucci 2017-01-21 05:17:29 -03:00
Pitu
6f06bc930b Made deleting files a promise-thingy 2017-01-21 03:57:25 -03:00
Pitu
cfba738995 Ignore file if it exists already, return its url 2017-01-21 03:49:04 -03:00
Pitu
bae03cdc25 File delete, album delete and album rename. Sugoooi! 2017-01-20 03:28:26 -03:00
Pitu
bb0f746598 Album delete WIP 2017-01-19 17:14:28 -03:00
Pitu
a8121f5d7c Small fix for listing 2017-01-19 03:34:48 -03:00
Pitu
0f058724f3 Reverse sorted links list to show newers first 2017-01-19 03:11:20 -03:00
Pitu
5d09892ec1 Ohboi 2017-01-19 03:04:22 -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
93891ae1e5 Small fixes 2017-01-19 00:31:01 -03:00
Pitu
f55e9809b7 Yep, multi-domains is a thing 2017-01-18 21:52:24 -03:00
Pitu
d6c7aff21b Multi-domain fixes. Maybe it's ready? 2017-01-18 21:50:40 -03:00
Pitu
aae56e91c9 Added multi-domain support. Maybe 2017-01-18 21:35:31 -03:00
Pitu
368b40c9d1 Camelcased the config 2017-01-18 20:38:13 -03:00
Pitu
02be558683 Added enabled flag to create/list of albums 2017-01-18 05:07:20 -03:00
Pitu
de130602f9 Added changing of tokens from the dashboard 2017-01-18 04:51:42 -03:00
Pitu
0dcaf36332 Added browsing galleries from dashboard 2017-01-18 04:05:56 -03:00
Pitu
512e9f46eb lowercased headers 2017-01-18 03:40:16 -03:00
Pitu
0483684de5 removed debug messages 2017-01-18 03:30:02 -03:00
Pitu
cf98005c4f Better tables and showing album on upload view 2017-01-18 03:29:46 -03:00
Pitu
7e82e4304f added admin auth for uploading to an album 2017-01-18 03:00:36 -03:00
Pitu
84ff2241ba Shit ton of things on this update 2017-01-18 02:40:14 -03:00
Pitu
ddb6d0df7d Database now saves album 2017-01-17 19:05:00 -03:00
Pitu
c4b5457891 Change from gallery to album 2017-01-17 18:55:35 -03:00
kanadeko
a114d298d0 Rewrote token handling and upload.js 2017-01-17 16:54:25 -03:00
pitu
bdfd512c10 token handling and verification 2017-01-17 00:37:54 -03:00
kanadeko
14ddf495b3 Fixed frontend upload 2017-01-16 05:35:36 -03:00
kanadeko
f42202259d Changed upload from single file to array 2017-01-16 05:22:19 -03:00
kanadeko
3777c01465 Little fix 2017-01-16 04:56:56 -03:00
kanadeko
570f6c3ce3 Print and save tokens 2017-01-16 04:45:29 -03:00
kanadeko
9688c5ee52 Removed error code because is stupid 2017-01-16 04:22:26 -03:00
kanadeko
55e2d17636 Admin panel, pomf-standarization and stuff 2017-01-16 04:21:46 -03:00
pitu
0e0a1c6f35 Updated readme 2017-01-14 18:42:38 -03:00
kanadeko
b81cf72ac4 Changed from ip whitelist to token based auth 2017-01-14 18:13:58 -03:00
kanadeko
3b648ab45e Frontend ip blocking 2017-01-14 06:06:01 -03:00
kanadeko
d25193bb31 IP whitelisting 2017-01-14 05:51:56 -03:00
kanadeko
a246fc8365 Frontend done 2017-01-14 05:50:18 -03:00
kanadeko
07ba404dcb Frontend WIP 2017-01-14 03:01:23 -03:00
kanadeko
3f3505dee7 Gallery WIP 2017-01-13 18:40:08 -03:00
kanadeko
9bb621a773 Gallery WIP 2017-01-13 18:38:18 -03:00
kanadeko
dec004cc0a Gallery WIP 2017-01-13 18:36:54 -03:00
kanadeko
633948660c Gallery WIP 2017-01-13 18:33:49 -03:00
Pitu
376cf10663 First version 2017-01-13 04:34:21 -03:00