1
0
Fork 0
Commit Graph

1352 Commits

Author SHA1 Message Date
cage 7fc90b428c - [JSONRPC] used a custom error when a called function fails for some reason. 2023-01-06 12:15:54 +01:00
cage 4fb9c6eb43 - [JSONRPC] included actual ID to the error response when possible. 2023-01-06 12:12:32 +01:00
cage 0215a4c173 - renamed test file. 2023-01-06 11:57: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 8c48c9a567 - prevented crash when printing a notification after deletion. 2023-01-02 19:03:36 +01:00
cage f0862e3903 - [rpc] returned an error if a gemini stream can not be foud in 'gemini-stream-info'. 2023-01-01 20:05:20 +01:00
cage 5052c21fe3 - [rpc] fixed error responses, tests passed again. 2023-01-01 19:02:30 +01:00
cage cbb447a84e - [rpc] added 'gemini-stream-parsed-line'. 2023-01-01 18:31:27 +01:00
cage a6a8b0ad8f - [rpc] fixed error handling. 2023-01-01 14:57:08 +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 72bb14c9d6 - added a couple of debug flags to make logging more fine-tuned. 2022-12-29 17:23:24 +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 fb4be7bb9f - [gui] added an actual funcion for API;
- [jsonrpc] added more information when an internal error occurred;
- added 'main:rpc-server-init'.
2022-12-27 13:19:59 +01:00
cage 432045fc52 - used a better default for slot 'local-path' to prevent crash when 'sexp->links' is called with an empty string as local-path argument. 2022-12-26 16:41:50 +01:00
cage 62d2a589b0 - updated READMEs. 2022-12-26 14:33:06 +01:00
cage 39878d6475 - wrapped 'babel:string-to-octets' in 'text-utils:string->octets'. 2022-12-25 12:53:07 +01:00
cage 2365707338 - refactored code in a function. 2022-12-25 12:47:41 +01:00
cage a18c63f3db - moved '+octect-type+' to 'constants' package. 2022-12-25 12:04:08 +01:00
cage b3fc8c58a3 - renamed 'main-croatoan-init' to 'main:tui-init'. 2022-12-24 14:41:11 +01:00
cage b2e7f8fd62 - added a minimal client-server interation system (using pipe).
- renamed 'main:init' to 'main-croatoan-init'.
2022-12-24 14:39:53 +01:00
cage db30d2b47d - added some scaffolding for RPC;
- added 'read-delimited-into-array'.
2022-12-23 13:23:08 +01:00
cage d937235d6c - [pleroma] added API for announcements. 2022-12-23 12:03:04 +01:00
cage 87e0a3620c - made a couple of names more consistent. 2022-12-23 12:03:04 +01:00
cage 53379fdd37 - added a json-rpc2 implementation. 2022-12-23 12:03:04 +01:00
cage 5d3f6b69fe - improved error reporting in script 'generate-gemlog.lisp'. 2022-12-23 11:55:39 +01:00
cage 416d9356e4 - catched all errors signaled when something has gone wrong downloading the messages containing the subscribed tags. 2022-12-17 17:14:04 +01:00
cage 5ca70367b8 - updated version number in configure.ac too. 2022-12-14 12:13:51 +01:00
cage 4fe13ef29e - fixed version number. 2022-12-14 12:13:06 +01:00
cage 69d1cbd789 - increased version number;
- updated news and changelog files.
2022-12-14 11:49:17 +01:00
cage 4b2efa5539 - removed hardcoded font spec when making an image mosaic;
- updated croatoan version.
2022-12-14 11:44:18 +01:00
cage df8c4a97d6 - updated documentation. 2022-12-12 20:21:31 +01:00
cage 49f5b9d0ab - updated NEWS file. 2022-12-12 20:15:01 +01:00
cage 518fc374f9 - updated NEWS file. 2022-12-12 20:14:22 +01:00
cage a55ebe51d7 - updated italian translation. 2022-12-12 19:43:35 +01:00
cage b6e223d2cf - updated changelog. 2022-12-12 19:22:59 +01:00
cage 7924136282 - captured error that could happens when making a image mosaic from a gemini page. 2022-12-11 12:59:41 +01:00
cage 3145ee8263 - added a better name for images captions, when composing images from a gemini page. 2022-12-10 15:16:03 +01:00
cage 32169beac7 - added a pair of directives to configure montage of gemini images. 2022-12-10 15:06:48 +01:00
cage 2e82667455 - updated READMEs. 2022-12-10 14:49:53 +01:00
cage 6348e57ea2 - added docstring to 'gemini-images-montage' 2022-12-10 14:47:11 +01:00
cage 183d8c296a - added progression messages when composing images. 2022-12-10 14:44:40 +01:00
cage 1b6886770c - removed fuzzy bit from italian PO file. 2022-12-10 14:19:43 +01:00
cage 47f6ec197e - updated italian translation;
- fixed error messages when collecting images.
2022-12-10 14:19:08 +01:00
cage c8b92f7eba - added command 'gemini-images-montage'. 2022-12-10 14:11:13 +01:00
cage 9efb99b234 - ensured an user is added into the the database before following them. 2022-12-09 13:39:32 +01:00
cage 185ec6aa3b - reworked a few regular expressions to fix mentions coloring. 2022-12-08 19:23:41 +01:00