1
0
Commit Graph

615 Commits

Author SHA1 Message Date
5be38c00cf
Removed old template pre-compilation. Added go:generate command to create an index.jade.go file. 2022-06-13 18:39:30 +04:00
595d7769ec
Template was rewritten to a form that gets pre-compiled into a Go source file. Must help to increase speed drastically. 2022-06-13 18:37:50 +04:00
b5d8b58b81
Template was replaced with a pre-compiled to a Go source file. 2022-06-13 18:35:36 +04:00
89429d7fd2
Updated version. 2022-05-24 23:45:11 +04:00
ed5508cb9a
Added logrotate file un/install to Makefile. 2022-05-24 23:42:39 +04:00
77f9005ba4
Added logrotate file. 2022-05-24 23:40:56 +04:00
6dbe154bbc
Added SIGHUP handler for logger file reopening. 2022-05-24 23:34:16 +04:00
ec06099d89
Added Reopen() method for Logger. 2022-05-24 23:33:37 +04:00
60dcf2c11c
ModMask replaced wuth ModIgnMask. Now IN_IGNORED being watched, it makes watcher to reinstantiate. 2022-05-24 23:20:19 +04:00
ef27662de5
ModMask const modified with IN_IGNORED mask and now called ModIgnMask. 2022-05-24 23:17:35 +04:00
f2fcadd0c5
Removed not used NotFoundData structure. 2022-05-24 19:46:33 +04:00
f2d5b5e8c5
Template is being embed directly and all code for directory was removed. 2022-05-24 19:42:47 +04:00
74ae6f4213
Now index template is a variable. 2022-05-24 19:41:04 +04:00
d3cce3d0cb
Updated version. 2022-05-24 18:53:23 +04:00
dcbd544da3
Show listeners in a same manner as in a template. 2022-05-24 18:52:39 +04:00
bc1223cd35
stats endpoint changed in status in main.js. 2022-05-24 18:49:24 +04:00
a2e4a370a5
Extended phony target list. 2022-05-24 18:47:00 +04:00
14bc73588b
stop-service target removed from Makefile. 2022-05-24 18:43:56 +04:00
6155b593b2
Robots handler removed. 2022-05-24 18:41:50 +04:00
35c8a3e469
$dwelling_root changed to $http_root. Added robots.txt location. 2022-05-24 18:41:32 +04:00
89bc554fc0
Removed robots.txt handler and /stats endpoint renamed to /status. 2022-05-24 18:40:52 +04:00
4d5fb47a15
Template and assets moved off to web directory in root. 2022-05-24 18:30:45 +04:00
6484b72342
Embed templates and assets code was moved to a separate package. 2022-05-24 18:30:14 +04:00
a335ae4803
Web dir with a template and assets was moved off to web directory in root. 2022-05-24 18:29:15 +04:00
8b34c1e935
nt var was renamed to more understandable typ. 2022-05-24 18:28:23 +04:00
3ec15fbd2a
Now Index page will be shown even if Icecast status cannot be retrieved. 2022-05-24 18:26:59 +04:00
630c703c12
Changed formatting. Fixed a typo in proxy_pass path. 2022-05-24 18:01:00 +04:00
8c895db131
This fixes an issue when filelist is being downloaded instead. 2022-04-16 16:05:37 +04:00
2f17e0a54f
Forgot about /var/log/ entry. 2022-04-02 19:12:49 +04:00
a1679f7aab
Remove sysusers.d config from Makefile. 2022-04-02 19:05:45 +04:00
5d58e4d1f9
This service doesn't need its own user, dynamic would be sufficient. 2022-04-02 19:04:37 +04:00
d063ede426
Increment version. Since timezone problem caused by zero year is fixed. 2022-04-02 04:32:11 +04:00
4730e62808
Refactor of ToClientTimezone that made it look better. 2022-04-02 04:30:46 +04:00
6f607c830e
Use time format specified in radio package. 2022-04-02 04:29:58 +04:00
88e047d210
Moved time formats to constanst. 2022-04-02 04:29:23 +04:00
49ae7467fc
Since the major problem is solved. The version could be incremented. 2022-04-02 02:01:37 +04:00
1b5dea899e
I found why time was being further altered. The reason is that slices are pointing to original array. Okay. The problem fixed. 2022-04-02 02:00:28 +04:00
db8e8c3ebf
Forgot to change time format in Index handler as well. 2022-04-01 23:35:14 +04:00
c4532fea24
According to tests it is equal performance wise, so why not make a code shorter. 2022-04-01 23:20:04 +04:00
7d447be786
Initialise playlistFired at definition. 2022-04-01 22:35:30 +04:00
1ed81fdd36
Fixed deadlock caused by misunderstanding of how defer works. 2022-04-01 21:12:54 +04:00
21995ea4cd
Added mutex for lastPlayedCache. 2022-04-01 20:44:32 +04:00
d3ffd01e0a
Removed blank line in ToClientTimezone func. 2022-04-01 20:43:43 +04:00
4f3993515a
Changed displayed on-air since date to RFC1123. 2022-04-01 20:43:10 +04:00
066208def4
Reduced main.js a little. 2022-04-01 18:42:13 +04:00
b035476fb7
Oh, here must be used html/template functions! Gotcha! Nice. 2022-03-31 23:04:58 +04:00
0360efc147
If there was no listeners on a track, then print nothing. 2022-03-31 22:46:47 +04:00
ee10fc1c9e
Okay, didn't work. Let it be like that for now. 2022-03-31 22:43:39 +04:00
7c67151ee8
Let's try negate it. 2022-03-31 22:42:01 +04:00
75473aff1f
Let's try unless. 2022-03-31 20:12:18 +04:00