gosora/templates
Azareal 74e09efb63 Fixed a bug where it would use the wrong templates for Tempra Simple, Tempra Cursive, and Shadow
Likes are now done over AJAX.
Posts you have liked are now visually differentiated from those which you have not.
Added support for OR to the where parser.
|| and && now get translated to OR and AND in the where parser.
Added support for ( and ) in the where parser.
Added an adapter and builder method for getting the database version.
Multiple wheres can now be chained with the micro and accumulator builders.
Added the In method to the accumulator select builder.
Added the GetConn method to the builder.
/uploads/ files should now get cached properly.
Added more tooltips for topic titles and usernames.

Fixed a bug in the runners where old stale templates would be served.
Fixed a bug where liking topics didn't work.
Began moving the database initialisation logic out of {adapter}.go and into querygen.
Tweaked the alert direction to show the newest alerts rather than the oldest.
Tweaked the WS JS to have it handle messages more efficiently.
Partially fixed an issue where inline edited posts would lack newlines until the page is refreshed.
Used arrow functions in a few places in global.js to save a few characters.

Schema:
Added the liked, oldestItemLikedCreatedAt and lastLiked columns to the users table.
Added the createdAt column to the likes table.

MySQL Update Queries:
ALTER TABLE `users` ADD COLUMN `liked` INT NOT NULL DEFAULT '0' AFTER `topics`;
ALTER TABLE `users` ADD COLUMN `oldestItemLikedCreatedAt` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER `liked`;
ALTER TABLE `users` ADD COLUMN `lastLiked` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER `oldestItemLikedCreatedAt`;
ALTER TABLE `likes` ADD COLUMN `createdAt` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER `sentBy`;
delete from `likes`;
delete from `activity_stream` where `event` = 'like';
delete from `activity_stream_matches` where `asid` not in(select `asid` from `activity_stream`);
update `topics` set `likeCount` = 0;
update `replies` set `likeCount` = 0;
2018-03-31 06:25:27 +01:00
..
overrides Added more phrases for the notices. 2018-03-21 05:56:33 +00:00
account_menu.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
account_own_edit.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
account_own_edit_avatar.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
account_own_edit_email.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
account_own_edit_username.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
are_you_sure.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
create_topic.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
custom-page.html Fixed a crash bug caused by the previous commit. 2017-08-20 11:11:49 +01:00
error.html Added support for phrases in templates. 2018-03-08 03:59:47 +00:00
footer.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
forum.html Fixed a bug where it would use the wrong templates for Tempra Simple, Tempra Cursive, and Shadow 2018-03-31 06:25:27 +01:00
forums.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
guilds_create_guild.html Refactored the GroupStore to make it more thread-safe. 2017-11-02 13:35:19 +00:00
guilds_css.html Renamed plugin_socialgroups to plugin_guilds 1/3 2017-11-02 04:12:51 +00:00
guilds_guild_list.html Refactored the GroupStore to make it more thread-safe. 2017-11-02 13:35:19 +00:00
guilds_member_list.html Made a huge amount of progress on the Cosora Theme in the Control Panel, it's almost ready for deployment. 2017-12-10 03:43:30 +00:00
guilds_view_guild.html Made a huge amount of progress on the Cosora Theme in the Control Panel, it's almost ready for deployment. 2017-12-10 03:43:30 +00:00
header.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
ip_search.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
login.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
menu.html Changed the defaultest default theme to Cosora... For now. 2018-03-17 08:16:43 +00:00
overview.html Added support for screen readers. 2017-08-20 10:39:02 +01:00
paginator.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
panel-forum-edit-perms.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
panel-forum-edit.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
panel-group-edit-perms.html You can now filter analytics graphs by a day, twelve hours and six hours. 2018-01-08 08:53:51 +00:00
panel-group-edit.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
panel-inner-menu.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
panel-menu.html More work on Cosora, we have a screenshot of it up now, although it's super experimental at the moment. 2017-10-30 09:57:08 +00:00
panel-user-edit.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
panel_adminlogs.html Changed the defaultest default theme to Cosora... For now. 2018-03-17 08:16:43 +00:00
panel_analytics_agent_views.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
panel_analytics_agents.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
panel_analytics_forum_views.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
panel_analytics_forums.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
panel_analytics_lang_views.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
panel_analytics_langs.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
panel_analytics_posts.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
panel_analytics_referrer_views.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
panel_analytics_referrers.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
panel_analytics_route_views.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
panel_analytics_routes.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
panel_analytics_system_views.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
panel_analytics_systems.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
panel_analytics_topics.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
panel_analytics_views.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
panel_backups.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
panel_dashboard.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
panel_debug.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
panel_forums.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
panel_groups.html Use arrays for holding fragments rather than using a large number of micro variables. 2018-03-12 04:52:47 +00:00
panel_modlogs.html Changed the defaultest default theme to Cosora... For now. 2018-03-17 08:16:43 +00:00
panel_plugins.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
panel_setting.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
panel_settings.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
panel_themes.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
panel_users.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
panel_word_filters.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
profile.html Fixed a bug where it would use the wrong templates for Tempra Simple, Tempra Cursive, and Shadow 2018-03-31 06:25:27 +01:00
profile_comments_row.html Added support for phrases in CSS files. 2018-03-11 09:33:49 +00:00
register.html Added support for phrases in templates. 2018-03-08 03:59:47 +00:00
topic.html Fixed a bug where it would use the wrong templates for Tempra Simple, Tempra Cursive, and Shadow 2018-03-31 06:25:27 +01:00
topic_alt.html Fixed a bug where it would use the wrong templates for Tempra Simple, Tempra Cursive, and Shadow 2018-03-31 06:25:27 +01:00
topics.html Fixed a bug where it would use the wrong templates for Tempra Simple, Tempra Cursive, and Shadow 2018-03-31 06:25:27 +01:00
widget_about.html Overhauled the widget system. You can now specify more complex logic for where a widget can show up and you can now place widgets in the footer. 2017-11-29 02:34:02 +00:00
widget_menu.html Added support for word filters. 2017-08-27 10:33:45 +01:00
widget_simple.html Added support for word filters. 2017-08-27 10:33:45 +01:00