Commit Graph

44 Commits

Author SHA1 Message Date
Azareal ca8411a519 experimental route perf pane
add 1.14 to travis test list
more qutils tests

add panel_menu_stats_routes_perf phrase
2020-02-28 14:52:45 +10:00
Azareal 0865dd4651 bump requirements up to go 1.13
don't forget main.go
2020-02-23 19:27:35 +10:00
Azareal f88b8d9777 Run tests for Go 1.13 too. 2019-11-01 08:20:34 +10:00
Azareal a6bede5cbd Bump requirement up-to Go 1.12 2019-10-30 13:59:55 +10:00
Azareal ff97a839b8 Eliminate a mv in the installation tutorials and add a missing cd in the advanced installation steps. 2019-06-23 15:59:54 +10:00
Azareal 768406f9ae Test against master again. 2019-06-18 19:08:26 +10:00
Azareal 0334e6c68c Exclude master for now 2019-06-16 09:28:48 +10:00
Azareal f10fdcb40c Added the active memory analytics pane. More to come here.
Added the meta store.

Added the panel_menu_statistics_active_memory phrase.
Added the panel_statistics_active_memory_head phrase.

Added the panel_analytics_time_range_month template.

Added Go 1.12 to the Travis list.

Added the stack and heap columns to the memchunks table.
Added the createdAt column to the activity_stream table.
Added the meta table.

You will need to run the patcher / updater for this commit.
2019-05-09 16:58:55 +10:00
Azareal 8acc5e7991 Maybe, this will work...? 2019-02-23 17:33:18 +10:00
Azareal cf4a9d1738 You can now disable the search subsystem.
Try Travis with MariaDB 12...
2019-02-23 16:55:34 +10:00
Azareal 6b56d69fc8 Experiment to see if this normalises things in Travis... 2019-02-23 16:39:09 +10:00
Azareal 2296008655 Basic search now works for the Search & Filter Widget. ElasticSearch has been temporarily delayed, so I can push through this update.
Added the three month time range to the analytics panes.
Began work on adding new graphs to the analytics panes.
Began work on the ElasticSearch adapter for the search system.
Added the currently limited AddKey method to the database adapters.
Expanded upon the column parsing logic in the database adapters to ease the use of InsertSelects.

Added the BulkGet method to TopicCache.
Added the BulkGetMap method to TopicStore.
TopicStore methods should now properly retrieve lastReplyBy.
Added the panel_analytics_script template to de-dupe part of the analytics logic. We plan to tidy this up further, but for now, it'll suffice.
Added plugin_sendmail and plugin_hyperdrive to the continuous integration test list.
Tweaked the width and heights of the textareas for the Widget Editor.
Added the AddKey method to *qgen.builder
Fixed a bug where using the inline forum editor would crash Gosora and wouldn't set the preset permissions for that forum properly.
Added DotBot to the user agent analytics.
Invisibles should be better handled when they're encountered now in user agent strings.
Unknown language ISO Codes in headers now have the requests fully logged for debugging purposes.
Shortened some of the pointer receiver names.
Shortened some variable names.

Added the dotbot phrase.
Added the panel_statistics_time_range_three_months phrase.

Added gopkg.in/olivere/elastic.v6 as a dependency.

You will need to run the patcher or updater for this commit.
2019-02-23 16:29:19 +10:00
Azareal 3079080acf Refactor these shell scripts.
Bumped up the version of MariaDB for Travis.
2018-11-22 18:50:53 +10:00
Azareal ffe06afb1b No point in running tests for Go 1.10 now. 2018-10-27 14:19:18 +10:00
Azareal ebbfa7d247 Bumped 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.
2018-10-07 00:02:52 +10:00
Azareal adb447ae06 Run tests on Go 1.11 too. 2018-08-29 13:11: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 d0e7b1c982 Apparently, it worked even though it spat out an error /shrug 2018-07-30 19:06:57 +10:00
Azareal 05e916ce2a Fixing up the user dashboard on Tempra Simple.
Missed a spot of CC.
2018-07-30 19:00:41 +10:00
Azareal 73e1f34257 Don't waste time with Code Climate Test Reporter anymore. Removed. 2018-07-30 18:43:48 +10:00
Azareal aefaa5ae1a Try chmod 777, if this doesn't work, I'm not sure what to do about CC tbh 2018-07-30 18:36:58 +10:00
Azareal 71361e3ca0 What is even in this folder at this point of execution 2018-07-30 18:31:13 +10:00
Azareal a1534498cd Grr... 2018-07-30 18:16:30 +10:00
Azareal e46e8685a3 An official CC example says this... 2018-07-30 18:02:29 +10:00
Azareal 928121fe7c Bad SO answer, tweaked. 2018-07-30 17:53:11 +10:00
Azareal f55dc5f04f Did Code Climate not have read? 2018-07-30 17:49:27 +10:00
Azareal 91bfd334cc Added the build status to the README, people seem to like these badges, very fashionable. 2018-07-30 16:04:26 +10:00
Azareal c42af97ec3 Let's try a slightly different approach to try to get CC to work 2018-07-30 14:18:36 +10:00
Azareal 26f8c3e50d Make sure gocov is setup on Travis, slightly dated coverage tool, but it seems to be the easiest one to setup. 2018-07-30 14:12:03 +10:00
Azareal 57787f94fa Maybe this? 2018-07-30 14:07:13 +10:00
Azareal 105448f2ba Experiment with Code Climate on Travis. 2018-07-30 13:48:30 +10:00
Azareal 97cd88d02b Oops typo 2018-06-17 17:39:31 +10:00
Azareal abea872806 Fix Travis. 2018-06-17 17:34:14 +10:00
Azareal 8ff8ce8e51 Solve the chicken and the egg problem with the templates. 2018-05-16 21:44:32 +10:00
Azareal 8035c27445 Does Travis work now? 2018-05-16 21:36:22 +10:00
Azareal 15420d4d89 The patcher (schema updating part of the updater) finally works, yay.
Partially rewrote the forum permissions system to make it more stable.

