Deka Jello
1c189fc9c2
fix defaulted abstraction
2024-04-15 10:16:45 -05:00
Rebecca Nelson
fa14bea4ac
rewire post search config to actual function
2024-04-14 19:36:55 -05:00
Rebecca Nelson
eabf637736
Add todo msg
2024-04-14 19:12:49 -05:00
Rebecca Nelson
1a54bb31d5
Merge branch 'update/Ruin0x11/improve-pools' of github.com:dekarrin/szurubooru into update/Ruin0x11/improve-pools
2024-04-14 16:25:07 -05:00
Deka Jello
fa95a988eb
remove initial pgfunction migration bc endgoal is to not have it
2024-04-14 10:16:57 -05:00
Deka Jello
e39781748b
temp rearrange server Dockerfile so cache is used for fast dev cycle
2024-04-14 10:14:37 -05:00
Rebecca Nelson
719f6dc741
Impl post_search_config.py's create_around_query()
2024-04-13 23:50:56 -05:00
Rebecca Nelson
6a0d5741c3
slap alembic-utils into install process quick and let ci do the work for now
2024-04-13 23:07:57 -05:00
Rebecca Nelson
2ce243d7e7
Merge branch 'old-pool-divergence' into update/Ruin0x11/improve-pools
2024-04-13 22:55:03 -05:00
neobooru
da425afc49
Pin pillow-avif-plugin to compatible version range
2024-02-21 17:47:27 +01:00
Zak B. Elep
c292b96f06
server/net: use yt-dlp instead of youtube-dl
...
youtube-dl no longer even gets URLs properly, so switch to yt-dlp as a
drop-in replacement for it.
2023-08-17 20:41:50 +08:00
neobooru
7a82e9d581
tests/server: post category filter
2023-07-05 12:22:11 +00:00
neobooru
4806bbe0ed
server: post category filter
2023-07-05 12:22:11 +00:00
Shyam Sunder
648121d7c3
client+server: add quicktime video support
...
Merge branch 'skybldev-upstream'
2023-04-17 12:21:26 -04:00
Shyam Sunder
42524503b9
client/tests: add unit tests for quicktime videos
2023-04-17 12:01:20 -04:00
skybldev
8a03015349
client+server: added quicktime upload support
2023-04-17 11:36:44 -04:00
Shyam Sunder
244a0f0b6c
server/test: skip network tests by default
2023-04-17 10:31:35 -04:00
Neo
e3062b1c77
client: add bulk delete feature ( #459 )
...
This introduces a new privilege 'posts:bulk-edit:delete' which by default is given to power users.
2023-01-19 18:44:31 +01:00
w1kl4s
8088ff3bbe
support ftypiso6 file signature
2022-09-13 19:18:22 +02:00
Shyam Sunder
e746f09911
server: fix build error due to broken pip requirements
...
Pinned pyheif to v0.6.1
2022-03-31 18:43:37 -04:00
Shyam Sunder
6088e89ea1
server/szuru-admin: Add thumbnail regeneration script
...
Closes #467
2022-03-30 23:04:16 -04:00
noirscape
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
Shyam Sunder
6de0a74257
server/config: fix deprecated database string format
2022-02-08 09:58:56 -05:00
Shyam Sunder
a22485afda
server/func/images: upgrade to heif-image-plugin
2022-02-08 09:58:33 -05:00
Shyam Sunder
106dcc4135
server/func/images: Do not pass file content to ffmpeg stdin
2022-01-16 11:07:46 -05:00
Shyam Sunder
9b3123a815
server: fix python docstring formatting
2021-11-29 18:39:34 -05:00
Shyam Sunder
d083084407
server/tests: use transactional db for faster unit tests
...
* `test_modify_saves_non_empty_diffs` needs non-transactional
db, so moved to seperate file
* Replaced incompatable usage of `db.session.rollback()`
with parametrerized function calls
* xfail conditionals for search removed, as we can no longer
get current driver with binds
* Also remove usage of deprecated `pytest.yield_fixture`
2021-09-23 12:24:56 -04:00
Shyam Sunder
ad9d3599bc
server/net: return more useful error messages
2021-09-22 22:08:07 -04:00
Shyam Sunder
c3b81371d8
client+server/docker: fix ARM build platform issue
2021-09-19 12:03:32 -04:00
Shyam Sunder
4f57f49ebe
client+server: migrate to GitHub actions
2021-09-19 11:01:47 -04:00
Shyam Sunder
e4a253fd25
client+server: fixed style errors
2021-09-13 13:25:37 -04:00
neobooru
fa4997fbb9
server: fix issue where no video files could be uploaded
2021-06-07 00:37:30 +02:00
neobooru
f497dca92f
server: update docker image base to alpine:3.13
...
We do this so that we don't have to use 'edge' packages, which aren't (always) ABI compatible
2021-06-01 18:20:51 +02:00
neobooru
5ea9e27e48
Merge branch 'avif'
...
Merges PR #399
2021-06-01 16:57:29 +02:00
Ruin0x11
a2b68925ac
Support BMP format uploads
2021-05-09 01:29:36 -07:00
Ruin0x11
28eaf53dfd
Add first/last pool post to pool navigator
2021-05-09 01:00:27 -07:00
Ruin0x11
e1c97049da
Add pool posts around test
2021-05-09 01:00:27 -07:00
Ruin0x11
7750e43714
Initial implementation of pool navigation inside posts
2021-05-09 01:00:27 -07:00
Ruin0x11
8e8b15a1d8
Route for getting previous/next posts in pool
2021-05-09 01:00:27 -07:00
Ruin0x11
676a5ff97c
Retrieve surrounding pool posts in pool search query
2021-05-08 16:42:30 -07:00
Ruin0x11
161a3939c9
Add new sort tokens for pools; update API doc
2021-05-08 16:15:39 -07:00
Ruin0x11
81645864ec
Support sorting post search results by pool post order
2021-05-08 02:38:49 -07:00
Ruin0x11
2949431d9a
Add libheif/libavif to Dockerfile dependencies
2021-05-07 22:25:59 -07:00
Ruin0x11
7e27df835c
Add AVIF/HEIF/HEIC upload support
2021-05-07 21:20:42 -07:00
Ruin0x11
169593ea36
Add AVIF/HEIC detection
...
ffmpeg doesn't support HEIC decoding yet...
2021-05-07 14:36:58 -07:00
nothink (Satoshi Ishii)
535aa0d8fe
Suppressed the use of SQLAlchemy 1.4
2021-04-20 22:52:29 +09:00
Shyam Sunder
545b5828b5
server/func/mime: support ftypM4V file signature
2021-03-30 09:52:49 -04:00
Shyam Sunder
2b9a4ab786
server/net: prevent youtube-dl errors when downloading image links
2021-01-07 08:28:22 -05:00
Shyam Sunder
c732e62844
server/net: fix error handling
2021-01-06 10:37:59 -05:00
Shyam Sunder
c7461c7f65
server/net: improve youtube-dl functionality, enforce size limits
2021-01-05 17:05:57 -05:00