summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/wicket/pages/CommitDiffPage.java
Commit message (Collapse)AuthorAgeFilesLines
* replaced ResourceStreamRequestTarget by ResourceStreamRequestHandlerMartin Spielmann2016-07-301-7/+12
|
* replaced PageParameter imports which moved into another packageMartin Spielmann2016-07-281-1/+1
|
* Fix for #1042 - Filestore items now shown as iconsPaul Martin2016-04-061-7/+2
|
* Fix for #1018 and #1025 browser LFS linksPaul Martin2016-03-211-4/+82
| | | | | + View and Raw both download the actual file + Blame will show the metafile
* Fix for #976 - Filestore links via browserPaul Martin2015-12-251-7/+24
| | | | | | | | | | | | | + GitLFS client support + FilestoreModel now parses meta file + Read meta heading from cache if available + Authentication based on accept headers for browser view filestore login + PathModel & PathChangeModel now understands filestore items + Zip & Rar downloads contain include filestore items + Filestore servlet returns LFS JSON error only if accepted by client + DiffStat now knows repository to allow identification of filestore items + Filestore items identified and returned via view, raw & blob links on blame, commitDiff, commit and Tree pages
* First draft for a customized avatar imageFabrice Bacchella2015-06-151-2/+2
|
* Implement configurable tab length support for blob viewsJames Moger2015-05-221-2/+2
|
* Add links to commit diff and blob diff pages to toggle whitespace settingJames Moger2015-03-071-4/+5
|
* Expose the DiffComparator choice as an url parameter (?w=1)James Moger2015-03-071-1/+1
|
* Add DiffComparator argument to all DiffUtils calls, default to ignore all ↵James Moger2015-03-071-1/+4
| | | | whitespace
* Add a blink comparator and pixel difference to image diffsTom2014-11-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Pixel difference uses CSS mix-blend-mode, which is supported currently only on Firefox >= 32 and on Safari >= 7.1. Implementation is behind a Javascript feature test. For other browsers, there's a blink comparator. Code changes: * ImageDiffHandler now takes the page it's used on as argument. We need that to get labels. DOM generated is a little bit different (new controls). * Diff pages adapted to new constructor of ImageDiffHandler. * CSS and Javascript changes implementing the new controls, making use of two new static image resources. Since I felt that the new controls deserved tooltips, I also gave the opacity slider a tooltip: changed to <a>, and slider handle changed from <div> to <span>. CSS ensures everything still displays the same (basically display:inline-block). * Supplied messages for English, French, and German for the new tooltips. Tested on IE8, Safari 6.1.6 & 7.1, Chrome 38, FF 33.1 & FF 3.6.13
* Opacity adjustments for image diffsTom2014-11-121-0/+3
| | | | | | | | * ImageDiffHandler adds the slider; styled in gitblit.css * imgdiff.js is a little bottom-loaded Javascript that adjusts the opacity on sliders' scroll events. * The three diff pages add this bottom script to the page if needed * GitBlitDiffFormatter: center image diffs.
* Image diffsTom2014-11-111-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | Ticket 88: https://dev.gitblit.com/tickets/gitblit.git/88 Based on Lea Verou's pure CSS slider: http://lea.verou.me/2014/07/image-comparison-slider-with-pure-css/ * Add a callback interface, pass it through DiffUtils to the GitBlitDiffFormatter. Is needed because the rendering needs access to the repositoryName and other things that are known only at higher levels. * New class ImageDiffHandler responsible for rendering an image diff. Called for all binary diffs, doesn't do anything if it's not an image. HTML is generated via JSoup: no worries about forgetting to close a tag, not about HTML escaping, nor about XSS. * The 3 diff pages set up such an ImageDIffHandler and pass it along. * CSS changes: from Lea Verou, with some minor improvements. I think in the long run there'll be no way around rewriting the HTML diff formatter from scratch, not using the standard JGit DiffFormatter at all.
* More diff page improvementsTom2014-11-061-2/+2
| | | | | | - Use git object ids as fragments and HTML element ids - Simplify generation: don't parse the diff line, instead generate the table header from the DiffEntry when we process it, and just skip the diff lines.
* Explicitly declare RepositoryPage subclasses that reference commitsJames Moger2014-09-171-0/+5
|
* Replace RawPage with RawServletJames Moger2014-05-051-2/+3
|
* Process bugtraq configuration in markup document renderingJames Moger2014-03-041-1/+1
|
* Add support for per-repository bugtraq configurationJames Moger2013-12-031-1/+1
| | | | | | | | | | | | | | | | | | | Imported the reference implementation contributed by syntevo which is used in their SmartGit product. You may create a bugtraq config section inf your .git/config file OR you may add a .gitbugtraq file to the root of your repository. Example: [bugtraq "issues"] url = http://code.google.com/p/gitblit/issues/detail?id=%BUGID% logRegex = "[Ii]ssue[-#:\\s]{1}\\d+" logRegex1 = "\\d+" [bugtraq "[pullrequests"] url = "https://github.com/gitblit/gitblit/pull/%BUGID%" logRegex = "(?:pull request|pull|pr)\\s*[-#]?([0-9]+)" Change-Id: Iaba305bf4280d08cc4d1abf533c2f1365470a43f
* Eliminate nearly all direct GitBlit singleton references in WicketJames Moger2013-11-261-2/+1
| | | | | | | | | | This is the first step towards modularization and injection. All direct references to the GitBlit singleton within the Wicket pages and panels have been replaced to proxy methods in the GitBlitWebApp singleton. There are still two Wicket classes which rely on the GitBlit singleton; those require manual instantiation (servlet 3). Change-Id: I0cdbbcf87959d590c446c99abb09c07c87c737bc
* 修改中文显示问题及raw默认属性kxyfyh2013-11-181-0/+1
|
* Add raw link to commit, commitdiff, and compare pages (issue-319)James Moger2013-10-161-0/+3
| | | | Change-Id: Ifc878cb59fe66674e6dfdc6d233fa26be1f4d605
* Trim trailing whitespace and organize importsJames Moger2013-09-301-3/+5
| | | | Change-Id: I9f91138b20219be6e3c4b28251487df262bff6cc
* Add normalized diffstats to the commit, commitdiff, and compare pagesJames Moger2013-09-271-7/+17
| | | | Change-Id: I8f26746a611e9ab955efe8b2597cc81db48fb085
* Added GitNotes to the commitdiff pageJames Moger2013-09-181-0/+25
|
* Removed GitWeb-style diff rendererJames Moger2013-09-181-5/+1
|
* Add support for rendering Markdown commit messages (issue-203)Bret K. Ikehara2013-09-181-1/+1
|
* Implemented optional page cachingJames Moger2013-07-191-5/+3
|
* Display full message on commitdiff page (issue-258)James Moger2013-06-201-0/+7
|
* Removed commitdiff code code for comparing ranges (issue-133)James Moger2013-05-231-42/+3
| | | | | This feature was incomplete, reported incorrect information, and has been replaced by the compare page (issue-75).
* Match commit page change path section logicJames Moger2013-05-231-4/+11
|
* Support relative links in commitdiff page and polish cssJames Moger2013-05-231-8/+4
|
* Overhauled navigation and flattened lookJames Moger2013-05-191-0/+5
|
* Reorganized to Apache Standard Directory Layout & integrated MoxieJames Moger2013-03-271-0/+192
This is a massive commit which reorganizes the entire project structure (although it is still monolithic), removes the Build classes, and switches to Moxie, a smarter Ant build tookit based on the original Gitblit Build classes. The Ant build script will likely require additional fine-tuning, but this is big step forward.