summary refs log tree commit diff
Commit message (Expand)AuthorAge
* Check bounds of ClientHello extensions lengthJune McEnroe2020-11-12
* Report paths in unveil errorsJune McEnroe2020-11-10
* contrib/palaver: Use open_memstream instead of fmemopenJune McEnroe2020-10-24
* Handle signals before the main loopJune McEnroe2020-10-11
* Fix possibliy uninitialized error 2.0June McEnroe2020-09-09
* Refactor reserialization and client self-producingJune McEnroe2020-08-31
* Add chmod+chown to certbot exampleJune McEnroe2020-08-30
* Rearrange bounce.c, move non-main mains below mainJune McEnroe2020-08-30
* Sandbox pounce with unveil(2)June McEnroe2020-08-30
* Refactor certificate loading and load all certs from config pathsJune McEnroe2020-08-28
* Sandbox pounce with pledge(2)June McEnroe2020-08-27
* Sandbox calico with pledge(2) and unveil(2)June McEnroe2020-08-27
* Add support for OpenBSDJune McEnroe2020-08-27
* Remove rc scriptsJune McEnroe2020-08-27
* contrib/palaver: Fix documented database pathJune McEnroe2020-08-27
* contrib/palaver: Remove rc scriptJune McEnroe2020-08-27
* contrib/palaver: Fix database search and creationJune McEnroe2020-08-27
* contrib/palaver: Use pounce's XDG directoryJune McEnroe2020-08-27
* contrib/palaver: Only allow HTTPSJune McEnroe2020-08-27
* Support the pounce_env rc variableJune McEnroe2020-08-25
* Remove deprecated option namesJune McEnroe2020-08-25
* Document configuration and data file searchJune McEnroe2020-08-25
* Use dataOpen for save fileJune McEnroe2020-08-24
* Use configOpen to load localCAJune McEnroe2020-08-24
* Use configPath to load client cert/privJune McEnroe2020-08-24
* Use configOpen in getopt_configJune McEnroe2020-08-24
* Import xdg.c from catgirlJune McEnroe2020-08-24
* Replace “RAND_bytes” by “getentropy”Issam E. Maghni2020-08-23
* contrib/palaver: Add no message preview flagsJune McEnroe2020-08-16
* contrib/palaver: Don't set channel for PMsJune McEnroe2020-08-13
* Fix unintended interception of NICK after registrationJune McEnroe2020-08-13
* Add Additional Components section to READMEJune McEnroe2020-08-12
* Document -L / palaver optionJune McEnroe2020-08-12
* contrib/palaver: Document service configurationJune McEnroe2020-08-11
* contrib/palaver: Add install target and rc scriptJune McEnroe2020-08-11
* contrib/palaver: Implement command and notificationsJune McEnroe2020-08-11
* contrib/palaver: Add prospective manual pageJune McEnroe2020-08-11
* contrib/palaver: Add configure scriptJune McEnroe2020-08-11
* Implement stub of palaverapp.com capabilityJune McEnroe2020-08-11
* Refactor intercept to use Handlers and fix QUIT w/o message 1.4p1June McEnroe2020-08-10
* Refactor clientCA and clientSTS as clientCapsJune McEnroe2020-08-10
* Use system libcrypto and openssl bin on FreeBSD 1.4June McEnroe2020-08-06
* Say "OpenSSL" in additional permission noticesJune McEnroe2020-08-06
* Mention LibreTLS in READMEJune McEnroe2020-08-06
* Handle broken clients sending only \nJune McEnroe2020-08-06
* Document concatenating client certificates for authJune McEnroe2020-08-01
* Fix signing certificates with -A and -gJune McEnroe2020-08-01
* Remove compat.hJune McEnroe2020-08-01
* Define explicit_bzero using memset_s on macOSJune McEnroe2020-08-01
* Use snprintf instead of strlcatJune McEnroe2020-08-01
on details from READMELars Hjemli Let README describe the "bigger picture" instead. Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-13Small layout adjustments to summary and blob viewLars Hjemli Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-13Add display of tree content w/ui-tree.cLars Hjemli Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-12cache_lock: do xstrdup/free on lockfileLars Hjemli Since fmt() uses 8 alternating static buffers, and cache_lock might call cache_create_dirs() multiple times, which in turn might call fmt() twice, after four iterations lockfile would be overwritten by a cachedirectory path. In worst case, this could cause the cachedirectory to be unlinked and replaced by a cachefile. Fix: use xstrdup() on the result from fmt() before assigning to lockfile, and call free(lockfile) before exit. Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Don't truncate valid cachefilesLars Hjemli An embarrassing thinko in cgit_check_cache() would truncate valid cachefiles in the following situation: 1) process A notices a missing/expired cachefile 2) process B gets scheduled, locks, fills and unlocks the cachefile 3) process A gets scheduled, locks the cachefile, notices that the cachefile now exist/is not expired anymore, and continues to overwrite it with an empty lockfile. Thanks to Linus for noticing (again). Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Move global variables + callback functions into shared.cLars Hjemli Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Move functions for generic object output into ui-view.cLars Hjemli Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Move log-functions into ui-log.cLars Hjemli Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Move repo summary functions into ui-summary.cLars Hjemli Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Move functions for repolist output into ui-repolist.cLars Hjemli Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Move common output-functions into ui-shared.cLars Hjemli While at it, replace the cgit_[lib_]error constants with a proper function Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Rename config.c to parsing.c + move cgit_parse_query from cgit.c to parsing.cLars Hjemli Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Avoid infinite loops in caching layerLars Hjemli Add a global variable, cgit_max_lock_attemps, to avoid the possibility of infinite loops when failing to acquire a lockfile. This could happen on broken setups or under crazy server load. Incidentally, this also fixes a lurking bug in cache_lock() where an uninitialized returnvalue was used. Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Let 'make install' clear all cachefilesLars Hjemli Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-11Fix cache algorithm loopholeLars Hjemli This closes the door for unneccessary calls to cgit_fill_cache(). Noticed by Linus. Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-10Add version identifier in generated filesLars Hjemli Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-10Add license file and copyright noticesLars Hjemli Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-10Add caching infrastructureLars Hjemli