201 Commits

Author SHA1 Message Date
A. Svensson
5a10cdecd9 Fix the stupid DB functions and embed gorm instead. 2016-02-20 20:46:27 +01:00
A. Svensson
3dfee907c1 Run updates in a DB transaction. 2016-02-20 20:25:18 +01:00
A. Svensson
66cad28cf9 Fix removing inactive servers and avoid doing unneeded work. 2016-02-20 20:14:00 +01:00
A. Svensson
9723c63912 Fix encoding issue with server titles. 2016-02-20 19:55:23 +01:00
A. Svensson
0fbc127ec6 Update README. 2016-02-20 18:05:30 +01:00
A. Svensson
f7e57b1a22 Rewrote the whole CLI app code. 2016-02-20 17:54:53 +01:00
A. Svensson
9043b8b10d Stop setting up the web server when doing an update... 2016-02-20 17:54:21 +01:00
A. Svensson
642e5227eb Add versioning. 2016-02-20 17:52:55 +01:00
A. Svensson
74fe8963d3 Use a better name for the main file. 2016-02-20 17:13:23 +01:00
A. Svensson
62b76b1a66 Updated README. 2015-11-03 22:29:23 +01:00
A. Svensson
43c7271a76 Added note about foreign keys, gorm and sqlite. 2015-11-03 22:22:37 +01:00
A. Svensson
046b1834a4 Added a simple database migration tool.
Gotta remember to remove it again when the old python code is gone.
2015-11-03 22:18:02 +01:00
A. Svensson
207c0a056b Fixed bug with tuesday/thursday getting mixed. 2015-11-03 22:08:29 +01:00
A. Svensson
5df2d7e3fd Added index and foreign key support to server_populations table. 2015-11-03 21:49:29 +01:00
A. Svensson
dd68cbdeb6 Added a config file with list of servers to poll. 2015-11-03 20:21:13 +01:00
A. Svensson
83876aae78 Updated README to reflect the new go code. 2015-11-03 20:09:20 +01:00
A. Svensson
c6ec28fc9b Added the new go code. 2015-11-03 19:36:33 +01:00
A. Svensson
2dc2aee782 Removed the old python code,
and saved a copy of it in the old_python_code_dev branch.
2015-11-03 19:31:22 +01:00
A. Svensson
3ef6385710 Updated readme. 2015-05-25 18:23:48 +02:00
A. Svensson
29b662ba61 Added the stats page to the menu. 2015-05-25 18:19:08 +02:00
A. Svensson
8d95ac2cac Added a stats page. 2015-05-25 18:15:40 +02:00
A. Svensson
881ca6fe4d Added naive threading using dumb and simple goroutines. 2015-05-25 14:48:16 +02:00
A. Svensson
4792581d4d Show warning text when a graph img couldn't be loaded. 2015-05-25 14:08:01 +02:00
A. Svensson
04301db79f Only try making graphs when there's data to work with. 2015-05-25 13:47:08 +02:00
A. Svensson
2bd111e568 Do not attempt to make new graphs for servers with no data. 2015-05-25 12:49:44 +02:00
A. Svensson
4483137198 Handle errors from external scripts run by update_graphs.go. 2015-05-24 17:38:44 +02:00
A. Svensson
86eac2f50a Added more info to the readme. 2015-05-24 16:24:41 +02:00
A. Svensson
6555c6f19a Moved up the footer so it's more visible (or something.. it looks better now at least) 2015-05-24 16:05:49 +02:00
A. Svensson
353b733d58 Removed footer note about byond data, since it's on the about page now. 2015-05-24 16:05:21 +02:00
A. Svensson
ecf2ff8140 Updated readme with more info and cleaned up the TODO, now that's it's displayed publiclly. 2015-05-24 16:00:18 +02:00
A. Svensson
b8616a76cc Added link to the about page on the main menu. 2015-05-24 15:05:55 +02:00
A. Svensson
8e04316a53 Added note for the future. 2015-05-24 14:53:14 +02:00
A. Svensson
4b244434c6 Some optimizations for the markdown func. 2015-05-24 14:51:33 +02:00
A. Svensson
526e299731 Added about page (just a copy of the README). 2015-05-24 14:41:20 +02:00
A. Svensson
c5757d79a7 Merge branch 'master' into dev 2015-05-24 13:38:00 +02:00
A. Svensson
0f55eb4521 Merge branch 'master' into dev 2015-05-24 13:36:53 +02:00
A. Svensson
cba75dd375 Updated credits. 2015-05-24 13:32:01 +02:00
A. Svensson
efde2d89f0 Fix #1: Thanks to @Hugo14453 for a corgi favicon. 2015-05-24 13:23:54 +02:00
A. Svensson
8724ec88c4 Some note in the readme. 2015-05-24 13:22:45 +02:00
A. Svensson
0cd331fd72 Did some cleanup of the code and split the long sql query lines. 2015-05-22 19:49:35 +02:00
A. Svensson
1dd0170a63 Managed to move sunday to the end of the graph... 2015-05-22 19:44:30 +02:00
A. Svensson
5814377cf1 Ugh, I hate multiple params for the same func... 2015-05-22 18:41:53 +02:00
A. Svensson
1ddec78fc0 Clarified the graphs data intervals. 2015-05-21 19:42:54 +02:00
A. Svensson
71fc6dfb9e Time graphs can now show individual data intervals 2015-05-21 19:35:27 +02:00
A. Svensson
8485fcb35c Removed some things from the TODO. 2015-05-21 18:13:44 +02:00
A. Svensson
e1a0eec442 Clarified time periods for graphs and use one less unneeded graph. 2015-05-21 18:11:09 +02:00
A. Svensson
ff9e202df6 Use the new names for the graphs, in the template. 2015-05-21 17:54:44 +02:00
A. Svensson
fe728f1260 Yet even more refactors! 2015-05-21 17:53:57 +02:00
A. Svensson
bcb9853bc6 Some more refactoring and renamed all the constants. 2015-05-21 17:39:10 +02:00
A. Svensson
1d92d6467e Did some easy refactoring. 2015-05-21 17:29:14 +02:00