d74a221467Move the thumbnailer task closure into thumbnailer.go
Azareal
2018-07-29 14:34:28 +1000
f9a579ae4dMove the tickloop logic into it's own file.
Azareal
2018-07-29 14:17:17 +1000
c25b289076Moved the HTTP server initialisation logic into it's own function and made it a little more flexible for some upcoming changes.
Azareal
2018-07-29 13:31:09 +1000
3aeee419c1Added support for re-encoding GIFs, hopefully this'll work with animated avatars. Fixed a bug where jpgs wouldn't get re-encoded.
Azareal
2018-07-29 00:51:24 +1000
0a628f7201PNG and JPG avatars are now encoded as JPG images leading to a dramatic drop in the amount of bandwidth used. Did some work on image thumbnailing, but our dependencies are acting up delaying this from being released.
Azareal
2018-07-28 22:52:23 +1000
cee027cc7fAdded more information on hardening the database.
Azareal
2018-07-26 16:44:04 +1000
2e77ef716dGo for the safer and faster curves for HTTPS.
Azareal
2018-07-26 16:15:49 +1000
3b0b2485d7Move some bits around and fix other bits.
Azareal
2018-07-25 19:53:24 +1000
a5761f1679Added some new installation instructions, we might want to harden some of these guidelines, although we might create trouble in some environments where we don't have root, if we go too overboard.
Azareal
2018-07-25 19:44:23 +1000
5dcfd2633bThe systemd example service file should work now.
Azareal
2018-07-24 18:45:01 +1000
35d0facf06Reverted the changes to run-linux due to scoping issues breaking it.
Azareal
2018-07-24 16:52:46 +1000
affdf67273Made progress on Nox, fixed a phrase, and added a couple of missing phrases.
Azareal
2018-07-24 15:40:26 +1000
17892ba906Tweaked the phrases for the actions to make them flow better, we still need to localise these.
Azareal
2018-07-20 18:00:17 +1000
60bf821f8aDo constant time compares for sessions for security reasons.
Azareal
2018-07-20 17:58:59 +1000
e62f6a4868Added an experimental systemd service file.
Azareal
2018-07-20 14:59:11 +1000
75a6ceca84Added a missing bounds check in peekMatch.
Azareal
2018-07-18 16:36:16 +1000
e5ef86b59cAdded user sharding to WsHubImpl to help reduce the amount of lock contention in the upcoming features which will rely heavily on it.
Azareal
2018-07-18 16:32:48 +1000
101d4522faTrying to reduce the number of duplicate commands in the shell files.
Azareal
2018-07-16 16:27:34 +1000
9c6af9dd01Design update. I'm trying to break the commits into more chunks to get a better idea of what's going on
Azareal
2018-07-15 15:00:48 +1000
2a5ab2969cAdded Caire and pkg/errors as dependencies. Made the initialisers and the task runner in main.go easier to debug.
Azareal
2018-07-13 21:27:58 +1000
0f2503a20cMade it harder to parse the antispam script. Used Unicode magic to make it harder to parse the antispam trap question. Added more shady email substrings. Tweaked the contributing guidelines, no more await allowed... For now. Might already have Git, note that. Added the the_form class to the login form, registration form and login mfa form. Made the titles on the Control Panel Dashboard and Debug page a little softer on Cosora.
Azareal
2018-07-05 19:54:01 +1000
3043ce083dBasic proxy IP support.
Azareal
2018-07-03 20:01:49 +1000
2319548e1fAdded some heuristics for detecting suspicious emails.
Azareal
2018-06-30 20:22:39 +1000
c640a73afdFixed a crash bug in the post preparser. Moved tryStepForward out of PreparseMessage() Added another test for PreparseMessage()
Azareal
2018-06-30 14:34:07 +1000
bf40d61474Live Topic List should work properly now with replies too, not just new topics. Tweaked the visuals for the live topic list on Cosora. More to come with this. Nox Theme is now present on the theme selector, although it's still under construction.
Azareal
2018-06-30 13:40:50 +1000
5d810c1e3bWe now use SameSite cookies for sessions #security
Azareal
2018-06-29 14:14:51 +1000
65ceaef4eaTightened the preparser up a little and wrote more tests to cover more bases. Green is a little misleading, as we Gosora doesn't call home to check for new versions yet.
Azareal
2018-06-26 14:54:20 +1000
6eb3429c25Added i as an alias for em in the HTML parser. b is now an alias for strong in the HTML parser rather than being it's own thing. Fixed a bug where tags weren't being closed. Fixed a bug where the right entities weren't being written all the time.
Azareal
2018-06-26 12:30:29 +1000
1f28ecb804Rewrote the reverse HTML parser and also fixed the bug with Trumbowyg's span tags sometimes becoming visible. Fixes#9
Azareal
2018-06-26 00:28:04 +1000
0306c8bf44Things have changed since 2017, so we need to update the README to reflect them. We also want to make things a little friendlier for those who don't understand as much programming terminology.
Azareal
2018-06-25 17:13:39 +1000
7851724937/ should be mapped properly to the default route for WebSockets events now #11 Updated the README.
Azareal
2018-06-25 16:24:38 +1000
7be011a30dAlmost finished live topic lists, you can find them at /topics/. You can disable them via config.json The topic list cache can handle more groups now, but don't go too crazy with groups (e.g. thousands of them).
Azareal
2018-06-24 23:49:29 +1000
163d417831Oh, Travis wants a blank password.
Azareal
2018-06-17 18:41:36 +1000
1308027c34This should do it
Azareal
2018-06-17 18:12:39 +1000
f8f46b3c48Added support for two-factor authentication. Added the Account Dashboard and merged a few account views into it. BREAKING CHANGE: We now use config/config.json instead of config/config.go, be sure to setup one of these files, you can config_default.json as an example of what a config.json should look like. If you don't have an existing installation, you can just rely on the installer to do this for you.
Azareal
2018-06-17 17:28:18 +1000
2d7f302768Build artifacts are now cleaned up on Windows too. Tests should be a lot less noisy now.
Azareal
2018-06-06 16:13:55 +1000
7e935b6df0I forgot this is Linux not Windows, this should do it.
Azareal
2018-06-06 14:42:57 +1000
83ae671948Added some missing commands from the scripts for Linux. Removed some unnecessary messages when cleaning up build artifacts. Added the binary as a build artifact to be cleaned up. git stash is now used for updates to better deal with changes to chmodded files.
Azareal
2018-06-06 14:33:47 +1000
aa073ced48The scripts for Linux now clear out previously generated files so they shouldn't cause hassles after upgrades anymore.
Azareal
2018-06-06 14:16:27 +1000
dd75bf9ad9All the notices now use AddNotice.
Azareal
2018-06-06 10:29:12 +1000
a5f5f4af7eAdded the Page Manager for faster and easier custom page creation. Added the PageStore.
Azareal
2018-06-06 10:21:22 +1000
d897e05256Users can no longer post or edit posts in locked topics. Permissions should cascade properly now in the topic template, should have no actual effects on security given the particular nature of this one. Tiny bit of work on Nox.
Azareal
2018-06-01 15:02:29 +1000
f85bf51103Added a couple of simple anti-spam measures.
Azareal
2018-05-31 16:51:31 +1000
e311e088c2Reverted back to URL safe randomly generated strings. Removed the redundant conditional.
Azareal
2018-05-28 21:31:19 +1000
4d6a7bfda1You can now change someone's group again. The background no longer randomly vanishes on Shadow. Fixed the small margins on the paginator on Shadow. Tweaked the padding for the paginator in the Control Panel on Shadow. The footer is no longer 100% wide on Shadow. Fixed a misplaced ':' in Shadow. Added the BlankProfileReply function for tests. Tests now run once more. Made it easier to trace test errors which use recordMustExist and recordMustNotExist.
Azareal
2018-05-28 16:27:12 +1000
55c10e0da2You can now login / change passwords / etc. again. Fixed the installer.
Azareal
2018-05-27 20:16:43 +1000
8ba633326bUNSTABLE: Go back two commits, if you want stability. This commit is to test something.
Azareal
2018-05-27 19:38:01 +1000
23a686fe96UNSTABLE: Began work on the Nox Theme. Removed the Tempra Cursive Theme. You can now do bulk moderation actions with Shadow.
Azareal
2018-05-27 19:36:35 +1000
ca80d0dd6fBegan work on the Nox Theme. Removed the Tempra Cursive Theme. You can now do bulk moderation actions with Shadow.
Azareal
2018-05-27 19:18:29 +1000
8ff8ce8e51Solve the chicken and the egg problem with the templates.
Azareal
2018-05-16 21:44:32 +1000
8035c27445Does Travis work now?
Azareal
2018-05-16 21:36:22 +1000
b7618ba4d7Don't forget the schema files.
Azareal
2018-05-16 21:27:06 +1000
e861ef9bfeAdded the missing column on the menu_items table in the installer.
Azareal
2018-05-16 20:50:29 +1000
ba98b0c952Added the registration logs.
Azareal
2018-05-16 20:46:14 +1000
2be884edc1Commented out more debug code. Main Menu is now shown on the main menu in the menu list for extra clarity. Travis should now be able to run it's tests. Moved routeChangeTheme to the routes package. Moved routeShowAttachment to the routes package and partially refactored it. Moved routeLikeTopicSubmit to the routes package. Moved routeReplyLikeSubmit to the routes package and partially refactored it. Moved routeProfileReplyCreateSubmit to the routes package. Moved routeLogout to the routes package, now known as routes.AccountLogout. Moved the routeDynamic stub to the routes package, now known as routes.DynamicRoute. Moved the routeUploads stub to the routes package, now known as routes.UploadedFile. Moved the BadRoute stub to the routes package, now known as routes.BadRoute. All routes moved to the routes package have had the route prefix dropped from their name. Simplified the email token route to redirect back to the main email route instead of rendering the same template. Refactored the panel menus to use the new submenu system instead of the old one which had a lot of menu duplication. Added a stub directory for Nox, the next major theme after Cosora. Fixed a bug where the alerts wouldn't load outside of the index.
Azareal
2018-05-15 15:59:52 +1000
3976c49054Removed GopherJS as a dependency.
Azareal
2018-05-14 21:13:34 +1000
a78613b63bDoes Git recognise this folder now...?
Azareal
2018-05-14 20:21:18 +1000
9075798128Alerts are now rendered via a client side transpiled template rather than being hard-coded. Tweaked some bits to make them more 32-bit friendly for GopherJS, but this might not be necessary now. Added notice.html Added an alerts package to fix the import cycles, more things may be moved here soon. Saved a few lines of accumulator code in a few stores. Moved the AccountEditCriticalSubmit, AccountEditAvatar, AccountEditAvatarSubmit, AccountEditUsername, and AccountEditUsernameSubmit routes into the routes package. Added a QueryRow method to AccSelectBuilder. Tweaked the indentation in the generated templates. Simplified the template render in the AccountEditUsernameSubmit route into a redirect back to the previous page.
Azareal
2018-05-14 18:56:56 +1000
185f00e019You can now reorder menu items by dragging them around in the menu item manager. You can now create menu items. You can now delete menu items.
Azareal
2018-05-13 16:56:59 +1000
3801232d93Fixed the "bad file" bugs #7
Azareal
2018-05-11 17:22:42 +1000
b1d28b3046Fixed the ability to change usernames #? Fixed the ability to change passwords #4 You are now redirected to the index after changing your password. Removed a new obsolete phrase.
Azareal
2018-05-11 16:53:31 +1000
73c4f373e5Redirect to index when logged out via the Control Panel #5
Azareal
2018-05-11 16:18:49 +1000
d0318191c9Added the menu manager and menu item editor. Refactored the menu system. Updated the README and revamped it a tad to make it easier to understand. Also, added manual instructions for patching. Revamped the update scripts, especially on Windows. Merged the CSS and Tmpl phrase namespaces. Added lastSchema to .gitignore Added DropTable to the database adapters. Implemented DbVersion in the PgSQL Adapter. Swapped out the checkboxes for cleaner looking yes-no dropdowns. Began revamping small bits of the user logic.
Azareal
2018-05-11 15:41:51 +1000
894e545973Okay, now the forum permissions should be fixed x.x
Azareal
2018-04-24 05:09:31 +0100
d6f6c362f7The default forum permissions should now cascade properly from groups to forums without overrides. Added the generated template files to the .gitignore file. Added the GetAllMap method to the ForumPermsStore. Fixed several editors.
Azareal
2018-04-24 04:47:39 +0100
15420d4d89The patcher (schema updating part of the updater) finally works, yay. Partially rewrote the forum permissions system to make it more stable.
Azareal
2018-04-23 22:08:31 +0100
dbf2b8606eAll the menu items are dynamic now, all that needs to be done now is the Control Panel part of the Menu Manager. Travis should now build the patcher to see if that works. Merged menu.html into header.html Removed a redundant SetAdapter call in mysql.go. Fixed a bug where inserting will sometimes strip the spaces in strings. Bumped the minimum Go Version in schema.json to 1.10 Bumped the DBVersion to 1, so that we don't install these patches twice.
Azareal
2018-04-23 09:38:25 +0100
f102c97606The patcher can now update the schema for MySQL. Added the adapter config value, to be used in the main system soon. Commented out the debug code for the menus.
Azareal
2018-04-22 15:27:04 +0100
10f4c59cb5Fixed the Go Version in the Travis file. Added the Go and Database versions to the Control Panel Debug Page. Renamed common.TopicsPage to common.TopicListPage. Renamed *HeaderVars to *Header. Added the Paginator struct and refactored the code to use it. io.Writers are now used instead of http.ResponseWriters in transpiled templates for greater flexibility. Added the alert, menu_alerts, and menu_item templates. Added support for more integer types in the arithmetic functions for the transpiled templates. Exported AccSelectBuilder. Added an Each method to AccSelectBuilder. Added column quoting to the order by portions of queries for the MySQL Adapter.
Azareal
2018-04-22 13:33:56 +0100
55a0c31bc3Bumped the requirements upto Go 1.10 Added the Linux version of dev-update. The patcher should compile now.
Azareal
2018-04-07 06:27:25 +0100
a6893c0dfeAdded the remote and branch to this little tempfix.
Azareal
2018-04-05 07:52:11 +0100
f203b2f0a7Let's use proper Git for updates for now as Go Git refuses to work properly.
Azareal
2018-04-04 12:25:34 +0100
5687922514As you guessed, this is another updater test.
Azareal
2018-04-04 10:33:12 +0100
2573896523Try doing a mixed reset.
Azareal
2018-04-04 10:26:36 +0100
6d3646e399Yet another updater test.
Azareal
2018-04-04 10:19:38 +0100
7bc94bfa83Improved the error handling logic in the updater.
Azareal
2018-04-04 08:20:01 +0100
f3f06655dbFixed the worktree in the updater.
Azareal
2018-04-04 08:07:24 +0100
ca935d61a8Added the AddScript and AddSheet methods to *HeaderVars and replaced the manual appends with them.
Azareal
2018-04-04 05:49:13 +0100
b32e8d6c21You can now disable slugs.
Azareal
2018-04-03 05:34:07 +0100
74e09efb63Fixed a bug where it would use the wrong templates for Tempra Simple, Tempra Cursive, and Shadow Likes are now done over AJAX. Posts you have liked are now visually differentiated from those which you have not. Added support for OR to the where parser. || and && now get translated to OR and AND in the where parser. Added support for ( and ) in the where parser. Added an adapter and builder method for getting the database version. Multiple wheres can now be chained with the micro and accumulator builders. Added the In method to the accumulator select builder. Added the GetConn method to the builder. /uploads/ files should now get cached properly. Added more tooltips for topic titles and usernames.
Azareal
2018-03-31 06:25:27 +0100
2b86a17478Added more phrases for the notices. Theme resources can now be restricted to logged in users to avoid wasting bandwidth. The template building step is now a flag to gosora.exe / Gosora.
Azareal
2018-03-21 05:56:33 +0000
b20e295375Changed the defaultest default theme to Cosora... For now.
Azareal
2018-03-17 08:16:43 +0000
84dbe71bfcUse arrays for holding fragments rather than using a large number of micro variables. Fixed a typo in a phrase. Fixed a typo in a phrase name in Cosora. Super mods can no longer see the group creation form or click on the groups in the Group Manager (which took them to a no permissions error). Tweaked some of the uglier generated variables.
Azareal
2018-03-12 04:52:47 +0000
3821e626ceAdded support for phrases in CSS files. Add support for phrases in template files. Revamped every template to make them use phrases. Revamped every CSS file to make them use phrases.
Azareal
2018-03-11 09:33:49 +0000
5a8b994877Added support for phrases in templates. The language of the end-user is now tracked and presented in the Analytics Manager. Profile owners now get alerts when someone posts on their profiles.
Azareal
2018-03-08 03:59:47 +0000
8ecc637ab9Moved routeProfile to routes.ViewProfile. Requests are now logged as one big chunk to help prevent them getting torn apart and improve log throughput. Newlines are now stripped from dumped requests. Prepared statement logging now only happens in debug mode for speedier server startups. More suspicious request tracking is done outside of debug mode now. Only log the initial message in plugin_markdown in debug mode. Moved the CreateTopicSubmit attachment logging to super debug mode. Removed a couple of unneccesary menu items from the Account Manager menu. Hid the add friend option on the profiles for now. Moved the remaining analytics results loops into a common function. Only log the graph for the analytics routes in debug mode.
Azareal
2018-02-26 09:07:00 +0000
0879f56893Added per-forum analytics. Added one week as a time range option.
Azareal
2018-02-22 02:27:17 +0000
60964868d4Moved the counters to their own package. De-duped some of the logging code. Added per-route state to the not found errors. Exported debugDetail, debugDetailf, debugLog, and debugLogf. Tweaked the padding on Tempra Simple. Added panel submenus to Tempra Conflux. Added Chart CSS to Tempra Conflux. Fixed the padding and margins for the Control Panel in Cosora. Made Cosora's Control Panel a little more tablet friendly. Added the rowmsg CSS class to better style message rows. Removed the repetitive guard code for the pre-render hooks. Removed the repetitive guard code for the string-string hooks. We now capture views for routes.StaticFile Added the move action to the moderation logs.
Azareal
2018-02-19 04:26:01 +0000