b8c5b27195
client/html: hide 'pools' in navbar if user doesn't have privileges
2020-06-22 15:47:57 -04:00
018e3df31d
client/html: fixed pool summary view
2020-06-22 12:48:54 -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
454685755b
dev: added pre-commit hooks for code style consistency
...
See #325
2020-06-05 11:10:05 -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
e7610db054
client/docker: enforce waitress' max upload limitations on nginx proxy
...
This ensures that both NGINX and Waitress are using the same max upload
request body. See #327
2020-06-05 10:07:55 -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
4329b1620f
client/js: format code to ESLint
2020-06-04 19:02:33 -04:00
48c9001194
server/docker: include setuptools in installation
2.4
2020-06-04 18:51:30 -04:00
ea675d20cb
server/docker: fix missing installation requirements
...
Furthermore, an update to Pillow has improved the floating-point
precision of the image hash algorithm, requiring minor updates to
the respective unit tests.
See https://github.com/python-pillow/Pillow/pull/4320
2020-06-04 16:38:26 -04:00
b0f1b8c230
fix python lint issues
2020-06-03 11:55:50 -04:00
1be947e946
PR fixes
2020-06-02 17:43:18 -07:00
7bcefeb347
Add pool information to API.md
2020-05-04 19:45:09 -07:00
5ca21f9e7f
Add pool tests
2020-05-04 19:12:54 -07:00
6b8e3f251f
Implement pool merging
2020-05-04 15:15:51 -07:00
ffba010ae4
Implement updating pools of a post from details sidebar
2020-05-04 14:44:16 -07:00
8795279a73
Add pool input box in post details
2020-05-04 02:20:23 -07:00
e6bf102bc0
Add list of posts to pools
2020-05-04 00:09:33 -07:00
d59ecb8e23
Add pool CRUD operations/pages
2020-05-03 19:53:28 -07:00
6a95a66f12
client/file-dropper: fix undefined variable
2020-04-20 18:31:15 +02:00
deffe91fda
client/css: orient image posts based on EXIF data
...
this uses the optionally implemented "image-orientation: from-image"
CSS property, and will not work on every browser.
see #311
2020-04-08 14:14:23 -04:00
8c01c7714f
client/css: prevent word-wrapping in source edit textarea
2020-04-07 21:56:30 -04:00
377fe52072
server/posts/upload: refactor youtube-dl caller code to fix some bugs
2020-04-07 15:14:53 -04:00
cd6683c2d8
server/posts/upload: make youtube-dl use best format
...
Fixes #313
2020-04-05 15:21:03 -04:00
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
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
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
c60ec22b92
server/func/tags: allow tags to have longer names
2020-03-15 22:25:45 +01:00
ed83e11552
build(deps): bump acorn from 5.7.1 to 5.7.4 in /client
...
Bumps [acorn](https://github.com/acornjs/acorn ) from 5.7.1 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases )
- [Commits](https://github.com/acornjs/acorn/compare/5.7.1...5.7.4 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-03-15 11:50:37 -04:00
db0c33bb14
server/func/image_hash: added docstrings to functions
2020-03-13 22:45:11 -04:00
1a8de9ef3a
all: purge remaining elasticsearch artifacts
2020-03-13 22:45:11 -04:00
6cc2a91632
server/image_search: add migrations for elasticsearch removal
2020-03-13 22:45:11 -04:00
bd9284b7f8
server/tests: update unit tests for elasticsearch removal
2020-03-13 22:45:11 -04:00
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
a616cf6987
server/migrations: implement database connection timeout
2.3
2020-03-13 22:43:31 -04:00
e3401b3993
server/config: gracefully handle bad config files
2020-03-13 13:17:41 -04:00
0e6427d8bc
server/tests: use postgresql test database
2020-03-06 18:15:25 -05:00
e19d7041d1
all: updated gitignore
2020-03-06 10:29:03 -05:00
f1a09c21d4
server/func/tag_categories: fixed deprecated SA function call
2020-03-06 10:29:03 -05:00
72e104b145
detect ftypiso5 as mp4 mime type
2020-02-07 12:10:38 +01:00
af6eff9ff8
client/posts: allow for multiple source URLs to be entered and viewed
2020-01-26 17:49:04 -05:00
0ff9f9d5a2
server/func/posts: explicity specify MD5 for post security hash
2020-01-12 12:54:28 -05:00
dce7136f15
server/docker: update renamed dependency pyrfc3339
2020-01-12 12:29:25 -05:00
978a384d9e
server/tag-categories: order tag categories alphabetically when requested
2020-01-12 12:18:53 -05:00
53ec25f4c4
client/post_view: Force inline playback for iOS
...
Fixes #295
2019-12-17 12:41:23 -05:00
0a5279c2c1
docker: changed docker hub image location
2019-11-26 19:13:10 -05:00