about summary refs log tree commit diff
path: root/cgit.h (unfollow)
Commit message (Expand)Author
2018-07-04Fix gcc 8.1.1 compiler warningsJason A. Donenfeld
2018-07-03cgitrc.5: document new signature notesJason A. Donenfeld
2018-07-03snapshot: support tar signature for compressed tarChristian Hesse
2018-07-03extra-head-content: introduce another option for meta tagsJason A. Donenfeld
2018-06-27Use string list strdup_strings for mimetypesJohn Keeping
2018-06-27manpage: fix sorting orderAndy Green
2018-06-27cache: close race window when unlocking slotsJohn Keeping
2018-06-27git: update to v2.18.0Christian Hesse
2018-06-27global: remove functionality we deprecated for cgit v1.0Christian Hesse
2018-06-27snapshot: strip bit from struct cgit_snapshot_formatChristian Hesse
2018-06-27snapshot: support special value 'all' to enable all formatsChristian Hesse
2018-06-27snapshot: support archive signaturesJohn Keeping
2018-06-27ui-refs: use shared function to print tag downloadsJohn Keeping
2018-06-27ui-shared: pass separator in to cgit_print_snapshot_links()John Keeping
2018-06-27ui-shared: use the same snapshot logic as ui-refsJohn Keeping
2018-06-27ui-shared: rename parameter to cgit_print_snapshot_links()John Keeping
2018-06-27ui-shared: remove unused parameterJohn Keeping
2018-06-27ui-refs: remove unnecessary sanity checkJohn Keeping
2018-06-27ui-snapshot: filter permitted snapshot requestsJohn Keeping
2018-06-27Add "snapshot-prefix" repo configurationJohn Keeping
2018-06-27ui-snapshot: pass repo into get_ref_from_filename()John Keeping
2018-06-27ui-shared: pass repo object to print_snapshot_links()John Keeping
2018-06-27ui-log: highlight annotated tags in different colorChristian Hesse
2018-06-27print git version string in footerChristian Hesse
2018-06-27git: update to v2.17.1Christian Hesse
2018-06-19ui-blame: free read_sha1_file() buffer after useAndy Green
2018-06-16ui-tag: Fix inconsistent capitalizationJon DeVree
2018-06-16ui-tree: free read_sha1_file() buffer after useAndy Green
2018-06-16Makefile: drive asciidoc directly for HTML outputJohn Keeping
2018-02-21doc: use consistent id's when generating html filesTodd Zullinger
2018-02-12cgit: prepare repo before error pagesJason A. Donenfeld
2018-01-19ui-blame: Allow syntax highlightingJeff Smith
2018-01-19ui-blame: Make each column into a single table cellJeff Smith
2018-01-19ui-blame: Break out emit_blame_entry into component methodsJeff Smith
2018-01-19ui-blame: Distinguish hashes column from lines columnJeff Smith
2018-01-19git: update to v2.16.0Christian Hesse
2017-12-06git: update to v2.15.1Christian Hesse
2017-10-15global: spelling fixesVille Skyttä
2017-10-15ui-shared: use type='search' for the search boxVille Skyttä
2017-10-14filter: pipe_fh should be localJason A. Donenfeld
2017-10-14parsing: don't clear existing state with empty inputJohn Keeping
2017-10-03ui-tree: link to blame UI if enabledJeff Smith
2017-10-03ui-blame: add blame UIJeff Smith
2017-10-03ui-shared: make a char* parameter constJeff Smith
2017-10-03ui-tree: move set_title_from_path to ui-sharedJeff Smith
2017-10-03html: html_ntxt with no ellipsisJeff Smith
2017-10-03cache: flush stdio before restoring FDsJohn Keeping
2017-09-22Use https for submoduleDaniel M. Weeks
2017-08-10ui-plain: print symlink contentJohn Keeping
2017-08-10cgit: don't set vpath unless repo is setJohn Keeping
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