Azareal
9437561c76
Add BulkGetByName method to UserStore.
...
Add RawBulkGetByNameForConvo method to UserStore.
Add ErrSomeUsersNotFound error.
User Manager Search Experiment.
De-duplicate common user store scan logic.
Use inqbuild in BulkGetMap in UserStore.
2021-02-27 07:22:36 +10:00
Azareal
8decc0c1a8
add flif, heif, heic, bpg and opus to allowed file extensions
...
add flac web audio extension
eliminate aloocs with inqbuild and inqbuildstr
2021-02-19 13:28:20 +10:00
Azareal
b66aeac966
fix some parser corner cases
...
add more parser test cases
2021-02-19 12:51:13 +10:00
Azareal
2176147dec
fix parser tests
...
expand parser tests
2021-02-18 23:02:54 +10:00
Azareal
f2adb7dfac
add AutoLink permission
...
eliminate pointless arithmetic in the parser
possible fix for creating group promotions
add AutoLink phrase
2021-02-18 21:40:42 +10:00
Azareal
f69e077347
user manager: search by group
...
UserStore:
modify SearchOffset method signature
modify CountSearch method signature
phrases:
add panel_users_search_group
add panel_users_search_group_none
add panel_users_search_title
add missing paginator_mod template x.x
eliminate bytes here and there
2021-01-20 09:47:08 +10:00
Azareal
c9e99c075d
basic user manager search
...
reduce template sizes
add PaginatorMod struct
UserStore:
add SearchOffset method
add CountSearch method
phrases:
add panel_users_search_head
add panel_users_search_name
add panel_users_search_name_placeholder
add panel_users_search_email
add panel_users_search_email_placeholder
add panel_users_search_button
2021-01-19 08:11:30 +10:00
Azareal
74193223ee
log errors properly in ForumsOrderSubmit
...
fix tiff extensions in canResize check
reduce boilerplate
2021-01-06 16:41:08 +10:00
Azareal
74e0ce492d
Weekly Views.
...
Add avif mime extension.
Optimise skipping watched files which haven't been changed.
Block zgrab to save resources.
Reduce text and boilerplate.
Add route_topic_list_weekviews_start hook.
Add topic_list.week_views_filter phrase.
Changed footer_powered_by phrase.
You will need to run the updater / patcher for this commit.
2021-01-03 07:46:24 +10:00
Azareal
43bace814d
update .link_most_viewed properly on page transitions
...
reduce variable lengths
remove redundant thaw
2020-12-18 11:04:07 +10:00
Azareal
f27d4a4c33
working on weekly views
...
fix forum topic list not being updated on new topic
2020-12-18 08:54:44 +10:00
Azareal
ed201f1898
thaw the topic lists when a new topic is made
2020-12-18 08:26:29 +10:00
Azareal
08be6ca402
fix noavatar cap bug
2020-12-18 07:13:31 +10:00
Azareal
79055994bd
imagine if travis actually worked
2020-12-18 06:38:30 +10:00
Azareal
1e3a2f4cd6
wrap noavatar uids at 10
...
fix noavatar uid loop
n5 pngcrush
2020-11-09 16:28:14 +10:00
Azareal
b8c570c87e
vscode bug
2020-11-09 16:18:03 +10:00
Azareal
f95c4c12e6
double the number of cached noavatars
2020-11-09 16:12:08 +10:00
Azareal
fb426bda4b
add avif, flac, ac3, aac, f4v, xvid, mov, movie, qt, xpi, docx and pdf file extensions
2020-10-21 14:31:33 +10:00
Azareal
86f2b96ba0
flv file extension
...
delete lesbian spammy domain bit
2020-10-21 07:31:51 +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
a1d5248b45
alt anti-spam experiment
...
add register_account_verify_image phrase
2020-08-15 12:44:08 +10:00
Azareal
7d3085ce90
long topics should render properly again
...
try to simplify TopicsRow
2020-08-15 12:37:56 +10:00
Azareal
40783f00da
link forum list last topics to last pages
2020-08-13 13:26:02 +10:00
Azareal
9fd88bd6bc
verify Site.URL on start-up
2020-08-13 09:46:10 +10:00
Azareal
fbed07a8b4
add m4a file extension
2020-08-12 18:24:41 +10:00
Azareal
e9819389af
cover avatars with AvatarResBase config setting
2020-07-31 22:45:20 +10:00
Azareal
4606a49886
add tgz file extension
2020-07-31 15:58:17 +10:00
Azareal
4680aef783
set RefNoRef to true when using an external domain for StaticResBase
2020-07-31 15:53:33 +10:00
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
ed64b8f29b
eliminate allocs for getting static resources
...
optimise two char emoticons
add 30 parser tests
2020-07-26 14:36:40 +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
0c230e12ec
add WSUser.WriteToPageBytesMulti
2020-07-16 20:51:34 +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
32bd1a5e28
let admins reset default emojis
2020-07-15 17:05:06 +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
5ac7739648
Config.NoEmbed should override user preferences.
2020-06-29 21:40:52 +10:00
Azareal
c4f2f0df90
support youtu.be urls
...
add noscript tags for video embeds
support youtube timestamps
validate youtube video parameters
add more parser tests
2020-06-25 17:46:09 +10:00
Azareal
7f1cd665ca
fix csps for embeds being reset by next post
2020-06-25 12:36:06 +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
195b41cb79
stop suspicious email check breaking optional emails
2020-06-19 14:22:41 +10:00
Azareal
2c220c47df
docs for weakpass.json
...
grammar
add a weakpass literal
2020-06-19 13:03:10 +10:00
Azareal
3efd887b1a
cover common mutations of literal definitions
...
add seven char weak password definitions to take advantage of mutations
avoid majority of the weak password logic for really long passwords
2020-06-18 13:37:05 +10:00
Azareal
08d5e2e0d8
add more weak password definitions
...
move the weak password logic to it's own file
add another weak password test case and split the test function
2020-06-18 12:39:21 +10:00
Azareal
f0c9544af6
make it easier to define weak password definitions
...
add tests for weak passwords
make it easier to check values of errors returned from weak password
loosen weak password requirements for long passwords
reduce boilerplate when loading json files
only check for email in passwords when it is longer than two chars
more canonemail tests
2020-06-18 08:03:36 +10:00
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
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