acc5ba97a2
Merge 33a3807369
into ee7e9ef2a3
2025-06-03 23:12:31 -07:00
ee7e9ef2a3
build: setup docker-compose.dev.yml dev iteration
...
This is based off of the 5-commit branch at
https://github.com/neobooru/szurubooru/blob/docker-development-setup .
Compared to said branch, we
* Exclude extraneous changes such as
* Any formatting
* The use of deprecated/ineffectual top-level `version:` in composer files
* Support controlling $THREADS (modernizing the branch to upstream)
* Integrate into master more cleanly
However, client/docker-start-dev uses a temporary hack -- due to
volume mounting overwriting node_modules at arbitrary points during the
`docker compose build` step, we run `npm i` before any given
`npm run watch`.
To see the effects of this commit in action, run:
docker compose -f ./docker-compose.dev.yml up
2025-05-23 20:05:15 +02:00
33a3807369
Merge pull request #2 from po5/priv-view-unsafe-posts
...
server: prevent cache key collision
2025-03-26 19:15:33 +00:00
928f949e9e
server: prevent cache key collision
...
Since search queries get cached, when a search performed by a
privileged user is repeated by an unprivileged user, they will receive
a listing that erroneously includes unsafe posts. The same is true the
other way around, a tag search that is first performed by an anonymous
user will cause any hidden posts for that query to not show up for the
logged in user. This is because the initial search claims the cache key.
2025-03-25 18:12:43 +01:00
7e09f39cb9
server: fix tests for unsafe posts
2025-02-16 01:59:39 +00:00
fb763ada0f
server: add privilege posts:list:unsafe, filter unsafe posts for users without privilege
2025-02-16 01:22:59 +00:00
778db7d510
server: add privilege posts:view:unsafe
2025-02-16 01:21:59 +00:00
376f687c38
chore: questionable is not a recognized rating
2025-02-11 21:50:27 +01:00
4fd848abf2
doc: use docker compose instead of docker-compose
...
The minimum version requirements are rough guesses, in practice any decently modern docker installation should work.
2025-02-11 21:25:10 +01:00
61b9f81e39
Fixed the google search option in the post details view
2024-11-17 16:48:24 +01:00
b721865931
server/config: generalize container support
...
Allow running in Kubernetes, podman, and LXC, besides plain docker-compose,
without having to fake out /.dockerenv in non-Docker environments.
2024-11-10 15:44:39 +01:00
46e3295003
Upload from clipboard ( #414 )
...
client/upload: upload from clipboard
Co-authored-by: Eva <evauwu@riseup.net >
2024-09-29 14:54:53 +02:00
031131506e
client/css: fix comment word-break
...
`break-all` makes it hard to read actual comments.
2024-09-29 13:48:06 +02:00
d102578b54
Merge pull request #647 from po5/null-checks
...
client: add null checks
2024-04-27 21:23:16 +02:00
6edb25d87b
Merge pull request #641 from po5/mobile
...
Mobile improvements
2024-04-26 22:56:58 +02:00
93fc15f2a4
Merge pull request #642 from po5/better-links
2024-04-26 22:37:54 +02:00
4f9d46e1c2
Merge branch 'master' into better-links
2024-04-26 22:16:37 +02:00
b72e81850d
client: add null checks
2024-03-28 13:31:48 +01:00
c1c695f082
client/css: stack bulk tagging toggles horizontally on mobile
2024-03-21 22:26:49 +01:00
4b6b231fc8
client/posts: reorder elements in mobile layout
...
Navigation is always right below the image, and comments are always
at the very bottom, to minimize scrolling for common actions.
2024-03-21 22:26:28 +01:00
6b0c3cfc7f
client/html: allow mobile browsers to zoom in
2024-03-21 22:23:45 +01:00
4ec8cb3ba2
client/css: constrain thumbnails to parent to prevent overextended links
2024-03-21 22:19:46 +01:00
8d971234a2
client/views: better pool name fallback
2024-03-21 22:16:05 +01:00
a16bb198ab
client/views: more thorough link fallbacks
...
Prevents a bunch of errors that can happen when a resource is deleted.
2024-03-21 21:53:11 +01:00
3f182a66ad
client/posts: fix overextended tag link
2024-03-21 21:52:52 +01:00
b52363e82d
client/posts: fix overextended download link
2024-03-21 21:52:49 +01:00
3bf45e4c0a
client/users: fix overextended avatar links
2024-03-21 21:52:39 +01:00
5596f53744
posts page ugly horizontal bar fix
...
fixes ugly horizontal scrollbar appearing when a post with extremely wide image is present in the posts list
2024-02-29 20:56:27 +01:00
da425afc49
Pin pillow-avif-plugin to compatible version range
2024-02-21 17:47:27 +01:00
d7394d672f
Fix Pool Search
2024-02-21 01:27:00 +01:00
190d795426
doc: fix small error in pool API docs
2023-12-05 21:31:23 +01:00
7c92ceaf6a
fix overflow on comments, prevents ugly unnecesary horizontal scroll
2023-11-05 12:27:03 +01:00
9e00f37464
Merge pull request #597 from zakame/use-yt-dlp
...
server/net: use yt-dlp instead of youtube-dl
2023-11-05 12:22:03 +01:00
59c497e168
doc: update for yt-dlp
2023-08-17 20:58:09 +08:00
c292b96f06
server/net: use yt-dlp instead of youtube-dl
...
youtube-dl no longer even gets URLs properly, so switch to yt-dlp as a
drop-in replacement for it.
2023-08-17 20:41:50 +08:00
7a82e9d581
tests/server: post category filter
2023-07-05 12:22:11 +00:00
4806bbe0ed
server: post category filter
2023-07-05 12:22:11 +00:00
c2fdc2d070
docs (tag categories): order is required when creating tag category
2023-06-26 20:49:48 +02:00
ffdf115714
docs (api): change micro post attribute name to id
2023-06-26 20:49:48 +02:00
782f069031
client/upload: fix thumbnail width in post uploads
...
Fixes regression caused by 648121d7
2023-04-17 19:50:40 -04:00
81f7ae8034
client: fix post flow view on webkit browsers
...
Merge branch 'SediSocks-master'
2023-04-17 12:30:21 -04:00
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
2165b59158
client: merge dependabot version bumps
...
Merge remote-tracking branches:
- 'project/dependabot/npm_and_yarn/client/cookiejar-2.1.4'
- 'project/dependabot/npm_and_yarn/client/decode-uri-component-0.2.2'
- 'project/dependabot/npm_and_yarn/client/jpeg-js-0.4.4'
- 'project/dependabot/npm_and_yarn/client/minimist-1.2.6'
- project/dependabot/npm_and_yarn/client/qs-6.11.0'
- 'project/dependabot/npm_and_yarn/client/shell-quote-1.7.3'
- 'project/dependabot/npm_and_yarn/client/terser-4.8.1'
2023-04-17 11:30:47 -04:00
244a0f0b6c
server/test: skip network tests by default
2023-04-17 10:31:35 -04:00
da3b4790ad
server+client: bump versions in pre-commit
2023-04-17 10:31:35 -04:00
196f92593c
fix flow view on webkit browsers
2023-03-13 19:53:02 +00:00
d7d2a151a8
client: workaround for #545 , but not a fix
2023-01-24 22:19:24 +01:00
75635bbc43
build(deps): bump cookiejar from 2.1.2 to 2.1.4 in /client
...
Bumps [cookiejar](https://github.com/bmeck/node-cookiejar ) from 2.1.2 to 2.1.4.
- [Release notes](https://github.com/bmeck/node-cookiejar/releases )
- [Commits](https://github.com/bmeck/node-cookiejar/commits )
---
updated-dependencies:
- dependency-name: cookiejar
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-23 20:36:57 +00:00