gosora/common
Azareal c60118e7c4 WIP forum action code. Currently disabled.
Add Http Conn Count tracking.
Move more panel phrases into the panel namespace.
Use a string builder in hookgen.
Use Countf() in a couple of places to eliminate boilerplate.
Reduce prepared stmt boilerplate in forum store with a lambda.
Reduce prepared stmt boilerplate in topic.go with a lambda.
Reduce prepared stmt boilerplate in group.go with a lambda.
Add TestSetCreatedAt method to *Topic.
Add DateOlderThanQ method to *accDeleteBuilder and *accUpdateBuilder.
Add Stmt method to *accUpdateBuilder and *AccSelectBuilder.
Add AccBuilder interface.
Shorten variable names.
Shorten extractPerm name to ep.
Add avatar_visibility setting stub. Implementation coming in a later commit.
Don't set an IP for installer generated posts.

Add counters_perf_tick_row hook.

Add avatar_visibility phrase.
Add avatar_visibility_label phrase.
Rename forums_no_description to forums_no_desc.
Rename panel.forums_create_description_label to panel.forums_create_desc_label.
Rename panel.forums_create_description to panel.forums_create_desc.
Rename panel_forum_description to panel.forum_desc.
Rename panel_forum_description_placeholder to panel.forum_desc_placeholder.
Add panel_debug_http_conns_label phrase.
Add panel.forum_actions_head phrase.
Add panel.forum_actions_create_head phrase.
Add panel.forum_action_run_on_topic_creation phrase.
Add panel.forum_action_run_days_after_topic_creation phrase.
Add panel.forum_action_run_days_after_topic_last_reply phrase.
Add panel.forum_action_action phrase.
Add panel.forum_action_action_delete phrase.
Add panel.forum_action_action_lock phrase.
Add panel.forum_action_action_unlock phrase.
Add panel.forum_action_action_move phrase.
Add panel.forum_action_extra phrase.
Add panel.forum_action_create_button phrase.

