Commit Graph

1174 Commits

Author SHA1 Message Date
Shyam Sunder 91f5a42459 docker: switch to DockerHub hosted builds in compose file 2019-09-30 22:12:53 -04:00
neobooru c9eae00c8c client/login: always store login cookie as 'auth'
Fixes #268
2019-09-29 23:14:14 -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 4fe9c5f4ca server/docker: use Alpine-based image for space savings 2019-09-29 19:22:43 -04:00
Shyam Sunder 6da18036a4 client/docker: improved Dockerfile 2019-09-28 19:53:28 -04:00
Shyam Sunder 2af304b844 docker: add hooks to autotag images 2019-09-28 19:28:17 -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 edf9083552 server/docker: improved Dockerfile 2019-09-27 23:15:34 -04:00
Shyam Sunder dd56c287b5 server/facade: integrated elasticsearch wait into entrypoint 2019-09-21 14:22:07 -04:00
Shyam Sunder fa3b6275b3 client/nginx: minor tweaks to nginx config 2019-09-16 08:36:56 -04:00
Shyam Sunder 54eab0aa35 server/image-hash: optionally allow for elasticsearch authentication 2019-09-15 16:50:47 -04:00
Shyam Sunder 734e28e014 server/tools: better documentation for file rename admin script 2019-09-04 17:58:26 -04:00
Shyam Sunder 369ddaf2f8 server/tools: add tool to change post filenames due to changed secret 2019-09-03 14:35:57 -04:00
Shyam Sunder 83442b4977 server/tools: created simple admin command script 2019-08-15 21:53:57 -04:00
Shyam Sunder 9df090b4d9 doc: simplified how to use the base URL feature 2019-08-14 07:57:56 -04:00
Shyam Sunder 48e7eb10f1 doc: moved documentation to a seperate folder 2019-08-05 19:20:41 -04:00
Shyam Sunder 69922fccb6 client/nginx: enable Cross-Origin Resource Sharing for API calls
Fixes #275
2019-08-05 17:11:20 -04:00
Shyam Sunder 9b02a0bd5e server/posts: allow for longer source URLs
Fixes #272
2019-07-27 19:24:39 -04:00
Shyam Sunder 979d8409d5 server/tools: add password reset script 2019-07-27 17:36:15 -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 9329717335 server/docker: Rewrite how files are copied in Docker
This is in preperation of a future commit that will perform
the unit tests in a docker container
2019-07-27 14:34:58 -04:00
neobooru 0839dafd34 client/auth: call tags.refreshCategoryColorMap() after login
When the tag category list permission is not anonymous the category colors fail to load if you are not logged in, and because the page doesn't reload (SPA) the tag colors are still broken after logging in. Manually calling refreshCategoryColorMap after logging in solves this issue.
2019-07-24 16:42:37 +02: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
neobooru 8f0835f27b client/tag_categories: load tag_categories after (attempted) login
Fixes #262
2019-07-22 19:58:16 -04:00
neobooru b8699d59d2 client/upload: automatically set source when uploading from url
Fixes #230
2019-07-23 01:20:42 +02:00
Pika 2484aef492
docker: set ulimits for elasticsearch
this sets the ulimits for elasticsearch to the recommended value of 65536 to avoid errors on startup.
2019-07-09 16:27:17 -04:00
neobooru e14f08ddc6 docs: Fix issue with tags which contain slashes
Apache wouldn't forward api calls which contain encoded slashes (%2F), which caused the api calls to tags with slashes (e.g. 'te/st') to fail with a 404 not found.

See:
- https://httpd.apache.org/docs/2.4/mod/core.html#AllowEncodedSlashes
- https://serverfault.com/questions/715242/encode-url-wihthin-url-apache-mod-proxy-proxypass/715902#715902
2019-05-28 17:10:01 -04:00
Shyam Sunder e0fc790822 client/settings: Cache calls to settings.get() 2019-05-23 20:27:59 -04:00
neobooru 7b236b02c9 Add setting to display underscores as spaces in tags 2019-05-22 23:10:27 +02:00
Shyam Sunder bbde0ab9a0
Merge pull request #260 from neobooru/docs-update
docs: Add apache configuration to manual install guide
2019-05-14 10:22:10 -04:00
neobooru e471d6ad2e Add apache configuration to manual install guide 2019-05-14 16:13:25 +02:00
Shyam Sunder 765e1a711b docker: pin postgres version to 11
Closes #213. PostgreSQL v11's end of life is November 9th, 2023
2019-05-10 15:56:52 -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 0121b952d1 client/nginx: Remove upload filesize restriction 2019-04-21 13:03:39 -04:00
Shyam Sunder 9edee46dcf client/docker: Added hook to display build info 2019-04-21 13:03:39 -04:00
Shyam Sunder f36cdc8719 docs: Moved confusing requirements to INSTALL-OLD.md 2019-04-21 12:40:39 -04:00
Shyam Sunder 940631d3bb
Merge pull request #251 from Hunternif/elasticsearch6.3.1
server/build: Ensure elasticsearch library is a compatible version
2019-04-17 19:25:16 -04:00
Hunternif 9e7c77cd73 server/build: require elasticsearch >=5.0.0., <7.0.0. 2019-04-17 23:15:01 +07:00
ReAnzu 8e1e6af232 client/tag_categories: lowercase all color input on tag_categories 2019-04-08 23:50:20 +02:00
rr- 93910a1655 client/tags: fix post search links 2019-04-08 22:06:42 +02:00
Alec Armbruster 2ec6b978ac docs: add nginx reverse proxy documentation 2019-04-08 21:48:13 +02:00
ReAnzu a4215e35dc client/post: Require the post to not be in edit mode. 2019-04-08 21:36:48 +02:00
ReAnzu a48116aa05 client/post: Add swipe left and swipe right gestures to post content
client/post: Add swipe left and swipe right gestures to post content
2019-04-08 21:36:48 +02: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
Skybbles // L5474 68bd168434 docs/install: fix typo 2019-04-05 16:31:48 +02:00
Shyam Sunder b18acf3982 server/func/images: attempt to fix #225 2019-02-11 21:28:02 +01:00