1
0
mirror of https://codeberg.org/cage/tinmop/ synced 2025-02-02 04:36:43 +01:00

1938 Commits

Author SHA1 Message Date
cage
c790da4407 - [DB changes] added a reference to a a row of table 'status' to each row of table 'mention'
This changes is needed to prevent mention lookup code to find the wrong acct, as matching is based only from the username (that is the string on the left of the '@'). Two different acct can share the same username, so the old code returned the first acct the db provided matching the username, not necessarily the correct one.

  E.g.

  table mention
  username | acct
  ---------+----------
  foo      |  foo@bar
  foo      |  foo@baz

  looking for the first row that match "foo" → "foo@bar", but the post mentioned the "foo@baz"

  now the table has changed to;

  username |  acct      | status-id
  ---------+------------+----------
  foo      |  foo@bar   | 1
  foo      |  foo@baz   | 2

  search looks for the first row that match "foo" for the status-id = 1: the correct value is returned: 'foo@baz'.

  this changes is not a solution, for example in a table like this:

  username |  acct      | status-id
  ---------+------------+----------
  foo      |  foo@bar   | 1
  ---------+------------+----------
  foo      |  foo@bar   | 2
  ---------+------------+---------
  foo      |  foo@baz   | 2

  the same query as the one above can return the wrong row, containing "foo@bar"

- changed function name: 'html-utils:strip-footnote-reference' → 'html-utils:strip-footnote-reference-word'.
2024-11-09 13:25:01 +01:00
cage
bb57160811 - [fediverse] fixed RE to match a mention. 2024-11-05 20:35:34 +01:00
cage
ce688f59b8 - [fediverse] improved html rendering. 2024-11-03 13:49:52 +01:00
cage
bee6b0470e - removed debug code. 2024-11-02 15:51:46 +01:00
cage
7d88519b7d - removed automatic prefix of folder name. 2024-11-02 15:41:36 +01:00
cage
e323c81a1c - [fediverse] stripped footnote reference in body of the quoted text, when replying. 2024-11-02 15:40:14 +01:00
cage
39e567bd4e - updated (and fixed a typo) in manpage. 2024-11-01 11:19:04 +01:00
cage
96cc3b62c4 - [GUI] made inlining images idempotent;
- improved default theme's visuals;

- refactored 'split-words'.
2024-11-01 10:52:12 +01:00
cage
0a484ea39c - [TUI] moved coloring rules to default theme file;
- [TUI] added rule to colorize hashtags.
2024-10-30 19:03:22 +01:00
cage
a8acc05e90 - used wrapper function to parse date strings. 2024-10-30 18:54:45 +01:00
cage
7dd0d88c15 - [fediverse] improved visuals of footnotes;
- [TUI] fixed RE for highligting time clock.
2024-10-30 17:34:33 +01:00
cage
7ea80477ed - prevented to process an empty fediverse query string;
- improved command line help-
2024-10-30 15:46:00 +01:00
cage
c1057694d6 - added command line switch to perform a search on the fediverse;
- updated italian translation.
2024-10-30 15:39:00 +01:00
cage
5949a2d9dc - updated 'configure'. 2024-10-28 18:53:32 +01:00
cage
bf65599366 - [GUI] prevented crash when the software is unable to iniline an image for some reason;
- added compilation directive '--with-dynamic-memory-size'.

