humungus - webs

i am gravely disappointed

there has been too much violence

overview - files - changes

130:84655f8c797e on 2019-11-13 11:01:53 -0500 EST by Ted Unangst <tedu@tedunangst.com>
Tagged: tip

Added tag v0.6.26 for changeset 203223651b23

129:203223651b23 on 2019-11-12 12:52:33 -0500 EST by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.6.26

use a serial to close the race

128:503784e373e8 on 2019-11-12 00:08:19 -0500 EST by Ted Unangst <tedu@tedunangst.com>

add a few more html tags for completeness

127:045724dc146f on 2019-11-11 23:56:25 -0500 EST by Ted Unangst <tedu@tedunangst.com>
Parent: 124:fab67b1d6d80

m

126:fa9f88b96b20 on 2019-11-09 00:49:37 -0500 EST by Ted Unangst <tedu@tedunangst.com>

better chan style

125:8f08cd55d26a on 2019-11-09 00:04:03 -0500 EST by Ted Unangst <tedu@tedunangst.com>
Parent: 119:117ad4200373

a manual cache set function

124:fab67b1d6d80 on 2019-11-10 23:47:01 -0500 EST by Ted Unangst <tedu@tedunangst.com>

Added tag v0.6.25 for changeset 09a64eac2d42

123:09a64eac2d42 on 2019-11-10 23:45:14 -0500 EST by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.6.25

normalize img src urls too

122:452c7e7f92fc on 2019-11-10 23:36:14 -0500 EST by Ted Unangst <tedu@tedunangst.com>

add a base url to filters for link normalization

121:bd05d473d2d1 on 2019-11-10 23:27:03 -0500 EST by Ted Unangst <tedu@tedunangst.com>

alos check for authorization header

120:cf3d247afb08 on 2019-11-10 23:19:09 -0500 EST by Ted Unangst <tedu@tedunangst.com>

allow logout of token

119:117ad4200373 on 2019-11-07 17:42:36 -0500 EST by Ted Unangst <tedu@tedunangst.com>

add benchmark (minus test files)

118:eb792c076b86 on 2019-11-07 17:15:41 -0500 EST by Ted Unangst <tedu@tedunangst.com>

Added tag v0.6.24 for changeset 7645754310a3

117:7645754310a3 on 2019-11-07 17:15:31 -0500 EST by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.6.24

whoops, went full yahoo and logged the password

116:7cfa8d2efa41 on 2019-11-07 16:46:00 -0500 EST by Ted Unangst <tedu@tedunangst.com>

Added tag v0.6.23 for changeset facaf2fc96e1

115:facaf2fc96e1 on 2019-11-07 16:45:49 -0500 EST by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.6.23

add some login options more convenient for api usage

114:12865dfda1b7 on 2019-11-05 01:22:19 -0500 EST by Ted Unangst <tedu@tedunangst.com>

add a fifo limit to caches

113:095ea1137c29 on 2019-11-01 01:43:54 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.6.22 for changeset 5780b92df327

112:5780b92df327 on 2019-11-01 01:43:44 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.6.22

css is probably not going anywhere

111:fd4ff81ec196 on 2019-10-30 16:11:36 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

add cancellation to gates

110:1fe76207aea0 on 2019-10-29 13:36:19 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.6.21 for changeset 47bfb98ba0e3

109:47bfb98ba0e3 on 2019-10-29 13:36:13 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.6.21

add some functions for rate limiting

108:72fb21b3b6bd on 2019-10-28 23:01:45 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.6.20 for changeset 981b32625f50

107:981b32625f50 on 2019-10-28 23:01:38 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.6.20

allow still holding cache lock after get

106:d3e51fec24a0 on 2019-10-25 17:39:10 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.6.19 for changeset 899fbc007b7d

105:899fbc007b7d on 2019-10-25 16:58:37 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.6.19

exclude users with negative ids

104:afaa09d2c3bd on 2019-10-25 14:03:10 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

add a few extra functions for common use

103:396ff269b458 on 2019-10-24 18:51:17 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Parent: 98:88a41a4c4c83

m

102:799324f0d0c1 on 2019-10-24 17:35:39 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

can avoid the io.writestring indirection by using better interface

101:70d0eb8029dc on 2019-10-24 17:17:20 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

rework escaping slightly

100:26a4f8700490 on 2019-10-24 17:14:36 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

add an fprintf function too

99:9247ab251a55 on 2019-10-24 16:38:58 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Parent: 97:f2b681c8487b

switch array to map of tags

98:88a41a4c4c83 on 2019-10-23 18:02:07 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

add a link to a more complete syntax highlighter

97:f2b681c8487b on 2019-10-22 02:01:34 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.6.18 for changeset f994228c4e25

96:f994228c4e25 on 2019-10-22 02:01:26 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.6.18

don't need a constructor for filters

95:3d556a1d304e on 2019-10-21 17:02:44 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.6.17 for changeset 7bf3be1257a9

94:7bf3be1257a9 on 2019-10-21 00:40:26 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.6.17

remove a debug print that should not be here

93:c67754906748 on 2019-10-21 00:39:56 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

