9 years agoStart implementing requirejs
Chris Han []
Start implementing requirejs

9 years agoSupport for using Google Libraries API to serve jquery
Chris Han []
Support for using Google Libraries API to serve jquery

9 years agoAdd process ID to temporary cache filename for uniqueness
Chris Han []
Add process ID to temporary cache filename for uniqueness

9 years agoStyle the pgp signatures in tags
Chris Han []
Style the pgp signatures in tags

9 years agoStyle the signed-off-by lines in commit messages
Chris Han []
Style the signed-off-by lines in commit messages

9 years agoBump version
Chris Han []
Bump version

9 years agoAlso fix displayed commit for renamed files
Chris Han []
Also fix displayed commit for renamed files

9 years agoDisplay correct commit when diffing a file from commit view
Chris Han []
Display correct commit when diffing a file from commit view

Bug #89

9 years agoAvoid warning messages when searching a directory without permissions
Chris Han []
Avoid warning messages when searching a directory without permissions

Based on a fix by Justyn Shull

9 years agoFix title bar on blob tags
Chris Han []
Fix title bar on blob tags

9 years agoExtract website string
Chris Han []
Extract website string

9 years agoAllow displaying a website url for a project
Chris Han []
Allow displaying a website url for a project

9 years agoSupport tagged blobs
Chris Han []
Support tagged blobs

9 years agoDisallow history/blame for non-file blobs
Chris Han []
Disallow history/blame for non-file blobs

9 years agoFix scrunched project list with really long descriptions
Chris Han []
Fix scrunched project list with really long descriptions

9 years agoWrite to a temporary file when caching snapshots in case of terminated downloads
Chris Han []
Write to a temporary file when caching snapshots in case of terminated downloads

9 years agoMinify css
Chris Han []
Minify css

9 years agoFix log order for commits at the same time (such as rebases)
Chris Han []
Fix log order for commits at the same time (such as rebases)

9 years agoUse cache dir constant
Chris Han []
Use cache dir constant

9 years agoCache snapshot tarballs
Chris Han []
Cache snapshot tarballs

9 years agoDeliver archives incrementally to avoid OOM errors, by not using smarty
Chris Han []
Deliver archives incrementally to avoid OOM errors, by not using smarty

gzip requires a nasty hack using a tempfile because gzip files have a
header and trailer, so they can't be compressed in chunks. And php's
gzopen and compress.zlib:// don't seem to work with anything that's not
a file, so you can't compress on the fly to something like php://temp or
php://output

9 years agoFactor out command creation from execution
Chris Han []
Factor out command creation from execution

9 years agoDon't cache entire project object
Chris Han []
Don't cache entire project object

Serialization works recursively, which means everything contained inside
the project object is also serialized, which is a bunch of wasted space
and may not be safe.
The only thing we need to find a project is its path.

9 years agoUse the shared smarty cache instead of handling it manually
Chris Han []
Use the shared smarty cache instead of handling it manually

This cuts down the code and allows us to use memcache if configured.
Since the list of projects is background-level data (and not HTML
pages), it uses the object cache. But since it's not immutable like git
objects, the lifetime uses the regular cache lifetime setting, which is
generally set shorter than the object cache lifetime (that could even be
set to -1).

9 years agoAllow overriding lifetime on a per-object basis
Chris Han []
Allow overriding lifetime on a per-object basis

9 years agoAbstract out object cache settings to prepare for multiple caches
Chris Han []
Abstract out object cache settings to prepare for multiple caches

9 years agoMerge cached project directory code into ProjectListDirectory
Chris Han []
Merge cached project directory code into ProjectListDirectory

Since cache handling is a logical extension of the directory lister
driver, it should be in the same class and handled internally. Also
this keeps caching code out of the ProjectList factory

9 years agoCache project list if set to auto discover them
Tanguy Pruvot []
Cache project list if set to auto discover them
(cherry picked from commit 7b5bc0db7ec4ac45a02535c099530bd7a280ca86)

Conflicts:

include/git/ProjectListDirectory.class.php

9 years agoAllow compatibility mode to be specified per-project
Chris Han []
Allow compatibility mode to be specified per-project

9 years agoProject class is getting kind of big, reorganize a bit with code folds
Chris Han []
Project class is getting kind of big, reorganize a bit with code folds

9 years agoForgot that the exception message property was protected
Chris Han []
Forgot that the exception message property was protected

