Azareal
0254687d5b
oh
2020-06-16 13:25:38 +10:00
Azareal
bb0f6be91c
canonalize emails properly
...
shorten var names
2020-06-16 12:07:21 +10:00
Azareal
efa9b4ea70
did i not commit this? giiiiittt.
...
wider videos on cosora
2020-06-09 21:52:59 +10:00
Azareal
304c246cb2
security: stop exempting video sites in frame-src on pages which don't have video embeds
...
perf: reduce allocs in action posts
perf: avoid allocing a map and slice for single reply posts when it is liked and the post also has an attachment.
perf: use hookgen for topic_reply_row_assign hook.
perf: stop unnecessarily indirecting r in topic_reply_row_assign hook.
perf: try optimising reqUserList logic in Topic.Replies()
2020-06-09 12:04:58 +10:00
Azareal
019efc8c62
add support for niconico videos
...
tweak tempra simple text attach padding
2020-06-08 22:19:32 +10:00
Azareal
cb383240f8
tempra simple too
...
fix line wrap in attach box on themes exc cosora
2020-06-08 21:56:33 +10:00
Azareal
5073c78364
text attachments for cosora and shadow
...
reduce bytes and boilerplate
2020-06-08 21:31:45 +10:00
Azareal
8be3f79abb
improve text file attachment blocks
2020-06-08 21:13:19 +10:00
Azareal
ef97d7fb31
avoid false positives in html blocks with underscore markdown with latin word boundary detection
...
initialise markdown hooks after slice fills
2020-06-08 21:02:19 +10:00
Azareal
a8702b617f
initial AText
2020-06-08 17:04:47 +10:00
Azareal
308182cdb3
add tests for BbcodeStripTags
2020-06-08 12:35:51 +10:00
Azareal
8ef9dc8353
strip bbcode tags from ogdesc meta blocks for topics
...
add topic_ogdesc_assign hook
initialise hooks after filling slices in bbcode init
hoist poll input checks out of inner loops in CreateTopicSubmit
shorten variable names and reduce boilerplate
2020-06-08 12:18:17 +10:00
Azareal
75d1d6fcbe
add telegram, domcop, maui and alt aspiegel user agents
...
reduce boilerplate in routergen
2020-05-29 08:41:19 +10:00
Azareal
7211ed4f0e
switch the order on these
2020-05-28 18:07:13 +10:00
Azareal
72731cfe0c
try moving this down to fix upgrades
2020-05-28 18:00:24 +10:00
Azareal
db856af952
reduce boilerplate in topic routes
2020-05-27 18:54:53 +10:00
Azareal
77669d42a5
add actionSuccess function to reduce boilerplate
...
skip doPush if there is nothing to push
optimise cdnpush string building
use string builder for server push strings
2020-05-27 14:15:02 +10:00
Azareal
4eaf0c472a
snip this
2020-05-27 10:30:26 +10:00
Azareal
814eac5a95
comment out this test for now
2020-05-27 10:15:46 +10:00
Azareal
d83969edce
use hookgen for topic_create_frow_assign
...
rename header to h in CreateTopic
avoid double indirect for h for topic_create_pre_loop
2020-05-27 10:10:49 +10:00
Azareal
4683e33664
that was dumb x.x
2020-05-27 10:06:08 +10:00
Azareal
1e6aeb70d4
possible update deps fix
2020-05-27 10:03:26 +10:00
Azareal
d0bc74f58f
add cocolyze, babbar, surdotly, awesome_bot user agents
...
reduce matching in the router slightly
use hookgen for router_after_filters
use hookgen for router_pre_route
shorten ua buffer variable name
skip more symbols in initial ua loop
shorten vulnscan string
avoid unneccessary fork in ua logic
2020-05-27 07:08:13 +10:00
Azareal
6be9a25e89
fix topic create form not appearing on cosora
2020-05-27 06:26:15 +10:00
Azareal
07d478179d
implement HooksNoRet and HooksSkip
...
use hookgen for route_forum_list_start
use hookgen for forums_frow_assign
change forums_frow_assign to a noret hook
save bytes and reduce boilerplate
2020-05-26 17:53:56 +10:00
Azareal
67772f2f9a
avoid double indirect for header in simple_forum_check_pre_perms hook
...
avoid double indirect for header in forum_check_pre_perms hook
use hookgen for forum_check_pre_perms hook
2020-05-26 11:46:02 +10:00
Azareal
480ff79d6d
update startup scripts to call hookgen
...
reduce boilerplate in some older startup scripts
update advance install docs
2020-05-24 18:06:24 +10:00
Azareal
13552ee662
meta hook api
...
add route_topic_list_mostviewed_start hook
shorten some extend.go var names
2020-05-24 17:22:00 +10:00
Azareal
3ac9036366
reduce duplication in hookgen
2020-05-24 09:16:17 +10:00
Azareal
ca7c5dc8fe
wip hookgen
2020-05-24 08:24:23 +10:00
Azareal
27b43750c0
update install docs
2020-05-23 20:26:33 +10:00
Azareal
e222b3970a
eliminate redundant string allocs in ViewTopic
...
save bytes
2020-05-11 17:28:18 +10:00
Azareal
26270db429
update image, crypto and pkg/errors deps
2020-05-11 08:44:37 +10:00
Azareal
b4e7b66c28
update deps
2020-05-11 08:06:26 +10:00
Azareal
ef7af76e91
experiment with fixing ajax topics link
2020-05-09 09:15:44 +10:00
Azareal
6746c9c91b
add audio player
...
add wav, oga, ogv, ogx file extensions
2020-05-05 18:10:19 +10:00
Azareal
33c203600d
save bytes
2020-05-01 11:08:23 +10:00
Azareal
365b84c81b
allow uploads for apng and ogg.
...
add missing var
2020-05-01 07:32:34 +10:00
Azareal
afd00465d5
size the video player properly
...
save bytes
2020-04-30 16:39:24 +10:00
Azareal
c32498d543
use a video player for uploaded videos
...
optimise the parser
2020-04-30 16:28:01 +10:00
Azareal
b915131ab4
avoid writer indirects in templates
2020-04-30 13:04:52 +10:00
Azareal
ab9dc20c3c
optimise away the array on single phrase
...
use sync.Pool to optimise CompressBytesGzip()
2020-04-29 10:26:15 +10:00
Azareal
a7773d0ca2
optimise bunit
2020-04-29 09:49:26 +10:00
Azareal
5b0fcd91d1
we don't use pFrag in topic replies
2020-04-28 08:23:21 +10:00
Azareal
46a87defee
optimise topic pages
...
optimise profiles
simple nil ptr handling in template boolean expressions
2020-04-27 22:41:55 +10:00
Azareal
47d88f1744
optimise cdn push with sync pool
2020-04-21 10:08:54 +10:00
Azareal
244b75c5fe
optimise alerts with sync pool
2020-04-21 09:59:23 +10:00
Azareal
ad4763a883
use string builder pool for mysql query strings
...
get more mysql queries to use string builders
use consts instead of vars for growth hint variables
2020-04-21 09:39:35 +10:00
Azareal
c8d021d70b
serve brotli in plugin hyperdrive
...
bypass on inner in plugin hyperdrive
2020-04-14 07:09:51 +10:00
Azareal
26590c4d80
fix travis
2020-04-13 16:48:11 +10:00