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
Pitu
09c834e6ce
chore: force migration on service start
2021-01-08 20:19:06 +09:00
Kana
3cfb2721ce
Merge pull request #250 from Zephyrrus/feature/system_status_page
...
Feature/system status page
2021-01-08 19:48:25 +09:00
Kana
0205300cb9
Merge pull request #248 from WeebDev/feature/stats-dashboard
...
feature: Add basic statistics UI
2021-01-08 13:46:17 +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
34bd71948e
chore: revert nuxt update, it breaks SSR in development mode, not worth it.
2021-01-07 21:56:35 +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
Zephyrrus
d4b1550439
chore: update knex, mdi/font, nuxtjs/axios, nuxt, systeminformation
...
chore: remove deprecated mode from nuxt.config.js
2021-01-07 21:36:26 +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
Kana
f944469162
Merge pull request #246 from WeebDev/feature/stream-writer
...
feature: new chunk and write strategy
2021-01-07 03:47:42 +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
ac5b3f29fa
chore: bump version
2021-01-07 03:07:32 +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
4bda02813f
Merge branch 'master' of github.com:WeebDev/lolisafe
2021-01-05 16:39:13 +09:00
Pitu
92f38085b0
fix: dont save the file to album if no album
2021-01-05 16:38:44 +09:00
Pitu
f125011413
chore: docs
2021-01-05 16:12:33 +09:00
Pitu
cdeca073ba
fix: migration didn't properly grab the env variables
2021-01-05 16:12:25 +09:00
Kana
25723290b9
Merge pull request #233 from Biyoni/patch-2
...
Update systemd.md
2021-01-05 16:04:03 +09:00
Liam
05137aad9c
Update systemd.md
2021-01-05 04:56:47 +00:00
Kana
5e274c58ce
Merge pull request #232 from Biyoni/patch-1
...
Add systemd unit and guide
2021-01-05 11:44:32 +09:00
Liam
c2afd2c2dc
Update systemd.md
2021-01-05 02:41:39 +00:00
Liam
a8e37fa0c8
Create systemd guide
2021-01-05 02:40:52 +00:00
Liam
1516ec6281
Create sample service file
...
Create sample service file for launching/restarting via systemd.
Configured by modifying User, WorkingDirectory and EnvironmentFile to reflect username and path.
File is to be moved to ```/etc/systemd/system/chibisafe.service```
2021-01-05 02:33:41 +00: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
3934621d25
chore: begone TODO list, hello github projects
2021-01-05 00:51:02 +09:00
Pitu
d8af517adc
chore: change yarn for npm
2021-01-04 01:06:46 +09:00