summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-06-21build(deps): bump shell-quote from 1.6.1 to 1.7.3 in /clientdependabot[bot]
Bumps [shell-quote](https://github.com/substack/node-shell-quote) from 1.6.1 to 1.7.3. - [Release notes](https://github.com/substack/node-shell-quote/releases) - [Changelog](https://github.com/substack/node-shell-quote/blob/master/CHANGELOG.md) - [Commits](https://github.com/substack/node-shell-quote/compare/1.6.1...1.7.3) --- updated-dependencies: - dependency-name: shell-quote dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
2022-06-17build(deps): bump jpeg-js from 0.4.0 to 0.4.4 in /clientdependabot[bot]
Bumps [jpeg-js](https://github.com/eugeneware/jpeg-js) from 0.4.0 to 0.4.4. - [Release notes](https://github.com/eugeneware/jpeg-js/releases) - [Commits](https://github.com/eugeneware/jpeg-js/compare/v0.4.0...v0.4.4) --- updated-dependencies: - dependency-name: jpeg-js dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
2022-06-10doc: add GET /post/<id>/around to API.mdLuna
2022-05-02all: add .gitattributesneobooru
This forces shell scripts to always have LF line endings. By default Windows uses CRLF which breaks the docker build, because docker-start.sh doesn't have the correct line endings. Adding this file should fix that.
2022-03-31build(deps): bump minimist from 1.2.5 to 1.2.6 in /clientdependabot[bot]
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. - [Release notes](https://github.com/substack/minimist/releases) - [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6) --- updated-dependencies: - dependency-name: minimist dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
2022-03-31client+server: only trigger autobuild on master branch pushesShyam Sunder
2022-03-31build(deps): bump minimist from 1.2.5 to 1.2.6 in /clientdependabot[bot]
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. - [Release notes](https://github.com/substack/minimist/releases) - [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6) --- updated-dependencies: - dependency-name: minimist dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
2022-03-31server: fix build error due to broken pip requirementsShyam Sunder
Pinned pyheif to v0.6.1
2022-03-30server/szuru-admin: Add thumbnail regeneration scriptShyam Sunder
Closes #467
2022-03-30doc: added BuildKit flags fix to INSTALL.mdSkybbles
Added this because recently, there have been more problems with `docker-compose build` where it errors: ERROR: Service 'server' failed to build: failed to parse platform : "" is an invalid component of "": platform specifier component must match "^[A-Za-z0-9_-]+$": invalid argument Recent Docker versions have switched to using `buildx` (BuildKit) to build containers, but that needs to be enabled, either in `daemon.json` or through an environment variable. But since we are using Docker Compose, it doesn't pass it to Docker; so the environment variable needs to be set. At least that's what I've heard and figured out sweat_smile My explanation might be very wrong - but it works :)
2022-03-30doc: fix external link in README.mdMaksymilian Babarowski
2022-02-16client/js/markdown: fix processing of inline markdownShyam Sunder
2022-02-14client: update dependenciesShyam Sunder
2022-02-14Make waitress thread count configurable.noirscape
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-14client/docker: Do not pin LTS version of NodeShyam Sunder
See: https://github.com/npm/cli/wiki/Support-Policy#long-term-support-lts (cherry picked from commit 98c0941c97e1019f526e04a2b37419ff5bfc6381)
2022-02-08build(deps): bump path-parse from 1.0.6 to 1.0.7 in /clientdependabot[bot]
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. - [Release notes](https://github.com/jbgutierrez/path-parse/releases) - [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7) --- updated-dependencies: - dependency-name: path-parse dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
2022-02-08server/config: fix deprecated database string formatShyam Sunder
2022-02-08server/func/images: upgrade to heif-image-pluginShyam Sunder
2022-01-27build(deps): bump cached-path-relative from 1.0.2 to 1.1.0 in /clientdependabot[bot]
Bumps [cached-path-relative](https://github.com/ashaffer/cached-path-relative) from 1.0.2 to 1.1.0. - [Release notes](https://github.com/ashaffer/cached-path-relative/releases) - [Commits](https://github.com/ashaffer/cached-path-relative/commits) --- updated-dependencies: - dependency-name: cached-path-relative dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
2022-01-26client: remove URL rewriting from the markdown handlerneobooru
2022-01-16server/func/images: Do not pass file content to ffmpeg stdinShyam Sunder
2022-01-15build(deps): bump marked from 0.7.0 to 4.0.10 in /clientdependabot[bot]
Bumps [marked](https://github.com/markedjs/marked) from 0.7.0 to 4.0.10. - [Release notes](https://github.com/markedjs/marked/releases) - [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json) - [Commits](https://github.com/markedjs/marked/compare/v0.7.0...v4.0.10) --- updated-dependencies: - dependency-name: marked dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
2021-11-29client/upload: restore option to pause upload chain on errorShyam Sunder
2021-11-29client: lintingShyam Sunder
2021-11-29server: fix python docstring formattingShyam Sunder
2021-11-29dev/pre-commit: update versions for pre-commit hooksShyam Sunder
2021-11-29client/docker: Do not pin LTS version of NodeShyam Sunder
See: https://github.com/npm/cli/wiki/Support-Policy#long-term-support-lts
2021-11-28updated build filesskybldev
- is no longer valid as per https://github.com/npm/cli/wiki/Support-Policy#long-term-support-lts - updated pre-commit config to use latest repos
2021-09-23client+server: cleanup GitHub actions workflow namesShyam Sunder
Also run unit test action on push
2021-09-23server/tests: use transactional db for faster unit testsShyam Sunder
* `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-22server/net: return more useful error messagesShyam Sunder
2021-09-19client+server/docker: fix ARM build platform issueShyam Sunder
2021-09-19client+server/docker: build ARM images for Docker HubShyam Sunder
2021-09-19client+server: migrate to GitHub actionsShyam Sunder
2021-09-13client/upload: force enable 'upload anonymously' for anon usersShyam Sunder
Fixes #425
2021-09-13client/upload: add QoL features for bulk uploadsShyam Sunder
* Continue uploading remaining posts in an upload list even when one fails * Allow option to continue uploading even when similar posts are found Closes #400
2021-09-13Fix styleShyam Sunder
2021-09-13client+server: fixed style errorsShyam Sunder
2021-09-03client: more compact margins in post sidebarHunternif
2021-09-03client: show similar posts section only with permissionHunternif
2021-09-02client: link on post page to view all similar postsHunternif
2021-09-02server: search term similar posts applies sort automaticallyHunternif
2021-09-02server: implement similar posts as a search term, without sortHunternif
2021-09-02server: implement similar posts as a single queryHunternif
2021-09-01server, client: honor safety when fetching similar postsHunternif
2021-09-01client: adjust colors for darkthemeHunternif
2021-09-01client: add to settings the number of similar posts to loadHunternif
2021-09-01server: update similar post logic to yield more resultsHunternif
2021-08-31server: simplify similar post logic for better performanceHunternif
2021-08-31server: optimize similar search to max 3 tag removalsHunternif