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
1ea023bb6d
tweak uptime format on debug page
2020-02-24 21:48:16 +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
2094032ff6
or we could try this.
2020-02-24 11:37:02 +10:00
Azareal
75084fe452
fire perf counter after tmpl render
2020-02-24 11:18:54 +10:00
Azareal
0865dd4651
bump requirements up to go 1.13
...
don't forget main.go
2020-02-23 19:27:35 +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
3d1fd807d3
add RemoveIndex adapter method
...
add AddKey installer method
2020-02-21 09:55:45 +10:00
Azareal
79546715a1
add missing fulltext keys to installer
2020-02-21 09:48:09 +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
167a0edba3
add topic and attach moveto tests
2020-02-20 20:57:50 +10:00
Azareal
eec52551ba
initial poll store tests
2020-02-20 15:36:54 +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
8d38926863
deletion attachment tests
2020-02-19 18:07:59 +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
e351de0266
initial attachment tests
2020-02-19 15:12:59 +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
71f7f20c2e
fix bug where attachment manager wouldn't appear due to cached reply data
2020-02-19 12:59:54 +10:00
Azareal
4e73a6e5b2
clear cached reply data when adding or removing attachment to reply
2020-02-19 11:28:09 +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
Azareal
7e3cd48284
fix attachment deletion crash bug
...
Reduce bits of common bits in theme stylesheets.
2020-02-19 08:43:55 +10:00
Azareal
5029e6b73f
Merge pull request #70 from alrs/fix-dropped-common-errors
...
common: Fix Shadowed Errors
2020-02-19 07:59:47 +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
584cbad497
stop breaking search and filter items onto multiple lines on nox
2020-02-14 16:47:45 +10: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
Azareal
01b7a18ea9
Show avatars for 1-1 conversations in the convo list.
...
Don't show your own name in conversation titles.
Don't record the same participant in a conversation twice.
2020-02-12 19:11:27 +10:00
Azareal
9f0333ddc4
hide the create convo option on the convo list when we don't have permission for that
2020-02-12 13:08:02 +10:00
Azareal
ae2a4809ba
carry over the recipient when creating a convo via profile
...
hide the convo reply form when we don't have permission to create a reply
2020-02-11 17:01:13 +10:00
Azareal
84cdc097e7
Add UseConvosOnlyWithMod group permission.
...
Add UseConvosOnlyWithMod phrase.
Add initial convo tests.
Bar access to ConvosCreate route if we don't have the needed perms.
2020-02-11 13:13:38 +10:00
Azareal
59fb83619b
test go.mod changes
2020-02-11 09:09:38 +10:00
Azareal
459a7f0205
fix convo creation lastReplyBy default value bug
...
DefaultConversationStore.GetUser now returns ErrNoRows when there aren't any results.
2020-02-10 20:28:33 +10:00
Azareal
f83da97fb9
run group promotions on registration
...
run group promotions on activation
2020-02-09 23:48:33 +10:00
Azareal
f1d3e29409
add phrases for group promotion registered times
...
rename panel_group_promotions_level_prefix phrase to panel_group_promotions_row_level_prefix
rename panel_group_promotions_posts_prefix phrase to panel_group_promotions_row_posts_prefix
rename panel_group_promotions_delete_button phrase to panel_group_promotions_row_delete_button
add panel_group_promotions_row_registered_minutes phrase
add panel_group_promotion_registered_months_suffix phrase
add panel_group_promotion_registered_days_suffix phrase
add panel_group_promotion_registered_hours_suffix phrase
2020-02-09 20:38:53 +10:00
Azareal
b6931fe16a
Add registered time as a parameter for group promotions.
...
Run group promotions on group change.
Run group promotions on registration.
Load the CreatedAt field when users are loaded.
Set the default for last_ip properly.
Fix the default values in the group promotion form.
Add initial group promotion tests.
Add panel_group_promotion_registered_for phrase.
Add the registeredFor column to the users_groups_promotions table.
You will need to run the updater / patcher for this commit.
2020-02-09 20:00:08 +10:00
Azareal
e37c98eaa1
cache default noavatar strings to avoid allocs
2020-02-07 22:27:33 +10:00
Azareal
812471d15f
add topic counts to the search and filter widget
2020-02-07 11:51:37 +10:00
Azareal
158b1de7bc
travis...
2020-02-05 13:02:07 +10:00
Azareal
f858797835
code cleanup
2020-02-05 12:48:35 +10:00
Azareal
07afdd9f71
add stat_orange to nox
2020-02-05 12:44:02 +10:00
Azareal
4ae2200760
simplify ws dashboard stat push code
2020-02-05 12:29:35 +10:00
Azareal
0c1d6f0516
Add CreateProfileReply and AutoEmbed group permissions.
...
Log profile reply deletions in the moderator log.
Split the global permissions in the UI to make them easier to manage.
Experiment with showing group ID in group edit header.
Avoid loading groups multiple times for the same profile reply.
Initialise disabled IP log points to empty string rather than 0.
Add CreateProfileReply perm phrase.
Add AutoEmbed perm phrase.
Add panel_group_mod_permissions phrase.
Add panel_logs_mod_action_profile_reply_delete phrase.
2020-02-04 21:47:03 +10:00
Azareal
2178efb8f0
change text selection color for nox
2020-02-02 10:29:55 +10:00
Azareal
2e8c6e6fb6
fix deleting like alerts when unliking a reply
...
immediately delete alerts via websockets when a topic or reply is unliked
Add AidsByParams method to ActivityStream.
2020-02-01 16:56:04 +10:00