Commit Briefs

3e4edf5532 Omar Polo

plug leak on BIO_new error path (op/gotwebd-auth)



9588300b23 Omar Polo

use uid instead of username as string


a0993bddf3 Omar Polo

teach gotwebd how to decode the tokens


9dc775ce5e Omar Polo

fix client_write


d35d2167be Omar Polo

actually implement the token generation


06efacffbc Omar Polo

minor refactor and actually check the cookie


0adbbd328a Omar Polo

fix out of bounds


a068a093ed Omar Polo

wip


0f8eee6199 Omar Polo

gotwebd: handle the ?login query parameter

for now the token is just a dummy "42". We still need to parse this in incoming requests too.


0d6b67e271 Omar Polo

simplify gotsh weblogin


f9d09706c2 Omar Polo

gotwebd: start to implement the auth feature

rearranged the code a bit; let's use a bufferevent since we're not going to use imsg for this anyway. for now it just replies back with a dummy URL.


1c454de92a Omar Polo

gotsh: fix usage



3c4b115775 Omar Polo

implement gotsh weblogin command


26e67dac35 Omar Polo

gotwebd: delete trailing whitespaces


90c119aeb4 Omar Polo

gotwebd: simplify handling of action not found


0e9726b99c Stefan Sperling

bump version number


1fbd2b3b8a Stefan Sperling

CHANGES for 0.112 (tags/0.112)


afbdf128aa Stefan Sperling

stop opening the repository when opening a work tree

Opening a bunch of files in /tmp for pack temp files and opening the repository just to validate the work tree's base-commit ID is overkill. Simply parse the ID directly. If the commit object no longer exists we will run into another error sooner or later. The commit is already protected by the work tree reference. If it is missing then something has badly gone wrong. Doing less work when opening work trees speeds up 'got status' a bit. As pointed out by Kyle this also avoids running got-read-gitconfig twice when opening both a repository and a work tree. ok by op@ and Kyle Ackerman


86abf691af Stefan Sperling

add comments explaining that .got/base-commit needs hash algo information

Hopefully, if we ever bump the work tree format in the future we will see these comments and sneak in a change to the .got/base-commit file in order to record the hash algorithm of the base commit ID.


866e94146b Kyle Ackerman

Plug memory leaks in some libexecs

This occurred when these particular libexecs get an imsg of type GOT_IMSG_STOP. They attempt to exit the main loop and leak the last imsg they received. ok stsp@ op@


0212f18060 Kyle Ackerman

Plug a memory leak in gitconfig.c

conf_parse_line frees *section before allocating a new one, which leaks *section on the last iteration of conf_parse. ok stsp@


160508d5f7 Stefan Sperling

remove a gotsysd todo item that is done