Commit Graph

  • a7e396cbc2 Added the LoosePort config.json setting. Azareal 2019-04-14 10:28:42 +1000
  • 8bfd5adbbb Added the LooseHost config setting. Malformed requests are now logged with an integer denoting the block of code which triggered it. Azareal 2019-04-14 10:13:32 +1000
  • cdb2f0711d Attachments continue to function after the parent topic is moved now. Changed the signature of AttachmentStore.Add Added the MoveTo method to AttachmentStore. Added the MoveToByExtra method to AttachmentStore. Don't forget to actually add the pre script for topic_c_edit_post x.x Azareal 2019-04-13 21:54:22 +1000
  • 6128325696 Update ./install-linux to use the correct path to the installer. Azareal 2019-04-11 16:19:00 +1000
  • d61ec9a6fe Editing replies now uses a client template instead of inline HTML in global.js Azareal 2019-04-11 15:46:57 +1000
  • 3db09c6a1f Give users access to the attachment manager without having to upload any files. Azareal 2019-04-11 14:22:03 +1000
  • 5dec69b682 Mover rows are more obvious links on Nox. Mover rows are now bolded when selected on Nox. Azareal 2019-04-10 20:29:55 +1000
  • 5808f1d0ba Improved the poll UIs slightly. Polls without any votes should look a little nicer now. .hide_on_edit and other similar classes should now override other classes on Cosora. Added <red> to avoid having to use inline styles for parser errors. Reorganised a few elements in topic.html and topic_alt.html Split topic_poll.html out of topic.html Azareal 2019-04-10 17:40:47 +1000
  • d5acb92aef Added [h1] to Plugin BBcode. Azareal 2019-04-09 21:52:09 +1000
  • d52def14eb Added simple quotes and headers to Plugin Markdown. Azareal 2019-04-09 21:30:08 +1000
  • 733a802357 Use the langpack's isocode in header.html instead of en. Azareal 2019-04-09 17:21:00 +1000
  • e9f1a3c677 Added support for <h1>, <h2>, and <h3> to the core post parser. Changed a span to a div in Tempra Simple and Shadow so that nested divs will work properly. Azareal 2019-04-09 15:33:39 +1000
  • 0bb46c9d67 Use #container instead of .container for Cosora. Added six parser tests. 0.2.0 Azareal 2019-04-08 17:50:10 +1000
  • 0dd4db4d03 0.2.0 tag, checkpoint release. Azareal 2019-04-08 17:44:41 +1000
  • 1115c0a4c5 Added the Plugin section to config.json Added support for ZIP files to the backups route. The post counter won't be incremented if json marshalling fails now. Azareal 2019-04-06 11:08:49 +1000
  • af9a56a9a9 Server push is back. But only for Chrome and Firefox. Azareal 2019-04-02 17:43:11 +1000
  • 167bb230b4 The main menu for Nox should handle overflow better now. Azareal 2019-04-02 10:59:29 +1000
  • a2f479be31 Fix this little detail. Azareal 2019-04-01 17:04:02 +1000
  • ed4adeaeb5 Invoke easyjson in these two places too, we really should add some sort of fallback for this. Azareal 2019-04-01 15:49:36 +1000
  • 9d321e9f23 The router now redirects requests to localhost domains with localhost equivalents in the host header which don't quite match the destination to the proper domain. The router now rejects host headers with the wrong port for non-standard ports. The www. redirect now handles non-standard ports properly. The Site.Port configuration setting is now validated on start-up to ensure it's a valid integer. Azareal 2019-04-01 15:44:38 +1000
  • c8a8de95ae Avoid labelling requests on non-standard ports as malformed. Azareal 2019-03-31 11:50:59 +1000
  • 0bbdb6482e Fixed the installer. Azareal 2019-03-31 10:39:54 +1000
  • 4f7bb5320d You can now escape whitelisted HTML elements with a backslash to make them render as text rather than HTML elements. Added eight more parser tests. Replaced an empty slice with nil to make it cleaner. Azareal 2019-03-27 16:36:14 +1000
  • e1dfebf090 main.css should be invalidated properly too. Azareal 2019-03-25 14:01:50 +1000
  • f11f85a1f4 You can now quote posts with the quote button. Back to Site now links back to the site again. Localised what to do with this topic for a single topic. Improved the margins before and after blockquotes for various scenarios including one on it's own, one with content after and one with content before. Don't bother rendering the opening post source block if it's a guest viewing the page in topic.html Removed some obsolete inline styles from topic.html Azareal 2019-03-25 13:30:56 +1000
  • 23a0bf3f41 Try hash based cache busting with stylesheets too. Azareal 2019-03-24 17:23:38 +1000
  • 660f24acff Experimenting with Nox's Control Panel. Experimenting with better cache busting for static resources. HTTPSRedirect requests are now counted in the route analytics. More scripts are loaded asynchronously now. Upped the default ReadTimeout to eight seconds. Reduce the number of unneccesary NewAcc calls. Added panel_before_head as an injection point for themes. Themes can now declare scripts to be loaded asynchronously. Tweaked the WS resumption algorithm to mae the backoffs a little less aggressive. Fixed an ordering issue in the WS resumption algorithm where backoffs weren't expiring as fast as they should have. Fixed a bug where template logs weren't being written due to a panic. You can now use byte slices in more places in the transpiled templates. Fixed a bug where Cosora's misc.js seemed to be erroring out. Fixed a bug where YT embeds were getting blocked by the CSP. Azareal 2019-03-22 08:59:41 +1000
  • 3320cb4697 Added documentation for server timeouts. You can now disable server timeouts o.O Added a slightly more sophisticated WS Backoff algorithm. Azareal 2019-03-17 09:14:47 +1000
  • 526ba8dc0e Get WS to backoff slightly, if the connection keeps dropping. Azareal 2019-03-16 23:11:24 +1000
  • f2572fc3bd Fixed the analytics charts. Fixed the back to site link destination. Azareal 2019-03-16 22:50:31 +1000
  • cb58c1c83f The number of unread alerts now appears in the page title. Added the Back to Site link to Nox's Control Panel. Added the panel_group_menu template and used it to de-dupe the group menu HTML. Fixed a potential race condition with dismiss alert. Fixed a strange bug where new alerts wouldn't appear. Fixed a race condition where client templates sometimes wouldn't load. Dramatically cut down on the number of DOM rebuilds for the alert list. Added some missing error handling for ajax page block loads. Fixed a bug where the dimiss alert endpoint wasn't sending a success payload. Azareal 2019-03-16 21:31:10 +1000
  • 414d9c4817 Tighter ratelimiting for password resets. Eliminated a line in agents.go Added the DateCutoff method to accCountBuilder. Function columns should now work for ComplexSelect. Added type=search to the Search and Filter Widget search box. Azareal 2019-03-12 19:13:57 +1000
  • e22ddfec40 Added support for password resets. Azareal 2019-03-11 18:47:45 +1000
  • 93b292acc0 Added a little note to the installation guide about setting up emails. Azareal 2019-03-05 15:53:02 +1000
  • 836a148ee8 Delete old avatar files to avoid dead files from building up in /uploads/ and potentially causing issues. Make the thumbnailer more resiliant when the avatar it's supposed to be thumbnailing doesn't exist. /uploads/ should be set to 2755 to reduce the probability of permission issues. Azareal 2019-03-05 14:46:43 +1000
  • a28b6c2690 Added a WYSIWYG Editor for editing replies in Cosora. Azareal 2019-03-04 17:47:38 +1000
  • 3cb5896316 Tighten the content security policies for profiles. Use template variables instead of CSS variables in Nox for better browser backwards compatibility. Emit a local error instead of an internal error when submitting an activation token as a guest or invalid user. Moved the inline profile scripts into profile_member.js Azareal 2019-03-04 16:43:07 +1000
  • 4d1f80edab Tweaked the content security policy a little. Azareal 2019-03-04 09:21:06 +1000
  • f41a5dd943 Fix the issue with Grammarly spewing out random HTML. Azareal 2019-03-03 16:39:08 +1000
  • 0e5ea2035e Activation tokens should work again now. Document the SMTPEnableTLS setting and update the documentation for SMTPPort. Azareal 2019-03-03 16:10:26 +1000
  • 65924cac2a Try fixing the email headers. Azareal 2019-03-03 15:31:13 +1000
  • 3eb06d6822 Temporary email debugging. Azareal 2019-03-03 14:49:03 +1000
  • 41e7464f8d Added support for SMTP TLS. Azareal 2019-03-03 14:00:04 +1000
  • e9b46e1cd6 Email errors should be logged now. Reordered the registration logic so the session is created before any, if any, email errors fire. Fixed a bug where the analytics phrases would load after the graph is drawn. Azareal 2019-03-03 13:19:32 +1000
  • ce04b6001e Localised the analytics panes. Tweaked the analytics phrases to make them a little more compact so they don't overlap as badly. Added support for Facebook to the analytics panel. Fixed a bug where language ISO codes weren't tracked properly. Fixed a bug with settings overflowing their containers on Cosora. The panel elements can now take up more room on Nox. Added some information on per-theme overrides to docs/templates.md Azareal 2019-03-03 12:28:17 +1000
  • ec313253ac Up the priority on these CSS directives. Azareal 2019-02-28 20:09:50 +1000
  • 4aa680c666 Widen the postbits for Nox when there isn't a sidebar taking up space. Azareal 2019-02-28 19:35:27 +1000
  • 25846d8942 shrink_main should work again. Azareal 2019-02-28 19:31:13 +1000
  • 75668db3ea Hotfix for broken sidebar handling, a full fix is in the works. Azareal 2019-02-28 19:01:28 +1000
  • 38c79f6eae Fix links overflowing their boxes in Shadow and Nox. Azareal 2019-02-28 18:42:25 +1000
  • ae8485391b Loosen the CSP a little for images. Azareal 2019-02-28 18:11:29 +1000
  • a4b579d75d Whoops, this should fix the SIGSEGV. Azareal 2019-02-28 17:34:56 +1000
  • cc1d0f089a Client templates can now be overriden like every other template. The client templates load earlier now for a smoother user experience. Added a setting for setting a Google Site Verification meta tag without editing header.html Added support for favicons. /static/favicon.ico will be mapped to favicon.ico, if it exists. The parent forum is now visible on the topics list for Nox. Azareal 2019-02-28 17:28:17 +1000
  • fe33112827 Added an experimental content security policy. Added support for Open Graph Descriptions. Nox now officially supports notices. Tweaked the language detection algorithm to cover more cases. Tweaked the user agent parser to accomodate DotBot better. Added a non-JS fallback for the theme selector. Tweaked the padding on widget simple. Scripts should now execute properly for individual language charts in the analytics panel. Azareal 2019-02-24 18:02:00 +1000
  • 1fb497adf8 Deployed multi-series charts across the entirety of the analytics panel. Added the one year time range to the analytics panes. Dates are now shown on detail panes for Request, Topic and Post analytics instead of times for higher time ranges. The labels should now show up properly for the three month time range charts. The paginator should now work properly for login logs. Pushed a potential fix for subsequent pages with only one item not showing. up. Executing a search query should now change the title. Fixed a bug where the user agent parser choked on : characters. Fixed the ordering of items in the multi-series charts which caused the most important items to get booted out rather then the least important ones. Tweaked the padding on the User Manager items for Nox so they won't break onto multiple lines so readily. Fixed a potential issue with topic list titles. Fixed a potential crash bug in the Forum Analytics for deleted forums. Azareal 2019-02-24 11:29:06 +1000
  • 633c9ef2ec Let's not default to mostviewed. Azareal 2019-02-23 18:16:54 +1000
  • 7f6c1bada2 Added the topics_search phrase. Azareal 2019-02-23 17:47:42 +1000
  • 8acc5e7991 Maybe, this will work...? Azareal 2019-02-23 17:33:18 +1000
  • c3743bc28d This will require further investigation, thanks MariaDB. Azareal 2019-02-23 17:07:48 +1000
  • 255d0adca8 x.x Azareal 2019-02-23 17:00:00 +1000
  • cf4a9d1738 You can now disable the search subsystem. Azareal 2019-02-23 16:55:34 +1000
  • 6b56d69fc8 Experiment to see if this normalises things in Travis... Azareal 2019-02-23 16:39:09 +1000
  • 2296008655 Basic search now works for the Search & Filter Widget. ElasticSearch has been temporarily delayed, so I can push through this update. Added the three month time range to the analytics panes. Began work on adding new graphs to the analytics panes. Began work on the ElasticSearch adapter for the search system. Added the currently limited AddKey method to the database adapters. Expanded upon the column parsing logic in the database adapters to ease the use of InsertSelects. Azareal 2019-02-23 16:29:19 +1000
  • a0368ab87c Added information about the Email, DisableLiveTopicList, DisableJSAntispam, MaxTopicTitleLength and MaxUsernameLength configuration settings to configuration.md Azareal 2019-02-21 16:52:32 +1000
  • d332870a0f Added some notes about HTTPS to the Installation Guide. Azareal 2019-02-20 17:49:08 +1000
  • 6e02c7dd2a Added the configuration documentation file. Azareal 2019-02-20 15:35:18 +1000
  • 37ce6165c8 Update the experimental plugins sendmail and hyperdrive to work with the new Plugin APIs. Azareal 2019-02-17 15:38:49 +1000
  • d5a58421a7 The forum page now uses EasyJSON to speed it up slightly. Azareal 2019-02-10 19:32:05 +1000
  • 5099162d9c Add Easyjson to these files too as it's being difficult... Azareal 2019-02-10 16:01:09 +1000
  • d9acf27c5b The Search and Filter Widget is now partly implemented. Just Search to go in the basic implementation. Added AJAX Pagination for the Topic List and Forum Page. A new log file pair is now created every-time Gosora starts up. Added proper per-theme template overrides. Azareal 2019-02-10 15:52:26 +1000
  • 6a8ad887cc Fixed a bug where uninitialised widget docks wouldn't appear in the Widget Manager. Azareal 2019-01-22 22:42:46 +1000
  • 89a5eafa48 Added the Online Users Context widget. Azareal 2019-01-22 22:06:55 +1000
  • dc8079f581 Tests should build now. Azareal 2019-01-21 22:37:05 +1000
  • 8f2f47e8aa Added the In-Progress Widget Manager UI. Added the IsoCode field to phrase files. Rewrote a good portion of the widget system logic. Added some tests for the widget system. Added the Online Users widget. Added a few sealed incomplete widgets like the Search & Filter Widget. Added the AllUsers method to WsHubImpl for Online Users. Please don't abuse it. Azareal 2019-01-21 22:27:59 +1000
  • 5db5bc0c7e Reply attachments can be managed too now. Added eight database indices. Fixed a bug where the second tick wouldn't fire. Tweaked the .topic_forum in Nox by a pixel. Replaced some _installer strings with blank strings for consistency with the builders. Greatly reduced the number of allocations in the user agent parser. Added ampersand entities in more attachment URLs to avoid accidental mangling. .edit_source is now hidden for guests. Guest noavatars are now pre-calculated to reduce the number of allocations. Lazily initialised a couple of maps in ViewTopic to reduce the number of unnecessary allocations slightly. Azareal 2018-12-31 19:03:49 +1000
  • a1a90ab9fd The opening posts should be properly rendered after inline edits now. Switched out the / in the headers for a - The template generator can now handle FieldNodes passed to templates. Azareal 2018-12-28 21:13:06 +1000
  • f4337536dc Quick reply now takes you to your post rather than the first page of the topic. Azareal 2018-12-28 17:12:14 +1000
  • 4813403fbb Posts should now be properly rendered after an inline edit. Moved uploadAttachment and deleteAttachment from route/topic.go to route/attachments.go Azareal 2018-12-28 12:08:35 +1000
  • bf2af0ae96 Laid the foundations for better reply attachments. The attachment manager introduced in the previous patch is now properly localised. Azareal 2018-12-27 19:12:30 +1000
  • 6c42df3091 Generate these out too. Azareal 2018-12-27 16:03:25 +1000
  • 8900ebb4cd Don't forget these two bits. Azareal 2018-12-27 15:53:49 +1000
  • 3465e4c08f You can now manage the attachments for an opening post by hitting edit. Azareal 2018-12-27 15:42:41 +1000
  • 548227104c Added meta canonical to help with SEO. Swapped out some *.IDs for *.Links Added IDs to the posts. Azareal 2018-12-17 20:14:20 +1000
  • 543ad8a018 Added the login log. Added a better paginator for view topic. The last post on the topic list and forum pages now link to the last page of a topic for quicker navigation. The Account Manager now utilises dyntmpl in more areas. More tooltips. Tweaked the colour for the validated emails in the Email Manager so it looks nicer on dark themes. Moved some inline styles from the Email Manager into the stylesheets and removed obsolete ones. Added the mixed BenchmarkTopicGuestAdminRouteParallelWithRouter benchmark. The bad route benchmark should no longer abort when erroring, something which doesn't make sense as it's always expected to error. Reduce a bit more boilerplate with renderTemplate() Added the *CTemplateSet.addText method and used it to optimise the generated templates a tiny bit more. The forums route now has guest and member variants generated for it. Turned the experimental template optimisation back on for more data. Azareal 2018-12-17 14:58:55 +1000
  • 184a7d501e Try a more limited version of the experimental optimisation. Azareal 2018-12-15 15:20:17 +1000
  • 72c92672b7 Use unsafe to reduce the number of string to slice copies in templates. Use sliced arrays to reduce the amount of null padding in template fragments. Revert a failed optimisation in templates. Remove a few more redundant branches in variant templates. Azareal 2018-12-15 14:39:50 +1000
  • de955559d3 How did these get missed x.x Azareal 2018-12-14 14:35:49 +1000
  • 6eb69d0c96 Package time isn't needed in these cases. Azareal 2018-12-14 14:30:13 +1000
  • 40064f9e27 Removed the Tempra Conflux Theme. Azareal 2018-12-14 14:11:02 +1000
  • 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. Azareal 2018-12-14 14:08:53 +1000
  • 7abd3220de Don't forget this bit in the footer. Azareal 2018-12-08 17:16:45 +1000
  • dc974cf72b Improved mobile usability for Nox in the topic list, profiles, account manager and control panel. More to come. Azareal 2018-12-08 16:49:14 +1000
  • 99012e8961 Replaced RunThemeTemplate and GetThemeTemplate with methods on *Theme and refactored their implementations to make them more predictable. Added the Elapsed1 route timer. Azareal 2018-12-08 10:45:27 +1000
  • 21cf956a26 Move this bit in there too. Azareal 2018-12-06 22:16:09 +1000
  • 4397b7afc8 Make Users.BulkGetMap a little more tolerant of duplicate IDs. Azareal 2018-12-06 21:54:20 +1000
  • a20078d83b Revamped the IP Search Page for Nox. Revamped the Word Filter Manager for Nox. Revamped the Setting Manager for Nox and Cosora. Upped the number of items in the User Manager. Upped the number of items in the Group Manager. Upped the number of items in the Page Manager. Swap a fmt.Println for a DebugLog in hold.ScanItem. EQCSS.js should ignore panel.css in Cosora now. Added the lang template function for stylesheet templates to reduce the amount of boilerplate. Localised a couple of spots in the Nox Theme which got overlooked. Tweaked the grid CSS for Nox. The Control Panel Dashboard items now change colour in Nox like in the other themes. Use Site.Host instead of req.Host for www redirects for security reasons. Removed a superfluous function call in WriterIntercept.WriteHeader. Tweaked several bits and pieces of CSS like the padding on a few items in the Forum Editor. Azareal 2018-12-06 21:09:10 +1000
  • 14884ebb14 Quasi mod group-forum presets now show up as Custom rather than blank on all themes. Forum permission group-forum presets now show up on Nox. Fixed levels breaking onto multiple lines in Nox. Azareal 2018-12-03 22:32:46 +1000
  • 255dd92a65 Fixed a data race in the client side alert logic. misc.js should now be loaded for guests too in Nox. Fixed the msgCount property not being set for guests in alerts. Azareal 2018-11-30 13:02:20 +1000
  • 27fb79d4d5 Fixed a bug where forums inheriting from the group didn't appear on the forum list and the topic list. Cleaned up the logic in preRoute slightly. Reordered the logic in preRoute so that the CSP is set for the PreError too. Clear a user's cached data when their IP changes. Hide the comment header when there aren't any comments. Azareal 2018-11-29 17:27:17 +1000
  • 2e1916f3c9 Don't forget to push this too or it won't work. Azareal 2018-11-29 10:51:17 +1000