Moved config.go into it's own package in /config/
Removed Go Git as a dependency.
Tweaked the GopherJS pulling.
Fixed inserts where all the columns have default values.
Reverted a silly tweak I made thinking that mOrder == order.
Removed the /common/ hack from the patcher.
Fixed a bug where the forum creator would ignore the visiblity value you provided.
The tests now work again.
Swapped a misplaced fmt.Println with a fmt.Printf.
Fixed a bug in the installer where all the table logs would be on one line in the console.
Added more logging to the installer.
2018-04-23 22:08:31 +01:00
Azareal dbf2b8606e All 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.

The patcher was botched in the previous commit, drop menus and menu_items and run it again
2018-04-23 09:38:25 +01:00
Azareal 10f4c59cb5 Fixed 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.

Began work on the client side rendering of alerts.
Began work on the Menu Manager and associated functionality.
2018-04-22 13:33:56 +01:00
Azareal 55a0c31bc3 Bumped the requirements upto Go 1.10
Added the Linux version of dev-update.
The patcher should compile now.
2018-04-07 06:27:25 +01:00
Azareal 2b86a17478 Added 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.

Added build_templates.bat for test and development purposes.
Added some extra error checks to the batch files.
Fixed a compile error in the installer.
Fixed a big data race in the template transpiler and cleaned up a few loose ends.
Renamed CTemplateSet.log() to CTemplateSet.detail() to bring it in line with the /common/ logging
Renamed CTemplateSet.logf() to CTemplateSet.detailf() to bring it in line with the /common/ logging
You can now override templates in /templates/ without overwriting them by adding a modified version of a template with the same name in /templates/overrides/
Added Go Git as a dependency.
Removed config.go from the repository, you need to rely on the installer to generate this now, or make one yourself based on the implementation of it in the installer.
Travis now does tests for Go 1.10

Began work on the upgrader.
2018-03-21 05:56:33 +00:00
Azareal 11260b22a4 Hmmm, maybe this? 2017-10-31 00:53:00 +00:00
Azareal 90cc069132 Tweak to see if Travis will let this run?
Fixes to the installer.
2017-10-31 00:33:14 +00:00
Azareal 868a57d6d2 Trying to get Travis to work.
Cleaned up some of the CSS and fixed the other themes.
2017-10-30 23:34:38 +00:00
Azareal f7942b42ac Continued the work on Cosora.
Trying to add support for Travis CI.

Added the NullUserStore for tests.
Moved more text out of the templates.
Removed an unnecessary dependency for Cosora.
Fixed a few more bugs in the MSSQL Adapter.
Disabled upserts for now, as it isn't working on MySQL.
Refactored the scheduled group logic to reduce the number of potential bugs and to stop using upserts.
Fixed many bugs in the Markdown Plugin.
Added the ability to escape Markdown.
Fixed a number of tests, commented unneccesary ones, and added new ones to probe for new problems.
Added the wink smiley.
Cleaned up some of the JavaScript.
Refactored the permissions logic to use transactions and avoid duplicating logic.
Added the ChangeRank method to the Group struct.
Added the ChangeGroup method to the User struct.
Added the currently unused LogWarning function.
Added the transaction versions of the builder methods. Better ones coming up soon!
The IsBanned flag is always set to false on mod and admin groups now.
Refactored the group creation logic to use transactions.
Fixed a bug in the group creator where new groups aren't visible to Exists().
The installer now drops tables for MySQL Databases, if they already exist to make it easier for us to run automated tests.
Added more ARIA Attributes.
2017-10-21 01:27:47 +01:00