266f17c23dRevamped 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
5009a8b04cOptimise away some more bits we don't need for guests and members.
Azareal
2018-11-27 17:40:13 +1000
50fef78078Split 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
826330035fFixed text flowing out of the boxes on the forums page on Nox.
Azareal
2018-11-23 18:58:34 +1000
d6b153baf4Fixed a bug where you couldn't create topics from the forum pages.
Azareal
2018-11-23 18:31:40 +1000
3079080acfRefactor these shell scripts. Bumped up the version of MariaDB for Travis.
Azareal
2018-11-22 18:50:53 +1000
45465ef210Gosora 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
52c8be4173Variables which are computed multiple times in templates should only be computed once now.
Azareal
2018-11-22 17:21:43 +1000
87b3f9107dUp the default cache capacity.
Azareal
2018-11-22 15:36:11 +1000
e67009d4e3Move ShowAttachment into it's own file.
Azareal
2018-11-20 14:07:36 +1000
352a262866Only cache public attachments in the browser and CDNs.
Azareal
2018-11-20 14:00:32 +1000
1aac6f1268Greatly 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
f508ef9898Moved CContext and some related structs into their own file.
Azareal
2018-11-18 19:28:26 +1000
5a459ba780Have a buffer for the fragments too, so we can add an optimisation pass.
Azareal
2018-11-18 17:14:18 +1000
d99fd01ed9Rewrote 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
17f85ceccfThe 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
8e997048e3Use 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
4759ec9c4cThe 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
4040417320Refactored the route declarations.
Azareal
2018-11-13 14:43:05 +1000
2049948b0fFixed 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
9f273a99f5Trying 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
83dc26aa43Fixed the JS templates.
Azareal
2018-11-01 16:51:04 +1000
76cfcb509bMoved 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
f5a0e3386bAction posts can now be localised. Tweaked the updating instructions.
Azareal
2018-10-27 14:55:53 +1000
ffe06afb1bNo point in running tests for Go 1.10 now.
Azareal
2018-10-27 14:19:18 +1000
992115c22eFixed the path to install for tests.
Azareal
2018-10-27 14:16:34 +1000
5ab20e0adfReduce the number of go gets and fix Travis.
Azareal
2018-10-27 14:12:13 +1000
a278170766Fixed the patcher.
Azareal
2018-10-27 13:55:02 +1000
bf851bd9fcWe 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
35b1613005Make the level bars in the profiles look less ugly.
Azareal
2018-10-24 22:54:07 +1000
876ae4e245Refactored 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
218070fcebAdded the DisableJSAntispam config.json setting.
Azareal
2018-10-16 20:02:51 +1000
c15f02396aFixed a bug where a user's tag can get desynced with their group.
Azareal
2018-10-14 16:16:42 +1000
34b8d8dc3cFixed 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
aabfbe3622Highlight 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
c451358156Improved 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
96a5a9e872Fixed 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
05ab585d41Added 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
de78268b20Added 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
4d75c543d2Refactored most of the string-string tests to reduce the amount of boilerplate.
Azareal
2018-10-08 14:38:51 +1000
f721780c0dRefactored 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
2acf4e1568Added simple tests for the modlogs and adminlogs.
Azareal
2018-10-08 12:51:59 +1000
650a8a9be1Added tests for the topic methods and topic creation. Added a few more cases to TestWordCount.
Azareal
2018-10-07 20:46:49 +1000
ad61b5d8b2MySQL being stupid x.x - #3
Azareal
2018-10-07 11:33:03 +1000
b6220d03d3Don't forget to commit the rebuilt queries - #3
Azareal
2018-10-07 11:24:53 +1000
ebbfa7d247Bumped 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
644bba36e3Localised 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
436c53f653The 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
0b44d69efcThe 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
be66ac4c8dAdded tests for the word counter.
Azareal
2018-10-04 19:01:07 +1000
f517fc2e65More user test refactoring. Added a utfmb4 username test.
Azareal
2018-10-04 14:59:14 +1000
beb2d99469Refactored 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
b02175d7aeLocalised the errors in /routes/panel/groups.go Fixed a typo in a group manager phrase.
Azareal
2018-10-03 20:10:55 +1000
f6ab754743Localised the group ranks in the group editor.
Azareal
2018-10-02 20:00:52 +1000
a365e42dcfAdded a missing panel_ prefix for a template and added a couple more error phrases.
Azareal
2018-10-02 17:20:55 +1000
0039b9c851Reduced the amount of boilerplate in panel.Dashboard. Localised a few things in panel.Dashboard.
Azareal
2018-10-02 16:56:24 +1000
6634f3f64bAll 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
b2e97e47c1Moved the last control panel theme manager route into /routes/panel/ Added the UpdateDefaultTheme function.
Azareal
2018-10-02 14:09:17 +1000
750c0ff442Moved all but one of the control panel theme routes into /routes/panel/
Azareal
2018-10-01 00:43:46 +1000
dea74eb32aLocalised the registration errors.
Azareal
2018-09-30 19:48:31 +1000
d675b2720fBegan localising the id_must_be_integer and url_id_must_be_integer error pages.
Azareal
2018-09-30 10:42:33 +1000
322a46bcb5Moved the control panel group routes into /routes/panel/
Azareal
2018-09-30 10:08:27 +1000
dfca660dfcLocalised the common error phrases. The no permissions error page has a less generic title now.
Azareal
2018-09-28 17:19:51 +1000
d8d5bc0573Localised the not found error.
Azareal
2018-09-27 20:53:40 +1000
59497de8dcFlatten out the Errors map in the phrase files.
Azareal
2018-09-27 20:29:16 +1000
e9a9441e93Changed 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
2e5256dd73The topic list sort filters should be localised too.
conversations
Azareal
2018-09-26 18:10:46 +1000
9005b10be1Fixed the live topic list after Most Viewed broke it
Azareal
2018-09-26 18:05:25 +1000
859ed2c730Finished the Most Viewed Page for Nox.
Azareal
2018-09-26 17:46:30 +1000
efbb59f085Fixed a bug where admins weren't able to reorder menu items.
Azareal
2018-09-26 16:19:07 +1000
04abfbe34fFixed a bug where editing things wouldn't work.
Azareal
2018-09-26 13:14:53 +1000
64caed61eeMerge branch 'master' into tlistsort
Azareal
2018-09-20 22:44:59 +1000
06f20c3e1fLinkified 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
7de911d78cAlerts now work in Nox.
Azareal
2018-09-20 20:45:33 +1000
a1403d495dLet's see how we can best do this o-o
Azareal
2018-09-20 18:56:50 +1000
eb6db07c30Fixed 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
e9645c07bdAdded support for simple named mentions. Added a GetByName method to the UserStore. Added eight mention tests.
Azareal
2018-09-20 16:31:09 +1000
47d1010a53Added 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
ca322a1456Begin refactoring the hashlinks to make them more pluggable.
Azareal
2018-09-20 12:44:34 +1000
46f03775c9Use 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
5d4013f500Probe out this failing test case.
Azareal
2018-09-20 11:42:45 +1000
5a189e7180We 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
ed481fb75bThe parser handles these ones not the pre-parser.
Azareal
2018-09-20 11:28:21 +1000