Commit Graph

350 Commits

Author SHA1 Message Date
Ted Unangst 40540438d3 add an api command to gethonks 2019-11-12 01:09:08 -05:00
Ted Unangst 528e768278 avoid some unnessary requests by fully processing what we get 2019-11-11 12:03:00 -05:00
Ted Unangst 615b5367d8 also handle sigterm 2019-11-11 00:00:05 -05:00
Ted Unangst 3ed61ab9bf make the api a touch more useful 2019-11-10 19:33:40 -05:00
Ted Unangst 9e6a0c7581 don't read more than 1MB of json 2019-11-10 17:21:49 -05:00
Ted Unangst ed682de765 cache followers collection too to reduce garbage 2019-11-10 17:01:28 -05:00
Ted Unangst d74393e323 remember if preview is an update 2019-11-09 18:44:02 -05:00
Ted Unangst d8f6060163 better quick rename needs to be earlier for consistency 2019-11-09 16:33:34 -05:00
Ted Unangst 8a6eaf5fe1 move the memory intensive and sometimes fragile image code
to a special backend process
2019-11-09 02:15:15 -05:00
Ted Unangst 02f73018ab rework version slightly 2019-11-08 21:15:40 -05:00
Ted Unangst a7fae95682 add sensors to the about page 2019-11-08 19:11:37 -05:00
Ted Unangst 4b9cdf912b make sure everything is saved before the end of the world 2019-11-08 17:43:32 -05:00
Ted Unangst cb4fe912ab save fetches to track log in database 2019-11-08 16:22:05 -05:00
Ted Unangst eb7af9838d off by an amount 2019-11-08 15:26:41 -05:00
Ted Unangst 564d618061 move tracker to goroutine 2019-11-08 15:14:11 -05:00
Ted Unangst 797685377d initial steps towards fetch tracking 2019-11-08 14:50:57 -05:00
Ted Unangst 307d23e3d2 make /first page work as designed 2019-11-08 13:47:25 -05:00
Ted Unangst 12d6e57d73 add a limited /api for the robotrons 2019-11-07 16:50:37 -05:00
Ted Unangst 0829485900 make it 40 honks per collection 2019-11-06 21:51:38 -05:00
Ted Unangst d6b3e0d910 can skip some rsa work if we know we don't care about the result 2019-11-05 01:03:23 -05:00
Ted Unangst 8bd4136bdc add a quick version check until release machinery gets sorted 2019-11-01 17:36:04 -04:00
Ted Unangst 79fd165948 decouple files from "." and allow data and view to live anywhere 2019-11-01 15:48:31 -04:00
Ted Unangst 1743371507 let's abort the scss like experiment. css custom properties will carry us. 2019-11-01 01:57:32 -04:00
Ted Unangst 0a04051c42 allow pdf attachments. serious business only. 2019-10-31 03:19:15 -04:00
Ted Unangst 7eee7d7600 check for the dreaded double bonk 2019-10-30 17:31:48 -04:00
Ted Unangst 40fb10d25a don't do work for stale requests 2019-10-30 17:23:02 -04:00
Ted Unangst 5604522c54 markdown and emus in subject. naturally. 2019-10-30 17:14:27 -04:00
Ted Unangst ea2ea2d94c there's always a funner name to be found 2019-10-30 03:39:56 -04:00
Ted Unangst 35629a0920 real world indicates we need to go farther back... 2019-10-29 19:23:07 -04:00
Ted Unangst c20f7e7eff use a flag for the untagged honks 2019-10-29 19:14:41 -04:00
Ted Unangst 209a7f0b4f redo glow check. sometimes first one isn't visible 2019-10-29 17:56:21 -04:00
Ted Unangst f97692c875 glow the selected honk if not first 2019-10-29 16:00:41 -04:00
Ted Unangst 0731de07fa fix another botched honker update stmt 2019-10-29 14:18:01 -04:00
Ted Unangst 36d7ebe8ae convert user options to json before we add any more 2019-10-29 01:00:38 -04:00
Ted Unangst d4cc995044 need to clear cache at least to make it work 2019-10-28 23:16:23 -04:00
Ted Unangst 71b204db5e option to desub part of a thread. somewhat suspect implementation... 2019-10-28 23:09:37 -04:00
Ted Unangst f7d33094fe don't think caching helps here 2019-10-28 16:17:53 -04:00
Ted Unangst c9aaab4869 fix some format string mismatches 2019-10-28 16:03:32 -04:00
Ted Unangst 3907a3a611 need to copy a few more properties to bonks 2019-10-28 15:49:06 -04:00
Ted Unangst dd048cc9ba include hash in hashtag collection name 2019-10-28 15:40:13 -04:00
Ted Unangst d707dda73c fix a few queries missing new argument 2019-10-28 14:58:18 -04:00
Ted Unangst 32cb834d45 move test down where it belongs 2019-10-28 14:50:50 -04:00
Ted Unangst 22ead8823c a few fixes for hashtag honkers 2019-10-27 01:02:50 -04:00
Ted Unangst 64c45abc74 reduce nesting with early returns 2019-10-26 19:17:46 -04:00
Ted Unangst f502872a48 tighten up some of the new honker handling 2019-10-26 19:13:27 -04:00
Ted Unangst 8c1d7ea5a2 allow hashtags as honkers with combos 2019-10-26 18:55:39 -04:00
Ted Unangst 58292a808c some code towards enabling following a collection 2019-10-26 18:31:42 -04:00
Ted Unangst 077e2570d0 not sure this works, but untested code to handle collection follow 2019-10-25 20:31:07 -04:00
Ted Unangst 3f67140c76 rework delivery and key loading to use userid 2019-10-25 18:46:27 -04:00
Ted Unangst d07366f6fe expose ontology as ap collection 2019-10-25 17:59:30 -04:00
Ted Unangst e1add4f012 can simplify a bit with new functions 2019-10-25 17:44:46 -04:00
Ted Unangst 91a7a93cc3 add a server actor 2019-10-25 17:31:48 -04:00
Ted Unangst 15f3beae6a some more consistency with cache control that's drifted over time 2019-10-23 17:58:45 -04:00
Ted Unangst b572c29ba7 improve editing operation wrt attachments and places 2019-10-23 00:45:12 -04:00
Ted Unangst acd96f17ee bump htfilter 2019-10-22 02:02:36 -04:00
Ted Unangst 054aa15a17 composition support for inline images 2019-10-22 00:19:31 -04:00
Ted Unangst 37fd41892e make it possible for filters to expire 2019-10-21 02:28:35 -04:00
Ted Unangst 9d89310be0 style consistency 2019-10-21 01:29:39 -04:00
Ted Unangst 95f3a714b3 repair /front link 2019-10-20 16:30:28 -04:00
Ted Unangst 47bdc1256b allow setting a few more custom messages 2019-10-20 16:28:09 -04:00
Ted Unangst 7f1d3c7339 if no tophid, retain or reset 2019-10-20 14:49:49 -04:00
Ted Unangst c0d7cee48d refresh pages using internal honkid which makes query much faster 2019-10-20 14:36:55 -04:00
Ted Unangst 9a67ed5b62 m 2019-10-19 21:15:20 -04:00
Ted Unangst 2d489e5d75 serverless redirect, in case we're testing a different hostname 2019-10-19 21:15:02 -04:00
Ted Unangst c758123933 slightly simpler 2019-10-19 15:20:47 -04:00
Ted Unangst c02a97aa68 close file 2019-10-19 15:19:04 -04:00
Ted Unangst 7e4defffd9 use templates.sprintf helper 2019-10-16 18:45:19 -04:00
Ted Unangst bae6e430d6 some cleanups 2019-10-16 02:06:53 -04:00
Ted Unangst fcd4170bb2 modestly better search, with parameters 2019-10-15 23:27:30 -04:00
Ted Unangst 77617e06fb eliminate need for js in various places 2019-10-13 22:59:02 -04:00
Ted Unangst a780bdbc11 keep the bots out of the onts 2019-10-13 18:15:30 -04:00
Ted Unangst da9dccf2fc try a bit harder to avoid duplicate requests in flight 2019-10-13 13:25:12 -04:00
Ted Unangst e5d08de8fb skip weird long tags 2019-10-13 02:04:36 -04:00
Ted Unangst 39ff5b5aa8 organize onts better 2019-10-13 01:58:01 -04:00
Ted Unangst d357480a1f convert to using library version of cache 2019-10-12 19:25:23 -04:00
Ted Unangst e0dab7207f expand honk form when editing or previewing 2019-10-12 10:38:22 -04:00
Ted Unangst 878c3c28e9 translate known actors to shortnames 2019-10-12 10:34:23 -04:00
Ted Unangst ebe7863e75 hide actions for preview until work out something better 2019-10-11 16:36:20 -04:00
Ted Unangst ba8270e97c allow saving honks for later 2019-10-11 16:03:17 -04:00
Ted Unangst d33fe29338 forgot the first class endpoint 2019-10-11 10:35:54 -04:00
Ted Unangst 262919a8aa fix image preview 2019-10-11 10:30:23 -04:00
Ted Unangst 4740bb815c add events page 2019-10-10 20:37:03 -04:00
Ted Unangst dfca8b10f0 trim spaces from most form inputs 2019-10-10 18:13:38 -04:00
Ted Unangst 04c65dcc0f oops, allow saving edit too 2019-10-09 16:16:38 -04:00
Ted Unangst 60f301cc09 can't edit bonks, but allow other edits 2019-10-09 16:12:46 -04:00
Ted Unangst f4df46080e return a teapot for sig errors 2019-10-08 02:35:51 -04:00
Ted Unangst c0f2a64983 retry key lookups don't usually seem to work 2019-10-08 02:31:27 -04:00
Ted Unangst c6d1a0928f need some osmosis in the combo hydration 2019-10-08 02:23:02 -04:00
Ted Unangst bf062066c2 make combos work when saving new honker 2019-10-08 02:21:12 -04:00
Ted Unangst 5916ae68ab fix refreshing pages with reversed order 2019-10-08 00:58:42 -04:00
Ted Unangst 87b1fe6e87 can cache outbox for a bit 2019-10-07 18:11:35 -04:00
Ted Unangst dfb0cab81f more consistency in page switching 2019-10-07 16:33:31 -04:00
Ted Unangst 8187aea4f2 cache jonker for a bit 2019-10-07 15:47:37 -04:00
Ted Unangst cd99584ffa cache users table 2019-10-07 15:29:34 -04:00
Ted Unangst 2fc3103ad4 cache jonks for AP fetches 2019-10-07 15:22:10 -04:00
Ted Unangst b1e42fdae9 use cache interface for some more things 2019-10-07 14:45:02 -04:00
Ted Unangst 02adb896ef start including servermsg in updates 2019-10-07 12:34:36 -04:00
Ted Unangst 2b2ae04c56 few tweaks to help page 2019-10-07 01:31:16 -04:00
Ted Unangst 3c2088bac9 online help facility 2019-10-07 01:25:41 -04:00
Ted Unangst 4059b207a1 revise rejection log messages 2019-10-06 22:48:23 -04:00
Ted Unangst 86f05b7166 update follow request instead of creating dupes 2019-10-06 21:57:31 -04:00
Ted Unangst 2b01dc8935 should have been sub 2019-10-06 21:50:56 -04:00
Ted Unangst df94bdb4ed allow renaming shortnames 2019-10-06 21:45:58 -04:00
Ted Unangst 9ad6418c16 check for double subscription 2019-10-06 21:43:35 -04:00
Ted Unangst d5b99e2b9a allow resubscribing 2019-10-06 21:33:10 -04:00
Ted Unangst d38d50d143 finish up the hfcs filtering work 2019-10-06 20:26:21 -04:00
Ted Unangst 0ee127af0d fix a go vet warning 2019-10-06 15:24:28 -04:00
Ted Unangst a320b1a2a6 rework markdown module, prepare for embetterment 2019-10-06 15:01:23 -04:00
Ted Unangst e193ce6477 reorder rss a bit 2019-10-05 16:50:25 -04:00
Ted Unangst 70354077f3 little more cleanup, leave todo where we have unfinished business 2019-10-04 16:41:36 -04:00
Ted Unangst de36230cec enough of the honk filtering and censoring system (hfcs) to get going. 2019-10-04 16:30:33 -04:00
Ted Unangst f0dfb6c082 more reflection for nicer cache filling types 2019-10-04 14:08:40 -04:00
Ted Unangst 26e9a9a232 add time and place to rss feeds 2019-10-03 15:49:36 -04:00
Ted Unangst 3cd2f57f9e handle durations for times 2019-10-03 00:11:02 -04:00
Ted Unangst 99f0e73394 support inline images in received posts 2019-10-02 23:02:01 -04:00
Ted Unangst e3fdf87a00 events with start times. because... because. 2019-10-02 18:20:14 -04:00
Ted Unangst 2b9797e277 if we already have it, don't get it 2019-10-01 23:30:10 -04:00
Ted Unangst c39ed88950 jazz up honkerlinks, remove classes 2019-10-01 19:45:17 -04:00
Ted Unangst e89bff3051 rework save code to gobble up replies 2019-09-30 23:32:10 -04:00
Ted Unangst dbe8a3c55c split media into separate database. keeps main db nice and tidy. 2019-09-29 21:40:37 -04:00
Ted Unangst 0d0a5677a0 add url to places 2019-09-29 16:07:35 -04:00
Ted Unangst 409d1e9932 media skipping for naughty people 2019-09-28 17:40:24 -04:00
Ted Unangst 2cfa3a71e2 location checkins! waaahahaha 2019-09-28 00:12:50 -04:00
Ted Unangst b25fb94be2 update to use new css filtering 2019-09-27 22:00:35 -04:00
Ted Unangst f96479423f a page with no replies 2019-09-26 11:28:05 -04:00
Ted Unangst 8b600770d3 next step towards interactive page switch 2019-09-24 17:55:17 -04:00
Ted Unangst c318eaed60 for completeness, more stealthing 2019-09-24 17:03:20 -04:00
Ted Unangst 71ac199935 add combos list to menu 2019-09-24 13:52:06 -04:00
Ted Unangst 9d43354c68 cache combos between pages 2019-09-24 13:40:20 -04:00
Ted Unangst 86fb8cdfc6 don't allow posts from blocked hosts 2019-09-22 15:36:06 -04:00
Ted Unangst 6ea1f7bfa0 rework stealth mode 2019-09-21 18:20:50 -04:00
Ted Unangst 58395536d1 start handling js like an asset 2019-09-18 22:17:50 -04:00
Ted Unangst 2d19f53cb8 return after redirect 2019-09-18 18:30:43 -04:00
Ted Unangst 234f4b2dad more flexibility in naming 2019-09-18 18:30:04 -04:00
Ted Unangst 1139c2886f preview after all fixups 2019-09-18 15:30:39 -04:00
Ted Unangst 2584f31e17 save honks in markdown, convert on the fly 2019-09-18 13:46:42 -04:00
Ted Unangst aa0c99ae68 better handling of attachments during edit 2019-09-17 10:44:00 -04:00
Ted Unangst 49e944d8d2 comment the hot mess, just in case i forget 2019-09-17 10:11:10 -04:00
Ted Unangst c8c736839b people are just going to shit in our database i guess. oh well. 2019-09-17 10:00:38 -04:00
Ted Unangst 9680e472f8 allow _ in hashtag 2019-09-17 09:56:20 -04:00
Ted Unangst 2213f0e935 make sure every rows is closed 2019-09-17 09:45:02 -04:00
Ted Unangst 42ee3becde what's one more cheap hack 2019-09-16 22:02:42 -04:00
Ted Unangst 767b34b71c quick fix for dynamic pages 2019-09-16 21:55:51 -04:00
Ted Unangst 43a2394534 refactor some of the honkpage stuff 2019-09-16 21:52:48 -04:00
Ted Unangst b8df8a9b93 beta/prototype of Update 2019-09-16 18:00:13 -04:00
Ted Unangst 4d95d2290a combine delete code into a function 2019-09-16 17:00:50 -04:00
Ted Unangst ae1fff2d90 checkpoint of js load and switch 2019-09-16 15:15:32 -04:00
Ted Unangst 56141dbb6f cleanup the honk save code 2019-09-11 16:20:22 -04:00
Ted Unangst d57a633f0f save rid for bonks to track parent 2019-09-10 16:06:06 -04:00
Ted Unangst 668358da46 split the big honk.go into smaller files 2019-09-10 14:43:34 -04:00