Collection of themes/skins for the Fossil SCM

βŒˆβŒ‹ βŽ‡ branch:  Fossil Skins Extra

exempt .not(".line-numbers pre") from syntax highlighting
mario authored 766 days ago last checkin 55998a2e1
πŸ“„ auth Update comments on user.* table.β€Ήβ€Ί 1325 days ago
πŸ“„ cat extroot version of file dump handler; here just doing a redirect thouβ€Ήβ€Ί 1136 days ago
πŸ“„ changelog NEWS-file generationβ€Ήβ€Ί 1136 days ago
πŸ“„ config Editing UI for additional `config` table entries.β€Ήβ€Ί 1129 days ago
πŸ“„ crashreport Basic error-to-ticket conversion backend.β€Ήβ€Ί 1317 days ago
πŸ“„ fossil_common.php Move db() and some utility code into include script. (So extroot scriβ€Ήβ€Ί 1129 days ago
πŸ“„ fx_meta Prepare meta tags for wiki pagesβ€Ήβ€Ί 1138 days ago
πŸ“„ hooks Add experimental hooks admin (not useful yet)β€Ήβ€Ί 1127 days ago
πŸ“„ index fix PMD extraction regexβ€Ήβ€Ί 1325 days ago
πŸ“„ micropub Rough outline of how to map requests onto fossil commands.β€Ήβ€Ί 1324 days ago
πŸ“„ project.json Introduce project.json listingβ€Ήβ€Ί 1128 days ago
πŸ“„ sitemap Generates sitemap.xml from wiki pages, doc files, technotesβ€Ήβ€Ί 1027 days ago
πŸ“„ skin Add some more adminstrative linksβ€Ήβ€Ί 1136 days ago
πŸ“„ sqliteadmin Use markdown error message for non-admin users.β€Ήβ€Ί 1324 days ago
πŸ“„ survey crude survey tool (storage backend only)β€Ήβ€Ί 1159 days ago
πŸ“„ survey_sum Add survey tbl display tool.β€Ήβ€Ί 1159 days ago
πŸ“„ token Enable code_verifier/challenge test, add `token` script to upgrade frβ€Ήβ€Ί 1326 days ago
πŸ“„ trees Add GitHub trees queryβ€Ήβ€Ί 1128 days ago
πŸ“„ user_config Move fields declaration atop.β€Ήβ€Ί 1327 days ago
πŸ“„ wikitag tag wiki pages (on initial artifactt)β€Ήβ€Ί 1124 days ago

extroot

extroot: is a config directive for serving CGI extensions in Fossil.
The repo script could contain for example:

#!/usr/bin/fossil
repository: /fossil.d/sqlite.fossil
#directory: /fossil.d/
errorlog: /www/logs/fossil.errors.txt
cgi-debug: /www/logs/fossil.cgi.debug.log
extroot: /fossil.d/extroot

And the extroot/ dir would contain executable/CGI scripts, which then become accesssible as http://fossil.example.org/repo/ext/auth.
See https://fossil.include-once.org/fossil-skins/ext/index for a live view. (Note that all examples here rely on php-cgi; thus probably won't work easily with chroot-jailed fossil setups.)

Note: fossil_common.php is now a required dependency for most scripts.

auth / token

Is a basic IndieAuth authorization_endpoint. Which permits using fossil accounts for federated logins. It requires adding homepage urls either in info column, or per ext/user_config in new homepage field. And then augmenting your personal homepage with:

<link rel=authorization_endpoint href="https://fossil.example.org/repo/ext/auth">
<link rel=token_endpoint href="https://fossil.example.org/repo/ext/token">

Thenceforth you can use one account for logging into various services (via e.g. IndieAuth.com or IndieLogin.com). The protocol is based on OAuth 2.0, but more convenient; it's also the spiritual successor to OpenID.

micropub

Both auth/token are also intended to be used with the publishing API. Which is actually intended for blogging, but here used to submit wiki pages or technotes from an external editor/app. It should be bound on a user homepage or in the repo with:

<link rel=micropub href="https://fossil.example.org/repo/ext/micropub">

The implementation is a bind long-winded, because it prepares for a more general micropub editor.

user_config

Allows logged in users to edit user.info or new user.homepage field. (Both are scanned by auth extension for urls.)

index

Simply lists existing CGI scripts.

sqliteadmin

Is a cgi-prefixed version of phpLiteAdmin, only accessible to admin users (s capability). Which allows some simpler table browsing than /admin_sql. Primarily useful for data tables. Unfortunately you can't limit browsing or queries to elected tables - would be a more useful tool if it could be made accessible to any developer.

crashreport

Basic backend to store application errors/exceptions as tickets. (When submitted as JSON blob per POST request.)

skin

Combines editing of header/footer/css/js/th1-setup for current skin. (Sidesteps draftX publishing, and keeps ample backups instead.)

fx_meta

Generates <meta> twitter card fields for wiki pages. (Was supposed to also embed raw/ <link>s for file browsing, but that's probably better done in a th1 function.)

cat

Is an ext/ version of the /cat/filename.txt shorthand.

config

Allows to set additional project options (utilizes plugin meta data from all scripts).

trees

Emulates GitHub’s trees API.

changelog

Extroot-version of the NEWS-file generator.