9 years agoTurn on benchmarking separately from debugging
Chris Han []
Turn on benchmarking separately from debugging

9 years agoMake it easier to debug why projects are/aren't appearing
Chris Han []
Make it easier to debug why projects are/aren't appearing

9 years agoPut html line breaks between debug messages
Chris Han []
Put html line breaks between debug messages

9 years agoDon't read description repeatedly
Chris Han []
Don't read description repeatedly

9 years agoSuppress warnings when description file doesn't exist
Chris Han []
Suppress warnings when description file doesn't exist

9 years agoSupport scm-manager repository configs
Chris Han []
Support scm-manager repository configs

Requires xml support. Only displays repositories marked as 'public'.

9 years agoExtract new diff message
Chris Han []
Extract new diff message

9 years agoDon't require a valid diff exe if using xdiff
Chris Han []
Don't require a valid diff exe if using xdiff

9 years agoFix blobdiff with xdiff
Chris Han []
Fix blobdiff with xdiff

9 years agoDisplay message when diffing binary files with xdiff
Chris Han []
Display message when diffing binary files with xdiff

9 years agoUse xdiff if installed
Chris Han []
Use xdiff if installed

9 years agoMerge branch 'experimental/nogit'
Chris Han []
Merge branch 'experimental/nogit'

9 years agoSometimes finfo_open chokes on the magic file and floods warnings
Chris Han []
Sometimes finfo_open chokes on the magic file and floods warnings

All sorts of junk "invalid offset" and "invalid type" messages, suppress
them

9 years agoFix tag objects dereferencing their commits
Chris Han []
Fix tag objects dereferencing their commits

9 years agoDon't do redundant regexes when reading commit data
Chris Han []
Don't do redundant regexes when reading commit data

9 years agoFix tree links in logs
Chris Han []
Fix tree links in logs

9 years agoMake the limit for the git exe fallback for the log configurable
Chris Han []
Make the limit for the git exe fallback for the log configurable

9 years agoCache packfile index offsets
Chris Han []
Cache packfile index offsets

9 years agoStore projectroot internally rather than loading it every time
Chris Han []
Store projectroot internally rather than loading it every time

9 years agoFor subtree snapshots include path in archive filename and prefix
Chris Han []
For subtree snapshots include path in archive filename and prefix

9 years agoThis was supposed to be static
Chris Han []
This was supposed to be static

9 years agoFactor out slugification into utility function
Chris Han []
Factor out slugification into utility function

9 years agoMake subtree snapshots using direct tree objects rather than path restrictions
Chris Han []
Make subtree snapshots using direct tree objects rather than path restrictions

9 years agoUse standard blob methods for split diff so it can use raw git objects
Chris Han []
Use standard blob methods for split diff so it can use raw git objects

9 years agoRecurse tree paths using raw git objects
Chris Han []
Recurse tree paths using raw git objects

9 years agoLoad sorted tag list using raw git objects
Chris Han []
Load sorted tag list using raw git objects

9 years agoLoad sorted head list using raw git objects
Chris Han []
Load sorted head list using raw git objects

9 years agoLoad project epoch using raw git objects
Chris Han []
Load project epoch using raw git objects

9 years agoRead gitweb.owner from raw config file
Chris Han []
Read gitweb.owner from raw config file

9 years agoFall back on git rev-list if skipping a significant number of commits
Chris Han []
Fall back on git rev-list if skipping a significant number of commits

9 years agoFix unset index warnings when listing log
Chris Han []
Fix unset index warnings when listing log

9 years agoLoad project log using raw git objects
Chris Han []
Load project log using raw git objects

Based on the log walking code from glip

Walking the log in raw php is a bit of a mixed bag as far as
performance. If you're walking commits close to the tip of the head
performance is good, because you save the shell call to git-rev-list and
performance wise it's light to load the parents of the first 50 commits.
However, in raw PHP we have to do the walking ourselves, which means we
can't --skip the first 100 or so commits - so when listing commits
several pages away from the head, we have to walk all the way from the
tip down to that page, and then discard the more recent commits we don't
care about.
So the loading time increases for each log page further away from the
tip (earlier commits).

9 years agoFix head commit lookup crashes for projects without any commits
Chris Han []
Fix head commit lookup crashes for projects without any commits

9 years agoLoad ref list using raw git files
Chris Han []
Load ref list using raw git files

9 years agoLoad HEAD using repo file pointer
Chris Han []
Load HEAD using repo file pointer

