Commit Graph

886 Commits

Author SHA1 Message Date
Azareal 41c3a5bb4a Added a Content Security Policy for upgrading insecure images to HTTPS to avoid mixed content warnings. 2018-08-30 15:57:07 +10:00
Azareal 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.

Part-way through fixing the analytics page header.
2018-08-30 15:53:21 +10:00
Azareal 91c81b96e0 This should fix it x.x 2018-08-29 13:46:27 +10:00
Azareal f84f11a1eb More troubleshooting... 2018-08-29 13:36:17 +10:00
Azareal 28ba465c8a I'll try anything now o.o 2018-08-29 13:31:52 +10:00
Azareal 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. 2018-08-29 13:23:02 +10:00
Azareal adb447ae06 Run tests on Go 1.11 too. 2018-08-29 13:11:24 +10:00
Azareal c0d27ba4f2 Don't forget the other argument. 2018-08-29 13:09:01 +10:00
Azareal 1102602ed7 We might need to call Fatalf to invoke the formatter. 2018-08-29 12:59:32 +10:00
Azareal 1923ad6acb Let's zone in on the problem. 2018-08-29 12:55:24 +10:00
Azareal 7114cc1652 Function calls are cheap for tests, we don't need these conditional guards around gloinit. 2018-08-29 12:34:46 +10:00
Azareal b1c74e9069 Debugging Travis. 2018-08-29 12:22:09 +10:00
Azareal 11303d85c3 It would be really nice if the adapter didn't panic on recoverable errors x.x 2018-08-29 12:09:49 +10:00
Azareal c20251b462 Oops, don't kill Gosora when the Unix socket isn't present. 2018-08-29 11:59:43 +10:00
Azareal 63451c7291 Gosora should now try to connect to MySQL via a pipe on Linux. 2018-08-29 11:37:57 +10:00
Azareal f9dedc9691 Fixed a bug with users slipping past the topic list cache. 2018-08-27 19:06:00 +10:00
Azareal 6408dcb1ac Yet more codeblocks in the README. 2018-08-26 16:05:56 +10:00
Azareal 5ff6d8b6ee Cleaned up the update instructions and moved them into their own home.
Added more code blocks to make the instructions easier to follow.
2018-08-26 15:56:56 +10:00
Azareal 90821ebe39 Fixed a typo in the README. 2018-08-26 15:25:33 +10:00
Azareal 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.
2018-08-26 15:18:50 +10:00
Azareal 5872c02b62 Tweaked contributing. 2018-08-25 19:50:40 +10:00
Azareal 8bd1925e83 Finished the topic pages for small mobiles for the Nox Theme.
Eliminate some boilerplate in the super experimental sendmail plugin.
2018-08-25 19:32:00 +10:00
Azareal 4d0d9fd4a5 Fixed the cache headers on /uploads/ and optimised the route a little. 2018-08-24 16:24:27 +10:00
Azareal 32f3bc453f Revert "Try this to speed up /uploads/, we might have to revert it if it breaks the caches."
This reverts commit 5d4ea4d2e0.
2018-08-23 22:18:15 +10:00
Azareal 5d4ea4d2e0 Try this to speed up /uploads/, we might have to revert it if it breaks the caches. 2018-08-23 22:11:52 +10:00
Azareal d3517ea24d Elaborate on a detail and remove a redundant line. 2018-08-23 10:12:03 +10:00
Azareal 0b0b2d5649 Added quick-update-linux to fix a few potential issues with running under the gosora user.
Added a note relating to setting up Gosora on a local machine.
Some tidbits are outdated and don't belong in the section about updating dependencies.
Added a note for what to do when getting an access denied error.
2018-08-23 08:12:19 +10:00
Azareal 2dabe83fb3 Set a password for the gosora user, reorder the ccommands and update the upgrade instructions. 2018-08-23 07:47:57 +10:00
Azareal 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.
2018-08-22 22:37:58 +10:00
Azareal 80f103a3d3 Fixed a bug where Japanese text wouldn't work properly with Gzip. 2018-08-22 21:02:50 +10:00
Azareal 90114fae9e Update the installation instructions with something a little more hardened. 2018-08-22 21:02:14 +10:00
Azareal 146aa3aaad Fixed a bug where gzip spits out garbage bytes when it's disabled.
Disabled Gzip on the Control Panel Backup Page.
2018-08-22 17:10:29 +10:00
Azareal 0d96f4efac Use the correct mimetype for SQL backups. 2018-08-22 16:37:36 +10:00
Azareal dcc59e7b86 Reduce the number of error checks in the generated router. 2018-08-22 12:29:11 +10:00
Azareal f90fe99fb3 Moved /uploads back into the main router switch.
Added the NoGzip method to RouteImpl.
Added the LitBeforeMultiline method to RouteImpl.
2018-08-22 12:13:17 +10:00
Azareal 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.
2018-08-22 11:32:07 +10:00
Azareal 8f47650b68 Copy this instead so it doesn't interfere with Git. 2018-08-21 18:11:44 +10:00
Azareal 7b8943517b Upped the compression level for static files.
Experimenting with compressing everything.
Fixed the live things.

Playing around with topic buttons in Nox.
2018-08-21 18:00:35 +10:00
Azareal 2e0f2bc7b6 Updated the installation instructions to make them a little friendlier.
Changed the default installation directory to /home/gosora/src/ instead of /home/gosora/
2018-08-20 21:37:04 +10:00
Azareal 7f55429748 Try to cut down on hit and run features. 2018-08-20 18:51:05 +10:00
Azareal d1eb66a464 Remove Docker for now as it might cause problems than it solves. 2018-08-20 18:07:04 +10:00
Azareal bc7982952d Making topics in the Nox Theme mobile friendly. 2018-08-19 16:25:59 +10:00
Azareal 6f5065c854 Almost finished up the buttons on the User Manager for Nox. 2018-08-16 21:16:02 +10:00
Azareal 9e8f455bbb Added resource utilisation data to the Debug Page. 2018-08-16 15:27:26 +10:00
Azareal d8682aca94 Move these header sets to the start of the router. 2018-08-15 18:06:48 +10:00
Azareal 9e374cd7a5 A simple test to see if Gosora builds with the MSSQL Tag. 2018-08-15 17:07:22 +10:00
Azareal 0305571cb3 Eliminated some JS errors for guests on Cosora.
Fixed the build tags for the alt database engines.
Tweaked the quotes on the PgSQL adapter. Still not functional.
Removed the SQLite build tag as it's unlikely that it'll ever be implemented.
2018-08-15 17:02:57 +10:00
Azareal f2b210248a Only load Chartist when we actually have a chart on the page. 2018-08-13 22:37:53 +10:00
Azareal 4c86c0a042 Fixed gzip in /static/
The me endpoint is no longer served for guests.
2018-08-13 22:01:27 +10:00
Azareal 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.
2018-08-13 20:34:00 +10:00