about summary refs log tree commit diff
Commit message (Expand)AuthorAge
...
* 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
* Use argv_array in place of vectorLukas Fleischer2014-01-08
* ui-stats.c: Remove unused macroLukas Fleischer2014-01-08
* scan-tree.c: Remove unused macroLukas Fleischer2014-01-08
* ui-shared: Drop filepair_cb_raw() and helperLukas Fleischer2013-09-14
* ui-diff: Use diff_tree_sha1() for raw diff formattingLukas Fleischer2013-09-14
* tests/: Add t0110-rawdiff.shLukas Fleischer2013-08-26
* t0108: Add tests for revision rangesLukas Fleischer2013-08-26
* t0108: Compare output with git-format-patch(1)Lukas Fleischer2013-08-26
* ui-patch.c: Add additional newline after each patchLukas Fleischer2013-08-26
* ui-patch.c: Fix signature delimiterLukas Fleischer2013-08-26
* t0108: Avoid unnecessary fork()Lukas Fleischer2013-08-26
* git: update to 1.8.4John Keeping2013-08-26
* ui-patch.c: Fix formatting for merge commitsLukas Fleischer2013-08-22
* ui-patch: Rename variablesLukas Fleischer2013-08-20
* Allow for creating patch seriesLukas Fleischer2013-08-20
* ui-patch.c: Use log_tree_commit() to generate diffsLukas Fleischer2013-08-20
* ui-diff: Check the return value of get_sha1()Lukas Fleischer2013-08-20
* cmd.c: Add a "rawdiff" commandLukas Fleischer2013-08-16
* Allow for creating raw diffs with cgit_print_diff()Lukas Fleischer2013-08-16
* Extract filepair_cb from ui-patch.cLukas Fleischer2013-08-16
* Fix silly spelling error.Jason A. Donenfeld2013-08-16
* Fix section-from-path > 1Lukas Fleischer2013-08-12
ghlight'>| | | | | | This allows custom links to be used for repository owners by configuring a filter to be applied in the "Owner" column in the repository list. * filter: fix libravatar email-filter https issueChristian Hesse2014-12-13 | | | | | | Serving cgit via https and getting avatar via http gives error messages about untrusted content. This decides whether or not to use https link by looking at the environment variable HTTPS, which is set in CGI. * remove trailing whitespaces from source filesChristian Hesse2014-04-17 | * filter: add libravatar email-filter lua scriptChristian Hesse2014-03-13 | * simple-authentication: styleJason A. Donenfeld2014-01-23 | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> * auth: document tweakables in lua scriptJason A. Donenfeld2014-01-17 | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> * auth: have cgit calculate login addressJason A. Donenfeld2014-01-16 | | | | | | | This way we're sure to use virtual root, or any other strangeness encountered. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> * auth: lua string comparisons are time invariantJason A. Donenfeld2014-01-16 | | | | | | By default, strings are compared by hash, so we can remove this comment. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> * authentication: use hidden form instead of refererJason A. Donenfeld2014-01-16 | | | | | | | 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> * auth: add basic authentication filter frameworkJason A. Donenfeld2014-01-16 | | | | | | | | | | | | | | | | 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> * email-gravatar: fix html syntax issuesChristian Hesse2014-01-15 | | | | | an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified * email-gravatar: do not scale icons upJason A. Donenfeld2014-01-14 | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> * filter: allow returning exit code from filterJason A. Donenfeld2014-01-14 | | | | | | | Filters can now indicate a status back to cgit by means of the exit code for exec, or the return value from close for Lua. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> * email-gravatar: fix html syntax issuesChristian Hesse2014-01-14 | | | | | | * make ampersand a html entity * add required alt attribute * add required img end tag * email-gravatar.py: fix UTF-8Christian Hesse2014-01-14 | * email-gravatar.lua: fix for lua 5.2Christian Hesse2014-01-14 | * filter: add page source to email filterJason A. Donenfeld2014-01-14 | | | | | | | | Since the email filter is called from lots of places, the script might benefit from knowing the origin. That way it can modify its contents and/or size depending. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> * filter: add gravatar scriptsJason A. Donenfeld2014-01-14 | | | | | | | The lua one is hugely faster than the python one, but both are included for comparison. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> * filters: Improved syntax-highlighting.pyStefan Tatschner2014-01-13 | | | | | | | | | | | | | | | | - Switched back to python2 according to a problem in pygments with python3. With the next release of pygments this problem should be fixed. Issue see here: https://bitbucket.org/birkenfeld/pygments-main/issue/901/problems-with-python3 - Just read the stdin, decode it to utf-8 and ignore unknown signs. This ensures that even destroyed files do not cause any errors in the filter. - Improved language guessing: -> At first use guess_lexer_for_filename for a better detection of the used programming languages (even mixed cases will be detected, e.g. php + html). -> If nothing was found look if there is a shebang and use guess_lexer. -> As default/fallback choose TextLexer. Signed-off-by: Stefan Tatschner <stefan@sevenbyte.org> * Fix UTF-8 with syntax-highlighting.pyPřemysl Janouch2014-01-08 | | | | | | | Previously the script tried to encode output from Pygments with the ASCII codec, which failed. Signed-off-by: Přemysl Janouch <p.janouch@gmail.com> * Fix about-formatting.shPřemysl Janouch2014-01-08 | | | | | | dash failed to parse the script. Signed-off-by: Přemysl Janouch <p.janouch@gmail.com> * filters: highlight.sh: add css comments for highlight 2.6 and 3.8Ferry Huberts2014-01-08 | | | | | | v2: add highlight 3.13 as present on Fedora 19 Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl> * filters: toggle perl utf8 situationJason A. Donenfeld2013-05-28 | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> * filters: import more modern scriptsJason A. Donenfeld2013-05-27 | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> * syntax-highlighting.sh: Fix command injection.Jason A. Donenfeld2012-10-27 | | | | | | | | | By not quoting the argument, an attacker with the ability to add files to the repository could pass arbitrary arguments to the highlight command, in particular, the --plug-in argument which can lead to arbitrary command execution. This patch adds simple argument quoting. * syntax-highlight: when the file has no extension, assume textFerry Huberts2012-10-09 | | | | | | | | | | There are 2 situations: 1- empty extension: assuming text is better than highlight producing no output because of a missing argument. 2- no extension at all: assuming text is better than setting the extension to the filename, which is what now happens. Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl> * Revert "filters/syntax-highlighting.sh: work around highlight --force bug"Ferry Huberts2012-10-09 | | | | | | | | | This reverts commit f50be7fda0a7ab57009169dd5905fcbab8eb5166. An update with the latest highlight landed in EPEL. This new version doesn't have the --force bug, so the workaround can now be removed. Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl> * Merge branch 'stable'Lars Hjemli2012-03-18 |\