aboutsummaryrefslogtreecommitdiffstats
path: root/ui-shared.c
AgeCommit message (Expand)AuthorFilesLines
2023-01-10config: make empty js= omit script tagHEADmasterSamuel Lidén Borell1-0/+8
2022-12-19js: add dynamic age updateAndy Green1-1/+1
2022-12-19config: add jsAndy Green1-0/+17
2022-12-19css: change to be a listAndy Green1-3/+18
2022-12-19ui-shared: use owner-filter for repo page headersJune McEnroe1-1/+7
2022-12-19ui-repolist,ui-shared: remove redundant title on repo anchorsChris Mayo1-1/+1
2020-12-29git: update to v2.30.0Christian Hesse1-4/+5
2020-10-20global: replace references to 'sha1' with 'oid'Christian Hesse1-20/+20
2019-05-20ui-shared: restrict to 15 levelsJason A. Donenfeld1-1/+3
2019-01-02ui-shared: fix broken sizeof in title setting and rewriteJason A. Donenfeld1-26/+8
2018-11-25auth-filter: pass url with query string attachedJason A. Donenfeld1-2/+35
2018-09-11ui-shared: ban strcat()Christian Hesse1-4/+8
2018-07-04Fix gcc 8.1.1 compiler warningsJason A. Donenfeld1-7/+12
2018-07-03snapshot: support tar signature for compressed tarChristian Hesse1-1/+8
2018-07-03extra-head-content: introduce another option for meta tagsJason A. Donenfeld1-0/+2
2018-06-27global: remove functionality we deprecated for cgit v1.0Christian Hesse1-2/+0
2018-06-27snapshot: strip bit from struct cgit_snapshot_formatChristian Hesse1-1/+1
2018-06-27snapshot: support archive signaturesJohn Keeping1-0/+7
2018-06-27ui-shared: pass separator in to cgit_print_snapshot_links()John Keeping1-2/+3
2018-06-27ui-shared: use the same snapshot logic as ui-refsJohn Keeping1-1/+7
2018-06-27ui-shared: rename parameter to cgit_print_snapshot_links()John Keeping1-2/+2
2018-06-27ui-shared: remove unused parameterJohn Keeping1-2/+1
2018-06-27Add "snapshot-prefix" repo configurationJohn Keeping1-1/+9
2018-06-27ui-shared: pass repo object to print_snapshot_links()John Keeping1-4/+4
2018-06-27print git version string in footerChristian Hesse1-2/+3
2018-06-27git: update to v2.17.1Christian Hesse1-1/+1
2017-10-15ui-shared: use type='search' for the search boxVille Skyttä1-2/+2
2017-10-03ui-tree: link to blame UI if enabledJeff Smith1-3/+17
2017-10-03ui-shared: make a char* parameter constJeff Smith1-11/+8
2017-10-03ui-tree: move set_title_from_path to ui-sharedJeff Smith1-0/+31
2017-08-10ui-shared: don't print path crumbs without a repoJohn Keeping1-1/+1
2016-10-04ui-shared: replace 'unsigned char sha1[20]' with 'struct object_id oid'Christian Hesse1-5/+5
2016-10-01ui-shared: fix decl-after-statement warningsJohn Keeping1-5/+7
2016-07-06ui-shared: fix segfault when defbranch is NULLEric Wong1-1/+1
2016-07-05Avoid ambiguities when prettifying snapshot namesLukas Fleischer1-5/+21
2016-06-07Hosted on HTTPS nowJason A. Donenfeld1-1/+1
2016-05-12forms: action should not be emptyJason A. Donenfeld1-1/+1
2016-05-12ui-shared: Remove a name attribute with an empty valueJuuso Lapinlampi1-1/+1
2016-05-12ui-shared: HTML-ize DOCTYPE and <html>Juuso Lapinlampi1-3/+2
2016-05-12ui-shared: Simplify cgit_print_error_page() logicJuuso Lapinlampi1-4/+2
2016-02-26ui-shared: redirect should not exit early for cacheJason A. Donenfeld1-1/+0
2016-02-23tabs: do not use target=_blankJason A. Donenfeld1-1/+1
2016-02-22ui-shared: add homepage to tabsJason A. Donenfeld1-0/+5
2016-02-08Avoid DATE_STRFTIME for long/short datesJohn Keeping1-7/+6
2016-02-08ui-shared: remove cgit_print_date()John Keeping1-20/+0
2016-02-08ui-shared: use show_date for footer timestampJohn Keeping1-1/+1
2016-02-08ui: show ages in the originator's timezoneJohn Keeping1-11/+11
2016-02-08ui-shared: add cgit_date_mode()John Keeping1-0/+9
2016-02-08ui-shared: remove "format" from cgit_print_age()John Keeping1-2/+2
2016-01-14ui-shared: prevent malicious filename from injecting headersJason A. Donenfeld1-3/+5
2016-01-14ui-shared: Avoid new line injection into redirect headerJason A. Donenfeld1-1/+3
2016-01-13Fix segmentation fault in hc()Lukas Fleischer1-0/+3
2016-01-13git: update to v2.7.0Christian Hesse1-1/+1
2015-10-09ui-shared: fix resource leak: free allocation from cgit_hosturlChristian Hesse1-2/+3
2015-10-09ui-shared: return value of cgit_hosturl is not constChristian Hesse1-3/+3
2015-10-09ui-shared: fix resource leak: free allocation from cgit_currenturlChristian Hesse1-3/+8
2015-10-09ui-shared: return value of cgit_currenturl is not constChristian Hesse1-2/+2
2015-10-09ui-shared: fix resource leak: free allocation from cgit_fileurlChristian Hesse1-5/+11
2015-08-14ui-shared: cache errors for "dynamic TTL"John Keeping1-0/+1
2015-08-14ui-shared: add cgit_print_layout_{start,end}()John Keeping1-0/+12
2015-08-14ui-shared: add cgit_print_error_page() functionJohn Keeping1-0/+14
2015-08-13ui-shared: show full date in tooltip if longer ago than max_relativeJohn Keeping1-0/+4
2015-08-13ui-shared: use common function in print_rel_date()John Keeping1-10/+1
2015-08-13ui-shared: extract date formatting to a functionJohn Keeping1-4/+9
2015-08-13redirect: cleanlinessJason A. Donenfeld1-2/+1
2015-08-12log: allow users to follow a fileJohn Keeping1-3/+25
2015-08-12about: always ensure page has a trailing slashJason A. Donenfeld1-0/+8
2015-08-12git: update to v2.5.0Christian Hesse1-1/+1
2015-03-18ui-shared: allow remote refs in branch switcherChristian Hesse1-0/+2
2015-03-13Remove no-op link from submodule entriesLukas Fleischer1-17/+24
2015-03-09ui-shared: currenturl should take into account leading slashJason A. Donenfeld1-1/+5
2015-03-09ui-shared: don't use an integer as a NULL pointerJohn Keeping1-1/+1
2015-03-09ui-shared: avoid initializing static variable to zeroJohn Keeping1-1/+1
2015-03-09ui-shared: make cgit_doctype 'static'John Keeping1-1/+1
2015-03-09Avoid non-ANSI function declarationsJohn Keeping1-6/+6
2015-03-03Make root handling sane again.Jason A. Donenfeld1-12/+12
2015-03-03ui-shared: Add current url helper function.Jason A. Donenfeld1-2/+9
2015-03-03ui-shared: keep filter repolist page in paginationJason A. Donenfeld1-3/+3
2015-03-03ui-repolist: use ctx.qry.url instead of rooturl, in case we're filteringJason A. Donenfeld1-1/+1
2015-02-05ui-shared.c: Refactor add_clone_urls()Lukas Fleischer1-22/+10
2015-01-19tag: reference with "h" instead of "id"John Keeping1-4/+4
2014-12-23footer: link back to cgit home pageJason A. Donenfeld1-1/+1
2014-12-23ui-shared: show absolute time in tooltip for relative datesJohn Keeping1-12/+23
2014-12-23ui-shared: add rel-vcs microformat links to HTML headerJohn Keeping1-0/+11
2014-12-23Extract clone URL printing to ui-shared.cJohn Keeping1-0/+37
2014-12-13Change "ss" diff flag to an enumJohn Keeping1-4/+4
2014-12-13ui-shared: remove toggle_ssdiff arg to cgit_diff_link()John Keeping1-4/+4
2014-12-13ui-shared: remove toggle_ssdiff arg to cgit_commit_link()John Keeping1-6/+5
2014-06-28git: update for git 2.0Christian Hesse1-1/+1
2014-01-17ui-shared: do not allow negative minutesJason A. Donenfeld1-0/+2
2014-01-17ui-shared: move about tab all the way to the leftJason A. Donenfeld1-4/+4
2014-01-17Switch to exclusively using global ctxLukas Fleischer1-152/+151
2014-01-16auth: have cgit calculate login addressJason A. Donenfeld1-0/+8
2014-01-16auth: add basic authentication filter frameworkJason A. Donenfeld1-12/+16
2014-01-12ui-shared: URL-escape script_nameJohn Keeping1-2/+2
2014-01-10Replace most uses of strncmp() with prefixcmp()Lukas Fleischer1-1/+1
2014-01-08Update copyright informationLukas Fleischer1-1/+1
2013-09-14ui-shared: Drop filepair_cb_raw() and helperLukas Fleischer1-72/+0
2013-08-16Extract filepair_cb from ui-patch.cLukas Fleischer1-0/+72
2013-05-26readme: use string_list instead of space deliminationsJason A. Donenfeld1-1/+1
2013-04-08use struct strbuf instead of static buffersJohn Keeping1-28/+35
2013-04-08Convert cgit_print_error to a variadic functionJohn Keeping1-2/+13
2013-04-08Fix out-of-bounds memory accesses with virtual_root=""John Keeping1-9/+5
2013-04-08Always #include corresponding .h in .c filesJohn Keeping1-0/+1
2013-04-08Return const char * in cgit_{httpscheme, hosturl, rooturl}()Lukas Fleischer1-4/+4
2013-03-20ui-shared: squelch compiler warning.Jason A. Donenfeld1-0/+1
2013-03-20Merge branch 'wip'Jason A. Donenfeld1-57/+7
2013-03-20ui-shared: fix return type of cgit_self_linkJohn Keeping1-41/+42
2013-03-04cgit_print_snapshot_links(): Free prefix variableLukas Fleischer1-0/+1
2013-03-04ui-shared.c: Remove unused function print_archive_ref()Lukas Fleischer1-39/+0
2013-03-04ui-shared.c: Remove unused function cgit_currurl()Lukas Fleischer1-12/+0
2013-03-04Mark several functions/variables staticLukas Fleischer1-9/+9
2013-03-04White space around control verbs.Jason A. Donenfeld1-6/+6
2013-03-04Fix several whitespace errorsLukas Fleischer1-9/+9
2013-03-02Print submodule revision next to submodule linkstfn1-0/+1
2012-10-28ui-shared: use placeholder for empty commit subjectChristian Franke1-1/+4
2012-10-17ui: Remember to print ampersand as proper html entities.William Bell1-7/+7
2012-03-18Merge branch 'lh/module-links'Lars Hjemli1-0/+56
2012-03-18segfault fix on some bogus requestsEric Wong1-2/+2
2012-01-03Fix segmentation fault in empty repositoryJohn Keeping1-1/+1
2012-01-03Add sort parameter to pager of repo listTobias Grimm1-9/+15
2011-06-15ui-tree.c: add support for path-selected submodule linksLars Hjemli1-0/+56
2011-03-05Merge branch 'stable'Lars Hjemli1-1/+1
2011-02-19implement repo.logo and repo.logo-linkBernhard Reutner-Fischer1-4/+14
2011-02-19ui-shared: silence warningBernhard Reutner-Fischer1-1/+1
2010-07-18Merge branch 'jh/ignorews'Lars Hjemli1-0/+10
2010-07-18ui-diff: Add link to ignore/show whitespace changes in diffsJohan Herland1-0/+10
2010-06-22Merge branch 'lh/range-search'Lars Hjemli1-0/+1
2010-06-19ui-log.c: allow commit range as search expressionLars Hjemli1-0/+1
2010-06-19ui-diff: Add links to increase/decrease number of context lines in diffsJohan Herland1-0/+14
2010-06-19ui-shared: Preserve path limit in "tab bar" linksJohan Herland1-5/+6
2010-06-19ui-commit: Preserve path limit in links to commit pageJohan Herland1-4/+5
2010-06-19ui-patch: Apply path limit to generated patchJohan Herland1-2/+2
2010-06-19ui-shared: Teach "breadcrumb" navigation to path limit display beneath tab barJohan Herland1-1/+80
2010-06-19ui-shared: Display path limit directly beneath tab bar in relevant pagesJohan Herland1-0/+6
2010-06-19ui-shared: Replace ctx.qry.path with ctx.qry.vpathJohan Herland1-4/+4
2010-06-19ui-shared: Remove needless cgit_get_cmd() call, and refactor hc() accordinglyJohan Herland1-19/+12
2010-06-19ui-shared: Improve const-ness in APIJohan Herland1-36/+40
2010-02-27Merge branch 'stable'Lars Hjemli1-2/+2
2010-02-27ui-shared.c: fix segfault when repo is emptyFlorian Pritz1-2/+2
2009-12-08Merge branch 'ro/ssdiff'Lars Hjemli1-6/+28
2009-11-07Merge branch 'stable'Lars Hjemli1-1/+1
2009-11-07Nov is the correct abbreviationDanijel Tašov1-1/+1
2009-10-16ui-shared.c: prettify download links when generated from tag pageLars Hjemli1-2/+7
2009-09-16Add possibility to switch between unidiff and side-by-side-diff.Ragnar Ouchterlony1-6/+28
2009-08-18Merge branch 'stable'Lars Hjemli1-8/+11
2009-08-18ui-shared: don't print header <img/> if there isn't a logo definedMatthew Metnetsky1-8/+11
2009-08-11ui-shared: add support for header/footer options when embedded=1Lars Hjemli1-5/+12
2009-08-10ui-shared: add support for NO_HTTP=1/--nohttpLars Hjemli1-1/+1
2009-08-10Cleanup handling of environment variablesLars Hjemli1-23/+9
2009-07-25Merge branch 'lh/embedded'Lars Hjemli1-6/+22
2009-07-25Add support for 'noheader' optionLars Hjemli1-7/+13
2009-07-25Merge branch 'ml/head-include'Lars Hjemli1-1/+3
2009-07-25Merge branch 'plain-etag'Lars Hjemli1-0/+6
2009-07-25Merge branch 'do/https'Lars Hjemli1-1/+13
2009-06-11use cgit_httpscheme() for atom feedDiego Ongaro1-1/+2
2009-06-11add cgit_httpscheme() -> http:// or https://Diego Ongaro1-0/+11
2009-06-07Return http statuscode 404 on unknown branchLars Hjemli1-0/+2
2009-06-07Add head-include configuration option.Mark Lodato1-1/+3
2009-02-19Add support for HEAD requestsLars Hjemli1-0/+4
2009-02-19Add support for ETag in 'plain' viewLars Hjemli1-0/+2
2009-02-02Add support for an 'embedded' option in cgitrcLars Hjemli1-0/+10
2009-01-29Add support for a custom headerLars Hjemli1-0/+2
2009-01-27Merge branch 'lh/stats'Lars Hjemli1-3/+12
2009-01-11Merge branch 'stable'Lars Hjemli1-1/+6
2009-01-11Avoid SEGFAULT on invalid requestsLars Hjemli1-1/+6
2008-12-07ui-shared: externalize add_hidden_formfields()Lars Hjemli1-3/+3
2008-12-07ui-shared: add and use cgit_stats_link()Lars Hjemli1-2/+8
2008-12-07ui-stats: replace 'enable-stats' setting with 'max-stats'Lars Hjemli1-1/+1
2008-12-06Add a 'stats' page to each repoLars Hjemli1-0/+3
2008-12-06Merge branch 'full-log'Lars Hjemli1-2/+10
2008-12-01ui-shared: shorten the sha1 printed by cgit_object_linkLars Hjemli1-6/+8
2008-12-01ui-shared: exploit snapshot dwimmery in cgit_print_snapshot_linksLars Hjemli1-2/+1
2008-11-29ui-log: add support for showing the full commit messageLars Hjemli1-2/+10
2008-10-06ui-shared: specify correct css class for summary tabLars Hjemli1-1/+2
2008-10-05ui-shared: add cgit_tag_link()Lars Hjemli1-0/+6
2008-10-05ui-shared: generate proper links in cgit_object_link()Lars Hjemli1-15/+7
2008-10-05ui-shared: use html_url_path() to get properly escaped url in form actionLars Hjemli1-2/+2
2008-10-05ui-shared: reword the standard page footerLars Hjemli1-2/+2
2008-10-05ui-shared: do not print repo name on the "summary" tabLars Hjemli1-2/+1
2008-10-05ui-repolist + ui-shared: Use cgit_summary_link()Lars Hjemli1-4/+3
2008-10-05ui-shared.c: add cgit_summary_link()Lars Hjemli1-0/+5
2008-10-05ui-shared.c: use html_url_path() in repolink()Lars Hjemli1-4/+4
2008-10-05ui-shared.c: use html_url_arg()Lars Hjemli1-10/+10
2008-09-02use Host: header to generate cgit_hosturlEric Wong1-7/+12
2008-09-01Merge branch 'lh/plain'Lars Hjemli1-0/+8
2008-08-06ui-tree: link to plain view instead of blob viewLars Hjemli1-0/+6
2008-08-06Implement plain viewLars Hjemli1-0/+2
2008-08-01Add atom-supportLars Hjemli1-0/+23
2008-08-01Added `local-time` option to cgitrcStefan Naewe1-4/+7
2008-07-27Be prepared for empty repositoriesLars Hjemli1-1/+2
2008-07-27ui-shared: show repo owner along with descriptionLars Hjemli1-3/+3
2008-07-19Add a favicon option to cgitrcLars Hjemli1-0/+5
2008-06-26Add support for including a footer on all pagesLars Hjemli1-4/+10
2008-05-04Add link to index page from repo header, remove page nameLars Hjemli1-2/+2
2008-05-03Add footer with page creation time and cgit version on all pagesLars Hjemli1-0/+3
2008-05-03Add cgit_index_link() function with support for offsetLars Hjemli1-5/+17
2008-04-29Add 'about site' and 'about repo' pagesLars Hjemli1-3/+50
2008-04-29Re-enable 'index-info' and add support for 'root-desc' in cgitrcLars Hjemli1-1/+4
2008-04-15Cleanup page headerLars Hjemli1-17/+4