9 years agoReturn HTTP 500 on configuration error
Chris Han []
Return HTTP 500 on configuration error

9 years agoAllow message exception to signal message controller to return an HTTP status code
Chris Han []
Allow message exception to signal message controller to return an HTTP status code

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

9 years agoPrevent a crash on an atom feed for an empty project
Chris Han []
Prevent a crash on an atom feed for an empty project

9 years agoCapitalize Atom
Chris Han []
Capitalize Atom

9 years agoSince we support both, no reason we can't provide both an rss and an atom button
Chris Han []
Since we support both, no reason we can't provide both an rss and an atom button

9 years agoMerge atom and rss controllers
Chris Han []
Merge atom and rss controllers

9 years agoadd support for atom feeds
Christian Weiske []
add support for atom feeds

9 years agoNo need to pull the projectroot from the config again in the project directory lister
Chris Han []
No need to pull the projectroot from the config again in the project directory lister

9 years agoHTML escape commit tooltip
Chris Han []
HTML escape commit tooltip

9 years agoBump version to 0.2.1
Chris Han []
Bump version to 0.2.1

9 years agoReadd a/ to source files in commit diffs
Chris Han []
Readd a/ to source files in commit diffs

9 years agoUpdate xgettext script to pull from function wrappers
Chris Han []
Update xgettext script to pull from function wrappers

9 years agoUse translation wrapper functions
Chris Han []
Use translation wrapper functions

9 years agoAdd "alias" wrappers for gettext functions
Chris Han []
Add "alias" wrappers for gettext functions

9 years agoMake sure to html escape commit messages
Chris Han []
Make sure to html escape commit messages

9 years agomake commit page valid
Christian Weiske []
make commit page valid

9 years agomake xhtml valid when the commit message contains quotes
Christian Weiske []
make xhtml valid when the commit message contains quotes

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

9 years agomake most pages xhtml valid by fixing xml header spacing and url parameters
Christian Weiske []
make most pages xhtml valid by fixing xml header spacing and url parameters

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

9 years agoproject list page is now valid xhtml
Christian Weiske []
project list page is now valid xhtml

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

9 years agoHave qtip adjust tooltips to fit in screen
Chris Han []
Have qtip adjust tooltips to fit in screen

9 years agoMsginit instead of copy in translation doc
Chris Han []
Msginit instead of copy in translation doc

9 years agoAdd translation document
Chris Han []
Add translation document

9 years agoUpdate gibberish translation
Chris Han []
Update gibberish translation

9 years agoOnly show locale if no locale to language mapping is set
Chris Han []
Only show locale if no locale to language mapping is set

9 years agoFrench translation adjustments
Zaran []
French translation adjustments

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

9 years agoFix history link on commit page for deleted files
Chris Han []
Fix history link on commit page for deleted files

9 years agoAdd plain links to commit page
Chris Han []
Add plain links to commit page

9 years agoNo longer necessary to provide the resource object to the template
Chris Han []
No longer necessary to provide the resource object to the template

9 years agoFix the way HTTP_ACCEPT_LANGUAGE is parsed
Chris Han []
Fix the way HTTP_ACCEPT_LANGUAGE is parsed

9 years agoExtract language selector strings
Chris Han []
Extract language selector strings

9 years agoOn the user's first visit, default language from HTTP_ACCEPT_LANGUAGE
Chris Han []
On the user's first visit, default language from HTTP_ACCEPT_LANGUAGE

On the very first visit when no language preference cookie is set,
attempt to guess what the user wants from their HTTP_ACCEPT_LANGUAGE
setting from their browser. (Their OS language)
This will attempt to match the preferences in the order they're
specified by the browser, which should be the user's order of
preference.
For full language + country code preferences (eg en_US) it
will attempt to match the whole thing. For just language preferences
(eg en) it will match the first locale with that same language code.

9 years agoHide gibberish locale if not in debug mode
Chris Han []
Hide gibberish locale if not in debug mode

9 years agoShow the locale with the language
Chris Han []
Show the locale with the language

9 years agoDon't send duplicate l= values
Chris Han []
Don't send duplicate l= values

9 years agoAllow user to change language without explicitly clicking "Set"
Chris Han []
Allow user to change language without explicitly clicking "Set"

This uses javascript to submit the form as soon as the user changes the
language selection box, rather than having to also click "Set". It
removes the Set button also. Since this is done in the jQuery ready
event, there is a bit of time while the page is loading where the
onchange won't work and the set button will still be visible, then it'll
"disappear" when the page finishes loading. There's no good way around
that though if we want the page to degrade properly without javascript.

9 years agoAdd menu for users to switch their language
Chris Han []
Add menu for users to switch their language

I want to present the language in the user's native language... however
there's no built-in way to translate, say, en_US to 'English', so I had
to provide a switch case mapping.

9 years agoSince the language can be independent of the config now, it needs to be a part of the cache key
Chris Han []
Since the language can be independent of the config now, it needs to be a part of the cache key

