summary refs log tree commit diff
path: root/bin (follow)
Commit message (Expand)AuthorAge
...
* Remove hiJune McEnroe2021-01-13
* Match \ before newline in string as EscapeJune McEnroe2021-01-13
* Remove -t flag from ctags commandsJune McEnroe2021-01-13
* Match strftime format specifiersJune McEnroe2021-01-13
* Try to return make substitutions as single tokensJune McEnroe2021-01-13
* Shorten hilex class namesJune McEnroe2021-01-13
* Move text "lexer" to hilex.cJune McEnroe2021-01-13
* Try to return strings as single tokensJune McEnroe2021-01-13
* Match [] as Operator in C lexerJune McEnroe2021-01-13
* Fix C lexer to require a digit in a float literalJune McEnroe2021-01-13
* Support long double in c.shJune McEnroe2021-01-13
* Increase dark white brightness slightlyJune McEnroe2021-01-13
* Add hilex example to htagml manualJune McEnroe2021-01-13
* Avoid matching tag text inside HTML elementsJune McEnroe2021-01-12
* Use hilex for up -hJune McEnroe2021-01-12
* Use hilex for bin HTMLJune McEnroe2021-01-12
* Don't output a pre in hilex by defaultJune McEnroe2021-01-12
* Move hilex out of hilex directoryJune McEnroe2021-01-12
* Consolidate hilex formatters into hilex.cJune McEnroe2021-01-12
* Remove hacky tagging from hilexJune McEnroe2021-01-12
* Add htagml -iJune McEnroe2021-01-12
* Render tag index in HTMLJune McEnroe2021-01-12
* Add htagml -xJune McEnroe2021-01-12
* Prevent matching the same tag twiceJune McEnroe2021-01-12
* Process htagml file line by lineJune McEnroe2021-01-12
* Split fields by tab onlyJune McEnroe2021-01-12
* List both Makefile and html.sh under README.7June McEnroe2021-01-12
* Add htagml exampleJune McEnroe2021-01-12
* Use mandoc and htagml for bin htmlJune McEnroe2021-01-12
* Add htagmlJune McEnroe2021-01-12
* Add c -t flag to print expression typeJune McEnroe2021-01-09
* Clean up make lexerJune McEnroe2021-01-02
* Tag top-level typedefs the same way as function definitionsJune McEnroe2021-01-02
* Clean up order lexerJune McEnroe2021-01-01
* Remove empty comma statement from bitJune McEnroe2021-01-01
* Add ASCII control code names to bitJune McEnroe2020-12-31
* Simplify bit lexing and parsingJune McEnroe2020-12-31
* Print octal for 8 bits in bitJune McEnroe2020-12-30
* Add unary & to bitJune McEnroe2020-12-30
* Support unary + in orderJune McEnroe2020-12-30
* Add postfix $ operator to bitJune McEnroe2020-12-30
* Add make lexerJune McEnroe2020-12-29
* Clean up C lexerJune McEnroe2020-12-29
* Clean up hilex code somewhatJune McEnroe2020-12-29
* Match lex/yacc %% %{ %} lines as MacroJune McEnroe2020-12-29
* Match top-level C definitions as IdentifierTagJune McEnroe2020-12-29
* Match C type declarations as IdentifierTagJune McEnroe2020-12-29
* Match function-like macro definitions as IdentifierTagJune McEnroe2020-12-29
* Reconfigure C macro start conditionsJune McEnroe2020-12-29
* Document HTML class namesJune McEnroe2020-12-29
td>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