You will need to run the patcher / updater for this commit.
2021-04-08 00:23:11 +10:00
..
alerts Alerts are now rendered via a client side transpiled template rather than being hard-coded. 2018-05-14 18:56:56 +10:00
counters WIP forum action code. Currently disabled. 2021-04-08 00:23:11 +10:00
gauth Added support for two-factor authentication. 2018-06-17 17:28:18 +10:00
meta Cascade delete attachments properly. 2020-01-31 17:22:08 +10:00
phrases avoid allocs for guest alert etags 2020-03-07 12:59:06 +10:00
templates Optimise part of fout with string builders in the template generator. 2021-03-29 06:57:49 +10:00
activity_stream.go WIP forum action code. Currently disabled. 2021-04-08 00:23:11 +10:00
alerts.go add audio player 2020-05-05 18:10:19 +10:00
attachments.go Add GetForRenderRoute to DefaultAttachmentStore. 2021-03-24 21:45:18 +10:00
audit_logs.go initial perf anaytics 2020-02-23 19:08:47 +10:00
auth.go Add per-user profile comment visibility settings. 2020-07-15 07:50:29 +10:00
cache.go Add the disk and database sections to the debug page. 2019-06-01 22:31:48 +10:00
common.go WIP forum action code. Currently disabled. 2021-04-08 00:23:11 +10:00
common_easyjson.tgo Just in case things blow up, shouldn't be necessary. 2019-06-23 16:25:03 +10:00
conversations.go WIP forum action code. Currently disabled. 2021-04-08 00:23:11 +10:00
convos_posts.go Basic conversations now work, although there is still testing and UI stuff to be done. 2019-08-20 18:44:37 +10:00
disk.go simplify the agents, forums, memory and referrer counters 2019-07-28 14:01:33 +10:00
email.go common: fix shadowed error in SendEmail() 2020-02-18 11:16:16 -08:00
email_store.go canonalize emails properly 2020-06-16 12:07:21 +10:00
errors.go Add DisableStdout config setting. 2021-04-07 12:10:05 +10:00
extend.go WIP forum action code. Currently disabled. 2021-04-08 00:23:11 +10:00
files.go subresource integrity 2020-07-31 15:33:29 +10:00
forum.go link forum list last topics to last pages 2020-08-13 13:26:02 +10:00
forum_actions.go WIP forum action code. Currently disabled. 2021-04-08 00:23:11 +10:00
forum_perms.go Experiment with eliminating allocations. 2019-10-28 17:46:14 +10:00
forum_perms_store.go WIP forum action code. Currently disabled. 2021-04-08 00:23:11 +10:00
forum_store.go WIP forum action code. Currently disabled. 2021-04-08 00:23:11 +10:00
group.go WIP forum action code. Currently disabled. 2021-04-08 00:23:11 +10:00
group_store.go WIP forum action code. Currently disabled. 2021-04-08 00:23:11 +10:00
ip_search.go Add GetForRenderRoute to DefaultAttachmentStore. 2021-03-24 21:45:18 +10:00
likes.go imagine if travis actually worked 2020-12-18 06:38:30 +10:00
menu_item_store.go Shorten some names and eliminate a few allocs. 2019-11-12 16:56:51 +10:00
menu_store.go Cascade delete attachments properly. 2020-01-31 17:22:08 +10:00
menus.go minify menu templates 2020-03-23 11:37:35 +10:00
mfa_store.go update second scratch slot properly 2020-04-02 21:00:01 +10:00
misc_logs.go code cleanup 2020-02-05 12:48:35 +10:00
module_ottojs.go The Search and Filter Widget is now partly implemented. Just Search to go in the basic implementation. 2019-02-10 15:52:26 +10:00
no_websockets.go Added more phrases for the notices. 2018-03-21 05:56:33 +00:00
null_reply_cache.go Added a small reply cache. 2019-05-17 18:40:41 +10:00
null_topic_cache.go Basic search now works for the Search & Filter Widget. ElasticSearch has been temporarily delayed, so I can push through this update. 2019-02-23 16:29:19 +10:00
null_user_cache.go optimise topic pages 2020-04-27 22:41:55 +10:00
page_store.go more attachment tests 2020-02-19 20:32:26 +10:00
pages.go WIP forum action code. Currently disabled. 2021-04-08 00:23:11 +10:00
parser.go add basic support for ipns uris 2021-04-05 17:56:38 +10:00
password_reset.go fix attachcount not being updated properly when attachments are deleted 2020-02-20 14:32:49 +10:00
permissions.go add AutoLink permission 2021-02-18 21:40:42 +10:00
pluginlangs.go Cascade delete attachments properly. 2020-01-31 17:22:08 +10:00
poll.go remove polls from poll cache on deletion 2020-02-20 21:28:49 +10:00
poll_cache.go Begin work on making the analytics panes somewhat usable when having JavaScript disabled. 2019-10-28 09:13:24 +10:00
poll_store.go add flif, heif, heic, bpg and opus to allowed file extensions 2021-02-19 13:28:20 +10:00
profile_reply.go Add CreateProfileReply and AutoEmbed group permissions. 2020-02-04 21:47:03 +10:00
profile_reply_store.go Add CreateProfileReply and AutoEmbed group permissions. 2020-02-04 21:47:03 +10:00
promotions.go Add UseConvosOnlyWithMod group permission. 2020-02-11 13:13:38 +10:00
ratelimit.go log errors properly in ForumsOrderSubmit 2021-01-06 16:41:08 +10:00
recalc.go optimise topic lists by caching common qcounts for getList stmts 2020-03-09 13:51:44 +10:00
relations.go WIP forum action code. Currently disabled. 2021-04-08 00:23:11 +10:00
reply.go Set the metadata for the last reply rather than the first in a topic when a reply is deleted. 2021-03-25 19:04:02 +10:00
reply_cache.go code cleanup 2020-02-05 12:48:35 +10:00
reply_store.go optimise topic pages 2020-04-27 22:41:55 +10:00
report_store.go update .link_most_viewed properly on page transitions 2020-12-18 11:04:07 +10:00
routes_common.go Add GetForRenderRoute to DefaultAttachmentStore. 2021-03-24 21:45:18 +10:00
search.go Add GetForRenderRoute to DefaultAttachmentStore. 2021-03-24 21:45:18 +10:00
settings.go add website datenbank user agent 2020-03-21 17:44:33 +10:00
site.go Add DisableStdout config setting. 2021-04-07 12:10:05 +10:00
statistics.go Basic group promotions. 2019-09-29 14:56:39 +10:00
subscription.go increase the number of agents on the ua chart 2020-03-24 12:07:30 +10:00
tasks.go WIP forum action code. Currently disabled. 2021-04-08 00:23:11 +10:00
template_init.go WIP forum action code. Currently disabled. 2021-04-08 00:23:11 +10:00
thaw.go Add GetForRenderRoute to DefaultAttachmentStore. 2021-03-24 21:45:18 +10:00
theme.go subresource integrity 2020-07-31 15:33:29 +10:00
theme_list.go add BuildWidget2 to avoid allocing as many strings in templates for docks 2020-04-12 15:00:15 +10:00
thumbnailer.go log errors properly in ForumsOrderSubmit 2021-01-06 16:41:08 +10:00
topic.go WIP forum action code. Currently disabled. 2021-04-08 00:23:11 +10:00
topic_cache.go code cleanup 2020-02-05 12:48:35 +10:00
topic_list.go Add TopicListIntTest interface. 2021-03-24 22:07:46 +10:00
topic_store.go add flif, heif, heic, bpg and opus to allowed file extensions 2021-02-19 13:28:20 +10:00
user.go wrap noavatar uids at 10 2020-11-09 16:28:14 +10:00
user_cache.go optimise topic pages 2020-04-27 22:41:55 +10:00
user_store.go add qwant, xenforo, twingly, linkfluence, and new toutiao user agent. 2021-03-02 17:22:32 +10:00
utils.go stop suspicious email check breaking optional emails 2020-06-19 14:22:41 +10:00
weak_passwords.go WIP forum action code. Currently disabled. 2021-04-08 00:23:11 +10:00
websockets.go WIP forum action code. Currently disabled. 2021-04-08 00:23:11 +10:00
widget.go WIP forum action code. Currently disabled. 2021-04-08 00:23:11 +10:00
widget_search_and_filter.go other mfa store tests 2020-04-03 08:24:32 +10:00
widget_store.go code cleanup 2020-02-05 12:48:35 +10:00
widget_wol.go code cleanup 2020-02-05 12:48:35 +10:00
widget_wol_context.go Added the Online Users Context widget. 2019-01-22 22:06:55 +10:00
widgets.go eliminate string allocs for HasWidgets 2020-04-12 15:37:38 +10:00
word_filters.go Cascade delete attachments properly. 2020-01-31 17:22:08 +10:00
ws_hub.go log errors properly in ForumsOrderSubmit 2021-01-06 16:41:08 +10:00
ws_user.go WIP forum action code. Currently disabled. 2021-04-08 00:23:11 +10:00