Commit Graph

509 Commits

Author SHA1 Message Date
648121d7c3 client+server: add quicktime video support
Merge branch 'skybldev-upstream'
2023-04-17 12:21:26 -04:00
42524503b9 client/tests: add unit tests for quicktime videos 2023-04-17 12:01:20 -04:00
8a03015349 client+server: added quicktime upload support 2023-04-17 11:36:44 -04:00
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
8088ff3bbe support ftypiso6 file signature 2022-09-13 19:18:22 +02:00
e746f09911 server: fix build error due to broken pip requirements
Pinned pyheif to v0.6.1
2022-03-31 18:43:37 -04:00
6088e89ea1 server/szuru-admin: Add thumbnail regeneration script
Closes #467
2022-03-30 23:04:16 -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
6de0a74257 server/config: fix deprecated database string format 2022-02-08 09:58:56 -05:00
a22485afda server/func/images: upgrade to heif-image-plugin 2022-02-08 09:58:33 -05:00
106dcc4135 server/func/images: Do not pass file content to ffmpeg stdin 2022-01-16 11:07:46 -05:00
9b3123a815 server: fix python docstring formatting 2021-11-29 18:39:34 -05:00
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
ad9d3599bc server/net: return more useful error messages 2021-09-22 22:08:07 -04:00
c3b81371d8 client+server/docker: fix ARM build platform issue 2021-09-19 12:03:32 -04:00
4f57f49ebe client+server: migrate to GitHub actions 2021-09-19 11:01:47 -04:00
e4a253fd25 client+server: fixed style errors 2021-09-13 13:25:37 -04:00
fa4997fbb9 server: fix issue where no video files could be uploaded 2021-06-07 00:37:30 +02:00
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
5ea9e27e48 Merge branch 'avif'
Merges PR #399
2021-06-01 16:57:29 +02:00
a2b68925ac Support BMP format uploads 2021-05-09 01:29:36 -07:00
2949431d9a Add libheif/libavif to Dockerfile dependencies 2021-05-07 22:25:59 -07:00
7e27df835c Add AVIF/HEIF/HEIC upload support 2021-05-07 21:20:42 -07:00
169593ea36 Add AVIF/HEIC detection
ffmpeg doesn't support HEIC decoding yet...
2021-05-07 14:36:58 -07:00
535aa0d8fe Suppressed the use of SQLAlchemy 1.4 2021-04-20 22:52:29 +09:00
545b5828b5 server/func/mime: support ftypM4V file signature 2021-03-30 09:52:49 -04:00
2b9a4ab786 server/net: prevent youtube-dl errors when downloading image links 2021-01-07 08:28:22 -05:00
c732e62844 server/net: fix error handling 2021-01-06 10:37:59 -05:00
c7461c7f65 server/net: improve youtube-dl functionality, enforce size limits 2021-01-05 17:05:57 -05:00
2dfd1c2192 server/search: add MD5-based search 2021-01-05 13:51:39 -05:00
2bdb072296 server/posts: store and provide MD5 checksums 2021-01-05 13:20:01 -05:00
58678b4504 server/func/mailer: Attempt to manually start TLS for SMTP
Fixes #365
2020-12-02 14:01:43 -05:00
a302b2c4a4 server: enable large file support in database 2020-10-11 12:50:21 -04:00
143f633eaa server/func/webhooks: call webhooks asynchronously 2020-10-06 11:55:09 -04:00
697bd45420 server/tag-categories: sort responses by order 2020-09-24 22:50:28 -04:00
d4f72de8c2 server/tests: fix failing tests 2020-09-24 19:09:54 +02:00
d2b6ecef4d server+client: update tag category api + fix formatting 2020-09-23 13:48:47 +02:00
368372e36d server/tests: fix failing tests 2020-09-20 12:07:42 +02:00
06ad8b1882 client+server: add tag category ordering feature
Fixes  #209
2020-09-19 22:55:17 +02:00
1ef0419dc2 server/pools: serialize pools as micro resource within post resources
Fixes #348
2020-09-19 10:29:09 -04:00
0dd427755b client+server: fix linter issues due to updated pre-commit hooks 2020-09-01 14:07:39 -04:00
e656a3c46a server/docker: unify test and main Dockerfiles 2020-08-28 14:43:10 -04:00
4595f9a2aa server: API support for webhooks
Closes #339
2020-08-13 22:41:43 -04:00
57193b5715 client+server: implement code autoformatting using prettier and black 2020-06-06 08:58:23 -04:00
c06aaa63af dev: add pre-commit hooks for pytest and docker building 2020-06-05 12:47:23 -04:00
c0d0c4c894 client+server: normalize trailing newlines 2020-06-05 10:54:32 -04:00
ea623449e7 server: format code to flake8 2020-06-05 10:02:18 -04:00
c5358f7f83 client+server: add post pools feature 2020-06-04 21:01:28 -04:00
48c9001194 server/docker: include setuptools in installation 2020-06-04 18:51:30 -04:00