Commit Graph

196 Commits

Author SHA1 Message Date
Azareal
f95c4c12e6 double the number of cached noavatars 2020-11-09 16:12:08 +10:00
Azareal
e47c531e5a most viewed now works on dynamically loaded topic lists
show opts on empty forums
2020-08-21 08:18:54 +10:00
Azareal
2211d2ef11 link forums page topics to last page 2020-08-19 15:39:45 +10:00
Azareal
26ad61057a cover dynamically loaded static resources
cover default noavatars
2020-07-31 09:40:14 +10:00
Azareal
d4fd85f75c fix attachment uploading 2020-07-26 15:14:08 +10:00
Azareal
101b045000 bulk mod: cancel bulk mod mode
bulk mod: fix init binding
bulk mod: cancel bulk mod mode during page transitions
js: more logging
js: add before_init_bind_page hook
js: add end_unbind_page hook
js: change end_bind_page to init hook
js: change end_bind_topic to init hook
nox: add padding to no alerts alert
phrases: add topic_list.cancel_mod
2020-07-23 21:13:55 +10:00
Azareal
e814e85daa fix alerts erroring when you don't have any
reset mod floater status on page bind
alias console.log with log
reduce boilerplate
2020-07-23 14:02:16 +10:00
Azareal
afc9f54e5e bulk mod: unselect items by clicking them again. 2020-07-19 17:22:49 +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
eeb932bd4b tempfix csp topic transition bug 2020-07-15 08:01:11 +10:00
Azareal
ae83a1c701 update brotli and mssql deps
add a couple more canonemail test cases
2020-06-23 06:26:10 +10:00
Azareal
e222b3970a eliminate redundant string allocs in ViewTopic
save bytes
2020-05-11 17:28:18 +10:00
Azareal
ef7af76e91 experiment with fixing ajax topics link 2020-05-09 09:15:44 +10:00
Azareal
952a58176b avoid loading useless files into memory 2020-04-13 14:17:22 +10:00
Azareal
d1506d8567 avoid full page load for /topics/
save bytes
2020-04-11 18:12:37 +10:00
Azareal
3d87ad8895 accelerate other view topic entrypoints 2020-04-11 07:48:30 +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
709b0d5541 save bytes 2020-04-05 13:18:36 +10:00
Azareal
545a29a8cf fix alert cache checks 2020-04-04 13:01:34 +10:00
Azareal
d2fc2e26ea debug code 2020-04-04 12:58:07 +10:00
Azareal
3114c5afdc reduce page switch overhead 2020-04-04 12:51:31 +10:00
Azareal
943ab18761 avoid sending the same bytes over and over when the alert list hasn't changed
save bytes in activity feed queries
save bytes in scripts
2020-04-04 11:25:59 +10:00
Azareal
581f86eeba shorten ucache to uc in misc test
shorten a few bits of html
2020-04-02 17:39:49 +10:00
Azareal
bc16b724c2 avoid loading as many alerts outside of the bounding box 2020-03-31 22:33:40 +10:00
Azareal
42f965d147 save bytes in inputs 2020-03-23 15:31:17 +10:00
Azareal
cdaeb477a2 fix x-res topic load bug 2020-03-23 11:42:42 +10:00
Azareal
0635627950 minify menu templates
save bytes in init.js
2020-03-23 11:37:35 +10:00
Azareal
a3d6f1c844 minify interpreted templates
save bytes in init.js
2020-03-23 11:18:10 +10:00
Azareal
a668cd296b save bytes in the client templates
rename template file and functions to reduce bandwidth usage
replace x-loggedin with theoretically faster x-mem
remove redundant check in ua loop
move extraData initialisation down to where it's needed
2020-03-23 09:14:08 +10:00
Azareal
f86346ba22 reduce boilerplate in the client template builder
save a few more bytes in client templates
shave down img tags and global.js mini parse
remove comment in topic alt userinfo
2020-03-22 12:37:32 +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
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
17c8f7604a rename avatar to img to save a few bytes in alerts 2020-03-12 13:29:19 +10:00
Azareal
30b68945b4 guarantee more space for alerts 2020-03-12 11:08:56 +10:00
Azareal
c7c3dcead2 save bytes 2020-03-11 19:28:00 +10:00
Azareal
e19e478e32 try to iron out more ajax topic kinks 2020-03-11 19:13:05 +10:00
Azareal
d3336245d5 fix quoting on ajax topic load
apply #back classes properly on ajax topic load
2020-03-11 17:08:27 +10:00
Azareal
d43bffdec5 experiment with ajax load for topic
track route perf for BadRoute
2020-03-11 13:26:33 +10:00
Azareal
bba83ef727 save bytes 2020-03-10 07:41:17 +10:00
Azareal
42b38ae3d8 save bytes 2020-03-09 20:37:41 +10:00
Azareal
28f210371e try to optimise routeAPI 2020-03-09 15:16:44 +10:00
Azareal
f55a7a23ba add haosou, proximic and mail_ru user agents
add pre_global js hook
try to fix archive.org ua patching
don't word split uas at _
2020-03-08 10:50:23 +10:00
Azareal
670b6186b5 avoid loading alerts in the panel in nox 2020-03-07 09:00:35 +10:00
Azareal
1a17190a2d fix typo 2020-03-06 21:06:44 +10:00
Azareal
d2828471cd optimise www redirect check
minor init.js optimisation
avoid gzip for empty obj in alerts endpoint
2020-03-06 13:07:28 +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
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
Azareal
b5fa9c69f7 Let users unlike posts.
Hide like buttons on own posts for Tempra Simple and Shadow themes too.
fix like visual ui.
fix topic.Unlike err return.

Add topic.minus_one phrase.
2020-01-31 20:48:55 +10:00
Azareal
69a2430e5a Add option to delete all of a user's posts.
Add limited dynanicism to langf.
Eliminate a few queries when updating user stats.
Minor clean-up.

Namespace the profile language strings.
2020-01-14 15:07:00 +10:00
Azareal
35ddc89009 Optimise the database layer.
Refactor database adapters.
Experimental last ip cutoff.

More parser test cases.
2020-01-01 07:57:54 +10:00