Commit Graph

1285 Commits

Author SHA1 Message Date
Eva
9e4e5a08d6 Merge aafcfc33bb into ee7e9ef2a3 2025-05-31 06:20:40 +02: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
Eva
aafcfc33bb client/pools: prioritize loading of first thumbnail 2025-04-03 03:55:05 +02:00
Eva
d7ffdb0997 client/css: remove semicolons 2025-04-03 02:48:46 +02:00
Eva
0971745615 server/tests: fix post serialization tests 2025-04-03 02:26:46 +02:00
Eva
27f94be56d server/tests: fix nearby pool posts tests 2025-04-03 02:01:30 +02:00
Eva
98227e562e server/tests: fix sort:pool test indentation 2025-04-03 02:01:30 +02:00
Eva
5244718e0f client/css: pool thumbnail outline
Same as posts in search results.
2025-04-03 02:01:30 +02:00
Eva
ac64c1ca50 client/css: add missing variable for pool categories page 2025-04-03 02:01:30 +02:00
Eva
ff788a5e30 client/pools: use cheaper pool post listing for unprivileged users 2025-04-03 02:01:30 +02:00
Eva
0acc522bfc server/pools: add field for retrieving only the first 3 posts 2025-04-03 02:01:30 +02:00
Eva
a5cf49a94a client/pools: remove broken selector 2025-04-03 02:01:30 +02:00
Eva
374f4a5fa9 client/posts: split query by any whitespace 2025-04-03 02:01:30 +02:00
Eva
3875ec173f client, server: merge nearby pool posts into regular post serialization
Can still be cleaned up some more.
Need to compare speed of the get_around query vs nearby pool posts.
2025-04-03 02:01:30 +02:00
Eva
7708b4e5a3 client/pools: fix empty pool thumbnail display 2025-04-01 09:50:03 +02:00
Eva
64b7b6d0bc server/posts: optimize nearby pool posts
This was very slow when any entry was unavailable, such as on
single-post pools, or edges of pools (first/last post).
Also only fetch id. Previously it would get the thumbnail url.
2025-04-01 08:27:03 +02:00
Eva
0601c32598 client/css: fix pool thumbnail animations and outline on firefox 2025-04-01 08:25:50 +02:00
Eva
4792f01362 client/posts: use correct pool's posts when overriding navigation
We were always using the first pool the current post belongs to.
2025-04-01 08:24:58 +02:00
Eva
cf0a64d832 client/css: pool navigator styling 2025-04-01 08:24:48 +02:00
Eva
2e0dd251b2 client/posts: remove unavailable first and last links in pool navigator 2025-04-01 08:24:44 +02:00
Eva
0ff359d613 client/posts: replace main navigation with pool navigation when in pool 2025-04-01 08:24:36 +02:00
Eva
769b4f0e22 client/pools: sort by negated pool order by default 2025-04-01 08:24:24 +02:00
Eva
7823682b39 server/search: allow negating sort:pool 2025-04-01 08:22:41 +02:00
Eva
5034121be6 client/help: document sort:pool 2025-04-01 08:22:36 +02:00
2ff79a6aa2 server/search: support sorting post search results by pool post order 2025-04-01 08:22:16 +02:00
Eva
ef48b07966 client/pools: expand animation 2025-04-01 08:22:16 +02:00
Eva
1507e6bf2b client/pools: thumbnail hover animation and thinner focus outline
Update stylus for :has support
2025-04-01 08:22:16 +02:00
Eva
d59eac948b client/pool_navigator: respect 'display underscores as spaces' setting 2025-04-01 08:22:16 +02:00
Eva
745186062d client/css: use zoomed-in thumbnails for pools 2025-04-01 08:22:16 +02:00
63dbff36a0 client/pools: stacked thumbnail appearance for pool list page 2025-04-01 08:22:16 +02:00
c3705f6ee2 client/pools: thumbnail view in pool list 2025-04-01 08:22:15 +02:00
871ebe4083 server/tests: add necessary privilege to fixture 2025-04-01 08:12:18 +02:00
650d9784c0 server/tests: add some tests 2025-04-01 08:12:07 +02:00
4f663293c0 doc: properly name API elements 2025-04-01 08:11:57 +02:00
86320fe227 client: fix some incorrect references 2025-04-01 08:07:38 +02:00
ae899853d2 client: append missing child 2025-04-01 08:07:38 +02:00
e4f7e9e8e0 client: add missing import 2025-04-01 08:07:37 +02:00
7c12abeffa client: add pool navigation elements
this implementation was *heavily* cherry-picked from PR #403.
2025-04-01 08:07:37 +02:00
c3a4cb6cd1 server: add none check 2025-04-01 08:04:04 +02:00
75138525e8 server: izip doesnt exist anymore 2025-04-01 08:04:04 +02:00
f8dfde9a61 server: better iterable logic 2025-04-01 08:04:04 +02:00
7586d92db5 server: slightly better way of prev/next 2025-04-01 08:04:04 +02:00
10be19050d server: fix incorrect values being used 2025-04-01 08:04:04 +02:00
377998fdbc server: add missing None argument 2025-04-01 08:04:04 +02:00
9b2e1c3064 server: rename incorrect flag 2025-04-01 08:04:04 +02:00
b30db8caf8 server: fix small typo 2025-04-01 08:04:04 +02:00
c0504692e1 server: poolpost nearby implementation 2025-04-01 08:04:04 +02: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