1
0
Fork 0
Commit Graph

1201 Commits

Author SHA1 Message Date
cage 00a3b45dcd - prevented connecting to a pleroma instance when loading a script in gemini exclusive mode. 2023-02-17 18:16:34 +01:00
cage 81868075b4 - made 'about' help window, modal. 2023-02-17 15:05:09 +01:00
cage 801a7e8b3f - [GUI] used the new autocomplete widget of nodgui. 2023-02-17 14:30:37 +01:00
cage 4a9e41a307 - [kami] prevented landing on the debugger if communicating with a kami
server fails.
2023-02-14 21:17:46 +01:00
cage 2b416820a1 - [RPC] added indices of matching chars in string that complete the
IRI in 'complete-net-address'

  This data  would be  useful to  highlight parts  of the  string that
  matches the criteria to complete  the user suggestions (typed on the
  address text entry).
2023-02-12 11:41:33 +01:00
cage 65ed6b9425 - flush the socket buffer to ensure the successful autorization message is delivered to the browser. 2023-02-11 21:22:36 +01:00
cage 9e7966f697 - input dialog reurn :canceled if the user pressed the 'cancel' button;
- fixed an infinite loop when the user chose to cancel saving the URI to autorize the client.
2023-02-11 21:01:58 +01:00
cage 5ee623d312 - fixed default callback in input dialog. 2023-02-11 20:55:39 +01:00
cage a973a8fbe1 - [RPC] fixed server stopping;
- [GUI] notify RPC errors to the user using the GUI.
2023-02-10 12:57:08 +01:00
cage 7b415e485a - [GUI] added address autocomplete;
- added optional argument to specify pushing function in: 'program-events:push-function-and-wait-results'.
2023-02-09 17:04:29 +01:00
cage 282b36d712 - [GUI] started connecting JSON API with GUI;
- [RPC] reworked 'slurp-gemini-stream' to use events queue;

- [GUI] fixed dispatching of events
2023-02-09 16:28:53 +01:00
cage abef1cfe33 - added some functions to build the GUI. 2023-02-08 13:02:26 +01:00
cage 2a96ff70ef - [GUI] added a few icons. 2023-02-05 14:57:40 +01:00
cage 801829b528 - instruct makefile to copy modules, script and icons in differents subdirectory when installing the package. 2023-02-05 14:41:03 +01:00
cage c0e2b43d3e - [GUI] added a bit of scaffolding for the interface;
- [GUI/RPC] added  method to start and retrieve a gemini stream's data.
2023-02-05 14:07:13 +01:00
cage 90ae6193e8 - [JSON-RPC] added the request (that triggered the error) to the data field of an error response. 2023-02-04 11:31:36 +01:00
cage ba5ddb6d7a - made the event-queue optionally blocking (block the caller thread if empty).
- added parent window to the dialog.
2023-02-02 16:10:08 +01:00
cage 2618b50d42 - updated italian translation;
- added message to inform about the downloading of notifications.
2023-02-02 15:01:20 +01:00
cage 7420b8fc26 Merge branch 'master' into add-gemini-gui 2023-02-01 15:04:29 +01:00
cage 7e16600a68 - updated italian translation. 2023-01-30 21:14:30 +01:00
cage ee4bd9a375 - updated NEWS.org. 2023-01-30 21:09:05 +01:00
cage 02bb2efb6d - updated changelog. 2023-01-30 21:02:11 +01:00
cage 7dbe38e898 - updated croatoan revision to fetch during installation. 2023-01-30 20:59:15 +01:00
cage 13286e44e0 - used the brand new dialog window made available from croatoan. 2023-01-30 20:49:57 +01:00
cage 891651b6fa - added missing file;
- [RPC] splitted the package json-rpc-munication in two files: one in server directory and the other in the client directory.
2023-01-15 16:03:25 +01:00
cage 155cdc1117 - [GUI] added client events loop. 2023-01-15 15:56:00 +01:00
cage 045819b4a4 - [RPC] added API for generate the TOC from a gemtext;
- removed duplicated code (used the class 'box:box' instead of struct 'json-rpc-communication:box).
2023-01-15 15:54:49 +01:00
cage 3824e29171 - [gemini] used function 'maybe-notify'. 2023-01-13 16:33:22 +01:00
cage 572eb5c1b7 - [GUI] added procedures to get client configuration. 2023-01-13 16:31:54 +01:00
cage 3a0074811d - [RPC] moved struct 'box'. 2023-01-13 16:31:16 +01:00
cage 9b63978329 - [RPC] refactored public API in multiple files. 2023-01-13 16:22:22 +01:00
cage b0140d6fc6 - [RPC] fixed encoding of certificates. 2023-01-13 16:09:14 +01:00
cage 48f950af1e - [JSON-RPC] fixed macro for signal error. 2023-01-13 15:35:02 +01:00
cage cf0376e666 - [RPC] added function to close server;
- [JSON-RPC] allowed API to signal a custom 'jsonrpc-error'.
2023-01-13 15:34:01 +01:00
cage 5ce7e5c082 - [JSON-RPC] fixed tests (the error object returns the field 'data' now). 2023-01-13 14:59:44 +01:00
cage 37af6fef04 Merge branch 'master' into add-gemini-gui 2023-01-13 14:15:37 +01:00
cage 804bf09914 - added missing parens. 2023-01-13 14:13:19 +01:00
cage 5138d53fa5 - increased version number. 2023-01-12 20:20:38 +01:00
cage 8d60b063c8 Merge branch 'master' into add-gemini-gui 2023-01-12 20:17:53 +01:00
cage 003a7a26ac - made the program respect the `open' configuration directive for when downloading MINE type "text/*"
Before this patch, the software tried to open all the text MIME type
  in the main window regardless  any setting in the configuration file
  that imposed  to use  a program to  open a file  based on  a regular
  expression (e.g. `open  "^((gemini://)|(\\.)|(/)).+txt$" with "vi"',
  did not worked).
2023-01-12 20:09:01 +01:00
cage 0e71b7a48a Merge branch 'master' into add-gemini-gui 2023-01-12 16:11:53 +01:00
cage 8b1d00817f - [RPC] added functions for managing tour links and clients certificates. 2023-01-12 16:08:10 +01:00
cage 51c4a03c2c - removed resetting of gemini parser status when downloading a text
encoded, but non-gemini, file;
- [rpc] added tour links slot for gemni window (server);
- added loading configuration file for GUI (RPC client) at start;
- refactored metadata slot thei is now used by a TUI window and the server side gemini window;
- added optional string bag parameter to 'text-utils:trim-blanks'.
2023-01-11 19:10:51 +01:00
cage 92552f3c35 -updated italian translation and list of files that contains striin that can be translated. 2023-01-08 15:21:51 +01:00
cage f5bc32fa58 - fixed missing function argument in module. 2023-01-06 14:27:58 +01:00
cage f40fb786b1 - [GUI] moved server side GUI to a proper component and directory. 2023-01-06 13:55:38 +01:00
cage 746b2e01ac - [RPC] added representation of the main gemini window in the server;
- [RPC] added two IRI's history manipulation functions.
2023-01-06 13:50:33 +01:00
cage 39ad2ffad8 - [RPC] removed parsed lines from object returned by the function 'gemini-stream-info', there are more specialized functions to get those;
- [RPC] added 'gemini-all-stream-info'.
2023-01-06 12:47:20 +01:00
cage c01188e0db - [JSONRPC] added optional data field to error response. 2023-01-06 12:35:41 +01:00
cage 7fc90b428c - [JSONRPC] used a custom error when a called function fails for some reason. 2023-01-06 12:15:54 +01:00