Azareal
f502bf4f53
subresource integrity
2020-07-31 15:33:29 +10:00
Azareal
26ad61057a
cover dynamically loaded static resources
...
cover default noavatars
2020-07-31 09:40:14 +10:00
Azareal
43d72e6f3b
wip allow for more cdns
...
add res template function
add ExtraCSPOrigins config setting
add StaticResBase config setting
skip flush directives
2020-07-30 18:10:29 +10:00
Azareal
be609b47ce
new modtools ux
...
- don't allow users to select things they shouldn't be able to
- hide mod options the user doesn't have access to
- highlight options which can be selected
- stop counting topics twice when they're clicked on multiple times
fix modtools not opening in some cases
fix command orders in batch files
fix global.js's getExt()
reduce boilerplate
2020-07-19 13:26:56 +10:00
Azareal
96b61078c5
hide modtool options we don't have access to on forum and topics pages
...
use hookgen for route_topic_list_start hook
add route_topic_list_mostviewed_start hook
2020-07-15 18:27:36 +10:00
Azareal
5bfc5e3e40
unit tests for profile comment visibility
2020-07-15 16:59:47 +10:00
Azareal
b1af963916
Add per-user profile comment visibility settings.
...
Honor user blocks in ProfileReplyEditSubmit.
Reduce boilerplate.
Update account_privacy_profile_comments phrase.
Add account_privacy_profile_comments_public phrase.
Add account_privacy_profile_comments_registered phrase.
Add account_privacy_profile_comments_self phrase.
Add account_privacy_enable_embeds phrase.
Add profile_comments column to users table.
Add who_can_convo column to users table.
You will need to run the updater / patcher for this commit.
2020-07-15 07:50:29 +10:00
Azareal
d1f977154f
guest profiles should not exist
...
don't load profile resources on error
2020-06-30 12:27:04 +10:00
Azareal
5ac7739648
Config.NoEmbed should override user preferences.
2020-06-29 21:40:52 +10:00
Azareal
572ff8e073
token based anti-spam for when javascript is disabled
...
reduce the number of allocs when generating templates
2020-06-19 16:38:32 +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
5073c78364
text attachments for cosora and shadow
...
reduce bytes and boilerplate
2020-06-08 21:31:45 +10:00
Azareal
a8702b617f
initial AText
2020-06-08 17:04:47 +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
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
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
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
e222b3970a
eliminate redundant string allocs in ViewTopic
...
save bytes
2020-05-11 17:28:18 +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
faf215f388
try speeding up static files with brotli
...
track ref routes for a bit to debug them
hit more bots with MicroNotFound
2020-04-13 13:28:52 +10:00
Azareal
d1506d8567
avoid full page load for /topics/
...
save bytes
2020-04-11 18:12:37 +10:00
Azareal
f6c5109fc7
hover styling for topic list moderation
...
add megaindex user agent
reduce boilerplate and save bytes
hide elapsed on nox mobile
2020-04-09 18:35:43 +10:00
Azareal
22af6f19cd
avoid amending reglogs on register
2020-04-05 07:27:20 +10:00
Azareal
d3b2721746
optimise attach exts
...
optimise PrepResources
2020-03-28 09:10:54 +10:00
Azareal
cd66782129
push content type for opensearch
...
don't insert a last ip on installation
save bytes and allocs in the parser
add attach parser test cases
more benchmarks
2020-03-28 07:01:44 +10:00
Azareal
b53577a126
fix MicroNotFound
...
reduce allocs in cdn push
2020-03-27 22:00:29 +10:00
Azareal
e68392387a
fix shadowing issue in login
2020-03-27 09:30:59 +10:00
Azareal
a47a0318a7
increase the number of agents on the ua chart
...
optimise mfaVerifySession
reduce boilerplate for populating the menu items
shorten ua phrases for semrush and aspiegel
rename account_username_updated phrase to account_name_updated
2020-03-24 12:07:30 +10:00
Azareal
ade8f82af7
add python and go user agents.
...
add new bot class for python, go and curl to reduce resource usage.
don't push canonicals for loggedin users
try to avoid pushing google site verify when it isn't necessary
give ahrefs the semrush treatment
2020-03-22 14:37:45 +10:00
Azareal
ebe93df622
localise yes / no on-off setting toggles
2020-03-21 17:46:43 +10:00
Azareal
22ec566a2c
add website datenbank user agent
...
reduce redundancy and fix sublties in StaticFile()
2020-03-21 17:44:33 +10:00
Azareal
3d7f04b92b
tweak renderTemplate3 for performance
2020-03-19 09:50:57 +10:00
Azareal
6a7b8fd3ee
map msnbot to bing and avoid bytes for ahrefs too
2020-03-19 07:21:06 +10:00
Azareal
7d25937352
avoid csp for semrush
2020-03-18 19:45:36 +10:00
Azareal
b66a494f1c
Revert "Revert "will a pointer make this faster...?""
...
This reverts commit 501bcc2425
.
2020-03-18 19:21:34 +10:00
Azareal
501bcc2425
Revert "will a pointer make this faster...?"
...
This reverts commit 8e414486b8
.
2020-03-15 21:34:57 +10:00
Azareal
8e414486b8
will a pointer make this faster...?
2020-03-15 17:06:44 +10:00
Azareal
20ce00f434
avoid unneccesary OGDesc allocs
2020-03-15 12:00:29 +10:00
Azareal
8d19048c0d
reduce bytes used on semrush
2020-03-14 12:09:18 +10:00
Azareal
4d8858b846
don't do server pushes for unneccesary resources on ajax topics
...
save bytes in init.js
2020-03-13 19:02:28 +10:00
Azareal
bfea6b740f
add cliqz, blexbot, curl user agents
...
add a /static/ redirect for the slower bots x.x
tweak slack, facebook ua phrases
avoid more allocs for ajax topic
2020-03-13 16:37:18 +10:00
Azareal
372508bf98
fix poll results on ajax topic and eliminate unnecessary allocs for resources that aren't used
2020-03-13 12:56:23 +10:00
Azareal
d43bffdec5
experiment with ajax load for topic
...
track route perf for BadRoute
2020-03-11 13:26:33 +10:00
Azareal
aa303dc14d
use empty string instead of 0 for pruned ips
...
eliminate a WriteRune call in BuildAlertSb
2020-03-09 17:11:58 +10:00