exempt .not(".line-numbers pre") from syntax highlighting | ||
---|---|---|
mario authored 796 days ago last checkin 55998a2e1 ⎘ | ||
π auth | standardize PMD type: furtherβΉβΊ | 1154 days ago |
π cat | support for #access: flagβΉβΊ | 1158 days ago |
π changelog | support for #access: flagβΉβΊ | 1158 days ago |
π config | restructure form field outputβΉβΊ | 1158 days ago |
π crashreport | standardize PMD type: furtherβΉβΊ | 1154 days ago |
π fossil_common.php | Enable wikitag saving (via new `fossil_exec()`)βΉβΊ | 1150 days ago |
π fx_meta | Support technotesβΉβΊ | 1064 days ago |
π hooks | Add +hea:der, multi-url, FOSSIL_REPOSITORY= env support. Change more βΉβΊ | 1153 days ago |
π index | standardize PMD type: furtherβΉβΊ | 1154 days ago |
π micropub | standardize PMD type: furtherβΉβΊ | 1154 days ago |
π project.json | submitter+sitemap addedβΉβΊ | 1158 days ago |
π sitemap | Generates sitemap.xml from wiki pages, doc files, technotesβΉβΊ | 1057 days ago |
π skin | support for #access: flagβΉβΊ | 1158 days ago |
π sqliteadmin | standardize PMD type: furtherβΉβΊ | 1154 days ago |
π survey | support for #access: flagβΉβΊ | 1158 days ago |
π survey_sum | standardize PMD type: furtherβΉβΊ | 1154 days ago |
π token | standardize PMD type: furtherβΉβΊ | 1154 days ago |
π trees | standardize PMD type: furtherβΉβΊ | 1154 days ago |
π user_config | support for #access: flagβΉβΊ | 1158 days ago |
π wikitag | Enable wikitag saving (via new `fossil_exec()`)βΉβΊ | 1150 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.