Commit Graph

  • cd89e836a1 Some resource management work and performance improvements. Azareal 2018-09-13 17:41:01 +1000
  • 1854010840 Fixed a bug where nil sockets weren't getting skipped. Added some additional sanity checks. Azareal 2018-09-12 19:50:57 +1000
  • 646c1f2545 Don't prematurely load topics just to increment their cached view counts. Azareal 2018-09-11 22:21:15 +1000
  • 01040b200d Fixed a bug where the alert list would extend endlessly with WebSockets disabled or if a user has too many alerts. Fixed a bug where the wrong alerts would be removed if a alert dismissal event is received for an alert which isn't in the client cache. Azareal 2018-09-09 12:15:53 +1000
  • a13b575b72 Alert dismissals should now be fanned out to other tabs and devices listening to the alert feed. Azareal 2018-09-08 23:50:15 +1000
  • 3822fe12d2 Refactored the client-side alert logic. Exported WsHubImpl's PushMessage method. Fixed a bug in WSUser's WriteAll and WriteToPage methods where they wouldn't skip over the nil sockets. Azareal 2018-09-08 22:47:37 +1000
  • e22a96f53e Oops, make sure those locks are released. Azareal 2018-09-08 15:29:51 +1000
  • dfc60ec214 Added support for multiple subscribers mapped to a single user in the WebSockets Component. Untested. Azareal 2018-09-08 15:12:48 +1000
  • b718dcdc17 Added a missing form background for the User Editor in Nox. Azareal 2018-09-08 12:17:01 +1000
  • fd2a35cbcd Topic views should roughly update once every fifteen minutes in the UI now. Fixed a bug where int64s wouldn't work properly in transpiled templates. Changed the type of ViewCount in the topic structs to int64. Azareal 2018-09-08 11:32:24 +1000
  • 787108ceda Fixed a bug where the alerts list would appear under a side menu in Cosora. Azareal 2018-09-07 21:32:32 +1000
  • ab6a44cf53 Revamped Cosora's Control Panel Menu. Azareal 2018-09-02 15:43:17 +1000
  • 6ecbc18831 Basic profiles for Nox. Added the styling for the IP Search Page to Nox. Moved the bgavatars related styling from Nox's panel.css to main.css Azareal 2018-09-01 18:03:26 +1000
  • 7a1df79686 Sorting out the button segment of the topics on the Nox Theme. Fixed a small padding issue in the topics page on mobile in the Cosora Theme. Fixed the parent forum CSS in the topics page on mobile in the Cosora Theme. Azareal 2018-09-01 16:53:50 +1000
  • a34e8f0e4e Momentarily remove the forum link and view counter on mobile for Nox until we make them look not awful. Fixed a media query block ordering bug in Nox. Azareal 2018-08-31 16:25:13 +1000
  • 39adc2e606 Per-topic views are now visible in the topic pages for the Nox Theme. The parent forum of a topic is now visible on the topic pages for the Cosora and Nox Themes. Added basic styling for polls to the Nox Theme. Improved the styling for topic title editing in the Nox Theme. Azareal 2018-08-30 20:31:21 +1000
  • 41c3a5bb4a Added a Content Security Policy for upgrading insecure images to HTTPS to avoid mixed content warnings. Azareal 2018-08-30 15:57:07 +1000
  • 465d5c7835 The Topic page is nearly done for Nox, just the buttons and a few little things now. Fixed the paginator in the Nox Panel. Eliminated a redundant class="" in the registration logs when the registration is a success. Azareal 2018-08-30 15:53:21 +1000
  • 91c81b96e0 This should fix it x.x Azareal 2018-08-29 13:46:27 +1000
  • f84f11a1eb More troubleshooting... Azareal 2018-08-29 13:36:17 +1000
  • 28ba465c8a I'll try anything now o.o Azareal 2018-08-29 13:31:52 +1000
  • 6839dd5ffb Experimenting with greater use of pkg/errors so we don't waste as much time as we're wasting here on pinning things down. Azareal 2018-08-29 13:23:02 +1000
  • adb447ae06 Run tests on Go 1.11 too. Azareal 2018-08-29 13:11:24 +1000
  • c0d27ba4f2 Don't forget the other argument. Azareal 2018-08-29 13:09:01 +1000
  • 1102602ed7 We might need to call Fatalf to invoke the formatter. Azareal 2018-08-29 12:59:32 +1000
  • 1923ad6acb Let's zone in on the problem. Azareal 2018-08-29 12:55:24 +1000
  • 7114cc1652 Function calls are cheap for tests, we don't need these conditional guards around gloinit. Azareal 2018-08-29 12:34:46 +1000
  • b1c74e9069 Debugging Travis. Azareal 2018-08-29 12:22:09 +1000
  • 11303d85c3 It would be really nice if the adapter didn't panic on recoverable errors x.x Azareal 2018-08-29 12:09:49 +1000
  • c20251b462 Oops, don't kill Gosora when the Unix socket isn't present. Azareal 2018-08-29 11:59:43 +1000
  • 63451c7291 Gosora should now try to connect to MySQL via a pipe on Linux. Azareal 2018-08-29 11:37:57 +1000
  • f9dedc9691 Fixed a bug with users slipping past the topic list cache. Azareal 2018-08-27 19:06:00 +1000
  • 6408dcb1ac Yet more codeblocks in the README. Azareal 2018-08-26 16:05:56 +1000
  • 5ff6d8b6ee Cleaned up the update instructions and moved them into their own home. Added more code blocks to make the instructions easier to follow. Azareal 2018-08-26 15:56:56 +1000
  • 90821ebe39 Fixed a typo in the README. Azareal 2018-08-26 15:25:33 +1000
  • 0d121c6ea7 Revamped the installation instructions and moved them into their own home. Added a recommendation to symlink go to avoid annoying future errors with systemd. Added simple instructions on how to upgrade Go. Added a suggestion on how to run Gosora in the background without systemd. Azareal 2018-08-26 15:18:50 +1000
  • 5872c02b62 Tweaked contributing. Azareal 2018-08-25 19:50:40 +1000
  • 8bd1925e83 Finished the topic pages for small mobiles for the Nox Theme. Eliminate some boilerplate in the super experimental sendmail plugin. Azareal 2018-08-25 19:32:00 +1000
  • 4d0d9fd4a5 Fixed the cache headers on /uploads/ and optimised the route a little. Azareal 2018-08-24 16:24:27 +1000
  • 32f3bc453f Revert "Try this to speed up /uploads/, we might have to revert it if it breaks the caches." Azareal 2018-08-23 22:18:15 +1000
  • 5d4ea4d2e0 Try this to speed up /uploads/, we might have to revert it if it breaks the caches. Azareal 2018-08-23 22:11:52 +1000
  • d3517ea24d Elaborate on a detail and remove a redundant line. Azareal 2018-08-23 10:12:03 +1000
  • 0b0b2d5649 Added quick-update-linux to fix a few potential issues with running under the gosora user. Azareal 2018-08-23 08:12:19 +1000
  • 2dabe83fb3 Set a password for the gosora user, reorder the ccommands and update the upgrade instructions. Azareal 2018-08-23 07:47:57 +1000
  • 0ad12c3958 Tweaked the permissions on the logs so we don't end up with a bunch of errors. Oops, missed the generated router, well each instance generates it fresh anyway. Azareal 2018-08-22 22:37:58 +1000
  • 80f103a3d3 Fixed a bug where Japanese text wouldn't work properly with Gzip. Azareal 2018-08-22 21:02:50 +1000
  • 90114fae9e Update the installation instructions with something a little more hardened. Azareal 2018-08-22 21:02:14 +1000
  • 146aa3aaad Fixed a bug where gzip spits out garbage bytes when it's disabled. Disabled Gzip on the Control Panel Backup Page. Azareal 2018-08-22 17:10:29 +1000
  • 0d96f4efac Use the correct mimetype for SQL backups. Azareal 2018-08-22 16:37:36 +1000
  • dcc59e7b86 Reduce the number of error checks in the generated router. Azareal 2018-08-22 12:29:11 +1000
  • f90fe99fb3 Moved /uploads back into the main router switch. Azareal 2018-08-22 12:13:17 +1000
  • 8f7cda9378 Don't double-compress avatars. Gzip is now disabled for static files when the gains don't justify the costs. Moved StopServerChan and StoppedServer to package common. Added some disabled profiling code. Azareal 2018-08-22 11:32:07 +1000
  • 8f47650b68 Copy this instead so it doesn't interfere with Git. Azareal 2018-08-21 18:11:44 +1000
  • 7b8943517b Upped the compression level for static files. Experimenting with compressing everything. Fixed the live things. Azareal 2018-08-21 18:00:35 +1000
  • 2e0f2bc7b6 Updated the installation instructions to make them a little friendlier. Changed the default installation directory to /home/gosora/src/ instead of /home/gosora/ Azareal 2018-08-20 21:37:04 +1000
  • 7f55429748 Try to cut down on hit and run features. Azareal 2018-08-20 18:51:05 +1000
  • d1eb66a464 Remove Docker for now as it might cause problems than it solves. Azareal 2018-08-20 18:07:04 +1000
  • bc7982952d Making topics in the Nox Theme mobile friendly. Azareal 2018-08-19 16:25:59 +1000
  • 6f5065c854 Almost finished up the buttons on the User Manager for Nox. Azareal 2018-08-16 21:16:02 +1000
  • 9e8f455bbb Added resource utilisation data to the Debug Page. Azareal 2018-08-16 15:27:26 +1000
  • d8682aca94 Move these header sets to the start of the router. Azareal 2018-08-15 18:06:48 +1000
  • 9e374cd7a5 A simple test to see if Gosora builds with the MSSQL Tag. Azareal 2018-08-15 17:07:22 +1000
  • 0305571cb3 Eliminated some JS errors for guests on Cosora. Azareal 2018-08-15 17:02:57 +1000
  • f2b210248a Only load Chartist when we actually have a chart on the page. Azareal 2018-08-13 22:37:53 +1000
  • 4c86c0a042 Fixed gzip in /static/ The me endpoint is no longer served for guests. Azareal 2018-08-13 22:01:27 +1000
  • 3fc2d6a867 Added the init.js file to make certain bits of JS run sooner than others. The template_*.js files should get cached now. The phrase API results might get cached now. Solved an edge case in the attachment parser where a redirect is triggered on a HTTPS site when the attachment is posted as a HTTP URL. Fixed runHook in the JS files. Azareal 2018-08-13 20:34:00 +1000
  • 317ab8856b Move towards loading the important scripts asynchronously. Removed the client's reliance on the server's Site.URL setting. Azareal 2018-08-13 11:53:16 +1000
  • a9a1d667c0 Added the /api/me/ API endpoint. Azareal 2018-08-12 01:53:42 +1000
  • 18c5223143 Pin Docker to 1.10 not the patch version, otherwise things could go horribly wrong. Added the_form to the Page Editor. Added a phrase for the Menu Editor title rather than reusing the Menu Manager's one. Replaced a dotted border I missed in Tempra Simple. Fixed a floater in the User Manager for Shadow. Tweaked the form CSS for Nox. Tweaked panel_submitrow in Nox. Azareal 2018-08-11 22:09:26 +1000
  • 06d6715c47 Many HTML / CSS / Template changes. Azareal 2018-08-10 17:58:25 +1000
  • d4db2aa2bb Experimenting with Docker. Doesn't work at the moment. Azareal 2018-08-10 17:47:53 +1000
  • 3bb626a294 On second thought, that might fit better in the advanced section. Azareal 2018-08-07 15:07:24 +1000
  • 2fa6659db9 And don't forget to update the README. Azareal 2018-08-07 14:57:11 +1000
  • a3c5601ac7 Harden things a little more with PrivateDevices and PrivateUsers. Let's hope this doesn't blow up on me. Azareal 2018-08-07 14:53:43 +1000
  • f2ecb9dbf7 apng is no longer a valid image format as we don't have the technology to optimise it. Experimenting with systemd. Azareal 2018-08-07 14:14:28 +1000
  • 7a66b73a62 Added QueryGen, RouterGen, Patcher and config.json to .gitignore Azareal 2018-08-06 12:48:47 +1000
  • b8681524f3 Added a mitigation for polyglot attacks. .panel_floater is now floated to the right on Nox. Azareal 2018-08-06 12:36:24 +1000
  • 01a692ab5b Added the word filter store and moved the word filter routes into the route package. Added tests for the word filter store. Added qgen.NewAcc() to reduce the amount of boilerplate needed for creating an accumulator. Exposed the RecordError method on the accumulator. Added an Add method to PluginList and removed AddPlugin() in favour of that. Azareal 2018-08-04 21:46:36 +1000
  • 8e81f922ea Added some new test cases to catch more things and to see if the statistics on Code Climate change. Added more TODO ideas for changes. Removed an unused field from LanguagePack. Azareal 2018-07-31 14:02:09 +1000
  • d0e7b1c982 Apparently, it worked even though it spat out an error /shrug Azareal 2018-07-30 19:06:57 +1000
  • 05e916ce2a Fixing up the user dashboard on Tempra Simple. Missed a spot of CC. Azareal 2018-07-30 19:00:41 +1000
  • 73e1f34257 Don't waste time with Code Climate Test Reporter anymore. Removed. Azareal 2018-07-30 18:43:48 +1000
  • aefaa5ae1a Try chmod 777, if this doesn't work, I'm not sure what to do about CC tbh Azareal 2018-07-30 18:36:58 +1000
  • 71361e3ca0 What is even in this folder at this point of execution Azareal 2018-07-30 18:31:13 +1000
  • c5e6f69780 Yeah... I kinda give up Azareal 2018-07-30 18:23:39 +1000
  • a1534498cd Grr... Azareal 2018-07-30 18:16:30 +1000
  • 2b4ed1d70e Those tests were too thorough, even reaching into sections which aren't quite implemented. Added new rules for commits which introduced database changes. Azareal 2018-07-30 18:09:08 +1000
  • e46e8685a3 An official CC example says this... Azareal 2018-07-30 18:02:29 +1000
  • 928121fe7c Bad SO answer, tweaked. Azareal 2018-07-30 17:53:11 +1000
  • f55dc5f04f Did Code Climate not have read? Azareal 2018-07-30 17:49:27 +1000
  • 91bfd334cc Added the build status to the README, people seem to like these badges, very fashionable. Azareal 2018-07-30 16:04:26 +1000
  • 701d3f296b x.x Azareal 2018-07-30 14:21:30 +1000
  • c42af97ec3 Let's try a slightly different approach to try to get CC to work Azareal 2018-07-30 14:18:36 +1000
  • 26f8c3e50d Make sure gocov is setup on Travis, slightly dated coverage tool, but it seems to be the easiest one to setup. Azareal 2018-07-30 14:12:03 +1000
  • 57787f94fa Maybe this? Azareal 2018-07-30 14:07:13 +1000
  • 9c9ded171d Comment out some of the tests which aren't really meant to succeed. Azareal 2018-07-30 13:57:02 +1000
  • 105448f2ba Experiment with Code Climate on Travis. Azareal 2018-07-30 13:48:30 +1000
  • d73ece6445 Start phasing out Tempra Conflux. Azareal 2018-07-30 12:51:22 +1000
  • 7691078ce5 Fixed a bug in AddHook where the indices of the hooks would be off by one. RemoveHook now panics under conditions which should normally never happen, but which when it does, gives off a far more useful message. Changed the order of the conditional after BypassActive in PluginsDeactivate, so the error message will show up now. The deactivation handler is optional again for plugins. Azareal 2018-07-29 23:02:48 +1000
  • 50d5be6f32 Moved the plugin manager to the routes package. Added many, many tests for the plugin system. Refactored some of the plugin system queries. Azareal 2018-07-29 20:54:12 +1000