about summary refs log tree commit diff
Commit message (Expand)AuthorAge
...
* email-gravatar.lua: fix for lua 5.2Christian Hesse2014-01-14
* makefile: only display lua message onceJason A. Donenfeld2014-01-14
* README: document lua makefile flagsJason A. Donenfeld2014-01-14
* cgitrc.5.txt: Fix documentation of the snapshot maskLukas Fleischer2014-01-14
* makefile: auto-detect presence of various Lua, bsdJason A. Donenfeld2014-01-14
* filter: style tweaksJason A. Donenfeld2014-01-14
* filter: add page source to email filterJason A. Donenfeld2014-01-14
* filter: add gravatar scriptsJason A. Donenfeld2014-01-14
* filter: add support for email filterJason A. Donenfeld2014-01-14
* filter: return on null filter from open and closeJason A. Donenfeld2014-01-14
* filter: add lua supportJason A. Donenfeld2014-01-14
* filter: basic write hooking infrastructureJason A. Donenfeld2014-01-14
* filter: allow for cleanup hook for filter typesJason A. Donenfeld2014-01-14
* filter: introduce "filter type" prefixJohn Keeping2014-01-14
* filter: add interface layerJohn Keeping2014-01-14
* filter: add fprintf_filter functionJohn Keeping2014-01-14
* authors: specify maintainersJason A. Donenfeld2014-01-14
* filters: Improved syntax-highlighting.pyStefan Tatschner2014-01-13
* tests: add CGIT_TEST_OPTS variable to MakefileJohn Keeping2014-01-12
* ui-repolist: HTML-escape cgit_rooturl() responseJohn Keeping2014-01-12
* ui-shared: URL-escape script_nameJohn Keeping2014-01-12
* ui-refs: escape HTML chars in author and tagger namesJohn Keeping2014-01-12
* filter: pass extra arguments via cgit_open_filterJohn Keeping2014-01-12
* ui-snapshot: set unused cgit_filter fields to zeroJohn Keeping2014-01-12
* html: remove redundant htmlfd variableJohn Keeping2014-01-12
* tests: add Valgrind supportJohn Keeping2014-01-12
* cache: don't leave cache_slot fields uninitializedJohn Keeping2014-01-12
* filter: split filter functions into their own fileJason A. Donenfeld2014-01-10
* filter: make exit status localJason A. Donenfeld2014-01-10
* parsing: fix header typoJason A. Donenfeld2014-01-10
* cgit.c: Fix comment on bit mask hackLukas Fleischer2014-01-10
* cgit.c: Use "else" for mutually exclusive branchesLukas Fleischer2014-01-10
* ui-snapshot.c: Do not reinvent suffixcmp()Lukas Fleischer2014-01-10
* Refactor cgit_parse_snapshots_mask()Lukas Fleischer2014-01-10
* Disallow use of undocumented snapshot delimitersLukas Fleischer2014-01-10
* Replace most uses of strncmp() with prefixcmp()Lukas Fleischer2014-01-10
* README: Fix dependenciesLukas Fleischer2014-01-09
* README: Spelling and formatting fixesLukas Fleischer2014-01-08
* Fix UTF-8 with syntax-highlighting.pyPřemysl Janouch2014-01-08
* Add a suggestion to the manpagePřemysl Janouch2014-01-08
* Fix the example configurationPřemysl Janouch2014-01-08
* Fix about-formatting.shPřemysl Janouch2014-01-08
* Fix some spelling errorsPřemysl Janouch2014-01-08
* filters: highlight.sh: add css comments for highlight 2.6 and 3.8Ferry Huberts2014-01-08
* Add AUTHORS fileLukas Fleischer2014-01-08
* Update copyright informationLukas Fleischer2014-01-08
* git: update to 1.8.5Christian Hesse2014-01-08
* Reduce line number bloat, fix hover effectPeter Wu2014-01-08
* plain: don't append charset for binary MIME typesJohn Keeping2014-01-08
* ui-log.c: Several simplificationsLukas Fleischer2014-01-08
zx2c4.com> 2014-01-17filter: don't forget to reap the auth filterJason A. Donenfeld Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> 2014-01-17cgit.c: free tmp variableJason A. Donenfeld Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> 2014-01-17Switch to exclusively using global ctxLukas Fleischer Drop the context parameter from the following functions (and all static helpers used by them) and use the global context instead: * cgit_print_http_headers() * cgit_print_docstart() * cgit_print_pageheader() Remove context parameter from all commands Drop the context parameter from the following functions (and all static helpers used by them) and use the global context instead: * cgit_get_cmd() * All cgit command functions. * cgit_clone_info() * cgit_clone_objects() * cgit_clone_head() * cgit_print_plain() * cgit_show_stats() In initialization routines, use the global context variable instead of passing a pointer around locally. Remove callback data parameter for cache slots This is no longer needed since the context is always read from the global context variable. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de> 2014-01-16auth: have cgit calculate login addressJason A. Donenfeld This way we're sure to use virtual root, or any other strangeness encountered. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> 2014-01-16auth: lua string comparisons are time invariantJason A. Donenfeld By default, strings are compared by hash, so we can remove this comment. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> 2014-01-16authentication: use hidden form instead of refererJason A. Donenfeld This also gives us some CSRF protection. Note that we make use of the hmac to protect the redirect value. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> 2014-01-16auth: add basic authentication filter frameworkJason A. Donenfeld This leverages the new lua support. See filters/simple-authentication.lua for explaination of how this works. There is also additional documentation in cgitrc.5.txt. Though this is a cookie-based approach, cgit's caching mechanism is preserved for authenticated pages. Very plugable and extendable depending on user needs. The sample script uses an HMAC-SHA1 based cookie to store the currently logged in user, with an expiration date. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> 2014-01-16t0111: Additions and fixesLukas Fleischer * Rename the capitalize-* filters to dump.* since they also dump the arguments. * Add full argument validation to the email filters. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de> 2014-01-16parsing.c: Remove leading space from committerLukas Fleischer