add some comments and clear up exported interfaces

92:50662cb0b19b on 2019-10-20 15:16:47 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

highlight the key parts of a diff

91:28dfe897a097 on 2019-10-19 21:32:39 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.6.16 for changeset 8acd97b6c00c

90:8acd97b6c00c on 2019-10-19 21:32:15 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.6.16

don't return csrf for stale cookies

89:acc9aef96fb3 on 2019-10-19 21:31:17 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

need to update expiry here too

88:fa4178b59536 on 2019-10-19 21:30:15 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Parent: 86:d5e1000d25cb

m

87:e1cc47b7b7e8 on 2019-10-19 21:27:45 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Parent: 83:32572a50cbfd

expire the cache to prevent too long lived cookeis

86:d5e1000d25cb on 2019-10-19 21:02:56 -0400 EDT by tedu@tedunangst.com

Added tag v0.6.15 for changeset 92553a18547c

85:92553a18547c on 2019-10-19 21:02:22 -0400 EDT by tedu@tedunangst.com
Tagged: v0.6.15

libraries should panic, not fatal

84:ad7fba1d5eae on 2019-10-19 21:01:55 -0400 EDT by tedu@tedunangst.com

have cookies expire in the database too

83:32572a50cbfd on 2019-10-16 18:02:32 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.6.14 for changeset a226c5cac14a

82:a226c5cac14a on 2019-10-16 18:02:24 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.6.14

filter out empty spans, which occur a lot...

81:c6a73be6ca8f on 2019-10-16 02:26:05 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.6.13 for changeset d574bc4b3169

80:d574bc4b3169 on 2019-10-16 02:25:45 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.6.13

simplify junk interface

79:a18dd5d093bf on 2019-10-16 00:37:48 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

if no sighdr, return quick error

78:d4bbb6935778 on 2019-10-15 23:31:32 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.6.12 for changeset 37bf98946cf4

77:37bf98946cf4 on 2019-10-15 23:28:39 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.6.12

Added tag v0.6.11 for changeset dd0c42572af3

76:dd0c42572af3 on 2019-10-15 23:28:05 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.6.11

no, go 1.11 is good enough

75:ccc164e7130f on 2019-10-15 23:09:48 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.6.11 for changeset a328bd37eb8b

74:a328bd37eb8b on 2019-10-15 23:09:31 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.6.11 v0.6.11

add an invalidator

73:8b4cddcd4709 on 2019-10-12 19:19:16 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.6.10 for changeset 4efa4ed36d9d

72:4efa4ed36d9d on 2019-10-12 19:19:02 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.6.10

+cache

71:8ab0502de2d3 on 2019-10-12 19:13:22 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

use cache interface for saving valid cookies

70:ee65b29cab43 on 2019-10-12 19:12:58 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

add cache interface

69:5d29da7325f7 on 2019-10-12 19:00:56 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

note that cookies don't expire out of db

68:04ade28e0441 on 2019-10-12 18:59:20 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

setpassword function

67:8bc9dbb3baab on 2019-10-12 15:15:35 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

add sprintf function

66:03fd211862e6 on 2019-10-10 00:34:34 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.6.9 for changeset 92c89db5ed45

65:92c89db5ed45 on 2019-10-10 00:34:23 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.6.9

mention synlight

64:3728075a12a6 on 2019-10-10 00:33:23 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

allow spans to have classes

63:b7094d8a9775 on 2019-10-10 00:32:44 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

add a syntax highlighter

62:ff94d9ce327f on 2019-10-04 21:30:42 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

add parens for clarity

61:0f523aab1df3 on 2019-09-29 23:22:21 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

small style fix

60:c1721a6e15d1 on 2019-09-29 22:48:08 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.6.8 for changeset 993babb37dce

59:993babb37dce on 2019-09-29 22:47:56 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.6.8

unspace selectors... hack

58:fab62d025d3f on 2019-09-27 22:26:20 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

notes about what's here

57:4d0edaa79f1e on 2019-09-27 22:00:22 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

don't need a print

56:5b2670b3f4c3 on 2019-09-27 21:58:30 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.6.7 for changeset 9ca8f702932b

55:9ca8f702932b on 2019-09-27 21:58:20 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.6.7

rewrite css parser... still fake, but workable

54:da840fb18c74 on 2019-09-19 00:47:13 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.6.6 for changeset 83ab95be7479

53:83ab95be7479 on 2019-09-19 00:46:56 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.6.6

finish up imager support

52:c84d909ed619 on 2019-09-19 00:39:30 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

custom imager function

51:a7efbc2d4598 on 2019-09-04 13:16:43 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.6.5 for changeset a8442b038e6d

50:a8442b038e6d on 2019-09-04 13:16:34 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.6.5

round up sizes so we don't lose chroma

49:640e58736a6b on 2019-09-04 13:06:40 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

remove fluff

48:840e89447e29 on 2019-09-04 12:47:36 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

function should be on filter

47:166193af359d on 2019-09-04 12:41:34 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

add baby sass

46:9dfdfb229dab on 2019-09-03 01:17:24 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

allow hr

