Commit Graph

66 Commits

Author SHA1 Message Date
rick 4b313944fe merge 2010-09-30 14:22:18 -07:00
Paul Baumgart 5fcb5d971a Add support for RFC 1738 special characters in page names.
Escape all links and redirects to support this. Some changes to app.rb
necessary for correct routing by Sinatra.
2010-09-01 22:02:19 -07:00
rick e0d234c255 use grit to get the file's mime type, as suggested.
http://github.com/github/gollum/commit/6de9ddfd3f79a9cb320aab3c43b8e0a912107b2e#commitcomment-137656
2010-08-30 18:25:48 -07:00
rick bf37f44970 pull default name/email for commits from wiki repo's git config 2010-08-30 18:11:03 -07:00
Jon Frisby 6de9ddfd3f Make an attempt at setting a proper mime-type when showing a file.
Prevents things like having the browser show raw binary data when you have a PDF in your repo.
2010-08-31 09:04:27 +08:00
Jon Frisby 1f8a67598a Use Grit to determine committer instead of executing a sub-shell and calling the git CLI. 2010-08-31 09:04:27 +08:00
Henrik Hansen 49d88a0370 Add search API and update frontend
The frontend has been updated to use the new search API.
2010-08-29 13:58:06 +02:00
Henrik Hansen ed41152228 Refactor of search view 2010-08-29 13:54:38 +02:00
Henrik Hansen 294847ed99 Remove display of search code 2010-08-29 13:54:21 +02:00
rick 99995f7364 convert $path global to a gollum_path sinatra setting 2010-08-23 16:16:39 -07:00
Henrik Hansen d1003f5331 Change search-field to use type="search"
The search-field will now show with a little magnifying-glass on Webkit
based browsers.
type="search" is part of HTML5.
2010-08-23 16:59:47 +02:00
Tobias Adam 4905ce99da Add a very rough and dirty search mechanism that uses Git’s grep. 2010-08-22 23:17:54 +02:00
Tom Preston-Werner acdb04ba4e Handle duplicate page error in frontend. Closes #10. 2010-08-16 16:54:01 -07:00
rick ee04dd84aa normalize commit hashes so they at least show 'anonymous' if no git user is set. 2010-08-16 07:36:32 -07:00
rick dfb453c7f9 dont depend on order of the clicked versions 2010-08-12 11:05:43 -07:00
rick f8594b06a6 inaccessibility 2010-08-12 09:52:03 -07:00
rick 45de814154 pagination on the history page 2010-08-12 09:38:28 -07:00
rick b118436fa9 accessibility 2010-08-12 09:10:02 -07:00
rick 6649dd4812 bookmarkable compare urls 2010-08-12 09:09:33 -07:00
Tom Preston-Werner ca8ab2f374 Strip dashes from page name shown on creation page. 2010-08-05 18:26:21 -06:00
Tom Preston-Werner 10d2f53d40 Polish up page titles. 2010-08-05 18:00:55 -06:00
Tom Preston-Werner af4c2f8002 Remove old, redundant stylesheet. 2010-08-05 16:24:21 -06:00
Tom Preston-Werner 9ae62d8029 Add nowrap to date on history page. 2010-08-05 11:28:14 -07:00
rick 2b1120756b marinate New Page form in edit bar spices 2010-08-04 16:41:24 -07:00
rick 6d2ec96d5c add rename support to the frontend 2010-08-04 16:38:24 -07:00
Tom Preston-Werner 500b697ecb Javascript goodies for History page. 2010-08-04 16:59:19 -06:00
Tom Preston-Werner 207b0ccddd Merge branch 'history' 2010-08-04 13:39:55 -06:00
Tom Preston-Werner 54902fa443 Implement compare view. 2010-08-04 13:36:47 -06:00
Tom Preston-Werner e4fa888c38 Implement simple history. 2010-08-02 18:15:41 -06:00
Tom Preston-Werner 17278fcf09 Fix help selection snafu. 2010-08-02 18:03:19 -06:00
rick 760d9c1640 Wiki#update_page takes a name parameter for renames 2010-08-02 15:39:04 -07:00
Tom Preston-Werner db0f747a77 Fix format selection help trigger. 2010-07-31 15:50:34 -04:00
Tom Preston-Werner 9cca26b2a1 Small positioning tweaks for frontend. 2010-07-31 15:34:00 -04:00
Tom Preston-Werner 6438d69775 Add preview functionality to frontend. 2010-07-31 14:30:38 -04:00
Tom Preston-Werner 2bc9b2ec86 Implement Page#footer and display footer in frontend. 2010-07-26 16:33:19 -07:00
Tom Preston-Werner 6dc19f0dde Nicer bg colors for editbar buttons. 2010-07-26 14:09:39 -07:00
Tom Preston-Werner b91888e712 Fix main body width. 2010-07-25 22:48:58 -07:00
Tom Preston-Werner d37d57596b Support TeX-style math equations via MathJax. 2010-07-25 22:40:09 -07:00
Tom Preston-Werner 5ce149715f Properly extract and display title for all formats. 2010-07-23 16:45:28 -07:00
Tom Preston-Werner c88d3bc747 Make editbar buttons awesome. 2010-07-22 17:26:02 -07:00
Tom Preston-Werner a5d460636d Make Wiki#page case insensitive. 2010-07-22 16:06:33 -07:00
Tom Preston-Werner 1af9898b4d Implement Page#title. 2010-07-22 15:31:58 -07:00
Tom Preston-Werner 792c682f1d New editbar buttons. 2010-07-22 14:30:44 -07:00
rick 80518a4990 remove unneeded trailing comma (haters gonna hate) 2010-07-22 10:22:07 -07:00
Tom Preston-Werner 863eff20b2 Finish up editbar! 2010-07-20 16:23:37 -05:00
Tom Preston-Werner 5f86d4e983 Proper show/hide of help sections. 2010-07-20 13:29:12 -05:00
Tom Preston-Werner 69420cb184 Initial work on help sections. 2010-07-20 13:14:26 -05:00
Tom Preston-Werner 8ea176a16b Remove roff support. 2010-07-15 16:15:47 -07:00
Tom Preston-Werner 004a0b2849 Fully operational ul and ol buttons. 2010-07-15 16:13:29 -07:00
Tom Preston-Werner 05de03461b Initial twiddle mechanics. 2010-07-14 14:58:25 -07:00