Commits
- Commit:
4013c1a870475652ffb0a6e65a32710779d69d91fbcd997f972b53e263674cf9- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
CHANGES for 0.122
- Commit:
0bc4f5c3414bda95d97337d417a695f644ebd7eb01da8d8fb0d2d0818a33b6a5- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
document gotwebd's Content Security Policy
- Commit:
6c1b179a3c604867ae04a0d5843a3aa18d5d29dbd45aa32b5cbfcaa44ba2d2fd- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
adjust expected test output after HTML changes to gotwebd login hint page
- Commit:
f7992aab1d8b2f59e88bb5ca149476db13b6f5dc4c8276b064eb427aca6bd157- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: fix overflow css for clone-url
- Commit:
b9fd8f542258309ef2825d86c2bda208a049e3bd807edb7539411c0db06d8d16- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: wrap the login hint in <pre>
and while here the "Log in by running" in a <p>
- Commit:
5dc151101d65858605544b62e6326bd72df20a4e7bb7c35f2b4e40a3717ad935- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make gotsys-write-conf put ssh fingerprints into global gotwebd.conf scope
Makes gotwebd display ssh fingerprints on the login hint page.
- Commit:
ed2f82904d5f4da047cb62aa90267fd0952836d2c65a51e84955f82fe8560d29- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
show ssh host key fingerprints on the login hint error page
ok op@
- Commit:
0e23f911fba42726916fbd5ef96ef8f9d60aa9f1227e14de0054dac38d63c86d- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add ssh fingerprint settings to global and server context in gotwebd.conf
ok op@
- Commit:
e0b4bebd3276f6c8e04fd80efc48145413ed1090e77e36c2c58c3c5da38cb4d0- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
update gotsysd/gotwebd regression tests for login status and logout button
- Commit:
9d049e7f3dcb2a65388f25e0b11268f20c6baca68251886c7a6c7a70b86f69fe- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
provide a link which can be used to log out when logged into gotwebd
ok op@
- Commit:
6861b1cdf80a35e8bcd8fac0e7a0181e16ec4d674e142ba03160d0cb595db97b- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make gotwebd display the authenticated user name while logged in
ok op@
- Commit:
314884daafd9ef33b912e426048c91c14fd52993cbb5aa478ecb4d05fa7327fb- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
scope gotwebd authentication cookies to our URL root path
Prevents the auth cookie from being sent to pages on the same domain
which aren't served by gotwebd.
Spotted by + ok op@
- Commit:
ef7c838a181873a1e0182e59e4c5f7bf9f6beed25c8c875263913dfd119b26c9- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
update expected output of gotwebd regression tests after recent gotwebd changes
The script-src CSP attribute was changed from 'none' to 'self', and the
'Clone URL:' label on the summary page is no longer displayed by default.
- Commit:
fba864f0174087aefc41b13bc22a15c538dd4a85811273c2ec8b39fc33046492- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
repair tog regression tests after tog diff indentation change
- Commit:
3e8bd23d445742d36f81ca8e61277581812a9554b76f57783d67450f81e3efb7- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
only display the "Clone URL:" label if there is a clone URL to display
- Commit:
7097d61f37a8cd90f409e945da0a9521036a63f77b67a609fbacc1ad86f1aa19- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make gotsys-write-conf add ssh host key fingerprints to /etc/gotwebd.conf
ok op@
- Commit:
b020191856790430c1c6f94a76a5d0fb01564db563a08e703bd0895aff1f11ea- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
allow gotwebd to display SSH host key fingerprints for clone URLs
Add options to gotwebd.conf which set SSH hostkeys to be displayed
beneath the clone URL.
ok op@
- Commit:
7a6b6eeeda8091da897a1e5b68e132e655969c66794ba0416f34932d80575508- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'tog diff' indent log messages above patches for safety
Lack of log message indentation can be problematic when a patch is saved
from 'tog diff' with the 'p' key and then sent elsewhere to be applied.
Without indentation, diff text which happens to appear in a log message
might be interpreted as part of the commit's patch. (Some patch programs
will even strip leading indentation, but that is on them.)
See https://github.com/i3/i3/pull/6564 for an example where a call to
sleep() was added accidentally via a patch pasted into the log message.
- Commit:
65b128a66b78d72623c8f79efa1d8f6ce858c7f3af262825d0e6a577c9e25e86- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix some typos, courtesy of codespell(1)
- Commit:
f05467224f503defae2df3307dee4164a17153c24983ac91d86889cad02564bb- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make gotsys-write-conf set the clone_url option in gotwebd.conf
If the web login hint user (usually "anonymous") has access to a repository
via SSH we now add a corresponding clone_url option to /etc/gotwebd.conf.
- Commit:
59ec6f30d83e4bdac0699743000c51dc4a55230de4ac589d4d6ff2dc3d432315- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a per-repository clone_url option gotwebd.conf
This feature can be used to set a clone URL without having to create a file
inside the repository.
- Commit:
f7321f76f782d54a93e0e4c48db2cf7c83bbfd92405a544d12aa110eb48caf83- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix gotwebd serving websites from a branch other than HEAD
Problem found by tobhe@
- Commit:
0b41df0a1d24e9d24c582a7f2906c835b7050f074a3f7028cf74c616534e81e3- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
tweak gotwebd's Content-Security policy to allow javascript to be served
Custom websites may want to serve javascript, so let them.
Problem spotted by tobhe@
- Commit:
e6d36501363aaa83462dc324e7593e8e913a790d91c3e638322410833a1bfd84- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix paths to gotwebd static assets in generated HTML
We would end up generating paths like //repos/gotweb.css which causes
the browser to complain about Content-Security-Policy: "The page’s settings
blocked a style (style-src-elem) at https://repos/gotweb.css"
Problem reported by tobhe@
- Commit:
5bf64361d0703410f1b9ff9479cb21f0d384bc26d8b3f5f6531a419dcb842c2b- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix setting of a custom HEAD reference during repository creation by gotsysd
A parameter of got_repo_init() is supposed to be a branch name but
gotsys-repo-create was passing an absolute reference name instead. This
resulted in problems like refs/heads/refs/heads/foo being set as HEAD.
Add test coverage for this issue.
A workaround exists: Affected repositories are repaired as soon as another
gotsys.conf change is committed or 'gotsys apply' is triggered manually.
