Commit graph

228 commits

Author SHA1 Message Date
2833487f62 allow multiple updates on one day
[the reason for this, rather than just one update listing everything, is
that i can have sfw and nsfw updates and only display the appropriate
one]
2022-08-17 03:11:57 +02:00
e7384bc1ed cap gallery images to 2000px 2022-05-16 10:25:16 +02:00
81b342a0c4 use category names when unambiguous
if each category has only a single image (or is empty) after filtering,
then reuse the category names for the buttons
2022-05-02 16:31:38 +02:00
32f308d7f6 allow separate title in gallery e.g. to avoid spoilers 2022-02-27 23:48:35 +01:00
ca647f33c1 rearrange description fields 2022-02-27 01:03:28 +01:00
e1718bb861 format long desc as a dl in rss 2022-01-04 20:13:32 +01:00
a301efa521 put artist before desc in rss 2022-01-04 20:13:19 +01:00
ca53ab5b8e use latest date in rss 2022-01-04 20:13:09 +01:00
5c2a50760a messing with the nsfw warning 2022-01-03 20:45:55 +01:00
ccc6272bfd Show expected keys with faulty yaml 2021-12-11 22:18:59 +01:00
86f05803c7 check for unused (maybe misspelt) keys 2021-12-03 11:16:05 +01:00
a8e5adb50d Add 'unlisted' key
unlisted posts will still be put in the normal place but
not added to the gallery or rss feed
2021-10-02 23:00:33 +02:00
004e43f52f ensure ids are unique 2021-08-23 16:35:55 +02:00
2ccfb72b22 add support for categorised alts 2021-08-23 16:35:19 +02:00
bf381cba7a add default warning for nsfw stuff 2021-06-04 04:07:05 +02:00
50d34bbd70 use min-height instead of height 2021-05-24 13:03:47 +02:00
519ccf2fef use fork of filemanip 2021-04-16 23:50:05 +02:00
5b213f3881 can ignore updates in gallery sort 2021-04-16 23:50:05 +02:00
8b25a3d712 translate _ to space in pathToLabel 2021-04-16 23:49:29 +02:00
7b5ddab5da remove unnecessary length 2021-04-16 23:49:29 +02:00
1a6216a3d7 hide tags only used once initially 2021-04-16 23:49:29 +02:00
5c90ba871f Fix description merging 2021-04-16 23:49:29 +02:00
85199c1105 merge same-named sections in desc and nsfw-desc 2021-04-16 23:49:29 +02:00
e046171999 fix text layout for the image description stuff 2021-04-16 23:49:29 +02:00
d40fe2a617 add -O flag i guess 2021-04-16 23:49:29 +02:00
04b7872a17 cleanup in Info.hs 2021-04-16 23:49:29 +02:00
5c3ca348c2 add support for structured descriptions 2021-04-16 23:49:29 +02:00
519a50489f use nsfw-desc in rss where appropriate 2021-04-16 23:49:29 +02:00
c1d588f702 option to list tags by name 2021-04-16 23:49:29 +02:00
9c11993f7e fix download links for multipart pics 2021-04-16 23:49:29 +02:00
642b7f7618 remove old d.t.h. flag 2021-04-16 23:48:56 +02:00
ed88f03bab make download link more obvious but hide it for tiny images 2021-04-16 23:48:56 +02:00
9a54cc0d53 allow updates to be marked nsfw-only 2021-04-16 23:48:56 +02:00
6567bdf059 fixes for mobiles & tablets 2021-04-16 23:48:56 +02:00
c807895244 add nsfw warning dialog 2021-04-16 23:48:56 +02:00
2772ad84d8 add loading=lazy 2021-04-16 23:48:56 +02:00
b9ea7f7bcb hide year headings when all items are hidden
fixes #7
2021-04-16 23:48:56 +02:00
71c1458de3 add show-updated field
(if false, never show updated emblem in gallery view)
2021-04-16 23:48:56 +02:00
8d4ff29e56 add support for approx dates 2021-04-16 23:48:56 +02:00
c04f34083f use year of latest update on gallery page 2021-04-16 23:48:56 +02:00
26ae8e6b58 changed twitter username 2021-04-16 23:48:56 +02:00
7f91331195 support updates 2021-04-16 23:48:56 +02:00
d294a094f8 replace reset link with hide single-use tags 2021-04-16 23:48:56 +02:00
ce13806c97 (re-)add tag counts to filter list 2021-04-16 23:48:56 +02:00
1752b27cce put "cw: " text in css 2021-04-16 23:48:56 +02:00
b3da952558 use <template> element for cws 2021-04-16 23:48:56 +02:00
258b1c6102 escape data-warning attr 2021-04-16 23:48:56 +02:00
b7561d2b9b add dates to gallery 2021-04-16 23:48:56 +02:00
ef9e6f4ad9 allow posts to be sorted within a single day 2021-04-16 23:48:55 +02:00
2adee9ee8e use class instead of twigils for builder 2021-04-16 23:48:55 +02:00
29a4d033a8 support pages being nsfw only even if they have a "sfw" image 2021-04-16 23:48:55 +02:00
14484184e3 swap fields of Size 2021-04-16 23:48:55 +02:00
c30cb303ae remove unused autocomplete=off 2021-04-16 23:48:55 +02:00
5ad4e3dc30 add twitter [etc] card previews 2021-04-16 23:48:55 +02:00
8865b951fa add bg property for displaying transparent images 2021-04-16 23:48:55 +02:00
1e0b955029 put full dimensions on image 2021-04-16 23:48:55 +02:00
d8c22fef0f fix desc field showing up without desc 2021-04-16 23:48:55 +02:00
1cca7f88d0 add [temporary] favicon 2021-04-16 23:48:55 +02:00
6c84d4eb1c allow extra images etc 2021-04-16 23:48:55 +02:00
813d802fce remove old title attr on stylesheets 2021-04-16 23:48:55 +02:00
07d71de471 use DOMContentLoaded 2021-04-16 23:48:55 +02:00
752dbbd1c4 make tag buttons into links 2021-04-16 23:48:55 +02:00
f796d21181 replace a '' with "" 2021-04-16 23:48:55 +02:00
8d2422ad5b simplify some css selectors
(by adding more classes & ids :( )
2021-04-16 23:48:55 +02:00
f312230110 more markup fixes 2021-04-16 23:48:55 +02:00
5d5e3bacbb open filters on load if not empty or 'all' 2021-04-16 23:48:55 +02:00
e19bbe554e fix some markup bits 2021-04-16 23:48:55 +02:00
739cc49c0c make filters into a <nav> 2021-04-16 23:48:55 +02:00
8af4dac3ec rename 'reset' link to 'default' 2021-04-16 23:48:55 +02:00
3242975db3 remove alternate stylesheet 2021-04-16 23:48:55 +02:00
e8bd20c896 support initially-hidden tags 2021-04-16 23:48:55 +02:00
28fc9db3e0 pass index file to gallery/rss
(instead of trying to escape the strings inside in make & on the command
line)
2021-04-16 23:48:55 +02:00
45077d5eec add scripting for filters 2021-04-16 23:48:55 +02:00
ac73c80ea6 add filter elements to page 2021-04-16 23:48:55 +02:00
3c77492294 add tags to gallery items 2021-04-16 23:48:55 +02:00
1b7f8e9af3 make focused element visible 2021-04-16 23:48:55 +02:00
d2b2fdf2a5 move escId to BuilderQQ 2021-04-16 23:48:55 +02:00
981319483a handle nsfw flag better 2021-04-16 23:48:55 +02:00
9c23e13628 change some classes to ids 2021-04-16 23:48:55 +02:00
95b73d45e0 make buttonbar class 2021-04-16 23:48:55 +02:00
2a0ca6177e fix copying behaviour 2021-04-16 23:48:55 +02:00
8a39a5a46b make default image label from filename 2021-04-16 23:48:55 +02:00
aef07f0f6f some reformatting 2021-04-16 23:48:55 +02:00
653adfe5fc redo formatDate so i can have 12th 2021-04-16 23:48:55 +02:00
fc2185e622 add another verbose print 2021-04-16 23:48:55 +02:00
720cfcc341 refactor Depend 2021-04-16 23:48:55 +02:00
1b63a30f49 add list-tags command 2021-04-16 23:48:55 +02:00
21bdb28c65 add image prefetches 2021-04-16 23:48:55 +02:00
b5973a60d5 refactor makeButtonBar 2021-04-16 23:48:55 +02:00
97c2bc4cd3 fix nsfw filter 2021-04-16 23:48:55 +02:00
328ce7bf11 put artist on rss feed 2021-04-16 23:48:55 +02:00
c1a54a89c5 update language extensions 2021-04-16 23:48:55 +02:00
87c3fa5b75 rename description to desc 2021-04-16 23:48:55 +02:00
49eff9c009 add tag filters and refactor others 2021-04-16 23:48:55 +02:00
59c226111e reorganise make stuff 2021-04-16 23:48:55 +02:00
c9dc887931 add extra nsfw-description field (nsfw pages show both) 2021-04-16 23:48:55 +02:00
b62586b4ad put link to index in footer of gallery pages 2021-04-16 23:48:55 +02:00
e09e56d5df add download field for svgs etc 2021-04-16 23:48:55 +02:00
9e9d2d83b7 put data in subdirs by artist 2021-04-16 23:48:55 +02:00
488a4cdd08 remove background stuff that didnt work 2021-04-16 23:48:55 +02:00