1
0
Fork 0
Commit Graph

137 Commits

Author SHA1 Message Date
cage 50a11fb603 - [GUI] fixed managing of gemini responses when a titan request was performed (TOFU errors, TLS certificate password etc.);
- fixed error arising when 'debug-gemini-gui' was called with more than two arguments.
2024-03-03 18:04:22 +01:00
cage 904fb6cf7e - [GUI] added timeout test for dummy server;
- [GUI] returned a more useful error message to user when a timeout occurred.
2024-02-25 16:55:30 +01:00
cage 1881738d91 - [TUI] added command to change TLS client certificate password. 2024-02-16 14:59:26 +01:00
cage 910a502ad2 - [GUI] ensured the passwords cache for TLS client certificate is emptied after changing a password. 2024-02-15 17:05:53 +01:00
cage 07d9c4aea9 - [GUI] added a button to give a visual hint that a the client provided the server a TLS certificate. 2024-02-15 16:15:18 +01:00
cage f067dc2ee3 - [GUI] added procedures to manage passwords for client TLS certificates. 2024-02-14 14:41:45 +01:00
cage 56ad43f5dd - added optional key password argument to gemini and titan requests. 2024-02-11 15:06:41 +01:00
cage 5155749080 - removed all direct references to package 'bt' (used wrappers instead);
- addedd missing file 'dummy-server.lisp';

- updated LICENSES.org.
2024-02-11 12:32:22 +01:00
cage a16fc03337 - added a dummy gemini server for debugging purposes. 2024-02-10 14:36:01 +01:00
cage 8f9d83fa0e - changed all recursive lock with the non-recursive type;
- prevented opening another connection when deleting cache;

- improved rendering of html blockquote.
2023-12-02 17:17:50 +01:00
cage e88985ae34 - updated copyright. 2023-10-19 17:51:11 +02:00
cage a45b453da0 - changed brief description of the program. 2023-10-19 17:49:54 +02:00
cage c23bb70b2e - updated copyright. 2023-10-19 17:46:22 +02:00
cage 888a361d86 - [TITAN] prevented dropping of query component.
After discussing on IRC (thanks!) i think is legit (according to the
  specification) to have URL like that:

  titan://invalid/path/to/script;mime=text/plain;size=1;token=foo?query=bar
2023-08-04 13:58:57 +02:00
cage 4c99e6a8b2 - [TITAN] fixed building of request URL
Many thanks to Alex Schroeder for help and supporting!
- fixed building of URL composed of only a path component in 'render-iri';
- [GUI] remove standard port value before requesting an URL.
2023-07-22 12:58:32 +02:00
cage a06caf629b - removed full stop ('.'), from some translatable strings. 2023-07-15 14:30:09 +02:00
cage e3df48e1a6 - [GUI] fitted titan protocol into the interface. 2023-07-09 19:14:45 +02:00
cage b96acd7c66 - [TUI] allowed upload of strings via titan, not only files. 2023-07-07 15:34:01 +02:00
cage e1f185c439 - implemented titan protocol;
- [TUI] added titan requests;
- [GUI] fixed crash when opening the gemlog windows after refreshed the gemlogs data.
2023-07-07 14:45:05 +02:00
cage 7aa707bfb6 - [GUI] added button to refresh the gemlogs subcriptions. 2023-06-18 14:48:40 +02:00
cage 340f98b618 - removed debug code 2023-04-14 17:27:56 +02:00
cage 91e6298e7c - [GUI] printed information when streaming is started or finished;
- [GUI] increased width of bookmark window.
2023-04-14 17:13:41 +02:00
cage 559b5dae84 - [GUI] fixed leaking lines parameter when rendering preformatted text;
- [gemini] added a missing newline character in 'geminize-preformatted';
- [GUI] parsed standard colors for gemini window's text;
- [GUI] rendered the gemini  protocol rerror  responses to  the gemtext
  window instead of poppinu out a dialog window.
2023-03-12 15:36:13 +01:00
cage fa6844a2ab - [GUI] added code to deal with query input (status 10 and 11). 2023-03-12 12:35:01 +01:00
cage d4a871d769 - [gemini] returned the meta header to user when a protocol error occurred. 2023-03-12 11:42:55 +01:00
cage 24b0b07bb3 - [GUI] made link working for local files and gemtext files over gemini protocol. 2023-03-06 18:38:46 +01:00
cage d6fdf00253 - [GUI] transformed relative IRI to absolute in the rendered gemtext;
[GUI] printed IRI on the info-bar when moving cursor over links in the rendered gemtext.
2023-03-03 17:04:40 +01:00
cage 9e7feacf8e - [GUI] started a news thread where getting gemini stream's data.
- [GUI] added theming to gemtext.
2023-02-25 11:41:01 +01:00
cage d040aec005 - [gemini] improved format control for protocol error messages;
- [GUI] logged RPC request error instead of opening a dialog message when in debug mode;
- [GUI] added a draft of callback for opening a gemini address.

