Age | Commit message (Collapse) | Author |
|
* tissue/web/server.scm (handler): List search results even on home
page.
|
|
* tissue/web/server.scm (make-search-page): Accept query argument.
(handler): Pass query argument to make-search-page.
|
|
* tissue/web/server.scm (%css)[.search-result-title,
.search-result-document, .search-result-issue,
.search-result-open-issue, .search-result-closed-issue]: New rules.
|
|
* tissue/issue.scm (document->sxml): Remove space at the beginning of
search result metadata.
|
|
* tissue/document.scm (document->sxml): Add search result title CSS
class.
* tissue/issue.scm (document->sxml): Add search result title CSS
class.
|
|
* tissue/document.scm (document->sxml): Add search-result-document
class.
* tissue/issue.scm (document->sxml): Add search-result-issue and
search-result-open-issue/search-result-closed-issue classes.
|
|
* tissue/search.scm (search-fold): AND is:open filter with search
query.
|
|
* tissue/document.scm (print): Print DOCUMENT identifier.
* tissue/issue.scm (print): Print ISSUE identifier.
|
|
* bin/tissue (tissue-search): Page results, and do not limit number of
results.
|
|
* tissue/document.scm (print): Accept port argument.
* tissue/issue.scm (print): Accept port argument.
|
|
* tissue/utils.scm (call-with-output-pipe): New function.
|
|
* tissue/document.scm (print): Remove blank line between title and
snippet.
|
|
A div is already a block element. There is no need to use a span and
then make it a block element.
* tissue/document.scm (document->sxml): Use div instead of span for
snippets and metadata.
* tissue/issue.scm (document->sxml): Use div instead of span for
snippets and metadata.
* tissue/web/server.scm (%css)[.search-result-metadata]: Remove
"display: block" property.
|
|
Blank lines waste precious space in search snippets.
* tissue/document.scm (document-html-snippet): Remove blank lines in
search snippets.
|
|
* tissue/document.scm (document-html-snippet): New function.
(document-snippet, document-sxml-snippet): Use document-html-snippet.
|
|
* bin/tissue (tissue-index): New function.
(print-usage): List `tissue index' subcommand.
(main): Call tissue-index.
|
|
* tissue/search.scm (search-fold, search-map): Accept maximum number
of search results and offset as arguments.
* bin/tissue (tissue-search): Do not print number of search
results. Use search-map instead of search-fold.
|
|
* tissue/search.scm (search-fold, search-map): Accept search query as
a single string instead of a list of strings.
* bin/tissue (tissue-search): Pass a single search string to
search-fold.
* tissue/web/server.scm (handler): Pass a single search string to
search-map.
|
|
* tissue/web/server.scm: New file.
* tissue/document.scm (document-sxml-snippet): New public function.
(document->sxml): New generic method.
* tissue/issue.scm: Import (web uri).
(document->sxml): New generic method.
* bin/tissue: Import (system repl server) and (tissue web server).
(address->socket-address, tissue-run-web): New function.
(print-usage): List `tissue run-web' subcommand.
(main): Call tissue-run-web.
|
|
* tissue/document.scm (<document>)[web-uri]: New slot.
* bin/tissue (main): Set web-uri slot before indexing document.
|
|
* tissue/document.scm: Import (htmlprag).
(document-snippet): New public function.
(print): Use document-snippet.
* tissue/issue.scm (print): Use document-snippet.
|
|
* tissue/web/static.scm (sanitize-string): Move to tissue/issue.scm.
|
|
* tissue/document.scm (slot-set): New public function.
|
|
* bin/tissue (tissue-search): Add missing argument to format.
|
|
* tissue/search.scm (search-map): New function.
|
|
* tissue/document.scm: Import (srfi srfi-1).
(write): New generic method.
|
|
* bin/tissue (tissue-search): Separate out search functionality into
search-fold in (tissue search).
* tissue/search.scm: New file.
|
|
* tissue/issue.scm (index-person): Rename to index-person!.
(document-term-generator): Update invocations of index-person.
|
|
* tissue/issue.scm (unix-time->date): Delete function.
|
|
* tissue/document.scm: Do not import (srfi srfi-9). Import (srfi
srfi-19), (ice-9 match) and (oop goops).
(<document>): Delete type.
(<document>, <file-document>): New classes.
(date->alist, alist->date, object->scm, scm->object): New functions.
(document->alist, alist->document, print-document): Delete functions.
(document-term-generator, document-type, document-id-term,
document-text, print): New generic methods.
(read-gemtext-document): Return <file-document> object.
(index-document): Delete function.
* tissue/issue.scm: Do not import (srfi srfi-9) and (srfi
srfi-19). Import (oop goops) and (tissue document).
(date->iso-8601, iso-8601->date): Move to tissue/document.scm.
(<issue>, <post>): Re-implement as class.
(issue->alist, post->alist, alist->issue, alist->post, index-issue):
Delete functions.
(print-issue): Rename to print, a generic method.
(print): Use document-title and file-document-path instead of
issue-title and issue-file respectively. Accept mset argument.
(print-issue-to-gemtext): Use document-title instead of issue-title.
(read-gemtext-issue): Return a <issue> object.
(document-term-generator): New generic methods.
* bin/tissue: Import (tissue document) without a prefix.
(print-document, alist->document, document->text, index-document):
Delete functions.
(tissue-search): Use the print generic function.
(main): Use the document-type, document-id-term,
document-term-generator generic functions and replace-document!
instead of index-document.
* tissue/conditions.scm (&unknown-document-type-violation): Delete
condition.
|
|
* tissue/web.scm: Rename to tissue/web/static.scm.
* bin/tissue: Import (tissue web static) instead of (tissue web).
* Makefile (sources): Add sources in tissue/web/.
|
|
* bin/tissue: Do not import (srfi srfi-19).
(print-issue, print-issue-to-gemtext): Move to tissue/issue.scm.
(human-date-string): Move to tissue/utils.scm.
* tissue/issue.scm: Import (term ansi-color).
* tissue/utils.scm: Import (srfi srfi-19).
|
|
* tissue/issue.scm (%issue-files): Delete parameter.
(issues): Delete function.
(read-gemtext-issue): New public function.
(file-modification-table-for-current-repository): New function.
* bin/tissue (main): Do not parameterize %issue-files.
|
|
* tissue/tissue.scm (<tissue-configuration>)[issue-files]: Delete
field.
[indexed-documents]: New field.
* tissue/tissue.scm (tissue-configuration): Remove issue-files
argument. Add indexed-documents argument.
* bin/tissue: Import (tissue document) with doc: prefix.
(print-document, alist->document, document->text, index-document): New
functions.
(tissue-search): Display search results for generalized documents
using print-document, alist->document and document->text.
(main): Index generalized documents using index-document.
|
|
* tissue/conditions.scm (&unknown-document-type-violation): New
condition type.
|
|
* tissue/conditions.scm (&issue-file-not-found): Rename to
&issue-file-not-found-error.
|
|
* tissue/document.scm: New file.
|
|
* bin/tissue (rlast): Delete function.
|
|
* bin/tissue (invoke): Delete function.
|
|
* bin/tissue: Import (srfi srfi-9).
(<indexed-document>): New type.
|
|
* tissue/utils.scm (string-remove-prefix): New public function.
|
|
The authors function, if required in the future, must be reimplemented
using guile-git in (tissue git).
* tissue/issue.scm (authors): Delete public function.
|
|
We are moving to a dynamic web interface with issue searches. Static
issue listings are therefore obsolete.
* tissue/web.scm: Do not import (skribilo ast), (skribilo
lib), (skribilo package base), (skribilo utils keywords), (skribilo
writer) and (sxml simple).
(%tags-path): Delete parameter.
(issue-list-item): Delete markup.
(issue-listing, issue-list-item-markup-writer-action,
tag-issue-lister, tag-pages): Delete functions.
* bin/tissue (tissue-web): Do not parameterize %tags-path.
|
|
While making the repository argument mandatory makes git-tracked-files
more of a pure function, users would still prefer to implicitly refer
to the current repository in their tissue.scm configuration files.
* tissue/git.scm (git-tracked-files): Make repository argument
optional.
|
|
* bin/tissue (tissue-search): Assume is:open in queries.
|
|
* bin/tissue (tissue-search): Parse type field searches in queries.
|
|
* tissue/issue.scm (issue->alist): Add (type . issue) pair.
(index-issue): Index type:issue.
|
|
* bin/tissue (tissue-list): Delete function.
(print-usage): Unlist list subcommand.
(main): Do not call tissue-list. Alias `tissue' to `tissue search'.
|
|
* bin/tissue (print-issue): Remove obsolete comment about highlighting
keywords.
|
|
* tissue/issue.scm: Export record type predicates issue? and post?.
|