Commit Graph

97 Commits

Author SHA1 Message Date
blankie 16f56abe62
Stop lowercasing search queries
Turns out that English tags are dependent on capitalization, like
OMOCAT and omocat:
- https://pixwhile.zangetsu.kaizoku.cyou/tags/OMOCAT/illustrations
- https://pixwhile.zangetsu.kaizoku.cyou/tags/omocat/illustrations
2023-06-16 17:45:48 +07:00
blankie d272caa8f2
Move image anchors to the image itself instead of the link 2023-06-11 11:53:51 +07:00
blankie 50e20b2c43
Fix compilation on GCC again... 2023-06-09 19:30:08 +07:00
blankie ca0f5e8a17
Silence GCC warnings 2023-06-09 19:29:19 +07:00
blankie edbd11e075
Fix preview thumbnails being squished
https://pixwhile.zangetsu.kaizoku.cyou/artworks/108749543?preview=1

AFAIK, this does not interfere with 42da969ac5
and 5afccd3616
2023-06-09 13:45:57 +07:00
blankie c0a424615c
Fix null pointer dereferences when redis is disabled 2023-06-09 13:42:21 +07:00
blankie 109556f2b7
Add redis support 2023-06-08 23:02:36 +07:00
blankie 773f75543e
Fix fetching original illust images 2023-06-07 16:16:03 +07:00
blankie 7c772b924c
Add URL query parameters to the canonical URL 2023-06-07 15:12:39 +07:00
blankie 21fc3e43d8
No longer treat spaces as a valid character in URLs
Example where this is problematic (NSFW):
https://pixwhile.zangetsu.kaizoku.cyou/artworks/107464328
2023-06-06 21:33:14 +07:00
blankie fd020ed756
Add OGP metadata for users 2023-06-04 14:09:03 +07:00
blankie ee03ab01d8
Add OGP metadata for artworks 2023-06-04 13:22:19 +07:00
blankie 6aeba6acb6
Add canonical_origin config option 2023-06-04 12:08:49 +07:00
blankie 42da969ac5
Fix squished cover image
https://pixwhile.zangetsu.kaizoku.cyou/users/15361232
2023-05-19 14:03:21 +07:00
blankie 5afccd3616
Fix images being clipped when there's not enough space for them
https://pixwhile.zangetsu.kaizoku.cyou/artworks/61001755
https://pixwhile.zangetsu.kaizoku.cyou/artworks/77622196
2023-05-14 15:16:59 +07:00
blankie 43446801b3
Check for constinit support 2023-05-12 17:39:52 +07:00
blankie c37080d85a
Use constinit instead of consteval 2023-05-12 17:32:09 +07:00
blankie 2c8c0ab45e
Check for consteval support 2023-05-12 17:28:28 +07:00
blankie 4d0230cc25
Fix build on GCC 2023-05-12 17:23:26 +07:00
blankie e83a44d7b5
Change CSS classes 2023-05-12 17:13:55 +07:00
blankie b277d0274c
Implement ETags 2023-05-12 16:56:22 +07:00
blankie 9259f7c198
Fix links enclosed in parenthesis
https://pixwhile.zangetsu.kaizoku.cyou/artworks/107901929
2023-05-08 17:48:39 +07:00
blankie 8de4af2972
Fix viewing user illustrations 2023-05-08 17:47:51 +07:00
blankie 421bbcd6a0
Guess the size of thumbnails 2023-05-08 00:22:48 +07:00
blankie b0b8e5c3c9
Tidy up CSS 2023-05-06 00:11:41 +07:00
blankie 81c61965c4
Document illustration badges 2023-05-06 00:05:30 +07:00
blankie 727f5dd32b
Set illust badge's background color to red if the illust is AI-generated 2023-05-05 23:55:14 +07:00
blankie 2a6130b16c
Add badge for displaying amount of images in an illust 2023-05-05 23:55:10 +07:00
blankie 48dbc8e978
Automatically expand search suggestions if there is only one page of results 2023-05-02 15:50:18 +07:00
blankie 8d61ca4ee3
Don't close input tags 2023-05-02 15:49:15 +07:00
blankie cec8d1c4b7
Hide grid of illustrations if there aren't any 2023-05-02 15:48:45 +07:00
blankie b8de1cbb68
Fix compilation with GCC 2023-05-02 15:29:37 +07:00
blankie 2ecfe10584
Add search suggestions 2023-05-02 15:24:39 +07:00
blankie 4586931adf
Add illustration search box 2023-05-02 15:24:39 +07:00
blankie 71994b234b
Add link to tags 2023-05-02 15:24:39 +07:00
blankie fd946d1336
Add tags page 2023-05-02 15:24:38 +07:00
blankie 81dd9c9973
Add PixivClient::{search_illusts,get_search_suggestions} 2023-05-02 15:24:38 +07:00
blankie b71cbd039d
Ignore romaji versions of tags 2023-05-01 11:55:10 +07:00
blankie a448dd9b6e
Create a generic illusts pager 2023-04-28 16:00:21 +07:00
blankie 36a750762b
Try to fetch a much higher quality thumbnail for multi-page artworks 2023-04-28 15:39:09 +07:00
blankie c4407d86e5
Add gap between user link and artwork 2023-04-28 15:16:10 +07:00
blankie 14a08e4937
Enable webp 2023-04-28 15:12:50 +07:00
blankie 7ecbb7f8bc
Add LICENSE 2023-04-12 11:02:08 +07:00
blankie cc27f28c36
Fix images going off-screen 2023-04-10 22:01:38 +07:00
blankie ed7acd97cf
Try to further fix compilation on GCC 2023-04-10 21:24:11 +07:00
blankie a1171e9431
Don't set ignore_comments for compatibility with nlohmann::json versions < 3.9 2023-04-10 21:20:29 +07:00
blankie e5bba4ea36
Try to fix compiling on GCC 2023-04-10 21:06:27 +07:00
blankie 942894b6db
Lower required CMake version 2023-04-10 21:00:07 +07:00
blankie 2dc6fe809e
Strip /en/ off of proxied pixiv urls 2023-04-10 19:55:32 +07:00
blankie 79bae2c013
Rewrite pixiv URLs to Pixwhile 2023-04-10 00:34:13 +07:00