Commit Graph

  • 266f17c23d Revamped the Nox Account Manager and Control Panel Menus. The topics list template is now generated by loggedin. Replaced some uses of {{if ne .CurrentUser.ID 0}} with {{if .CurrentUser.Loggedin}} Fixed a bug in the profiles where the comment creation form was shown to guests. Added the profile_comments_form_guest phrase. Azareal 2018-11-29 07:46:53 +1000
  • 5009a8b04c Optimise away some more bits we don't need for guests and members. Azareal 2018-11-27 17:40:13 +1000
  • 50fef78078 Split the transpiled topic alt route into a guest part and a member part for extra speed. Fixed a bug in the template fragment coalescer. Added the loadTemplate function to help reduce the amount of duplicated code in the template generator. Added a couple of helper methods to CContext to reduce the amount of possibly error prone boilerplate. Azareal 2018-11-26 15:08:10 +1000
  • 826330035f Fixed text flowing out of the boxes on the forums page on Nox. Azareal 2018-11-23 18:58:34 +1000
  • d6b153baf4 Fixed a bug where you couldn't create topics from the forum pages. Azareal 2018-11-23 18:31:40 +1000
  • 3079080acf Refactor these shell scripts. Bumped up the version of MariaDB for Travis. Azareal 2018-11-22 18:50:53 +1000
  • 45465ef210 Gosora should build on Linux again, for some reason, it needs gcc though, must be one of the dependencies. Azareal 2018-11-22 18:08:41 +1000
  • 52c8be4173 Variables which are computed multiple times in templates should only be computed once now. Azareal 2018-11-22 17:21:43 +1000
  • 87b3f9107d Up the default cache capacity. Azareal 2018-11-22 15:36:11 +1000
  • e67009d4e3 Move ShowAttachment into it's own file. Azareal 2018-11-20 14:07:36 +1000
  • 352a262866 Only cache public attachments in the browser and CDNs. Azareal 2018-11-20 14:00:32 +1000
  • 1aac6f1268 Greatly reduced the number of w.Write calls in the generated templates. The topic list should only be rebuilt for a short window after something related to it changes on single server setups. Swapped out the RebuildGroupPermissions call in UpdatePerms with a more general and versable Groups.Reload call. The template generator now use log instead of fmt for writing debug logs. Azareal 2018-11-20 09:06:15 +1000
  • f508ef9898 Moved CContext and some related structs into their own file. Azareal 2018-11-18 19:28:26 +1000
  • 5a459ba780 Have a buffer for the fragments too, so we can add an optimisation pass. Azareal 2018-11-18 17:14:18 +1000
  • 21b2c54166 Better template debugging. Azareal 2018-11-18 15:43:10 +1000
  • d99fd01ed9 Rewrote the template generator to make it more flexible and easier to debug. The template generator now has better support for pointers to primitives. Tweaked some CSS. Azareal 2018-11-18 15:28:27 +1000
  • 17f85ceccf The time it took for the route to be processed is shown in the footer in the Nox Theme for admins now Azareal 2018-11-17 12:36:02 +1000
  • 8e997048e3 Use MicroAvatar instead of Avatar where possible to reduce the amount of time spent processing images on the client. Removed the site suffix from the default noavatar URL to increase the amount of inter-site caching. Azareal 2018-11-15 11:01:26 +1000
  • 4759ec9c4c The settings should be validated properly now when they're updated. Added more features to RouteError and RouteErrorImpl to help in suppressing sensitive information. Refactored the setting update logic, so the settings are reloaded all at once rather than updated individually. Renamed the router variables in the generated router to r to reduce the number of characters we have to type there. Renamed some of the r variables in the generated router to req for consistency sake. Azareal 2018-11-13 16:51:34 +1000
  • 4040417320 Refactored the route declarations. Azareal 2018-11-13 14:43:05 +1000
  • 2049948b0f Fixed a bug where the topic middle suffixes weren't showing up on the forum pages. Added a NoHeader() I forgot. Azareal 2018-11-12 19:38:46 +1000
  • 9f273a99f5 Trying to reduce the amount of UserCheck() boilerplate in the routes. Reduced the amount of boilerplate in routes with renderTemplate() Reduced the amount of boilerplate in routes with ParseSEOURL() Removed some dated commented bits of code. Used StashConfig in a few more places in the benchmarks to reduce the amount of boilerplate. Azareal 2018-11-12 19:23:36 +1000
  • 83dc26aa43 Fixed the JS templates. Azareal 2018-11-01 16:51:04 +1000
  • 76cfcb509b Moved the phrase logic to the phrases package. Removed some initialisation boilerplate from the test code. De-duplicated some of the common portions of the benchmarks. Added miscinit to reduce the amount of initialisation boilerplate in the tests and to better catch initialisation errors. Added a profile benchmark. Azareal 2018-11-01 16:43:56 +1000
  • f5a0e3386b Action posts can now be localised. Tweaked the updating instructions. Azareal 2018-10-27 14:55:53 +1000
  • ffe06afb1b No point in running tests for Go 1.10 now. Azareal 2018-10-27 14:19:18 +1000
  • 992115c22e Fixed the path to install for tests. Azareal 2018-10-27 14:16:34 +1000
  • 5ab20e0adf Reduce the number of go gets and fix Travis. Azareal 2018-10-27 14:12:13 +1000
  • a278170766 Fixed the patcher. Azareal 2018-10-27 13:55:02 +1000
  • bf851bd9fc 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 Added support for dyntmpl to the template system. The Account Dashboard now sort of uses dyntmpl, more work needed here. Renamed the pre_render_view_topic hook to pre_render_topic. Added the GetCurrentLangPack() function. Added the alerts_no_new_alerts phrase. Added the account_level_list phrase. Azareal 2018-10-27 13:21:02 +1000
  • 35b1613005 Make the level bars in the profiles look less ugly. Azareal 2018-10-24 22:54:07 +1000
  • 876ae4e245 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. Fixed the missing background for the create topic non-JS page in Nox. The non-JS create topic page now has a localised title. Azareal 2018-10-21 23:54:32 +1000
  • 218070fceb Added the DisableJSAntispam config.json setting. Azareal 2018-10-16 20:02:51 +1000
  • c15f02396a Fixed a bug where a user's tag can get desynced with their group. Azareal 2018-10-14 16:16:42 +1000
  • 34b8d8dc3c Fixed a bug where group permissions didn't update until Gosora was restarted. The profile titles can now be localised. The profile owner tag can now be localised. Azareal 2018-10-14 16:09:25 +1000
  • aabfbe3622 Highlight the currently active zone in the menu for Nox. Replaced the Level Progress widget in the Account Dashboard with a similar progressbar to the one in the level progress page. Azareal 2018-10-14 15:08:44 +1000
  • c451358156 Improved the level UI on the Account Dashboard. The new level UI shouldn't be broken on the other themes now. Azareal 2018-10-11 19:50:48 +1000
  • 96a5a9e872 Fixed a bug where phrases would sometimes get entitised. Fixed a couple of spots which didn't have phrases. Removed inline CSS in a couple of places and added a missing tooltip. Azareal 2018-10-11 07:29:38 +1000
  • 05ab585d41 Added the level list page. Levels can now be localised individually. Added the level template function. Fixed the padding on alerts without avatars. The level data is now in it's own block in the profiles. Removed three level phrases and replaced them with the new Level API. Azareal 2018-10-10 17:33:51 +1000
  • de78268b20 Added level progress indicators, still WIP. Fixed a bug where GetLevelScore wouldn't work and simplified it slightly. Removed the account_dash_next_level phrase. Added the account_dash_level phrase. Azareal 2018-10-08 15:34:25 +1000
  • 4d75c543d2 Refactored most of the string-string tests to reduce the amount of boilerplate. Azareal 2018-10-08 14:38:51 +1000
  • f721780c0d Refactored some of the reply tests. Added some topic post count tests. Added a very simple action post test. Azareal 2018-10-08 14:15:06 +1000
  • 2acf4e1568 Added simple tests for the modlogs and adminlogs. Azareal 2018-10-08 12:51:59 +1000
  • 650a8a9be1 Added tests for the topic methods and topic creation. Added a few more cases to TestWordCount. Azareal 2018-10-07 20:46:49 +1000
  • ad61b5d8b2 MySQL being stupid x.x - #3 Azareal 2018-10-07 11:33:03 +1000
  • b6220d03d3 Don't forget to commit the rebuilt queries - #3 Azareal 2018-10-07 11:24:53 +1000
  • ebbfa7d247 Bumped up the version of MariaDB on Travis. Replaced a couple of expects with expectNilErrs so we don't lose the original errors messages in those tests. Fixed a couple more MySQL default value issues. Azareal 2018-10-07 00:02:52 +1000
  • 644bba36e3 Localised more alert strings. Renamed most of the alert phrases. Fixes #3 - Default value issue with MySQL. Fixed a bug where pages would't load with HTTPS disabled. Azareal 2018-10-06 23:14:11 +1000
  • 436c53f653 The user box on Nox should be highlighted now when there's a new alert. Removed some notes as they're not really needed now that I've refactored the alert builder. Azareal 2018-10-06 16:35:53 +1000
  • 0b44d69efc The alert list can be localised now. Removed a bit more boilerplate in the unit tests. Fixed a bug where the alert list wouldn't load. Azareal 2018-10-05 17:41:28 +1000
  • be66ac4c8d Added tests for the word counter. Azareal 2018-10-04 19:01:07 +1000
  • f517fc2e65 More user test refactoring. Added a utfmb4 username test. Azareal 2018-10-04 14:59:14 +1000
  • beb2d99469 Refactored the user tests to reduce the amount of boilerplate. Refactored BuildAlert to call into a function rather than building the alert strings itself. Added a couple of unicode related unit tests. Azareal 2018-10-04 12:58:01 +1000
  • b02175d7ae Localised the errors in /routes/panel/groups.go Fixed a typo in a group manager phrase. Azareal 2018-10-03 20:10:55 +1000
  • f6ab754743 Localised the group ranks in the group editor. Azareal 2018-10-02 20:00:52 +1000
  • a365e42dcf Added a missing panel_ prefix for a template and added a couple more error phrases. Azareal 2018-10-02 17:20:55 +1000
  • 0039b9c851 Reduced the amount of boilerplate in panel.Dashboard. Localised a few things in panel.Dashboard. Azareal 2018-10-02 16:56:24 +1000
  • 6634f3f64b All the control panel routes have been moved to /routes/panel/ now. Moved the software version to common.go for better accessibility. Azareal 2018-10-02 15:03:20 +1000
  • b2e97e47c1 Moved the last control panel theme manager route into /routes/panel/ Added the UpdateDefaultTheme function. Azareal 2018-10-02 14:09:17 +1000
  • 750c0ff442 Moved all but one of the control panel theme routes into /routes/panel/ Azareal 2018-10-01 00:43:46 +1000
  • dea74eb32a Localised the registration errors. Azareal 2018-09-30 19:48:31 +1000
  • d675b2720f Began localising the id_must_be_integer and url_id_must_be_integer error pages. Azareal 2018-09-30 10:42:33 +1000
  • 322a46bcb5 Moved the control panel group routes into /routes/panel/ Azareal 2018-09-30 10:08:27 +1000
  • dfca660dfc Localised the common error phrases. The no permissions error page has a less generic title now. Azareal 2018-09-28 17:19:51 +1000
  • d8d5bc0573 Localised the not found error. Azareal 2018-09-27 20:53:40 +1000
  • 59497de8dc Flatten out the Errors map in the phrase files. Azareal 2018-09-27 20:29:16 +1000
  • e9a9441e93 Changed the topic list filter label text when switching between sort orders. You can now close the topic list filter drop-down. Azareal 2018-09-27 19:41:35 +1000
  • 2e5256dd73 The topic list sort filters should be localised too. conversations Azareal 2018-09-26 18:10:46 +1000
  • 9005b10be1 Fixed the live topic list after Most Viewed broke it Azareal 2018-09-26 18:05:25 +1000
  • 859ed2c730 Finished the Most Viewed Page for Nox. Azareal 2018-09-26 17:46:30 +1000
  • efbb59f085 Fixed a bug where admins weren't able to reorder menu items. Azareal 2018-09-26 16:19:07 +1000
  • 04abfbe34f Fixed a bug where editing things wouldn't work. Azareal 2018-09-26 13:14:53 +1000
  • 44ade585c6 Merge branch 'tlistsort' of https://github.com/Azareal/Gosora into tlistsort Azareal 2018-09-25 19:34:41 +1000
  • a4117d1cf8 Move the inline filter opt styles into Nox's main.css Azareal 2018-09-25 19:08:48 +1000
  • 80657813da Made the filter opt visible again and started work on the filter drop-down menu. Azareal 2018-09-25 18:02:40 +1000
  • 1d17e7f334 Preliminary topic view counts for the Cosora Theme. Added the topic.view_count_suffix phrase. Azareal 2018-09-25 19:22:20 +1000
  • 4b75f5b55f Made the filter opt visible again and started work on the filter drop-down menu. Azareal 2018-09-25 18:02:40 +1000
  • 273a0b3637 Added internationalisation documentation. Azareal 2018-09-24 17:54:54 +1000
  • 7db4c60470 Simplify these calls with a closure. Azareal 2018-09-24 17:52:06 +1000
  • 28dedf987b Tweak the header size and hide these bits momentarily so we can merge back into master. Azareal 2018-09-24 17:49:19 +1000
  • 15b3ad07fa Try to eliminate some of these debug comments. Azareal 2018-09-24 09:42:17 +1000
  • 00059194a5 Punctuation should demarcate word endings too. Azareal 2018-09-24 09:40:52 +1000
  • cb9f067ff4 Maybe this? Hm. Azareal 2018-09-21 14:23:25 +1000
  • 64caed61ee Merge branch 'master' into tlistsort Azareal 2018-09-20 22:44:59 +1000
  • 06f20c3e1f Linkified the username in the userbox in Nox. We don't need two profile menu items. Removed some excessive padding from the Nox profiles. Azareal 2018-09-20 22:39:03 +1000
  • 7de911d78c Alerts now work in Nox. Azareal 2018-09-20 20:45:33 +1000
  • a1403d495d Let's see how we can best do this o-o Azareal 2018-09-20 18:56:50 +1000
  • eb6db07c30 Fixed a bug in the URL parser where it would demand a double newline rather than a single. Azareal 2018-09-20 16:47:54 +1000
  • e9645c07bd Added support for simple named mentions. Added a GetByName method to the UserStore. Added eight mention tests. Azareal 2018-09-20 16:31:09 +1000
  • 47d1010a53 Added the AddHashLinkType function so that plugins can add custom hash link types in an efficient manner. Moved the hashLinkMap, etc. out of ParseMessage so that we can make them more pluggable. The first word in usernames can no longer be purely numeric. Added some ID mention tests. Azareal 2018-09-20 14:36:50 +1000
  • f6b889b53b # is now allowed in URLs. Azareal 2018-09-20 12:58:06 +1000
  • ca322a1456 Begin refactoring the hashlinks to make them more pluggable. Azareal 2018-09-20 12:44:34 +1000
  • 46f03775c9 Use a Go 1.10 String Builder instead of byte slices in ParseMessage. Removed a couple of unnecessary lines from global.js Azareal 2018-09-20 11:51:18 +1000
  • 5d4013f500 Probe out this failing test case. Azareal 2018-09-20 11:42:45 +1000
  • 5a189e7180 We can probably be looser with ParseMessage than with PreparseMessage as it handles these edge cases for us. Azareal 2018-09-20 11:37:50 +1000
  • ed481fb75b The parser handles these ones not the pre-parser. Azareal 2018-09-20 11:28:21 +1000
  • 138a97d69b Added URL parser tests. Azareal 2018-09-20 11:11:44 +1000
  • 6941786490 Reduce the amount of boilerplate for images in the parser. Azareal 2018-09-19 16:59:07 +1000
  • 335fe4fdbe Little useful note and began work on v0.2.0 Azareal 2018-09-19 16:41:36 +1000
  • 225a2cc8a1 0.1.0 tag, checkpoint release. 0.1.0 Azareal 2018-09-19 16:09:03 +1000