Pitu
bf0b0f64bf
feat: add pagination to user files in admin view
2021-01-20 00:43:03 +09:00
Zephyrrus
cf513f2ebe
fix: trying to fetch tags and albums on a public album link
2021-01-17 18:26:01 +02:00
Zephyrrus
dc4f3a6557
fix: sections not rendering
2021-01-11 18:57:19 +02:00
Zephyrrus
d69fcd856a
feat: add sections to settings object meta
2021-01-11 12:51:45 +02:00
Zephyrrus
46ef63fb9f
feat: add dynamic settings page rendering based on the Joi object
2021-01-10 02:04:35 +02:00
Zephyrrus
3c303241e1
feat: create settings schema (used for rendering and validating)
2021-01-09 01:03:03 +02:00
Kana
01e17ed856
Merge pull request #251 from Zephyrrus/fix/paginate_search
...
fix: pagination not working when searching & fix: search not working on albums
2021-01-09 00:53:16 +09:00
Zephyrrus
e962efd014
fix: pagination not working when searching
...
fix: search not working on albums
2021-01-08 17:44:48 +02:00
Pitu
81b722452c
feat: use LIKE on queries for case sensitivity issues
2021-01-09 00:42:25 +09:00
Pitu
0d18e7d2a2
chore: remove query from API response
2021-01-09 00:01:34 +09:00
Pitu
0484ea74a2
fix: prevent db from committing suicide
2021-01-08 23:47:18 +09:00
Pitu
523359ec32
chore: be able to refresh stats on demand
2021-01-08 20:55:57 +09:00
Zephyrrus
b58e12cad8
fix: pg driver doesn't return anything without .returning()
...
feat: disable .returning() is not supported warning message, it's useless.
2021-01-08 00:41:43 +02:00
Zephyrrus
bf10242180
fix: don't generate a stat every second on minute 0 of every hour
2021-01-08 00:01:11 +02:00
Zephyrrus
925080f6a0
chore: refactor stats generator to use an enum for types
...
fix: saved data not being converted to JSON automatically when using SQLite (and possibly MSSQL)
feat: display when a stat was generated in the section's header
fix: not being able to click through the footer (sorry IE11 users, you still won't be able to click through it)
fix: add is-mobile to columns so they don't stack on top of each other
feat: add text next to the NSFW toggle and make it look like the elements around it (begone round iOS edges)
2021-01-07 23:55:37 +02:00
Zephyrrus
a838d024a7
Merge branch 'feature/stats-dashboard' into feature/system_status_page
2021-01-07 21:39:47 +02:00
Zephyrrus
b3df1dd7a6
feat: change mutation timestamp on every database mutation
2021-01-07 21:36:56 +02:00
Pitu
be6ce9ac5a
fix: indentation
2021-01-07 23:05:15 +09:00
Pitu
5823fa95cd
feature: Add basic statistics UI
2021-01-07 23:02:35 +09:00
Pitu
f3dc0ffe75
chore: update sharex snippet to use apiKey instead of jwt
2021-01-07 19:03:47 +09:00
Zephyrrus
e0801f0c19
fix: use PassThrough from FileType to get the real mimetype of a file while it's being saved to the disk
2021-01-07 10:47:16 +02:00
Zephyrrus
f151a8ac3a
chore: Move statistics related functions to it's own file
...
fix: Extract database constructor to a separate file to ensure we only create one knex instance/db
feat: Add cron for saving the stats to the database every hour
feat: Get cached stats from database (if a stat is not found in the db, generate it)
2021-01-07 10:47:16 +02:00
Zephyrrus
9370c32182
feat: Add experimental stats endpoint (no cache system yet)
2021-01-07 10:47:16 +02:00
Zephyrrus
53f5015c99
feat: check for real mimetype using file-type
...
For now, if file-type returns undefined, we take the value from the browser. In the future this should be removed to ensure people can't bypass the real mime checking using a special file that can't be recognized by file-type.
2021-01-07 10:47:16 +02:00
Pitu
46ec3f7168
fix: normalize url and thumbnail response
2021-01-07 17:11:01 +09:00
Pitu
07a873c88b
fix: terminate rehashing script when done
2021-01-07 17:09:56 +09:00
Pitu
9da45d6160
fix: incorrect case on colum name
2021-01-07 13:22:58 +09:00
Pitu
a0824b5a97
feat: add rehashing script
2021-01-07 03:08:08 +09:00
Pitu
df4e4272f4
fix: early return if duplicated file
2021-01-07 03:08:00 +09:00
Pitu
1eccbb3d30
chore: cleanup
2021-01-07 02:25:43 +09:00
Pitu
38ff50eb80
chore: remove unused methods
2021-01-07 02:25:07 +09:00
Pitu
28efb0d9ed
feature: new chunk and write strategy
2021-01-07 02:11:53 +09:00
Pitu
d2bf8ce8c8
fix: dont show admin navbar if not an admin
2021-01-05 17:41:31 +09:00
Pitu
153d764c8f
feat: enable user creation from admin panel
2021-01-05 17:03:25 +09:00
Pitu
92f38085b0
fix: dont save the file to album if no album
2021-01-05 16:38:44 +09:00
Pitu
cdeca073ba
fix: migration didn't properly grab the env variables
2021-01-05 16:12:25 +09:00
Pitu
f2e270d284
fix: try to remove thumbnail only if the file has one
2021-01-05 11:19:56 +09:00
Pitu
5e219868b0
Add meta name to pages
2021-01-05 01:27:39 +09:00
Pitu
b77c0a57cc
feat: add testing capabilities
2021-01-04 00:48:34 +09:00
Pitu
7d5b3c4ac7
Update migration
2021-01-03 22:48:07 +09:00
Pitu
72d3fad525
chore: add defaults to setup script
2020-12-28 05:06:08 +09:00
Zephyrrus
13058d99d6
fix: nsfw album toggle doesn't propagate the changes properly
...
fix: add nsfw flag to the booleanFields in knex postProcessResponse
2020-12-27 18:58:58 +02:00
Pitu
edb3bed988
feat: Add warning to nsfw albums
2020-12-28 00:10:59 +09:00
Pitu
24edf8f4fd
fix: mobile styling
2020-12-27 20:17:28 +09:00
Pitu
b2ddfbc8a6
Update admin password to be random
2020-12-27 05:16:21 +09:00
iCrawl
5d2d46d8dc
add docker support
2020-12-26 21:00:53 +01:00
Pitu
aa7d245317
feat: Add hash checking for chunked uploads
2020-12-27 04:48:03 +09:00
Pitu
e97fee4844
Fixes chunked uploads not being saved to albums or thumbnails
2020-12-27 04:27:56 +09:00
Pitu
68634418e1
Squashed commit of the following:
...
commit df4b0378571708086a276e49ac8630095e08b0b7
Author: Pitu <heyitspitu@gmail.com>
Date: Sun Dec 27 03:00:17 2020 +0900
feat: move database modification to a new migration file
2020-12-27 03:02:14 +09:00
Pitu
726f47f301
chore: use instance name for album download
2020-12-27 01:59:38 +09:00
Pitu
ec2f9e0d98
Rebrand
2020-12-25 20:45:22 +09:00
Pitu
7190e035b4
chore: style changes
2020-12-25 20:17:47 +09:00
Pitu
5c2f6782dd
Chore: prevent server from starting if .env config missing
2020-12-25 20:09:17 +09:00
Pitu
f73cde6bb5
Chore: Move database to a subfolder for docker purposes
2020-12-25 03:58:19 +09:00
Pitu
943a00827d
fix: remove log
2020-12-25 03:24:02 +09:00
Pitu
493e05df27
Fix: thumbnail creation
2020-12-25 03:08:53 +09:00
Pitu
047a6afce6
Fix: use webp for thumbnails
2020-12-25 02:54:22 +09:00
Pitu
3051fbe948
Feat: add rotating logs when running in production env
2020-12-25 02:54:05 +09:00
Pitu
09d8d02e6c
Cleanup
2020-12-25 02:08:54 +09:00
Pitu
279cde7dd3
Remove flexsearch
2020-12-24 23:52:26 +09:00
Pitu
fb2c27086f
Fix ESLint rules once and for all
2020-12-24 23:45:16 +09:00
Kana
2412a60bd4
Merge pull request #228 from Zephyrrus/begone_trailing_commas
...
Merge own dev branch into main dev branch
2020-12-24 21:41:24 +09:00
Zephyrrus
587f7d69e8
bug: fix showlist resetting itself every time the page is changed
...
bug: fix store not commiting search results
2020-12-24 13:57:09 +02:00
Zephyrrus
d2efb2707c
bug: Thumbs are stored as webp and not as png anymore
2020-12-24 13:20:11 +02:00
Zephyrrus
90001c2df5
chore: remove trailing commas
2020-12-24 10:40:50 +02:00
Zephyrrus
13825ddae6
chore: update lock files
2020-12-24 10:21:19 +02:00
Zephyrrus
4a3fef2b99
chore: update buefy to 0.9
2020-11-12 22:58:34 +02:00
Zephyrrus
151c360740
feat: allow administrators to create custom links for albums
2020-10-02 22:16:34 +03:00
Zephyrrus
c88d08330f
feat: add experimental query to sql generator for searching
2020-07-23 04:09:01 +03:00
Zephyrrus
39e9941ded
feat: Add hiding to recommendations as a prop
...
fix: change some of the regexes to remove , and ; as separator support because the query parser doesn't understad them and I don't feel like dealing with all the edge cases introduces by it
2020-07-23 04:08:31 +03:00
Zephyrrus
279234a081
feat: add new search input
...
For now, it clones the autocomplete from buefy, untill a PR or resolution to the opened issue about not being able to manipulate how the suggestions are applied is found
2020-07-22 02:14:06 +03:00
Zephyrrus
01c04298b0
fix: add no-active class
2020-07-22 02:12:40 +03:00
Zephyrrus
1a4744de3c
feat: show selected albums first when modal is first opened
...
fix: change the color of the dropdown for tags to match the base theme
chore: pass props into some of the components instead of fetching from store inside of components
2020-07-22 02:12:24 +03:00
Zephyrrus
78c6fa14e6
feat: add experimental search parser
2020-07-22 02:11:05 +03:00
Zephyrrus
93478a334b
fix: make modal use full height on mobile
2020-07-21 15:45:28 +03:00
Zephyrrus
18bb451f79
feat: implement all-in-one file detail viewer, tag editor and album selection modal
2020-07-20 23:01:45 +03:00
Zephyrrus
fe314a742f
fix: return the edited/changed/delete entity from API
2020-07-20 22:40:31 +03:00
Zephyrrus
9de50b26f1
feat: add tag deletion from images
2020-07-20 22:40:00 +03:00
Zephyrrus
c5b165b495
fix: join tags by the proper key
2020-07-20 21:43:23 +03:00
Zephyrrus
6fee07d9e1
fix: don't crash the server if a route fails to load
2020-07-20 21:29:06 +03:00
Zephyrrus
04660dbce1
feat: add single tag adding to file
...
fix: fix the batch tag adding to properly await for a response, and use the proper column while adding the tags
2020-07-20 21:28:46 +03:00
Pitu
a891cbc1fc
Enable deleting files with the API key
2020-07-20 09:17:13 +09:00
Zephyrrus
645b62b81d
Merge branch 'dev' into dev-zephy
2020-07-19 22:35:59 +03:00
Zephyrrus
c93ddb0900
feat: Start working on a new album/tags/image info modal
2020-07-19 22:27:11 +03:00
Zephyrrus
b49017aafd
chore: add custom class to inputs until fix is released on buefy's master
2020-07-19 22:26:55 +03:00
Pitu
bf63bc5e2e
Update setup script
2020-07-18 16:58:29 +09:00
Pitu
8e3c3841a4
Update database migration
2020-07-18 16:39:24 +09:00
Pitu
898a2dde78
Re-process thumbnails on migration
2020-07-18 05:50:59 +09:00
Pitu
d644b21d43
Make thumbnails webp (bye bye safari)
2020-07-18 05:50:47 +09:00
Pitu
609ff7ceb4
Update displaying thumbnails of unsupported file types
2020-07-18 04:47:24 +09:00
Pitu
5e07436f0d
Add logout button
2020-07-18 04:45:58 +09:00
Pitu
8ffa0ba075
Add endpoint with version of the API
2020-07-18 04:31:12 +09:00
Pitu
b70a75da1a
Fix for real
2020-07-18 03:37:52 +09:00
Pitu
6dd7500084
Fix deleting files without thumb
2020-07-18 03:35:08 +09:00
Pitu
a057f26896
Fix url retrieval of uploaded file
2020-07-18 03:23:59 +09:00
Pitu
407fb8bcc3
Fix authorization
2020-07-18 03:05:12 +09:00
Pitu
5f58431409
Fix authorization
2020-07-18 02:57:24 +09:00
Pitu
4dafc79cb7
fix authorization
2020-07-18 02:55:05 +09:00
Pitu
2d06d918a1
Timeout, package and docs cleanup
2020-07-18 02:21:31 +09:00
Zephyrrus
0f66d80703
refactor: finish refactoring all the components to use vuex
2020-07-10 01:13:51 +03:00