]> source.dussan.org Git - gitblit.git/commit
Fix for #976 - Filestore links via browser 988/head
authorPaul Martin <paul@paulsputer.com>
Fri, 25 Dec 2015 22:35:11 +0000 (22:35 +0000)
committerPaul Martin <paul@paulsputer.com>
Fri, 25 Dec 2015 22:35:11 +0000 (22:35 +0000)
commit46f33f87750573713509fbdbd0fc2ae51dc12044
treeaa227353d88fa97da0b40c02c46d45862c7013d3
parent2539ceea0d47467d54cedd340afa6ede2909b2bd
Fix for #976 - Filestore links via browser

+ 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
24 files changed:
src/main/java/com/gitblit/Constants.java
src/main/java/com/gitblit/models/FilestoreModel.java
src/main/java/com/gitblit/models/PathModel.java
src/main/java/com/gitblit/servlet/AccessRestrictionFilter.java
src/main/java/com/gitblit/servlet/DownloadZipServlet.java
src/main/java/com/gitblit/servlet/FilestoreServlet.java
src/main/java/com/gitblit/servlet/GitFilter.java
src/main/java/com/gitblit/servlet/RawServlet.java
src/main/java/com/gitblit/utils/CompressionUtils.java
src/main/java/com/gitblit/utils/DiffStatFormatter.java
src/main/java/com/gitblit/utils/DiffUtils.java
src/main/java/com/gitblit/utils/GitBlitDiffFormatter.java
src/main/java/com/gitblit/utils/JGitUtils.java
src/main/java/com/gitblit/wicket/pages/BlamePage.java
src/main/java/com/gitblit/wicket/pages/CommitDiffPage.html
src/main/java/com/gitblit/wicket/pages/CommitDiffPage.java
src/main/java/com/gitblit/wicket/pages/CommitPage.html
src/main/java/com/gitblit/wicket/pages/CommitPage.java
src/main/java/com/gitblit/wicket/pages/FilestorePage.java
src/main/java/com/gitblit/wicket/pages/TreePage.html
src/main/java/com/gitblit/wicket/pages/TreePage.java
src/main/java/com/gitblit/wicket/panels/HistoryPanel.java
src/main/resources/gitblit.css
src/test/java/com/gitblit/tests/JGitUtilsTest.java