Commit graph

37 commits

Author SHA1 Message Date
Tomas Kopecek
96d3cff5f2 remove usage of deprecated cgi.escape function
Fixes: https://pagure.io/koji/issue/1887
2020-02-13 14:44:50 +01:00
Tomas Kopecek
4ae799c93d browsable api
Fixes: https://pagure.io/koji/issue/1813
2019-12-11 13:26:25 +01:00
Tomas Kopecek
f9758e2572 retain search type 2019-06-14 15:23:49 -04:00
Tomas Kopecek
7842c480cf retain old search pattern in web ui
Fixes: https://pagure.io/koji/issue/1130
2019-06-14 15:23:49 -04:00
Mike McLean
0d05c1c304 use greetings list from lib 2019-02-27 12:39:36 -05:00
Tomas Kopecek
ee673d4b66 Web UI python3 changes
Fixes: https://pagure.io/koji/issue/890
2019-02-12 15:01:37 -05:00
Tomas Kopecek
5aad0b2b8c tooltip for search field
Fixes: https://pagure.io/koji/issue/1122
2018-10-18 13:50:05 +02:00
Rayson Zhu
91bff418da add support for putting scripts just before the closing </body> tag
This will speed up page rendering by allowing themes to insert scripts to the bottom of the HTML file. See https://developer.yahoo.com/performance/rules.html#js_bottom .
2016-12-14 09:13:56 -05:00
Dennis Gilmore
1f2aa41709 update copyright year and point the powered by link to pagure.io/koji
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-10-27 16:42:49 -05:00
Dennis Gilmore
e35d2b4cef allow kojiweb login to be disabled
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-05-25 09:56:37 -05:00
Mike McLean
ecb5c5a397 remove stray # from literal footers in web ui 2015-12-01 13:02:31 -05:00
Ralph Bean
8ec72226d4 Make the templated footer configurable.
We ran into a problem[1] where old footers would cause syntax errors when
interpreted as templates.  This makes that behavior configurable and defaults
to the old literal interpretation.

[1] https://lists.fedoraproject.org/pipermail/buildsys/2015-May/004751.html
2015-06-06 16:34:07 -04:00
Ralph Bean
837c070127 (koji-web) Treat extra-footer as a template.
The code previously would look for a file called extra-footer.html that a koji
admin could override to put some nice extra footer on their koji-web page.
If that file existed, koji-web would read it in verbatim and write it to the
bottom of each served page.

This change enhances that behavior and treats the extra-footer.html file as a
Cheetah template.  This way, a koji admin could specify some conditional logic
in the extra-footer file to display this or that thing depending on the dynamic
contents of the page being served.

Note that this is backwards compatible.  Static html extra-footer files
already out there in the wild will be interpreted as Cheetah templates and
should be included seamlessly.
2015-05-07 13:14:48 -05:00
Mike Bonnet
ab53d2deb0 update copyright 2014-10-28 23:54:21 -04:00
Mike McLean
fa0b2cbbb6 make extra nav and footer follow theme 2012-01-23 17:02:34 -05:00
Mike McLean
5b9f515250 new approach for web themes 2012-01-21 20:45:02 -05:00
Anthony Towns
8a28e6de43 import additional local nav/footer code 2011-04-07 16:01:17 -04:00
Mike Bonnet
c0b34886d8 support searching for Windows artifacts 2010-09-23 12:13:20 -04:00
Mike Bonnet
424de47845 hide Maven-specific UI if Maven support is not enabled 2010-07-06 14:30:10 -04:00
Mike McLean
1e3a7f0fef Merge commit 'origin/master' into mead-tmp
Conflicts:
	builder/kojid

Resolved conflict between make_sources option and source_cmd option
2010-06-18 17:28:37 -04:00
Dennis Gilmore
5fda04840d update copyright year to include 2010 on web pages 2010-04-09 13:41:39 -05:00
Mike McLean
c742272ac6 Merge commit 'f90f6b856d' into mead
Conflicts:
	cli/koji
	docs/schema.sql
	hub/kojihub.py
	koji.spec
	www/kojiweb/index.py
	www/kojiweb/taskinfo.chtml
2010-04-08 17:12:49 -04:00
Marko Myllynen
3deb8358e6 add a Finnish greeting to the Kojiweb header 2010-02-11 12:58:38 +02:00
Mike Bonnet
8fb4924338 support searching for Maven artifacts by filename or groupId-artifactId-version 2009-11-10 13:51:49 -05:00
Mike Bonnet
7e999d1480 handle all strings as unicode for compatibility with Cheetah 2.2.x (also backward-compatible with 2.0.x) 2009-09-30 17:04:56 -04:00
Dennis Gilmore
47603127b5 commit the footer.chtml and koji.css changes needed for the powered by koji icon 2009-08-10 09:38:46 -05:00
Mike Bonnet
182a179a52 remove file as a search option 2009-02-11 14:04:54 -05:00
Mike Bonnet
1731dab11b Happy New Year! 2009-01-28 18:40:25 -05:00
Mike Bonnet
ff3aea70ba make the name that shows up in the title configurable 2008-11-25 13:43:05 -05:00
Mike McLean
60d66b010a a couple changes to assist in theming
move explicit image sizes to css
make welcome message customizable
2008-10-03 16:51:13 -04:00
Mike Bonnet
5c9f719979 update the web UI to conform to XHTML 1.0 Transitional (thanks W3C Validator!) 2008-10-03 10:56:52 -04:00
Mike Bonnet
5bb48bb2bb update copyright to 2008 2008-09-26 12:42:13 -04:00
Mike Bonnet
6fe0b4ca62 greetings in Romanian, Hungarian, and Serbian for the web interface (patch by Cristian Balint) 2007-06-19 18:43:50 -04:00
Mike Bonnet
54af619594 add a search box to the header of every page in the upper-right corner 2007-05-30 17:30:45 -04:00
Mike Bonnet
3ca0a19963 add simple Koji favicon 2007-03-23 02:16:01 -04:00
Jesse Keating
d802163348 Use -p with install to preserve timestamps, etc... 2007-02-20 10:01:29 -05:00
Jesse Keating
5d7e66a17e Initial code drop 2007-02-14 11:25:01 -05:00