Commit Graph

  • be47066770 General: Added better pagination to /forum/{id} Fixed the ordering of the elements in the pagesets. Added hooks to the task system. Reduced the amount of boilerplate for RunVhook and RunVhookNoReturn. Added RunVhookNeedHook to allow plugin developers to add custom content types to the report system. Added BulkGetMap to the DefaultPollStore. Renamed the MultiServer config setting to ServerCount and made it an integer. Don't cache topic lists for empty groups. Don't load replies for topics without any. Azareal 2018-02-15 13:15:27 +0000
  • fa065bc584 /topics/ (the default index) is now over 25 times faster than before. Azareal 2018-02-10 15:07:21 +0000
  • 1ac47bfdfd Added referrer analytics. You can now see what site a visitor has come from. Added the viewchunks_referrers table. Azareal 2018-02-05 10:29:13 +0000
  • e56e7cd467 Fix the false positives with IE11 and Firefox. Moved some noisy things to SuperDebug. Azareal 2018-02-04 09:33:04 +0000
  • 2455e951aa We now have analytics for the operating systems used by users. Azareal 2018-02-04 08:15:20 +0000
  • 017bce9c09 Replaced the user agent parser with a faster and more flexible one. More progress on poll posts. Azareal 2018-02-03 05:47:14 +0000
  • 0c26b5a8da You can now view the results of polls. Added the polls_options table. We now spell suspicious correctly. www URLs are now redirected to non-www URLs. Azareal 2018-01-28 14:30:24 +0000
  • 9efed8c0bc Added support for polls, minus the results UI, we're planning to have a nice little chart for this. Refactored the request logging logic into it's own function. Azareal 2018-01-27 07:30:44 +0000
  • ed57052092 Fix some urgent SEO issues. Azareal 2018-01-26 07:57:53 +0000
  • de03f5ae63 Fix the panic. Azareal 2018-01-26 07:04:01 +0000
  • 1bd3d7d104 We now show requests to non-existent routes on the Route Analytics Page. The filter now catches more odd requests for statistical purposes. Azareal 2018-01-26 05:53:34 +0000
  • 59754b489d Block requests without known hosts for security reasons. We now track stats for Uptimebot. We now track stats for malformed requests. Added json as a valid column type. Azareal 2018-01-25 04:57:33 +0000
  • 0ce7f8a9d7 Follow up commit to further fix up Cosora for larger screens. Azareal 2018-01-23 11:37:40 +0000
  • 1959741c00 Cosora shouldn't warp on large screens now. Control Panel looks a little off over a thousand now, this is going to be fixed in the following commit. Azareal 2018-01-23 10:48:44 +0000
  • a7fec11170 IP Search now searches profile replies. Added the subscription and attachment stores. Azareal 2018-01-22 08:15:45 +0000
  • 8252c481df Updated the codebeat and codeclimate config files. Renamed the pre_render_view_forum hook to pre_render_forum. Renamed the pre_render_ips hook to pre_render_ip_search. Renamed routeTopicCreate to CreateTopic and moved it into /routes/topic.go Moved three routes into /routes/user.go Renamed routeIps to IPSearch and moved it into /routes/moderate.go Moved the IP Search logic out of the route and into the DefaultIPSearcher. Added InQ() to the select builders and replaced three hand-rolled queries with it. De-duplicated some pagination logic. Azareal 2018-01-21 11:17:43 +0000
  • 2997135e80 Added proper pagination to the topic list. Azareal 2018-01-20 06:50:29 +0000
  • ef839a601c It would help if this code was in the right place. Azareal 2018-01-18 12:51:35 +0000
  • a66bab7c51 Added the global topic counter and associated graphs. Wildcards should work properly in robots.txt now Fixed the padding on the registration and login pages for Cosora. Moved the Websockets route into the new router. We now log more suspicious requests. Azareal 2018-01-18 12:31:25 +0000
  • 0416b1ed91 Fixed the Cosora Alerts CSS. Fixed the topic edit input CSS. You can now filter the time range of the routes list. You can now filter the time range of the agents list. Renamed operations.log to ops.log Moved the account routes into the new router. Log suspicious requests. Removed some duplicated code in the control panel routes. Fixed a bug in the User Editor where the Administrator group didn't show up. Users are now force logged out when an admin changes their password. Azareal 2018-01-17 11:13:08 +0000
  • cce87e2d70 Improved the graph CSS on Shadow. Fixed a problem with padding on Edge. You now need MoveTopic in the source forum and the destination forum to move a topic rather than just having it in the source forum. Move action posts should show up properly now. Improved the CSS for action posts on Cosora. You can view alerts on Cosora. Azareal 2018-01-16 08:01:02 +0000
  • 2436d9a6fa You can now bulk move topics from one forum to another. We now track the User Agent for Cloudflare Always On. Azareal 2018-01-15 08:24:18 +0000
  • 4bfa48a926 More exoskeletons and routes being moved around. Azareal 2018-01-14 14:27:10 +0000
  • 9a3d8425e0 Added the post counter and the associated Control Panel graph. Renamed the pre_render_panel_analytics hook to pre_render_panel_analytics_views. Added a details table to the route graphs. Moved the /topic/ and /reply/ routes to the router generator and hardened them. Made some of the route names more consistent. We now track IPs in odd situations in debug mode. Fixed a bug where people could post on non-existent profiles. Azareal 2018-01-14 12:03:20 +0000
  • 90a20d5b05 You can now filter views by one month. More debug logging. More progress with Topic Moving. Azareal 2018-01-12 10:22:28 +0000
  • 3fca8114f0 Added a counter tree experiment. Added more logging for odd user agents. Azareal 2018-01-11 09:29:25 +0000
  • 5ba7aa74f7 Renamed the pre_render_panel_mod_log pre-render hook to pre_render_panel_modlogs. Added the half-second task type, you'll why later ;) Reduced the amount of code duplication in the panel routes (saved a hundred lines). Added the two day time range option for graphs. We now track the discord, lynx and blank user agents. Renamed some template files for consistency and to help stamp out some duplicate code. Azareal 2018-01-11 08:03:17 +0000
  • 5f5994726e Fixed a text editor bug. It should log the unknown user agents properly now... Azareal 2018-01-10 04:35:34 +0000
  • 25074b58b2 Added a time graph for individual user agents. We now have an Advanced Forum Permissions Editor providing more granular control over permissions. Tweaked the button CSS and some other bits and pieces. Added a details section to the View Count Graph. Renamed a few template files for the sake of consistency and for an upcoming refactor. Unknown user agents are now logged in debug mode. Added GetCopy() to the forum permissions store. Fixed a crash bug in the forum deletion action. Refactored the permissions list in the group permissions editor. Azareal 2018-01-10 03:32:48 +0000
  • 17b21bb7da Didn't I fix this bug already? Oh well. Fixed. Added user agent tracking for Edge and DuckDuckGo. Azareal 2018-01-09 10:37:14 +0000
  • c2a3e66c6b We now track the IE, Yandex, Bing, and Baidu user agents. Azareal 2018-01-09 08:46:16 +0000
  • a25ee29197 We now track global user agent stats and have a currently simple Control Panel interface for that. Fixed a possible out of bounds panic in DefaultRouteViewCounter.Bump() Azareal 2018-01-09 07:39:29 +0000
  • c7aec90612 You can now filter analytics graphs by a day, twelve hours and six hours. Added a X-XSS-Protection header. Fixed some Group Editor CSS for Cosora. Azareal 2018-01-08 08:53:51 +0000
  • d0b6559df9 Added view graphs for the individual routes. Made some minor improvements to Cosora. Azareal 2018-01-05 22:47:13 +0000
  • e259a575e9 Added some basic route statistics to the Control Panel. Fixed the direction of the labels on the views graph. Azareal 2018-01-04 10:23:33 +0000
  • dcfcd08248 Added the views graph to the Control Panel. Added support for strikethrough and underline HTML. Added DateCutoff to the Accumulator Select Builder for MySQL. Azareal 2018-01-03 07:46:18 +0000
  • 1639d81618 Added limited support for HTML in posts. Newlines are now stripped from usernames, topic titles, and emails. Azareal 2017-12-31 07:01:44 +0000
  • 0fcc1bc04d Escaping should work properly now. Azareal 2017-12-30 10:07:57 +0000
  • 57ae3243f8 Fixed a bug where /topics/ always errors out for guests. Azareal 2017-12-30 06:45:29 +0000
  • 547254c4a1 Added Chartist as a dependency. Fixed a XSS exploit. Centralised the post escaping logic. Azareal 2017-12-30 05:47:46 +0000
  • ac9623ab6b Moved the tree counter node into it's own experimental area. Added ItemList microdata to /forum/, /forums/, and /topics. Moved the meta description for /forums/ to the right place. Azareal 2017-12-27 23:38:37 +0000
  • 21999cd7c6 Fixed the forum editor on Cosora. More excavating coming up. Tweaked the preparser to hopefully fix a few problems with the WYSIWYG Editor. Added BulkGetCopy to the ForumStores. Added InternalErrorXML and SilentInternalErrorXML. Tweaked the element queries so that the topic titles aren't truncated too short. Azareal 2017-12-26 07:17:26 +0000
  • e919812ee2 Added support for meta descriptions. You can configure this from the Control Panel's Setting Manager. Added tests for forum creation. Azareal 2017-12-25 06:12:19 +0000
  • e492088b97 Fixed a few mangled error strings. Fixed the routeBanSubmit, routeUnban, and routeActivate routes. Members who are awaiting activation are now treated like guests by the preset system. Azareal 2017-12-25 02:41:10 +0000
  • 964d219407 Added support for per-topic view counters. Azareal 2017-12-24 22:08:35 +0000
  • c7df616f5b Profiles are less broken now. Renamed RouteViewCounterImpl to DefaultRouteViewCounter. Added the bot_routes.go file and moved routeRobotsTxt into it. Added /report/ to robots.txt to stop Googlebot going there. Azareal 2017-12-24 07:38:46 +0000
  • bdbd80319f Made some minor tweaks. The DefaultRoute parameter in the configuration struct is now a string. Fixed a few mismatched HTML tags. Added the profile_comments_row template. Added more alt attributes for images and associated title=""s in a few places. Connections should now be closed properly. Custom Pages no longer have a .html file extension in their URLs. We now track route views for the default route and the custom page route. Azareal 2017-12-22 03:32:23 +0000
  • 386e835b86 Fixed an issue with Cosora's WYSIWYG Editor. Azareal 2017-12-19 05:48:01 +0000
  • 10a0c62823 The Cosora Theme is almost complete and is being rolled out on the site to demo it. We now track the views on a per-route basis. We have plans for an admin UI for this, global views, etc. which will come in a future commit. Azareal 2017-12-19 03:53:13 +0000
  • abfe0a472a Made a huge amount of progress on the Cosora Theme in the Control Panel, it's almost ready for deployment. Added the view counter, it currently collects data without exposing it to the admin. Azareal 2017-12-10 03:43:30 +0000
  • 9eae8da180 Refactored the error handlers. The static files for themes are now automatically reloaded without having to restart Gosora. Added the Get and Set methods to the SFileList type. Static files can now be updated during execution in a thread-safe way. Azareal 2017-12-01 02:04:29 +0000
  • 0e9cebfa47 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. Azareal 2017-11-29 02:34:02 +0000
  • 381ce3083a Added the AboutSegment feature, you can see this in use on Cosora, it's a little raw right now, but I'm planning to polish it in the next commit. Azareal 2017-11-23 05:37:08 +0000
  • 8d0479f4b2 Renamed setting.go to settings.go Added the BypassGet method to SettingMap and refactored the Control Panel to use it. Refactored the query builder. Azareal 2017-11-13 09:23:43 +0000
  • b42181c0c6 More refactoring. So much data o.o Azareal 2017-11-13 05:22:37 +0000
  • 0572c3e048 Experimenting. Azareal 2017-11-13 00:36:31 +0000
  • f907b2f80c Refactored the query generator. Azareal 2017-11-13 00:31:46 +0000
  • 8ec0534299 Refactored the query generator subfunctions. Refactored more prebuilder queries to use the OO methods. Refactored the router generator. Added more query generator OO methods. Azareal 2017-11-12 11:29:23 +0000
  • f1c418bd13 Refactored the routing logic. Continued refactoring the prequeries. Continued work on the profiles. Moved more logic out of the routes. Azareal 2017-11-12 07:18:25 +0000
  • 2047fed0b9 Renamed a few querygen structs. Moved the accumulator sub-builders into their own file. Implemented OO methods for the prebuilders. Azareal 2017-11-12 05:25:04 +0000
  • 2545d4adde Converted more queries over to the new OO builder syntax. Renamed accBuilder to Accumulator so that it can be used in type hints outside the query generator. The DbInit accumulator is now initialised in the caller rather than the callee. Azareal 2017-11-12 03:29:05 +0000
  • 6bae378db0 Moved the modlog and admin log logic to their own file. Refactored the code to use the new builder syntax. Fixed the DbInit logic. Made sure the prepared statements are cleaned up. Added the AdminOnly middleware and added it to the routes. Added the Query method to the selectBuilder. Azareal 2017-11-11 23:34:27 +0000
  • 7ac3de8299 Added an alternate builder syntax and started using it in a few places. Azareal 2017-11-11 08:46:30 +0000
  • fb8fa10570 Let plugins define imports to custom templates. Things should work now. Azareal 2017-11-11 06:33:08 +0000
  • d2a8fb1267 Fixed the template transpiler. Fixed the PreRoute middleware. Renamed makeDummyForum to BlankForum. Azareal 2017-11-11 05:22:33 +0000
  • f30ea7a9bb Finished moving the files into the subpackage, this should open more doors to us. Moved more queries out of the global stmt holder. Refactored several things. Azareal 2017-11-11 04:06:16 +0000
  • 10e681f15f Removed dead code. Moved more files into subpackages 2/? Azareal 2017-11-10 03:43:38 +0000
  • 20bb909c54 Moving the files into subpackages 1/? Moved more routes into the router generator. Renamed a few of the routes. Refactored the router generator. Fixed PreRoute. Azareal 2017-11-10 03:33:11 +0000
  • f8e892da20 Added the Rez Image Resizer as a dependency to be used later. Azareal 2017-11-10 00:16:15 +0000
  • 34ca7de946 Added the Not method to the router generator. Refactored the router generator. Azareal 2017-11-08 07:28:33 +0000
  • 920c1aad0f Removed the rest of the generated files from Codebeat. Azareal 2017-11-08 00:35:27 +0000
  • 57cc7e0d54 Remove some files from Codebeat. Azareal 2017-11-08 00:28:50 +0000
  • 3b0fba1b17 Simplified the template generator logging code. Renamed a few of the functions in the template generator. Azareal 2017-11-08 00:12:50 +0000
  • ed2293ac0e test Azareal 2017-11-07 23:00:14 +0000
  • e2c48c58ba Moved the create statement into the TopicStore. Refactored the template generator. Began improving Cosora again. Azareal 2017-11-07 22:38:15 +0000
  • 569b424ac8 Did a bit of refactoring on the template system. Refactored the ReplyStore. Added the Create method to the ProfileReplyStore. Fixed a potential issue with the topics and replies generated by the installer. Refactored the accumulator. Refactored global.js Azareal 2017-11-06 16:24:45 +0000
  • aab949cb2d Split reply.go into reply.go, reply_store.go, and profile_reply_store.go Azareal 2017-11-06 07:44:08 +0000
  • 6b64a2e28d Refactored the stores to use the accumulator. Fixed the accumulator. Azareal 2017-11-06 07:23:32 +0000
  • 01239f82f1 Added the Accumulator to the Builder. Azareal 2017-11-06 04:02:35 +0000
  • 3fa9bf7373 I've revamped the query generator to reduce the number of globals, this'll help us split up the software and plugins in the future. Azareal 2017-11-05 09:55:34 +0000
  • f5190e83ba More MySQL generator refactoring. Azareal 2017-11-05 03:58:19 +0000
  • d0ffc4be78 Refactored a few bits and pieces. Added Riot as a dependency, I'm still deciding over whether to use this or Bleve. Tweaked the topic view for Cosora. Fixed a crash bug in the group creator. Moved a few things from permissions.go into the ForumPermsStore, more to come here! Added more tests. Refactored the MySQL Query Generator. Refactored the BBCode Parser. Moved the presets into the Phrase System. Azareal 2017-11-05 01:04:57 +0000
  • d0363f3eb1 Refactored the GroupStore to make it more thread-safe. Refactored the store initialisers to better propogate errors upwards. Moved the user initialisation logic to a method on *User. Added the Reload and GlobalCount methods to the GroupStore. Added the CacheSet method to the GroupCache. Azareal 2017-11-02 13:35:19 +0000
  • 3c13f4da7f Renamed plugin_socialgroups to plugin_guilds 2/3 Azareal 2017-11-02 04:14:39 +0000
  • f20a9966da Renamed plugin_socialgroups to plugin_guilds 1/3 Azareal 2017-11-02 04:12:51 +0000
  • 6f45c62815 We made more progress with topic views on Cosora. We accidentally broke Tempra Conflux's topic view in the process and we're planning to fix it in the following commit. Azareal 2017-11-02 02:52:21 +0000
  • 0361310eb2 Moved the forum permission cascade logic into it's own function. Removed some redundant queries. Refactored the router generator. Azareal 2017-10-31 07:26:44 +0000
  • ca83771eb4 Travis doesn't like passwords Azareal 2017-10-31 01:27:38 +0000
  • 9ad66ac882 Tweaked the config file to get Travis to work. Azareal 2017-10-31 01:22:05 +0000
  • c3513fba54 We forgot to commit this before, oops. Azareal 2017-10-31 00:57:57 +0000
  • 11260b22a4 Hmmm, maybe this? Azareal 2017-10-31 00:53:00 +0000
  • 90cc069132 Tweak to see if Travis will let this run? Fixes to the installer. Azareal 2017-10-31 00:33:14 +0000
  • 868a57d6d2 Trying to get Travis to work. Cleaned up some of the CSS and fixed the other themes. Azareal 2017-10-30 23:34:38 +0000
  • 14a14b7e80 More work on Cosora, we have a screenshot of it up now, although it's super experimental at the moment. This commit might be a little broken, another is coming to fix things up! Azareal 2017-10-30 09:57:08 +0000
  • f7942b42ac Continued the work on Cosora. Trying to add support for Travis CI. Azareal 2017-10-21 01:27:47 +0100
  • da6ae8d7d4 Gosora now supports MSSQL (Microsoft SQL Server). Fixed a bug with MemoryUserStore's length counter. The upsert API is currently a confusing mess, we'll have it all fixed up soon. Added the Delete method to the User struct. Improved the test coverage for the user subsystem. Azareal 2017-10-16 08:32:58 +0100
  • fdb6304e32 Mostly a mid-way technical commit to make reading diffs easier on me. Azareal 2017-10-14 08:39:22 +0100
  • a09630c0dc Updated the README. Fixed Tempra Conflux's responsiveness. Azareal 2017-10-12 04:54:30 +0100
  • 97860d4f79 Began work on the new theme, Cosora. Azareal 2017-10-12 04:24:14 +0100
  • 22650aad27 Added Quick Topic. Added Attachments. Added Attachment Media Embeds. Azareal 2017-10-05 11:20:28 +0100