Oliver Giles
93b428529e
webui may be modified with custom style.css
2017-12-29 11:14:20 +02:00
Oliver Giles
6919a74d0a
correct install dir for systemd laminar.service
2017-12-29 09:12:51 +02:00
Oliver Giles
e1a0c7bd0b
resolves #24 : notify and reconnect interrupted connections
...
A notification is shown on the webui when the websocket
connection is lost, and periodic retry is attempted
2017-12-23 17:15:48 +02:00
Oliver Giles
9eb90de5b1
readme: add note about github webhooks
2017-12-22 17:10:46 +02:00
Václav Valíček
1bd4300d1b
Enable colored output for output logs
2017-12-21 08:57:24 +02:00
Oliver Giles
1f23ec5fb2
escape html tags in log output
...
While normally this isn't enough to prevent XSS, this output will only
appear in the body of a <pre>, and anyway the scripts are semi-privileged
2017-12-21 08:46:00 +02:00
Oliver Giles
3129f0e73b
fix pedantic compiler warnings
2017-12-21 08:19:45 +02:00
Oliver Giles
e0a130f33d
add named getters to RunSet
...
this improves readability by removing the index-based
get<> methods in favour of explicitly named methods
2017-12-20 09:02:15 +02:00
Oliver Giles
bb9486e066
use compliant include guards
2017-12-20 08:24:25 +02:00
Oliver Giles
9e1a65ccee
server: minor websocket client handler refactor
...
Now explicitly closed connections on the client side are
closed with a clean error code. This is motivated by upcoming
work to detect broken websockets and automatically reconnect
2017-12-16 18:21:33 +02:00
Oliver Giles
eb5b900849
update README for 0.5
2017-12-11 19:06:32 +02:00
Oliver Giles
3369482182
add missing sqlite dependency in docker build scripts
2017-12-11 18:32:07 +02:00
Oliver Giles
ff42dae7cc
read remaining data in run pipe when reaping
...
This fixes a bug where the last pieces of console output were lost. In that
case, the event loop scheduled the ended child process's SIGCHLD handler
before the handler to read the last of the process's output. We work around
that by doing an additional (non-blocking) read in the SIGCHLD handler
2017-12-09 20:27:08 +02:00
Oliver Giles
76e0e9e62a
resolves #22 : allow keeping N rundirs
...
This replaces LAMINAR_KEEP_RUNDIR (bool) with LAMINAR_KEEP_RUNDIRS (int)
2017-12-09 20:23:24 +02:00
Oliver Giles
74443c292a
Fix copyright years
...
This reverts commit 4e911756bc
.
In addition, copyright years are now expressed in the form of
(year file added)-(year file last changed)
2017-12-09 12:21:34 +02:00
Oliver Giles
e371f8ca5a
server: use regular char array as buffer
...
This approach finally solves the crash under hardened gentoo
discussed in #19
2017-12-07 18:28:12 +02:00
Oliver Giles
4c63cef7ac
remove unnecessary attach()
2017-12-06 21:59:22 +02:00
Oliver Giles
272176a6a5
server: allocate a single buffer per file descriptor
2017-12-06 21:51:50 +02:00
Oliver Giles
b70e501d6d
attempt to solve segfault under hardened gentoo
...
Can't reproduce this locally, but looks like using a std::string
as an arbitrary buffer is causing problems. See #19
2017-12-06 09:24:35 +02:00
Oliver Giles
9c92c5b514
don't leak file descriptors into runs
2017-12-04 20:31:23 +02:00
Oliver Giles
d91816097a
resolves #19 : laminard crashes under load
...
reading into a static buffer is a race condition that is only
manifested under load. There's no guarantee the clause in then()
will run before another task overwrites the buffer. Allocating
a local string is the only correct solution
2017-12-04 20:29:19 +02:00
Oliver Giles
7dce535264
webui: navbar with square corners
2017-12-02 20:52:34 +02:00
Oliver Giles
28a939316c
resolves #18 : don't error out when rundir already exists
2017-12-02 20:52:19 +02:00
Oliver Giles
07c024e6ed
resolves #21 : executors graph incorrect after refresh
2017-12-02 19:10:00 +02:00
Oliver Giles
288b950f9e
resolves #20 : queued runs lost on job page refresh
2017-12-02 19:06:54 +02:00
Oliver Giles
9685563338
debug: don't assert on signo != SIGCHLD
2017-12-02 18:54:39 +02:00
Oliver Giles
ea133382b0
improve run status icon consistency
2017-12-02 18:30:45 +02:00
Oliver Giles
2214bef262
show first run of a job on all jobs page
2017-12-02 17:55:32 +02:00
Oliver Giles
75a2041fdb
readme: add paragraph about build now button
2017-12-02 17:55:32 +02:00
Oliver Giles
4e7146e2ae
readme: full path to run page
2017-12-02 17:55:32 +02:00
palica
c7c70538c3
formating changes for time display
2017-12-01 14:12:03 +02:00
Oliver Giles
e94f4e2651
resolves #16 : first run of a job does not update duration
2017-11-18 11:26:04 +02:00
Oliver Giles
5606f4addc
cmake: set CMP0058 to NEW
2017-11-18 11:24:43 +02:00
Oliver Giles
792c69a0bb
readme: add note about exit status
2017-11-18 10:59:31 +02:00
Oliver Giles
298f72f81b
fix duplicated progress spinner on run page
2017-11-07 19:04:49 +02:00
Oliver Giles
ce0a127a30
Dynamically update duration on job page
...
Show dynamically updating duration for active jobs on the
job page. This adds to the resolution for #8
2017-11-07 08:35:49 +02:00
Oliver Giles
309654ef8a
Merge pull request #13 from palica/patch-1
...
typo
2017-11-07 08:30:06 +02:00
Oliver Giles
d3e4db1f29
show active jobs on Jobs page
...
Rows on the jobs page now updated also during their execution. This
improvement was discussed in #8 and #9
2017-11-07 08:21:01 +02:00
palica
3c658abb27
typo
2017-11-07 01:37:21 +01:00
Oliver Giles
022aa0d804
Show active job running time on dashboard
2017-11-06 19:22:03 +02:00
Oliver Giles
116dfaa3d0
calculate all duration in the client
...
This cleans up some inconsistency where sometimes 'completed-started' happened
on the client side and sometimes on the server. Also should fix the 'cumulative
time' issue mentioned in #8
2017-11-06 19:08:14 +02:00
Oliver Giles
7a7c5bc5aa
resolves #10 : make total build graph semi-transparent
2017-11-06 07:38:04 +02:00
Oliver Giles
7d47bc4b89
resolves #8 : show execution time of the running job
2017-11-06 07:38:04 +02:00
Oliver Giles
576159d8e9
send correct Content-Type header for static resources
2017-10-31 20:07:12 +02:00
Oliver Giles
f42ef7aacf
Merge pull request #5 from seifertm/license-file
...
GPLv3 license file
2017-10-14 18:01:17 +03:00
Oliver Giles
32426ee34f
rundir could not be kept, use consistent naming
2017-10-14 17:51:24 +03:00
Oliver Giles
f96e58c3f1
readme: add info on websocket proxy
2017-10-14 17:31:35 +03:00
Michael Seifert
3bf6509cfe
Added GPLv3 license file.
2017-10-11 09:56:26 +02:00
Oliver Giles
47ef181043
if https then use wss
2017-09-23 14:36:04 +03:00
Oliver Giles
6c853f045e
archive url must be absolute
2017-09-23 11:11:38 +03:00