├── .gitignore
├── admin
├── res
│ ├── scheduled.png
│ ├── scheduled.psd
│ ├── arrow-deco-up.png
│ ├── default-avatar.png
│ ├── default-avatar.psd
│ ├── throbber-small-black.png
│ ├── jquery.json-1.3.min.js
│ ├── sha1-min.js
│ └── gb-admin.js
├── helpers
│ ├── deauthorize.php
│ ├── authorize.php
│ ├── remove-comment.php
│ ├── view-commit.php
│ ├── save-post.php
│ └── data.php
├── _footer.php
├── _base.php
├── index.php
├── maintenance
│ ├── rebuild.php
│ └── git-status.php
├── _header.php
├── manage
│ ├── comments.php
│ └── posts.php
├── settings
│ └── basics.php
└── setup.php
├── index.php
├── lib
├── GitUninitializedRepoError.php
├── GBObjectStore.php
├── PHPException.php
├── GitError.php
├── GBUser.php
├── GBBenchmark.php
├── GBHTTPDigestAuth.php
├── GBRebuilder.php
├── gb_input.php
├── GitPatch.php
├── JSONStore.php
├── FileDB.php
├── CHAP.php
├── gb_upgrade.php
├── gb_admin.php
├── GitCommit.php
├── json.php
└── GBCommentDB.php
├── themes
└── default
│ ├── icons16.png
│ ├── icons16.psd
│ ├── icons48.png
│ ├── icons48.psd
│ ├── header-bg.png
│ ├── inconsolata.otf
│ ├── reply-over.png
│ ├── default-avatar.png
│ ├── default-avatar.psd
│ ├── liberation-serif-bold.ttf
│ ├── liberation-serif-italic.ttf
│ ├── liberation-serif-regular.ttf
│ ├── liberation-serif-bold-italic.ttf
│ ├── sidebar.php
│ ├── comment.js
│ ├── posts.php
│ ├── index.php
│ └── post.php
├── skeleton
├── content
│ ├── pages
│ │ ├── about.html
│ │ └── about
│ │ │ └── intro.html
│ └── posts
│ │ └── 0000-00-00-hello-world.html
├── lighttpd.conf
├── gitignore
├── data
│ └── plugins.json
├── apache2.htaccess
├── hooks
│ ├── post-update
│ └── post-commit
└── gb-config.php
├── helpers
├── README.md
├── feed.php
└── post-comment.php
├── hooks
├── post-patch.php
├── post-update.php
└── post-update.sh
├── docs
├── filters.md
├── themes.md
├── events.md
├── core-devel
│ ├── thoughts.txt
│ ├── will-begin-request.php
│ ├── comments.txt
│ └── example.comments
├── site.json.md
├── plugins.md
└── content.md
├── LICENSE
├── plugins
├── google-analytics.php
├── feedburner.php
├── php-content.php
├── email-notification.php
├── code-blocks.php
└── akismet.php
└── README.md
/.gitignore:
--------------------------------------------------------------------------------
1 | /site
2 | /gb-config.php
3 | .DS_Store
4 | ._*
5 | * copy.*
6 |
--------------------------------------------------------------------------------
/admin/res/scheduled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rsms/gitblog/HEAD/admin/res/scheduled.png
--------------------------------------------------------------------------------
/admin/res/scheduled.psd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rsms/gitblog/HEAD/admin/res/scheduled.psd
--------------------------------------------------------------------------------
/admin/res/arrow-deco-up.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rsms/gitblog/HEAD/admin/res/arrow-deco-up.png
--------------------------------------------------------------------------------
/index.php:
--------------------------------------------------------------------------------
1 |
2 | require 'gitblog.php';
3 | header("Location: ".gb::$site_url."gitblog/admin/");
4 | ?>
--------------------------------------------------------------------------------
/lib/GitUninitializedRepoError.php:
--------------------------------------------------------------------------------
1 |
2 | class GitUninitializedRepoError extends GitError {
3 | }
4 | ?>
--------------------------------------------------------------------------------
/themes/default/icons16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rsms/gitblog/HEAD/themes/default/icons16.png
--------------------------------------------------------------------------------
/themes/default/icons16.psd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rsms/gitblog/HEAD/themes/default/icons16.psd
--------------------------------------------------------------------------------
/themes/default/icons48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rsms/gitblog/HEAD/themes/default/icons48.png
--------------------------------------------------------------------------------
/themes/default/icons48.psd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rsms/gitblog/HEAD/themes/default/icons48.psd
--------------------------------------------------------------------------------
/admin/helpers/deauthorize.php:
--------------------------------------------------------------------------------
1 |
2 | require '../_base.php';
3 | gb::verify();
4 | gb::deauthorize();
5 | ?>
--------------------------------------------------------------------------------
/admin/res/default-avatar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rsms/gitblog/HEAD/admin/res/default-avatar.png
--------------------------------------------------------------------------------
/admin/res/default-avatar.psd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rsms/gitblog/HEAD/admin/res/default-avatar.psd
--------------------------------------------------------------------------------
/themes/default/header-bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rsms/gitblog/HEAD/themes/default/header-bg.png
--------------------------------------------------------------------------------
/themes/default/inconsolata.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rsms/gitblog/HEAD/themes/default/inconsolata.otf
--------------------------------------------------------------------------------
/themes/default/reply-over.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rsms/gitblog/HEAD/themes/default/reply-over.png
--------------------------------------------------------------------------------
/admin/res/throbber-small-black.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rsms/gitblog/HEAD/admin/res/throbber-small-black.png
--------------------------------------------------------------------------------
/themes/default/default-avatar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rsms/gitblog/HEAD/themes/default/default-avatar.png
--------------------------------------------------------------------------------
/themes/default/default-avatar.psd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rsms/gitblog/HEAD/themes/default/default-avatar.psd
--------------------------------------------------------------------------------
/themes/default/liberation-serif-bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rsms/gitblog/HEAD/themes/default/liberation-serif-bold.ttf
--------------------------------------------------------------------------------
/themes/default/liberation-serif-italic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rsms/gitblog/HEAD/themes/default/liberation-serif-italic.ttf
--------------------------------------------------------------------------------
/themes/default/liberation-serif-regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rsms/gitblog/HEAD/themes/default/liberation-serif-regular.ttf
--------------------------------------------------------------------------------
/themes/default/liberation-serif-bold-italic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rsms/gitblog/HEAD/themes/default/liberation-serif-bold-italic.ttf
--------------------------------------------------------------------------------
/skeleton/content/pages/about.html:
--------------------------------------------------------------------------------
1 | title: About
2 |
3 | Hi and welcome to my awesome blog.
4 |
5 | Change this content by editing and committing content/pages/about.html
6 |
--------------------------------------------------------------------------------
/skeleton/content/pages/about/intro.html:
--------------------------------------------------------------------------------
1 | title: About
2 |
3 | Hi and welcome to my awesome blog.
4 |
5 | Change me by editing and committing content/pages/about/intro.html
6 |
--------------------------------------------------------------------------------
/skeleton/lighttpd.conf:
--------------------------------------------------------------------------------
1 | $HTTP["host"] == "your.hostname" {
2 | url.rewrite-once = (
3 | "^(/(?!gitblog|attachments|index\.php|favicon\.ico).+)$" => "/index.php/$1"
4 | )
5 | }
--------------------------------------------------------------------------------
/skeleton/gitignore:
--------------------------------------------------------------------------------
1 | # general
2 | *~
3 | *.old
4 | *.swp
5 |
6 | # mac specific
7 | .DS_Store
8 | * copy.*
9 | ._*
10 |
11 | # gitblog specific
12 | /data/site.json
13 |
--------------------------------------------------------------------------------
/skeleton/data/plugins.json:
--------------------------------------------------------------------------------
1 | {
2 | "rebuild": [
3 | "code-blocks.php",
4 | "markdown.php"
5 | ],
6 | "admin": [
7 | "akismet.php",
8 | "email-notification.php"
9 | ]
10 | }
11 |
--------------------------------------------------------------------------------
/helpers/README.md:
--------------------------------------------------------------------------------
1 | # Helpers
2 |
3 | These helpers are available to visitors as well as possibly administrators.
4 |
5 | Helpers in admin/helpers require the client to be authorized as an administrator.
6 |
--------------------------------------------------------------------------------
/skeleton/apache2.htaccess:
--------------------------------------------------------------------------------
1 |