Commit Graph

523 Commits

Author SHA1 Message Date
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
Azareal 317ab8856b Move towards loading the important scripts asynchronously.
Removed the client's reliance on the server's Site.URL setting.
2018-08-13 11:53:16 +10:00
Azareal a9a1d667c0 Added the /api/me/ API endpoint.
Moved a script block into an API endpoint.
Split the gigantic switch in ServeHTTP into it's own function.
Scripts should load more efficiently now.
2018-08-12 01:53:42 +10:00
Azareal 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.

Continued work on the User Manager for Nox.
2018-08-11 22:09:26 +10:00
Azareal 06d6715c47 Many HTML / CSS / Template changes.
Added the grid_stat_head CSS class to Panel Debug.
Added the panel_plugin_meta CSS class to the Plugin Manager.
Added some missing panel_right_button classes to the buttons for the rows in the Plugin Manager.
Added some missing the_form CSS classes for Nox.
Added a missing phrase for an update button in panel_themes_menus_items.
Replaced a legacy float: right; in the User Manager with to_right.
Removed some superfluous legacy inline CSS in the User Manager.
Tweaked the amount of padding for the title in the Account Manager for Nox.
Tweaked the amount of padding for the title in the Control Panel for Nox.
Tweaked the padding for panel_right_button for Nox.
Fixed the UI for the Plugin Manager in Nox.
Tweaked the padding for the grid heads in Panel Debug for Nox.

Began work on a nicer looking User Manager in Nox.
2018-08-10 17:58:25 +10:00
Azareal d4db2aa2bb Experimenting with Docker. Doesn't work at the moment. 2018-08-10 17:47:53 +10:00
Azareal 3bb626a294 On second thought, that might fit better in the advanced section. 2018-08-07 15:07:24 +10:00
Azareal 2fa6659db9 And don't forget to update the README. 2018-08-07 14:57:11 +10:00
Azareal a3c5601ac7 Harden things a little more with PrivateDevices and PrivateUsers. Let's hope this doesn't blow up on me. 2018-08-07 14:53:43 +10:00
Azareal f2ecb9dbf7 apng is no longer a valid image format as we don't have the technology to optimise it.
Experimenting with systemd.

Began work on an experimental hook table implementation.
Tweaked some hook implementations to make their behaviour less ambiguous.
2018-08-07 14:14:28 +10:00
Azareal 7a66b73a62 Added QueryGen, RouterGen, Patcher and config.json to .gitignore 2018-08-06 12:48:47 +10:00
Azareal b8681524f3 Added a mitigation for polyglot attacks.
.panel_floater is now floated to the right on Nox.
2018-08-06 12:36:24 +10:00
Azareal 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.

More panel buttons on Nox should be styled now.
Added the panel_update_button_text phrase for future use.

More errors might be caught in the thumbnailer now.
Removed ls from .travis.yml, it was there for debugging Code Climate.
2018-08-04 21:46:36 +10:00
Azareal 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.
2018-07-31 14:02:09 +10:00