Shyam Sunder
377fe52072
server/posts/upload: refactor youtube-dl caller code to fix some bugs
2020-04-07 15:14:53 -04:00
Shyam Sunder
cd6683c2d8
server/posts/upload: make youtube-dl use best format
...
Fixes #313
2020-04-05 15:21:03 -04:00
Shyam Sunder
2c6434b08d
server/posts/upload: limit filesize for uploads through youtube-dl
...
This will be controlled by the config parameter 'max_dl_filesize'.
TODO: In a future commit, the regular downloader should also respect
this parameter.
2020-04-03 15:32:25 -04:00
Shyam Sunder
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
Shyam Sunder
65202189e1
server/posts/upload: edit default flag behavior
...
The 'loop' flag will be auto-selected by default on video posts if
the flags parameter is undefined when creating a new post.
2020-03-21 18:25:54 -04:00
neobooru
c60ec22b92
server/func/tags: allow tags to have longer names
2020-03-15 22:25:45 +01:00
Shyam Sunder
db0c33bb14
server/func/image_hash: added docstrings to functions
2020-03-13 22:45:11 -04:00
Shyam Sunder
1a8de9ef3a
all: purge remaining elasticsearch artifacts
2020-03-13 22:45:11 -04:00
Shyam Sunder
6cc2a91632
server/image_search: add migrations for elasticsearch removal
2020-03-13 22:45:11 -04:00
Shyam Sunder
bd9284b7f8
server/tests: update unit tests for elasticsearch removal
2020-03-13 22:45:11 -04:00
Shyam Sunder
4c78cf8c47
server/image_search: implement reverse search functionality in postgres
...
This will remove the dependency on the Elasticsearch database.
The search query is passed currently as raw SQL. Proper implementation
using SQLAlchemy will need custom ORM classed to be made.
Additional config parameter "allow_broken_uploads" has been added.
2020-03-13 22:45:11 -04:00
Shyam Sunder
a616cf6987
server/migrations: implement database connection timeout
2020-03-13 22:43:31 -04:00
Shyam Sunder
e3401b3993
server/config: gracefully handle bad config files
2020-03-13 13:17:41 -04:00
Shyam Sunder
0e6427d8bc
server/tests: use postgresql test database
2020-03-06 18:15:25 -05:00
Shyam Sunder
f1a09c21d4
server/func/tag_categories: fixed deprecated SA function call
2020-03-06 10:29:03 -05:00
CorePoint
72e104b145
detect ftypiso5 as mp4 mime type
2020-02-07 12:10:38 +01:00
Shyam Sunder
0ff9f9d5a2
server/func/posts: explicity specify MD5 for post security hash
2020-01-12 12:54:28 -05:00
Shyam Sunder
978a384d9e
server/tag-categories: order tag categories alphabetically when requested
2020-01-12 12:18:53 -05:00
Shyam Sunder
4f5ea9c5ed
server/facade: bump elasticsearch timeout to 2 minutes
...
Fixes #285
2019-10-15 13:02:24 -04:00
neobooru
73c53fa4e2
all: add support for webp images
...
Includes webp test image
Merges #283
2019-10-08 18:22:47 -04:00
neobooru
d2a4e50669
server/info: report correct size when filesystem is missing files
...
Merges PR #279
2019-09-29 23:07:53 -04:00
Shyam Sunder
0c05330cfc
server/tests: fix failing tests
2019-09-28 18:58:45 -04:00
Shyam Sunder
1231469a35
server/tests: integrate testing into Docker
2019-09-28 18:58:45 -04:00
Shyam Sunder
dd56c287b5
server/facade: integrated elasticsearch wait into entrypoint
2019-09-21 14:22:07 -04:00
Shyam Sunder
54eab0aa35
server/image-hash: optionally allow for elasticsearch authentication
2019-09-15 16:50:47 -04:00
Shyam Sunder
9b02a0bd5e
server/posts: allow for longer source URLs
...
Fixes #272
2019-07-27 19:24:39 -04:00
Shyam Sunder
7a42c7a69b
server/tools: add script to check audio flags for posts
2019-07-27 16:32:39 -04:00
Shyam Sunder
9a9a475037
server/facade: Check mailer config on startup
2019-07-22 20:26:16 -04:00
neobooru
80d272d60b
server/config: Add 'domain' and 'smtp from' config entries
...
Fixes #193 and #256
This however requires users to manually set the domain in the config.yaml.
This field currently is optional, but it would probably be better to make it required and not fall back to HTTP_ORIGIN and HTTP_REFERER, which might be inaccurate or not set (especially behind reverse proxies and the like)
server/config: Leave domain empty by default
Co-Authored-By: Shyam Sunder <sgsunder1@gmail.com>
2019-07-22 20:26:09 -04:00
Shyam Sunder
26127eaaf5
server/config: use safer YAML loader
...
Fixes #254
2019-04-27 18:08:47 -04:00
Shyam Sunder
4117f63375
server/model/posts: Make post flags a hybrid attribute in model
...
This should (hopefully) fix #250 and #252
2019-04-22 20:20:19 -04:00
Shyam Sunder
d69ef710b3
server/search: automatically add wildcards for source URL searching
2019-04-07 19:30:35 +02:00
Shyam Sunder
1d8cfd5a89
server/search: allow searching by source URL content
2019-04-07 19:30:35 +02:00
Shyam Sunder
b18acf3982
server/func/images: attempt to fix #225
2019-02-11 21:28:02 +01:00
Shyam Sunder
065a466af8
server/func/posts: fix #221
2019-02-11 21:28:02 +01:00
rr-
5ed70b2ec4
server/func/images: work around ffmpeg bug 6375
2019-01-09 21:15:58 +01:00
Shyam Sunder
14377933a7
server/func/posts: transfer flags on merge
2018-12-22 12:31:25 +01:00
Shyam Sunder
e80c482891
server/func/images: Fix Unicode Error
2018-12-22 12:31:25 +01:00
rr-
d3cabc4a36
server: handle empty flags in migration
2018-09-24 11:40:11 +02:00
Shyam Sunder
8a10fc8ffd
server/posts: automatically detect sound in video post uploads
2018-09-24 11:36:13 +02:00
Shyam Sunder
3879c2ec20
server/search: allow searching by post flags
2018-09-24 11:36:13 +02:00
Shyam Sunder
2235a72d2f
server+client: added sound flag to video posts
2018-09-24 11:36:13 +02:00
Shyam Sunder
cbf67587e2
client: Some minor fixups to base URL feature
...
* Cleanup cookie storage path
* Cleanup Data URL
2018-08-23 21:04:19 +02:00
rr-
8da22cbd5e
server: fix paths to config
2018-08-03 21:04:23 +02:00
rr-
b1a20a7134
tests: fix failing tests
...
Regression caused by changing the way images are converted to grayscale
in 9730aa5c
2018-07-25 19:53:37 +02:00
Shyam Sunder
6a6c4dc822
build: add Docker functionality and documentation
2018-07-25 13:39:57 +02:00
Shyam Sunder
9730aa5c05
client: clean up required Python packages
...
* Packages that are only used in testing or development
have been moved to `dev-requirements.txt`
* Closes #178
* Minor rewrite to drop the `scikit-image` package, which
saves around 200MB in install size
2018-07-22 14:02:30 +02:00
rr-
1fe22a4d0a
server/tag-categories: disallow uppercase colors
2018-07-08 10:10:06 +02:00
rr-
c9cb9aa539
server/password-reset: try to construct full URL
2018-07-08 10:10:06 +02:00
rr-
d85e746a65
server/tests: fix failing info api tests
2018-07-08 09:42:13 +02:00