Thanks absc!
2024-10-27 14:08:06 +01:00
cage
95698f0322 - [GUI] refresh stream frame after downloading a gemini stream in background. 2024-10-26 14:02:16 +02:00
cage
e073f8e749 - fixed checking if a reblogged posts contains a poll;
- added shell completions for folders and timelines.
2024-10-24 17:35:42 +02:00
cage
7bac005198 - allowed voting to a reblogged poll;
- fixed saving poll in db.
2024-10-23 15:58:49 +02:00
cage
c446565574 - ensured the poll from a reblogged post is saved on the database. 2024-10-23 15:22:28 +02:00
cage
2eed0f6659 - [fediverse] ensured, when opening a post that boosted a poll, that the reblogged poll's text is rendered. 2024-10-22 20:54:05 +02:00
cage
efed27fc64 - close (if exists) the gopher window before opening a post. 2024-10-13 19:55:05 +02:00
cage
efed58ac04 - moved macro up in the cource to prevent a warning. 2024-10-13 19:53:41 +02:00
cage
f8f05a49ab - fixed gopher URL parser. 2024-10-13 14:58:07 +02:00
cage
ce9aa8e47a - added commands to close the gopher window. 2024-10-13 13:06:32 +02:00
cage
d3fed5aff6 - made optional character '#' when specifying a starting folder from command line (option '-f'). 2024-10-13 12:24:10 +02:00
cage
ee6136a884 - [TUI] ensured the link window is clear before rendering links. 2024-10-11 18:21:40 +02:00
cage
87e8492ab6 - fixed regression: gopher parser missed a bunch of rules. 2024-10-11 11:13:47 +02:00
cage
81d33c676e - fixed keychord in manpage. 2024-09-29 21:23:08 +02:00
cage
4ef0b45f9c - updated manpage. 2024-09-29 21:21:01 +02:00
cage
35c66d4679 - added checks for sdl2 libs and headers. 2024-09-29 19:37:09 +02:00
cage
712aa55755 - added checking for SDL2 libraries. v0.9.9.141421356237 2024-09-29 17:12:52 +02:00
cage
9eb3e8cc50 - updated debian chengelog. 2024-09-29 16:49:46 +02:00
cage
853ccde2fe - changed version number;
- updated NEWS.org.
2024-09-29 16:33:05 +02:00
cage
7ce0595622 - updated changelog. 2024-09-29 15:28:42 +02:00
cage
8230416499 - fixed 'loop-fetch'. 2024-09-29 14:57:44 +02:00
cage
ac757ce4a6 - [GUI] added a button that acts as a shortcut to open the TOC of the last opened gempub. 2024-09-29 14:57:35 +02:00
cage
8ffd321218 - updated changelog. 2024-09-28 20:20:38 +02:00
cage
b08cfb7ca0 - [GUI] rewritten 'loop-fetch' in iterative style to prevent a stack overflow when the server is too slow providing response's data. 2024-09-28 16:18:12 +02:00
cage
9e3a93885f - simulated a server that send data slowly (but not slow enough to trigger a timeout). 2024-09-28 15:39:43 +02:00
cage
3f0cdae6d6 - fixed keychord for 'clear-cache' command. 2024-09-28 13:10:45 +02:00
cage
5559b99514 - [script] passed command line arguments to gemget;
- update documentation.
2024-09-28 11:15:12 +02:00
cage
94dd5df350 Merge branch 'master' into development 2024-09-27 22:00:35 +02:00
cage
d51c48bbb5 - added 'rc1' to version numeber. 2024-09-27 21:59:44 +02:00
cage
f45c41b38c - added purging of unused mentions from database;
- fixed function to clean configuration directives relate dto purging entries from database (history, mentions etc.).
2024-09-27 19:59:44 +02:00
cage
331c3ac847 - added purging of unused mentions from database;
- fixed function to clean configuration directives relate dto purging entries from database (history, mentions etc.).
2024-09-27 19:57:01 +02:00
cage
4b2a614605 - added 'rc1' to version numeber. 2024-09-27 14:58:37 +02:00
cage
acc2da4da3 - updated reference lines number in PO files. 2024-09-27 14:56:53 +02:00
cage
104e4cd2c4 - updated NEWS.org. 2024-09-27 14:54:56 +02:00
cage
647aefcee6 - update version number building scrips and changelog. 2024-09-27 14:49:21 +02:00
cage
69b10a1b5d - [fediverse] ensured the posts do not contains non printable characters. 2024-09-27 14:37:24 +02:00