- [RPC] learnt that (error "string" arg1 arg2 ... argn), is similar to
  (error (format nil  "string" arg1 arg2 ... argn))  so (error (format
  nil "~a" "~c"))  is equal to (error "~c"); =>  format error (missing
  argument for format string)!
2023-02-19 14:52:53 +01:00
cage cfb05a6ea1 - log gemini and json, debug messages even if *features* does not
contains :debug-mode;
- [RPC] fixed 'gemini-stream-info';
- [RPC] added 'gemini-stream-parsed-line-slice';
- [RPC] added error handling for 'gemini-stream-parsed-line';
- [JSON-RPC] fixed encoding of error responses.
2023-01-06 11:56:21 +01:00
cage 59a9b69605 - added a new command 'delete-notifications';
- retrofitted 'add-metadata-to-parsed-gemini-lines' into the main gemini parser;
- fixed json generation of parsed lines in 'gemini-stream-info'.
2023-01-01 11:11:40 +01:00
cage f1df366cba - added 'list-id' as metadata for gemini list;
- added unit tests for gemini parser.
2022-12-30 15:03:59 +01:00
cage 3114264505 - added parameter 'initialize-parser' (default to nil), to reset
parser state in 'sexp->text-rows';

- added 'add-metadata-to-parsed-gemini-lines'

  This function  will add attributes (like  ':header-group-id') to the
  sexp   representation   of   a  gemini   stream   (structure:   (tag
  ((attribute-key attribute value)...) text line) )

- [JSON-RPC API] added a couple of public API function.
2022-12-30 11:07:30 +01:00
cage a87ea3b2ae - moved macro definition on top of the file. 2022-12-29 17:34:44 +01:00
cage 685f4e4db7 - added slot 'parsed-lines' to gemini-viewer:gemini-stream,
moreover used this slots when downloading a gemini stream

  This changes means that the parsing of gemini stream is no more done
  in program events but during the downloading thread.
  See, for example the changes in: 'gemini-viewer:make-gemini-download-event'

- added a parameter to prevent notification when downloading a gemini stream
  see 'gemini-viewer:request-stream-gemini-document-thread';

- added a  more human friendly  constants for each gemini  status code
  (e.g. +success+ for code 20).

- as the gemini parser has status added a parameter ('initialize-parser') to
  'gemini-parser:parse-gemini-file' (default to nil, do not initialize);

- initialize the gemini parser when needed.
2022-12-29 17:24:53 +01:00
cage f8bf6aa360 - [gemini] added better names for status code of a gemini response (e.g. '+20+' -> '+success+'). 2022-12-28 13:57:15 +01:00
cage 39878d6475 - wrapped 'babel:string-to-octets' in 'text-utils:string->octets'. 2022-12-25 12:53:07 +01:00
cage 1bfdf45ec9 - ignore errors when getting gemlog feeds data. 2022-11-25 18:46:34 +01:00
cage cf8664724a - [gemini] made the special variable gemini-parser:*raw-mode-data* thread local
There is  no sense to  share it  between multiple threads  parsing a
  gemini stream as the status of the parser (preformatted or not) from
  one could leaks into another.
2022-10-14 14:10:52 +02:00
cage 6196810bbb - [gopher] implemented a basic parser. 2022-08-21 11:39:40 +02:00
cage 333d77caf2 - [gemini] added missing mandatory argument to function that builds the redirect URI. 2022-08-19 10:48:56 +02:00
cage 008d5001a7 - taken into account the query of the original URI when combining it with a path. 2022-08-05 11:30:56 +02:00
cage d45388e4dc - [gemini] remove redirect loop when the meta was an absolute URI. 2022-07-15 10:39:24 +02:00
cage de980b44b7 - [modules] added backlink to generated gemlog pages;
- [gemini] fixed rendering of links that starts with an emoji.
2022-07-13 17:08:37 +02:00
cage b004fd5f93 - removed direct call to babel:cotets-to-string, using 'to-s' wrapper, instead.
- [gemini] prevented crash when no previous link to open is found before the selected line.
2022-07-02 10:55:11 +02:00
cage 651b5fe963 - [gemini] added alt text even for preformatting end tag. 2022-06-14 16:04:56 +02:00
cage e8e4711074 - fixed symbol export for 'normalize path' (thanks op!). 2022-02-17 21:35:25 +01:00
cage 31b9685737 - added a wrapper for 'fnmatch(3)';
- [kamid] upload works with wildcard (e.g. "/*.lisp");
- moved 'normalize-path' to filesystem-utils.
2022-01-28 12:24:24 +01:00
cage 2dd2a738a7 - adding user info in uri related functions. 2022-01-15 17:50:53 +01:00
cage b4ecbe49b0 - added a draft for a kami client. 2022-01-09 14:47:22 +01:00