A. Svensson
f84389fde4
Removes the annoying underlining of links
2017-10-06 21:12:01 +02:00
A. Svensson
c812784ed3
Ignores servers with 0 players
2017-10-06 21:09:19 +02:00
A. Svensson
fbb1ce1672
Prevents showing servers with 1 player, when the server is infact empty
2017-10-06 21:00:26 +02:00
A. Svensson
6d642f6139
Makes the barcharts sortable and indicate "current active bar" for the day/hour
2017-09-10 14:15:50 +02:00
A. Svensson
946737d563
Cleans up makeHistoryCHart()
2017-09-09 14:03:29 +02:00
A. Svensson
6cc20e337d
Refactors daily avg. chart and adds hourly avg. chart
2017-09-09 14:00:58 +02:00
A. Svensson
427a47d054
Removes unused chart titles and increase scrape time
2017-09-09 13:41:08 +02:00
A. Svensson
51685c55d9
Adds proper styling I don't have to be embarassed about
2017-08-22 21:24:19 +02:00
A. Svensson
160b773641
Cleans up the charts
2017-08-22 18:16:27 +02:00
A. Svensson
7b9954c624
Removes old/remove server spam, tests are ok
2017-08-22 18:14:28 +02:00
A. Svensson
746a5b5b6f
Shuts up the update spam
2017-08-14 17:14:30 +02:00
A. Svensson
ae58539a4b
Correctly update/remove old servers
2017-08-14 17:12:06 +02:00
A. Svensson
484477daab
Get server history for the last 30 days, instead of the last 7
2017-08-14 17:02:28 +02:00
A. Svensson
0f4a744dad
Stops spamming the log with missing servers
2017-08-14 17:01:41 +02:00
A. Svensson
8ba561d8f2
Adds simple prototype to show reddit mentions
2017-07-15 19:17:51 +02:00
A. Svensson
3f38424ed9
Makes it easier to share the webClient used internally
2017-07-15 19:16:00 +02:00
A. Svensson
aa725ad809
Adds cmd flags to change addr/path
2017-07-15 18:15:45 +02:00
A. Svensson
5d07c05648
Renames packages to correct name
2017-07-15 18:08:17 +02:00
A. Svensson
c6f73275b4
Adds the new and freshly refactored source
2017-07-15 17:53:29 +02:00
A. Svensson
3e68474e3c
Updates readme
2017-07-15 17:50:49 +02:00
A. Svensson
2d2d277555
Removes old code, it's a fresh start
2017-07-15 17:50:27 +02:00
A. Svensson
949a78da33
Dumped gorm and refactored database...
2016-09-14 17:07:00 +02:00
A. Svensson
3ac516a822
Started cleaning up db.
2016-06-19 18:10:54 +02:00
A. Svensson
883f06953a
Start cleaning up the updater.
2016-06-19 16:51:09 +02:00
A. Svensson
adc85bc815
Fix viewing server's page when there's a / in the server's title.
2016-06-19 16:48:55 +02:00
A. Svensson
205a3135ef
Move web instance struct to web.go
2016-06-19 16:18:08 +02:00
A. Svensson
f86693b22b
Update logging and cleanup the updater.
2016-06-19 16:15:29 +02:00
A. Svensson
e94ff7ede7
Cleaned up error handling.
2016-06-19 16:08:17 +02:00
A. Svensson
5adf029b4c
Clean up template loading and add handler for static files.
2016-06-19 15:55:07 +02:00
A. Svensson
3fb5a6a3e9
Do not expose the database at instance.DB anymore.
2016-06-19 15:32:18 +02:00
A. Svensson
d2af505b0c
Add TOML config and clean up startup.
...
- Removed servers.json and it's config code.
- Load the new config.toml, using TOML instead of JSON.
- Moved most of the cli flags to the config file.
- Simplified creation of a new server instance (using New()).
- Goroutine running updates was moved inside the lib.
2016-06-19 15:31:38 +02:00
A. Svensson
d875142d31
Make the scraper shut up about empty server names.
2016-06-19 15:13:47 +02:00
A. Svensson
d710ef9bea
Refactor ss13.go into main.go and a much cleaner state.
2016-06-19 14:22:19 +02:00
A. Svensson
ddc9377e53
Remove gin and use http/gorilla mux instead.
2016-06-19 13:52:52 +02:00
A. Svensson
fd57f1b6ca
Update asset embedding.
2016-06-19 12:20:16 +02:00
A. Svensson
c690c5b420
Fix db error.
2016-06-17 21:34:53 +02:00
A. Svensson
1231648035
Add some internal joke thing.
2016-06-17 21:34:26 +02:00
A. Svensson
f82cc96e7f
Made the Makefile more safer but uglier..
...
Don't risk overwritting files in main dir, but the lines in the Makefile are
too long now.
2016-05-03 19:06:44 +02:00
A. Svensson
acc9175b07
Embed the static files.
2016-05-03 18:50:40 +02:00
A. Svensson
b740896359
Update template assets.
2016-05-03 18:47:15 +02:00
A. Svensson
46e47c4ef7
Load templates from correct package.
2016-04-22 15:32:35 +02:00
A. Svensson
246602865e
Move template assets to own package.
2016-04-22 15:32:03 +02:00
A. Svensson
6a35357b2a
Remove check_error and let OpenSqliteDB return errors instead.
2016-04-22 15:12:28 +02:00
A. Svensson
bcbebd4ddb
Show returned errors from Serve().
2016-04-22 15:06:15 +02:00
A. Svensson
12c6fe64ba
Rename log_error to LogError.
2016-04-22 15:04:51 +02:00
A. Svensson
09dc6355e6
Add makefile.
2016-04-22 15:02:24 +02:00
A. Svensson
07828f0e6a
Embed templates and use them for the web server.
2016-04-22 15:01:18 +02:00
A. Svensson
a36c9a9314
Add a description.
2016-04-22 11:32:30 +02:00
A. Svensson
549c5b3599
Fix hardcoded file paths.
2016-04-22 11:15:18 +02:00
A. Svensson
166215a6f4
Rename main to globals.
2016-04-22 11:14:23 +02:00