Collection of themes/skins for the Fossil SCM

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

Add survey tbl display tool.
mario authored 1 days ago last checkin a08c7b5ce
๐Ÿ“„ auth Add caps and mtime columns, some doc fixes.โ€นโ€บ 163 days ago
๐Ÿ“„ crashreport Basic error-to-ticket conversion backend.โ€นโ€บ 159 days ago
๐Ÿ“„ index charset= instead of encoding=โ€นโ€บ 163 days ago
๐Ÿ“„ micropub Workaround for Content-Location: header, add h: and -cap: attrs, fix โ€นโ€บ 163 days ago
๐Ÿ“„ sqliteadmin Add more consistent type:/category: decoration.โ€นโ€บ 165 days ago
๐Ÿ“„ survey Add survey tbl display tool.โ€นโ€บ 1 days ago
๐Ÿ“„ survey_sum Add survey tbl display tool.โ€นโ€บ 1 days ago
๐Ÿ“„ token Add caps and mtime columns, some doc fixes.โ€นโ€บ 163 days ago
๐Ÿ“„ user_config charset= instead of encoding=โ€นโ€บ 163 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.)

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.)