9 years agoLoad tag data from pack
Chris Han []
Load tag data from pack

9 years agoFix binary search of v1 pack indices
Chris Han []
Fix binary search of v1 pack indices

9 years agoLoad tree data from pack
Chris Han []
Load tree data from pack

9 years agoCalculate size of blob if not set
Chris Han []
Calculate size of blob if not set

9 years agoLoad blob data from pack
Chris Han []
Load blob data from pack

9 years agoDocument compat config option
Chris Han []
Document compat config option

9 years agoLoad commit data from pack
Chris Han []
Load commit data from pack

9 years agoRead commit parents from parent lines in the commit object
Chris Han []
Read commit parents from parent lines in the commit object

9 years agoUse binary search on index files
Chris Han []
Use binary search on index files

9 years agoAdd packed object extraction class
Chris Han []
Add packed object extraction class

Based on glip by Patrik Fimml

9 years agoFix merge commit logic
Chris Han []
Fix merge commit logic

A commit is a merge commit if it has multiple parents. The tip commit
of each head being merged become the parents of the merge commit.

9 years agoChange capitalization style to match
Chris Han []
Change capitalization style to match

9 years agoShortLog: Show only 'real commit' titles in bold
Tanguy Pruvot []
ShortLog: Show only 'real commit' titles in bold

Signed-off-by: Chris Han <xiphux@gmail.com>

9 years agoAppend backslashes to paths on windows
Chris Han []
Append backslashes to paths on windows

9 years agoMove windows and 64 bit tests to utility functions
Chris Han []
Move windows and 64 bit tests to utility functions

9 years agoQuote temp dir in diff command, for windows tempdirs with spaces in them
Chris Han []
Quote temp dir in diff command, for windows tempdirs with spaces in them

9 years agoFix default diff binary lookup
Chris Han []
Fix default diff binary lookup

Stupid mistake... wrote the function but forgot to actually use it

9 years agoBump version
Chris Han []
Bump version

9 years agoDefine background for commitdiff TOC
Chris Han []
Define background for commitdiff TOC

9 years agoExtract new strings
Chris Han []
Extract new strings

9 years agoi18n show all link
Chris Han []
i18n show all link

9 years agoAllow side by side commitdiff TOC to show the chosen diff and hide the
Chris Han []
Allow side by side commitdiff TOC to show the chosen diff and hide the
rest

9 years agoAdd a count to the side by side table of contents
Chris Han []
Add a count to the side by side table of contents

9 years agoMake side by side commitdiff TOC sticky
Chris Han []
Make side by side commitdiff TOC sticky

9 years agoIncrease TOC indent a bit
Chris Han []
Increase TOC indent a bit

9 years agoAdjust side-by-side display of added/deleted files to be closer to the way diff programs show
Chris Han []
Adjust side-by-side display of added/deleted files to be closer to the way diff programs show

9 years agoStart working on sidebar navigation for side by side commitdiff
Chris Han []
Start working on sidebar navigation for side by side commitdiff

9 years agoConsolidate copy-and-pasted diff mode cookie code
Chris Han []
Consolidate copy-and-pasted diff mode cookie code

9 years agoRemove extraneous pipe, fix diff output links
Chris Han []
Remove extraneous pipe, fix diff output links

9 years agoadd side-by-side commit-diff view
Tanguy Pruvot []
add side-by-side commit-diff view

9 years agoFix commit lookups where a commit is referenced by the name of a ref
Chris Han []
Fix commit lookups where a commit is referenced by the name of a ref
rather than a commit hash

Bug #78

9 years agoFix HEAD commit lookup on blob_plain
Chris Han []
Fix HEAD commit lookup on blob_plain

Bug #79

9 years agoAdded || ($end == ':') to check if there was the : operator at the end. Works with gitolite served repositories. Should work with gitosis as well.
mdevilz []
Added || ($end == ':') to check if there was the : operator at the end. Works with gitolite served repositories. Should work with gitosis as well.

Bug #77

Signed-off-by: Chris Han <xiphux@gmail.com>

9 years agoMake newly added blocks align correctly in side-by-side view
Chris Han []
Make newly added blocks align correctly in side-by-side view

Added blocks of code (so all '+' lines) are aligning incorrectly - they
appear one line higher than where they actually are, which is confusing
because it generally makes the code look like it's syntactially invalid.

This change does fix it, but I'm really don't think that it's the right
solution. Labeling it as a HACK for now to revisit later.

comments