45:4e77f631f448 on 2019-08-22 00:40:11 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.6.4 for changeset faa697874c17

44:faa697874c17 on 2019-08-22 00:40:01 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.6.4

handle twitter emoji replacements in the text collector too

43:fed4cb7f69b1 on 2019-08-07 11:58:40 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.6.3 for changeset 72725a8d0822

42:72725a8d0822 on 2019-08-07 11:58:31 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.6.3

make limit configurable

41:501f8b7ab318 on 2019-08-07 11:54:23 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

limit images to something that doesn't seem too huge

40:c0966309bff6 on 2019-07-31 18:13:16 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.6.2 for changeset 79cdd25f3022

39:79cdd25f3022 on 2019-07-31 18:13:05 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.6.2

should be more efficient to do gamma correction once per pixel

38:fdd46eda0776 on 2019-07-28 21:54:41 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.6.1 for changeset 87b67d5d6f79

37:87b67d5d6f79 on 2019-07-28 21:54:33 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.6.1

more hacks... handle both rotations with both endians

36:9b4b9aec3814 on 2019-07-24 21:37:27 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.6.0 for changeset a5b3ea88e1b6

35:a5b3ea88e1b6 on 2019-07-24 21:37:17 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.6.0

add an httpsig library

34:a99d17e56ea2 on 2019-07-16 03:02:18 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.5.6 for changeset e5b9ca3eb5b7

33:e5b9ca3eb5b7 on 2019-07-16 03:00:41 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.5.6

add a comment about retry

32:d23204d644ed on 2019-07-16 02:59:00 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

handle left and right rotations (and mixed endian?)

31:d63e69ed6778 on 2019-06-27 16:36:28 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.5.5 for changeset ea326004db15

30:ea326004db15 on 2019-06-27 16:36:16 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.5.5

backdown image for 1.11 compat

29:58a255fad998 on 2019-06-27 16:18:11 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.5.4 for changeset cce8c4a8a5ce

28:cce8c4a8a5ce on 2019-06-27 16:18:03 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.5.4

add support for webp, converting to jpeg

27:472732b7f3cb on 2019-06-11 10:13:04 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.5.3 for changeset 013147014f3d

26:013147014f3d on 2019-06-11 10:12:21 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.5.3

the most minimal of json accessor libraries

25:592b392e67b4 on 2019-06-05 03:42:01 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.5.2 for changeset ca3ea95ca9db

24:ca3ea95ca9db on 2019-06-05 03:41:51 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.5.2

export a few more functions

23:1d598481d607 on 2019-06-05 02:06:13 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.5.1 for changeset 5f55cfb9ca90

22:5f55cfb9ca90 on 2019-06-05 02:06:04 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.5.1

much better handling of palette images.
don't try to shrink, just convert to rgba and then redo.

21:b78a6666b1db on 2019-05-31 04:18:13 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.5.0 for changeset a172827ea80a

20:a172827ea80a on 2019-05-31 04:18:04 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.5.0

params for image vacuum

19:1e508baa6b79 on 2019-05-28 20:32:57 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

comments for public functions

18:e61cc9e39687 on 2019-05-17 19:24:40 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.4.4 for changeset 6ffe12cf09e9

17:6ffe12cf09e9 on 2019-05-17 19:24:30 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.4.4

copy latest html filter from honk

16:631f79888200 on 2019-05-15 16:07:34 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.4.3 for changeset 3e28aebfff4c

15:3e28aebfff4c on 2019-05-15 16:07:23 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.4.3

quick hack to rotation correct phone pics

14:bf84a1fe6785 on 2019-05-14 19:10:49 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.4.2 for changeset a6d3d3e2e979

13:a6d3d3e2e979 on 2019-05-14 19:10:13 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.4.2

add a function to change passwords

12:8361865de05d on 2019-05-07 14:14:00 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.4.1 for changeset 403730a84d67

11:403730a84d67 on 2019-05-07 14:13:48 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.4.1

do something lame to resize unknown image formats

10:d8d9a953d6a1 on 2019-05-04 22:54:37 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.4.0 for changeset e59153f1d289

9:e59153f1d289 on 2019-05-04 22:54:29 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.4.0

add rss

8:0d605c8092ab on 2019-05-04 18:02:59 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.3.0 for changeset 79c4fe728c3d

7:79c4fe728c3d on 2019-05-04 17:41:19 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.3.0

support RGBA in addition to NRGBA

6:209ed21b2aaa on 2019-05-03 12:09:17 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

convert gif to png

5:5ac05e44fa80 on 2019-05-03 00:23:45 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

go fmt

4:389fc89d0bca on 2019-05-02 23:47:58 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

vacumm image code

3:f6950cf86cb1 on 2019-04-29 13:13:02 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.2.0 for changeset 3e8039dcc3ad

2:3e8039dcc3ad on 2019-04-29 13:12:36 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.2.0

add templates code

1:820210c63f98 on 2019-04-24 23:45:28 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.1.0 for changeset df7c84bf0c2f

0:df7c84bf0c2f on 2019-04-24 23:45:04 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: v0.1.0

let's try making a webs library