9 years agoAllow on the fly change of locale
Chris Han []
Allow on the fly change of locale

This only adds the GET variable to do the switch, the UI option isn't
there yet.
This parsing needs to be done really early because we need to do the
language switch/load before anything else happens... however I really
don't like parsing get variables so early in the index like this because
it's breaking the controller scheme that everything else uses. I may
not be able to get around that, but I'd at least like to clean it up and
maybe move this code out of the index into a function or something.

9 years agoAdd a couple helpers to the resource class
Chris Han []
Add a couple helpers to the resource class

9 years agoregexp-ignore-case only appears in git 1.5.3
Chris Han []
regexp-ignore-case only appears in git 1.5.3

9 years agoFrench translation
Zaran []
French translation

9 years agoUpdate gibberish locale with unicode ellipsis
Chris Han []
Update gibberish locale with unicode ellipsis

9 years agoReextract with unicode ellipses
Chris Han []
Reextract with unicode ellipses

9 years agoSpecify from code when extracting strings
Chris Han []
Specify from code when extracting strings

9 years agoUse unicode ellipsis
Chris Han []
Use unicode ellipsis

9 years agoAdd plain blob link to tree view
Chris Han []
Add plain blob link to tree view

9 years agoLeave a pixel of space above the log links
Chris Han []
Leave a pixel of space above the log links

9 years agoAllow setting owner, description, clone/push url metadata in the project array
Chris Han []
Allow setting owner, description, clone/push url metadata in the project array

This adds four new keys to the project array metadata:
'owner': overrides the owner of the project
'description': overrides the description of the project
'cloneurl': overrides the clone url of the project, can be an empty
string to explicitly remove the clone url
'pushurl': overrides the push url of the project, can be an empty string
to explicitly remove the push url

9 years agoIgnore the hometext template
Chris Han []
Ignore the hometext template

9 years agoSome versions of PHP are more strict about function signatures
Chris Han []
Some versions of PHP are more strict about function signatures

9 years agoRemove gitignore files when packing
Chris Han []
Remove gitignore files when packing

9 years agoRemove debug locale when packing
Chris Han []
Remove debug locale when packing

9 years agoIgnore compiled MO files
Chris Han []
Ignore compiled MO files

9 years agoExtract strings used for select diff functionality, update gibberish
Chris Han []
Extract strings used for select diff functionality, update gibberish

9 years agoAllow selection to persist when jumping from log to shortlog and vice versa
Chris Han []
Allow selection to persist when jumping from log to shortlog and vice versa

9 years agoAdd selection and diffing of arbitrary commits to shortlog
Chris Han []
Add selection and diffing of arbitrary commits to shortlog

Currently this tries to minimize the footprint by only allowing
selection on the shortlog/log, and just uses an additional GET variable to
indicate the presence of a selection. The selection persists while
paging prev/next through the log/shortlog. The current selection is shown
abbreviated in the top link bar, with a commit link to allow the
javascript tooltip to show the full commit message. This keeps from
cluttering the text by each commit (so we can avoid repeating commit
messages or hashes in the UI over and over), and allows the user to
clear the selection from wherever they are - so they could select
something, page through a couple pages, then decide they don't want the
selection anymore and clear it, without having to page back to the
selected commit to deselect it.

9 years agoAllow customization of projects link
Chris Han []
Allow customization of projects link

9 years agoUpdate README since hometext.tpl needs to be created, not edited
Chris Han []
Update README since hometext.tpl needs to be created, not edited

9 years agoStop tracking hometext template
Chris Han []
Stop tracking hometext template

9 years agoAdd history link to blob page
Chris Han []
Add history link to blob page

9 years agoAdd tarball packing script
Chris Han []
Add tarball packing script

9 years agoAdd some of my utility scripts
Chris Han []
Add some of my utility scripts

9 years agoExtract POT file fresh using script
Chris Han []
Extract POT file fresh using script

9 years agoA file editor must have changed the modes on these files
Chris Han []
A file editor must have changed the modes on these files

9 years agoThe LC_MESSAGES dir isn't necessary
Chris Han []
The LC_MESSAGES dir isn't necessary

9 years agoThis in't a po file, it's a pot
Chris Han []
This in't a po file, it's a pot

9 years agoForgot to extract the RSS/OPML/TXT button captions
Chris Han []
Forgot to extract the RSS/OPML/TXT button captions

9 years agoFix escaping of moved file links in commit view
Chris Han []
Fix escaping of moved file links in commit view

9 years agoWindows php doesn't like the date format shortcuts for some reason
Chris Han []
Windows php doesn't like the date format shortcuts for some reason

9 years agoRemove unnecessary old resource classes, move resource class out of resource subpackage since it's the only resource file now
Chris Han []
Remove unnecessary old resource classes, move resource class out of resource subpackage since it's the only resource file now

9 years agoAdd gibberish locale
Chris Han []
Add gibberish locale

9 years agoAdd translator comments
Chris Han []
Add translator comments

9 years agoAdd extracted english po
Chris Han []
Add extracted english po

