Comments (2)
solved this and about to commit
from ginatra.
Added in a File Viewer, moved from Coderay to highlight.js and added new routes for looking at trees more in depth. Closed by aaba63e
- No longer uses Coderay to highlight, so no longer installed or required. Uses Highlight.js instead http://softwaremaniacs.org/soft/highlight/en/ . With this,
Ginatra::Helpers#diff_highlight
has been removed - The
Grit::Tree#find
alias toGrit::Tree#/
has been removed as it isn't used at all. - New Route:
/:repo/tree/:tree/*
for browsing subdirectories under a certain path. Will redirect to the blob viewer page if*
is the path to a blob instead of a tree, so that users can put in full paths for speed.:tree
can be either a commit id (abbreviated or not) or a ref of any kind. - New Route:
/:repo/blob/:blob
for viewing blobs by id or ref. - New Route:
/:repo/blob/:tree/*
for viewing blobs using their full path. This works like the route for trees above except that it takes a path to a blob. If*
is a path to a tree, it will redirect to a tree url instead. - Funtionality: In the tree view, all the file names are links to their tree pages or blob pages.
- Most of the layouts have had a makeover, most notably
tree.erb and
_tree_part.erb`.
I think this makes Ginatra very close to 1.0.0, but not releasing it yet.
from ginatra.
Related Issues (20)
- Resource Usage
- command line stuff is broken HOT 1
- Cannot get ginatra to work HOT 8
- Errors during install HOT 2
- Ginatra fails to render with non-ascii characters in the output HOT 5
- screenshots HOT 3
- unable to find the ginatra gem from the ginatra binary HOT 1
- Missing gems better_errors and sinatra/reloader HOT 4
- I am getting 500 error HOT 8
- Running the rspecs HOT 4
- Run on Cubietruck fails HOT 2
- Ginatra is NOT running HOT 11
- add logger to log errors and warnings HOT 2
- clone url does not reflect protocol
- Add Documentation to Limit Repositories Displayed
- UTF-8 cause "500 Internal Server Error"?
- Htaccess issue HOT 1
- Can't show commit detail for (german) Umlaute
- demo not working
- localhost:9797 is shows no repositories.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ginatra.