gosora/common
Azareal bdf7fa40d5 Improved the datetimes on the log pages.
Added an experimental template fragment optimisation.
The template generator can handle time.Time
The forum and profile templates now have guest and member variants generated for them.
Interpreted templates are no longer loaded, if there's a generated version of it.

Added absolute time on hover to the topic, topics, forum, and forums templates.
We now use lang instead of index in the stylesheets for phrases.
Renamed the .trash_label CSS class to .delete_label
Use the new toArr and concat template functions to reduce the amount of boilerplate in the theme stylesheets.
Removed bits of redundant code here and there in the stylesheets.
Added a .CurrentUser.Loggedin to profiles to make them slightly faster.
Shortened some themeStmt names.
Moved GzipResponseWriter, theme.RunTmpl and theme.GetTmpl from theme_list.go to theme.go
The fallback theme now falls back onto the last theme loaded, if the fallback theme doesn't exist.
Added the abstime template function for formatting absolute times a little more nicely.

Began work on the login logs.

Removed the alerts_no_new_alerts phrase.
Renamed the forums_topics_suffix phrase to forums.topics_suffix.
2018-12-14 14:08:53 +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 We now use Go 1.11 modules. This should help with build times, deployment and development, although it does mean that the minimum requirement for Gosora has been bumped up from Go 1.10 to Go 1.11 2018-10-27 13:40:36 +10:00
gauth Added support for two-factor authentication. 2018-06-17 17:28:18 +10:00
phrases Improved the datetimes on the log pages. 2018-12-14 14:08:53 +10:00
templates Improved the datetimes on the log pages. 2018-12-14 14:08:53 +10:00
alerts.go Variables which are computed multiple times in templates should only be computed once now. 2018-11-22 17:21:43 +10:00
attachments.go We now use Go 1.11 modules. This should help with build times, deployment and development, although it does mean that the minimum requirement for Gosora has been bumped up from Go 1.10 to Go 1.11 2018-10-27 13:40:36 +10:00
audit_logs.go Improved the datetimes on the log pages. 2018-12-14 14:08:53 +10:00
auth.go We now use Go 1.11 modules. This should help with build times, deployment and development, although it does mean that the minimum requirement for Gosora has been bumped up from Go 1.10 to Go 1.11 2018-10-27 13:40:36 +10:00
cache.go Added support for two-factor authentication. 2018-06-17 17:28:18 +10:00
common.go We now use Go 1.11 modules. This should help with build times, deployment and development, although it does mean that the minimum requirement for Gosora has been bumped up from Go 1.10 to Go 1.11 2018-10-27 13:40:36 +10:00
email_store.go We now use Go 1.11 modules. This should help with build times, deployment and development, although it does mean that the minimum requirement for Gosora has been bumped up from Go 1.10 to Go 1.11 2018-10-27 13:40:36 +10:00
email.go Refactored the plugin system to use a hook table. This should help to reduce the probability of data races and strange bugs, as-well as helping to abstract certain details, so future changes are less likely to break things. 2018-10-21 23:54:32 +10:00
errors.go Replaced RunThemeTemplate and GetThemeTemplate with methods on *Theme and refactored their implementations to make them more predictable. 2018-12-08 10:45:27 +10:00
extend.go Trying to reduce the amount of UserCheck() boilerplate in the routes. 2018-11-12 19:23:36 +10:00
files.go Variables which are computed multiple times in templates should only be computed once now. 2018-11-22 17:21:43 +10:00
forum_perms_store.go Fixed a bug where forums inheriting from the group didn't appear on the forum list and the topic list. 2018-11-29 17:27:17 +10:00
forum_perms.go Quasi mod group-forum presets now show up as Custom rather than blank on all themes. 2018-12-03 22:32:46 +10:00
forum_store.go Greatly reduced the number of w.Write calls in the generated templates. 2018-11-20 09:06:15 +10:00
forum.go We now use Go 1.11 modules. This should help with build times, deployment and development, although it does mean that the minimum requirement for Gosora has been bumped up from Go 1.10 to Go 1.11 2018-10-27 13:40:36 +10:00
group_store.go Greatly reduced the number of w.Write calls in the generated templates. 2018-11-20 09:06:15 +10:00
group.go Greatly reduced the number of w.Write calls in the generated templates. 2018-11-20 09:06:15 +10:00
ip_search.go We now use Go 1.11 modules. This should help with build times, deployment and development, although it does mean that the minimum requirement for Gosora has been bumped up from Go 1.10 to Go 1.11 2018-10-27 13:40:36 +10:00
menu_item_store.go Added the menu manager and menu item editor. 2018-05-11 15:41:51 +10:00
menu_store.go We now use Go 1.11 modules. This should help with build times, deployment and development, although it does mean that the minimum requirement for Gosora has been bumped up from Go 1.10 to Go 1.11 2018-10-27 13:40:36 +10:00
menus.go Revamped the IP Search Page for Nox. 2018-12-06 21:09:10 +10:00
mfa_store.go We now use Go 1.11 modules. This should help with build times, deployment and development, although it does mean that the minimum requirement for Gosora has been bumped up from Go 1.10 to Go 1.11 2018-10-27 13:40:36 +10:00
misc_logs.go Improved the datetimes on the log pages. 2018-12-14 14:08:53 +10:00
module_ottojs.go Added the word filter store and moved the word filter routes into the route package. 2018-08-04 21:46:36 +10:00
no_websockets.go Added more phrases for the notices. 2018-03-21 05:56:33 +00:00
null_topic_cache.go Added support for two-factor authentication. 2018-06-17 17:28:18 +10:00
null_user_cache.go 0.1.0 tag, checkpoint release. 2018-09-19 16:09:03 +10:00
page_store.go We now use Go 1.11 modules. This should help with build times, deployment and development, although it does mean that the minimum requirement for Gosora has been bumped up from Go 1.10 to Go 1.11 2018-10-27 13:40:36 +10:00
pages.go Fixed a bug where forums inheriting from the group didn't appear on the forum list and the topic list. 2018-11-29 17:27:17 +10:00
parser.go Refactored the plugin system to use a hook table. This should help to reduce the probability of data races and strange bugs, as-well as helping to abstract certain details, so future changes are less likely to break things. 2018-10-21 23:54:32 +10:00
permissions.go Moved the phrase logic to the phrases package. 2018-11-01 16:43:56 +10:00
pluginlangs.go Finished moving the files into the subpackage, this should open more doors to us. 2017-11-11 04:06:16 +00:00
poll_cache.go Almost finished live topic lists, you can find them at /topics/. You can disable them via config.json 2018-06-24 23:49:29 +10:00
poll_store.go We now use Go 1.11 modules. This should help with build times, deployment and development, although it does mean that the minimum requirement for Gosora has been bumped up from Go 1.10 to Go 1.11 2018-10-27 13:40:36 +10:00
profile_reply_store.go We now use Go 1.11 modules. This should help with build times, deployment and development, although it does mean that the minimum requirement for Gosora has been bumped up from Go 1.10 to Go 1.11 2018-10-27 13:40:36 +10:00
profile_reply.go We now use Go 1.11 modules. This should help with build times, deployment and development, although it does mean that the minimum requirement for Gosora has been bumped up from Go 1.10 to Go 1.11 2018-10-27 13:40:36 +10:00
reply_store.go We now use Go 1.11 modules. This should help with build times, deployment and development, although it does mean that the minimum requirement for Gosora has been bumped up from Go 1.10 to Go 1.11 2018-10-27 13:40:36 +10:00
reply.go We now use Go 1.11 modules. This should help with build times, deployment and development, although it does mean that the minimum requirement for Gosora has been bumped up from Go 1.10 to Go 1.11 2018-10-27 13:40:36 +10:00
report_store.go We now use Go 1.11 modules. This should help with build times, deployment and development, although it does mean that the minimum requirement for Gosora has been bumped up from Go 1.10 to Go 1.11 2018-10-27 13:40:36 +10:00
routes_common.go Fixed a bug where forums inheriting from the group didn't appear on the forum list and the topic list. 2018-11-29 17:27:17 +10:00
settings.go The settings should be validated properly now when they're updated. 2018-11-13 16:51:34 +10:00
site.go The time it took for the route to be processed is shown in the footer in the Nox Theme for admins now 2018-11-17 12:36:02 +10:00
statistics.go Added the word filter store and moved the word filter routes into the route package. 2018-08-04 21:46:36 +10:00
subscription.go We now use Go 1.11 modules. This should help with build times, deployment and development, although it does mean that the minimum requirement for Gosora has been bumped up from Go 1.10 to Go 1.11 2018-10-27 13:40:36 +10:00
tasks.go Variables which are computed multiple times in templates should only be computed once now. 2018-11-22 17:21:43 +10:00
template_init.go Improved the datetimes on the log pages. 2018-12-14 14:08:53 +10:00
thaw.go Only cache public attachments in the browser and CDNs. 2018-11-20 14:00:32 +10:00
theme_list.go Improved the datetimes on the log pages. 2018-12-14 14:08:53 +10:00
theme.go Improved the datetimes on the log pages. 2018-12-14 14:08:53 +10:00
thumbnailer.go We now use Go 1.11 modules. This should help with build times, deployment and development, although it does mean that the minimum requirement for Gosora has been bumped up from Go 1.10 to Go 1.11 2018-10-27 13:40:36 +10:00
topic_cache.go Added support for two-factor authentication. 2018-06-17 17:28:18 +10:00
topic_list.go Greatly reduced the number of w.Write calls in the generated templates. 2018-11-20 09:06:15 +10:00
topic_store.go Greatly reduced the number of w.Write calls in the generated templates. 2018-11-20 09:06:15 +10:00
topic.go Revamped the Nox Account Manager and Control Panel Menus. 2018-11-29 07:46:53 +10:00
user_cache.go 0.1.0 tag, checkpoint release. 2018-09-19 16:09:03 +10:00
user_store.go Move this bit in there too. 2018-12-06 22:16:09 +10:00
user.go Fixed a bug where forums inheriting from the group didn't appear on the forum list and the topic list. 2018-11-29 17:27:17 +10:00
utils.go Improved the datetimes on the log pages. 2018-12-14 14:08:53 +10:00
websockets.go Moved the phrase logic to the phrases package. 2018-11-01 16:43:56 +10:00
widgets.go Replaced RunThemeTemplate and GetThemeTemplate with methods on *Theme and refactored their implementations to make them more predictable. 2018-12-08 10:45:27 +10:00
word_filters.go We now use Go 1.11 modules. This should help with build times, deployment and development, although it does mean that the minimum requirement for Gosora has been bumped up from Go 1.10 to Go 1.11 2018-10-27 13:40:36 +10:00
ws_hub.go Variables which are computed multiple times in templates should only be computed once now. 2018-11-22 17:21:43 +10:00
ws_user.go Try to eliminate some of these debug comments. 2018-09-24 09:42:17 +10:00