9 years agoSwitch to gettext for i18n
Chris Han []
Switch to gettext for i18n

9 years agoAdd copy of smarty-gettext modified to use gitphp resource provider
Chris Han []
Add copy of smarty-gettext modified to use gitphp resource provider

9 years agoAdd php-gettext and smarty-gettext
Chris Han []
Add php-gettext and smarty-gettext

9 years agoFix reading projects from file to support multi-word owners
Chris Han []
Fix reading projects from file to support multi-word owners

The previous version only took the first word of the owner specified in
the project list file, since it was tokenizing by spaces

9 years agoPrevent crashes with empty projects
Chris Han []
Prevent crashes with empty projects

This disables or hides pretty much all links - shortlog, log, commit,
commitdiff, tree, snapshot, etc - for an empty project with no commits.
None of those actions make any sense if the project is empty. There are
still outstanding crashes if the user crafts a url manually to directly
access a page for a project, but since that won't happen nearly as often
it's not quite as high a priority.

This also extracts the nav links at the top of each page into a shared
template, so we only need to check if a commit exists in one place.

9 years agoHave git ignore config files
Chris Han []
Have git ignore config files

9 years agoEnsure the resource manager exists when displaying an error message
Chris Han []
Ensure the resource manager exists when displaying an error message

9 years agoFix loading image urls on some browsers
Chris Han []
Fix loading image urls on some browsers

Some browsers don't properly determine the base url, when you use a
relative path in an href/src (eg "images/tooltip-loader.gif") - they
will treat slashes in a GET variable as a part of the actual path. So
when you have a URL like
(http://server/gitphp/index.php?p=php/gitphp.git), despite the slash in
the GET variable being escaped in the url, trying to load the images
path above resolves as
http://server/gitphp/index.php?p=php/images/tooltip-loader.gif, which
isn't right. This uses a regex in the javascript to extract only the
actual dirname of the instance, to give the loading img tags a full url.

9 years agoNot sure how a redundant end head tag ended up in here
Chris Han []
Not sure how a redundant end head tag ended up in here

9 years agoBump version to 0.2.0
Chris Han []
Bump version to 0.2.0

I think the rewrite is enough justification to bump the minor version.
Since behaviorally it's mostly the same I don't think the major version
should be bumped.

9 years agoUpdate README with slightly different config file method
Chris Han []
Update README with slightly different config file method

9 years agoAdd shadows to tooltips
Chris Han []
Add shadows to tooltips

9 years agoUpgrade GeSHi to 1.0.8.8
Chris Han []
Upgrade GeSHi to 1.0.8.8

9 years agoAdd ajax tag tooltips
Chris Han []
Add ajax tag tooltips

9 years agoSplit out ref badges into their own template
Chris Han []
Split out ref badges into their own template

9 years agoTurn off debugging for RSS and OPML/txt, it's screwing things up
Chris Han []
Turn off debugging for RSS and OPML/txt, it's screwing things up

9 years agoGit name-rev to find the tag on a commit is a whole lot faster than walking the tree ourselves
Chris Han []
Git name-rev to find the tag on a commit is a whole lot faster than walking the tree ourselves

9 years agoSplit out revision list on shortlog page and project summary into shared template fragment
Chris Han []
Split out revision list on shortlog page and project summary into shared template fragment

9 years agoSplit out head list on heads page and project summary into shared template fragment
Chris Han []
Split out head list on heads page and project summary into shared template fragment

9 years agoAdd support for tags pointing to other tag objects
Chris Han []
Add support for tags pointing to other tag objects

Tags now store the object they point to and the commit separately. (For
tags pointing right to commits, the object and the commit are the same)
This keeps the object link working correctly by pointing to the direct
object (as opposed to dereferencing all the way down to the commit), so
you can use the object link to trace tagged tags all the way down to the
base commit.

Also, the project and the tag list page now use the same tag listing
template fragment to make things easier.

9 years agoFix tree link for heads
Chris Han []
Fix tree link for heads

The tree link by heads was passing the old style h=refs/heads/[head]
piece of the url, from the old version. It actually wasn't worth it to
implement the translation of the ref path to the tree object in the tree
controller, because we were already passing the hash of the head's HEAD
commit as the hashbase parameter (hb=) - in that case the tree
controller is already automatically looking up the tree for that
hashbase commit.

9 years agoMake sure message controller actually works when telling the user no projectroot is set
Chris Han []
Make sure message controller actually works when telling the user no projectroot is set

9 years agoI18N new javascript strings
Chris Han []
I18N new javascript strings

9 years agoUsing a different editor screwed up the file modes
Chris Han []
Using a different editor screwed up the file modes

9 years agoAdd locale option documentation in default config, change minimum search length error message to take length as a parameter, add defaults in US locale for easier copy and translate
Chris Han []
Add locale option documentation in default config, change minimum search length error message to take length as a parameter, add defaults in US locale for easier copy and translate

9 years agoI18N commit tooltip template
Chris Han []
I18N commit tooltip template

comments