28 Commits

Author SHA1 Message Date
376f687c38 chore: questionable is not a recognized rating 2025-02-11 21:50:27 +01:00
4fd848abf2 doc: use docker compose instead of docker-compose
The minimum version requirements are rough guesses, in practice any decently modern docker installation should work.
2025-02-11 21:25:10 +01:00
190d795426 doc: fix small error in pool API docs 2023-12-05 21:31:23 +01:00
59c497e168 doc: update for yt-dlp 2023-08-17 20:58:09 +08:00
c2fdc2d070 docs (tag categories): order is required when creating tag category 2023-06-26 20:49:48 +02:00
ffdf115714 docs (api): change micro post attribute name to id 2023-06-26 20:49:48 +02:00
6c3b50d287 doc: add GET /post/<id>/around to API.md 2022-06-10 01:49:07 +02:00
79d0efc25b doc: added BuildKit flags fix to INSTALL.md
Added this because recently, there have been more problems with `docker-compose build` where it errors:

    ERROR: Service 'server' failed to build: failed to parse platform : "" is an invalid component of "": platform specifier component must match "^[A-Za-z0-9_-]+$": invalid argument

Recent Docker versions have switched to using `buildx` (BuildKit) to build containers, but that needs to be enabled, either in `daemon.json` or through an environment variable. But since we are using Docker Compose, it doesn't pass it to Docker; so the environment variable needs to be set. At least that's what I've heard and figured out sweat_smile My explanation might be very wrong - but it works :)
2022-03-30 22:47:03 -04:00
82541536af Make waitress thread count configurable.
This should fix most scaling problems without needing to start
more server instances. By default, waitress maintains at most
4 threads. This works fine if the database is small (sub 100k posts)
but causes a large Task queue depth to occur if the database is larger.

Letting users increase the amount of threads means that one server instance
is able to handle more requests without locking up the rest of the site.

This adds a new environment variable to .env, THREADS, which can be used to
configure the amount of threads to start and is by default set to 4
(the default amount used by waitress).
2022-02-14 17:33:23 -05:00
2bdb072296 server/posts: store and provide MD5 checksums 2021-01-05 13:20:01 -05:00
bc69505382 doc/install: applied formatting fixes to script 2020-12-19 16:32:29 -05:00
b5d2e447fc docs: update tag category api 2020-09-23 13:49:20 +02:00
1ef0419dc2 server/pools: serialize pools as micro resource within post resources
Fixes #348
2020-09-19 10:29:09 -04:00
802051399f doc/api: add pools to post resource 2020-09-18 18:27:21 +02:00
0dd427755b client+server: fix linter issues due to updated pre-commit hooks 2020-09-01 14:07:39 -04:00
4ab6aa5c85 doc/install: fix typo 2020-09-01 11:06:59 -04:00
4595f9a2aa server: API support for webhooks
Closes #339
2020-08-13 22:41:43 -04:00
b74492974d doc/developer-utils: added helper script for easily creating szurubooru migrations 2020-08-13 12:38:43 -04:00
c0d0c4c894 client+server: normalize trailing newlines 2020-06-05 10:54:32 -04:00
4f46619b91 doc: clean up 2020-06-05 10:29:52 -04:00
7bcefeb347 Add pool information to API.md 2020-05-04 19:45:09 -07:00
99a69333e6 server/posts/upload: Add youtube-dl functionality
allows for video-based posts to be created by using youtube-dl
on the server. Access is controlled with the 'uploads:use_downloader'
permission.
2020-04-03 13:11:54 -04:00
08e62ec885 client/posts: don't define flags on post upload 2020-04-01 21:01:20 -04:00
1a8de9ef3a all: purge remaining elasticsearch artifacts 2020-03-13 22:45:11 -04:00
80da6467f6 doc/install: update install instructions to remove build step 2019-10-25 12:48:22 -04:00
83442b4977 server/tools: created simple admin command script 2019-08-15 21:53:57 -04:00
9df090b4d9 doc: simplified how to use the base URL feature 2019-08-14 07:57:56 -04:00
48e7eb10f1 doc: moved documentation to a seperate folder 2019-08-05 19:20:41 -04:00