Commit Graph

21 Commits

Author SHA1 Message Date
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
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
ae83a1c701 update brotli and mssql deps
add a couple more canonemail test cases
2020-06-23 06:26:10 +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
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
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
e19e478e32 try to iron out more ajax topic kinks 2020-03-11 19:13:05 +10:00
Azareal
bba83ef727 save bytes 2020-03-10 07:41:17 +10:00
Azareal
28f210371e try to optimise routeAPI 2020-03-09 15:16:44 +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
35ddc89009 Optimise the database layer.
Refactor database adapters.
Experimental last ip cutoff.

More parser test cases.
2020-01-01 07:57:54 +10:00
Azareal
e9cf06a5f2 More jpeg file extensions. 2019-10-30 18:16:19 +10:00
Azareal
01d956f9d1 Encode tiffs too.
Update file extension lists.
Update mod floater.
2019-10-30 13:52:04 +10:00
Azareal
218e177a29 Shorten more things. 2019-09-01 08:59:00 +10:00
Azareal
89ca5ee823 langf now works in transpiled templates, albeit a little inefficiently.
Removed the quick_topic.add_poll_option phrase.
Added the quick_topic.add_poll_option_first phrase.
Changed the topic.reply_add_poll_option phrase.
Added the topic.reply_add_poll_option_first phrase.
2019-06-17 09:36:31 +10:00
Azareal
89c8f4e775 Use a client template for poll input.
Tweak the poll input phrase.
Increase the padding on .pollinput for Nox.
2019-06-16 17:26:31 +10:00
Azareal
d0e40ae81b Split some of the member only logic out of global.js and into member.js
Moved the script in register.html into an external file.
Client hooks can now be dynamically created thus reducing the burden on init.js to pre-define all of them.
The current user is now passed in as an argument to the action_end_create_topic hook.
Shorted more common. to c.

Added the almost_end_init client hook.
2019-04-25 16:02:51 +10:00