Azareal
8d19048c0d
reduce bytes used on semrush
2020-03-14 12:09: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
aa32bd335c
try to avoid as many upfront gzip allocs to avoid wasting resources when they're not needed
...
avoid gzip for guests on routeAPI
2020-03-12 16:52:26 +10:00
Azareal
17c8f7604a
rename avatar to img to save a few bytes in alerts
2020-03-12 13:29:19 +10:00
Azareal
61688a0c6d
improve efficiency for small static files
2020-03-12 13:00:04 +10:00
Azareal
30b68945b4
guarantee more space for alerts
2020-03-12 11:08:56 +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
Azareal
28f210371e
try to optimise routeAPI
2020-03-09 15:16:44 +10:00
Azareal
b04d77d7b6
optimise topic lists by caching common qcounts for getList stmts
...
recalc forum topic counts
reduce thaw period to 3
cache top 8 forums instead of 5
optimise GetListByForum with zero topics
add Each method to ForumStore
2020-03-09 13:51:44 +10:00
Azareal
5007ddcb1e
fix tests
2020-03-08 18:10:56 +10:00
Azareal
f5c9a34fdd
simple top forum topiclist caching
...
reduce thaw period to 4
fix the _ ua bug
try using a hard period for routeAPI to avoid unneccessary churn for a return string that is unlikely to change
2020-03-08 18:04:37 +10:00
Azareal
7d2be466b3
optimise ua tracking
...
reduce number of bytes used when we don't know the lang
add more spammy domain strings
2020-03-08 14:15:27 +10:00
Azareal
f3bdfffbed
avoid allocs for guest alert etags
...
use phrase file modtime instead of instance start time for routeAPIPhrases to avoid cache churn
2020-03-07 12:59:06 +10:00
Azareal
83a2659b1c
this too x.x
2020-03-07 07:55:26 +10:00
Azareal
133c240350
experiment with range header in StaticFile
...
optimise StaticFile with StrLength
add things i forgot yesterday
2020-03-07 07:52:58 +10:00
Azareal
8f21d34964
experiment with bce in plist
2020-03-05 14:43:40 +10:00
Azareal
c31ca03a0d
use string builder in buildFlexiWhere
...
add string builder growth hints
track favicon perf
2020-03-05 09:56:45 +10:00
Azareal
28daeee702
use string builder for alert api
2020-03-04 14:31:11 +10:00
Azareal
24107aaef1
initial reduce pointer derefs and improve bce in templates
2020-03-03 23:02:46 +10:00
Azareal
2330b5bfeb
optimise topic list orderby
...
filter out forums with no topics from search queries
update go version in go.mod
2020-03-03 14:25:18 +10:00
Azareal
7c3c8dcae0
unify single forums in topic lists and forum pages with GetListByForum
...
add GetListByForum method
remove forums with topic counts of zero from filter lists
avoid locking whenever possible in route view counter
2020-03-01 16:22:43 +10:00
Azareal
b1c9e0d11c
swap TopicCountInForums's implementation out for a saner one...
...
clean up repetition in route legends
2020-02-29 17:34:38 +10:00
Azareal
ae8c27fc2d
remove redundant topiccount query in topiclist slow path
2020-02-29 15:38:30 +10:00
Azareal
46732286e5
optimise route perf tracking
...
expand route perf tracking to more routes
2020-02-29 11:10:39 +10:00
Azareal
03862d1b09
experiment with more route perf tracking
2020-02-29 09:11:07 +10:00
Azareal
c403b4a85a
optimise os tracking
...
optimise memory tracking
add panel_stats_routes_perf_head phrase
2020-02-28 15:47:43 +10:00
Azareal
ca8411a519
experimental route perf pane
...
add 1.14 to travis test list
more qutils tests
add panel_menu_stats_routes_perf phrase
2020-02-28 14:52:45 +10:00
Azareal
671134b1f3
try to fix the int max bug again
2020-02-28 11:56:06 +10:00
Azareal
4ea5e91f2d
tweak the check
2020-02-28 11:41:16 +10:00
Azareal
8db923cb6e
troubleshoot anomalous int max with stacktrace
2020-02-28 09:21:38 +10:00
Azareal
af7b6ebbcb
try to fix int max perf counter bug
2020-02-27 11:45:07 +10:00
Azareal
ea1037bd63
track favicon stats
...
experiment with tracking average route performance
temporary error route stub
optimise dumprequest
add DisableAnalytics config setting
fix double hyphens in slugs being mistaken for sql injection
more querygen tests
You wil need to run the updater / patcher for this commit.
2020-02-26 20:34:38 +10:00
Azareal
04fdf4c318
optimise agent and system counters
2020-02-25 18:12:54 +10:00
Azareal
64335cf1ef
optimise lang counter
...
optimise dumprequest
add more suspicious phrases
capture more router gen errors
2020-02-25 14:25:50 +10:00
Azareal
fb942fd100
optimise route counter
...
allow for multiple keys in mysql AddKey
add SimpleBulkInsert method
add BulkInsert acc builder
add DateOlderThanQ AccSelectBuilder method
2020-02-24 21:15:17 +10:00
Azareal
9c185cd1fd
add missing perf units
2020-02-24 18:28:43 +10:00
Azareal
459d745cb1
initial perf anaytics
...
add tasks to debug page
ignore .git on debug page for speed
add perfchunks table
Renamed phrases (changed statistics to stats):
panel_menu_stats
panel_menu_stats_posts
panel_menu_stats_topics
panel_menu_stats_forums
panel_menu_stats_routes
panel_menu_stats_agents
panel_menu_stats_systems
panel_menu_stats_languages
panel_menu_stats_referrers
panel_menu_stats_memory
panel_menu_stats_active_memory
panel_menu_stats_perf
panel_stats_views_head_suffix
panel_stats_user_agents_head
panel_stats_forums_head
panel_stats_languages_head
panel_stats_post_counts_head
panel_stats_referrers_head
panel_stats_routes_head
panel_stats_operating_systems_head
panel_stats_topic_counts_head
panel_stats_requests_head
panel_stats_memory_head
panel_stats_active_memory_head
panel_stats_spam_hide
panel_stats_spam_show
panel_stats_memory_type_total
panel_stats_memory_type_stack
panel_stats_memory_type_heap
panel_stats_time_range_one_year
panel_stats_time_range_three_months
panel_stats_time_range_one_month
panel_stats_time_range_one_week
panel_stats_time_range_two_days
panel_stats_time_range_one_day
panel_stats_time_range_twelve_hours
panel_stats_time_range_six_hours
panel_stats_post_counts_chart_aria
panel_stats_topic_counts_chart_aria
panel_stats_requests_chart_aria
panel_stats_memory_chart_aria
panel_stats_details_head
panel_stats_post_counts_table_aria
panel_stats_topic_counts_table_aria
panel_stats_route_views_table_aria
panel_stats_requests_table_aria
panel_stats_memory_table_aria
panel_stats_views_suffix
panel_stats_posts_suffix
panel_stats_topics_suffix
panel_stats_user_agents_no_user_agents
panel_stats_forums_no_forums
panel_stats_languages_no_languages
panel_stats_post_counts_no_post_counts
panel_stats_referrers_no_referrers
panel_stats_routes_no_routes
panel_stats_operating_systems_no_operating_systems
panel_stats_memory_no_memory
Added phrases:
panel_debug_tasks
panel_debug_tasks_half_second
panel_debug_tasks_second
panel_debug_tasks_fifteen_minute
panel_debug_tasks_hour
panel_debug_tasks_shutdown
panel_stats_perf_head
panel_stats_perf_low
panel_stats_perf_high
panel_stats_perf_avg
You will need to run the updater / patcher for this commit.
2020-02-23 19:08:47 +10:00
Azareal
24cef43439
fix search not working properly
...
fix missing title index properly
add search tests
roll back accidental duplicate indices
You will need to run the updater / patcher for this commit.
2020-02-21 21:42:21 +10:00
Azareal
d723895f5d
remove polls from poll cache on deletion
...
add test for poll castvote and delete
2020-02-20 21:28:49 +10:00
Azareal
887804ff54
fix attachcount not being updated properly when attachments are deleted
...
tests for attachcount changes
add fget method to attachmentstore
2020-02-20 14:32:49 +10:00
Azareal
1766d5decd
more attachment tests
...
Add UpdateLinked method to AttachmentStore.
2020-02-19 20:32:26 +10:00
Azareal
1191076c5b
stop storing poll vote ips when anti-cheat is off
...
remove the PollStore.CastVote method
2020-02-19 15:17:12 +10:00
Azareal
7fd67210d0
reduce poll ip cutoff to 90 days
2020-02-19 15:00:55 +10:00
Azareal
da3a41b51a
reduce poll ip cutoff to 180 days
2020-02-19 14:58:45 +10:00
Azareal
570569be77
avoid confusion by formatting nil errors differently in LogWarning
2020-02-19 09:21:16 +10:00
Azareal
363826624f
Reduce bandwidth usage for client templates.
...
Add js and ptmpl (stub) template functions.
Simple constant folding for true / false values in templates.
Use empty string instead of 0 for poll vote ips when DisablePollIP is enabled.
Shorten some things.
2020-02-19 09:04:14 +10:00
Lars Lehtonen
548a8bb39f
common: fix shadowed error in SQLSearcher.Query()
2020-02-18 11:21:32 -08:00
Lars Lehtonen
080a8fd615
common: fix shadowed error in SendEmail()
2020-02-18 11:16:16 -08:00
Azareal
cd7577c84c
convo alerts
...
change convo_dev phrase
change account_menu_messages phrase
change alerts_no_linked_topic phrase
change alerts_no_linked_topic_by_reply phrase
add alerts.convo_create phrase
add alerts.convo_reply phrase
add alerts_no_linked_convo phrase
2020-02-13 20:44:03 +10:00