Commit graph

17 commits

Author SHA1 Message Date
39c654da00 [various] Remove App dependency from hook functions 2023-01-13 21:16:09 -05:00
139e4384b1
Update nitter.php
[Now really] Reduced font size of notice
2022-12-13 15:47:30 +00:00
f9661af3f7
Update nitter.php
Replaced verbose sentence with succinct notice  and reduced its font size.
2022-12-13 15:43:29 +00:00
6d3602f9c6
Update nitter.php
Changed  protocol of example URL to secure to avoid confusion as all Nitter servers operate in secure mode only.
2022-12-13 15:41:53 +00:00
06b15a6ed0
Changes:
- added missing type-hints
- avoided local variables
- added some documentation
- changed double-quotes to single
2022-06-30 13:33:22 +02:00
04df7f6e05
Changes:
- added more type-hints
- cleaned up some files (curly braces, spaces)
2022-06-23 07:17:00 +02:00
25b267c6da Replaced deprecated functionalities 2021-11-07 14:01:30 +00:00
8c5125c3f1 [nitter] update README, bump version number
As the changed hook is a breaking change, the version of the addon is raised to 2.0.
2021-10-01 17:08:38 +02:00
1ec669ce9a [nitter] use other hook for the addon
This enables the addon to also replace links in the attached preview with the
Nitter server. **BUT** it requires the addon to be reloaded manually by the
nodes admin.
2021-10-01 17:04:33 +02:00
5199a88708 [nitter] add note about privacy protection to the replacement message 2021-10-01 15:53:09 +02:00
ce91f967de typo in variable name 2021-09-09 14:23:43 +02:00
b97d856379 nitter: typo in variable name 2021-09-09 14:20:58 +02:00
a843e96c1f use rtrim 2021-08-19 06:57:46 +02:00
81fce72efe nitter: the nitter instance base url should not contain the trailing / 2021-08-18 19:11:23 +02:00
b78c8a30f6 nitter: replace mobile link to twitter as well 2021-08-18 19:04:51 +02:00
c2d502d244 some CS 2021-05-21 14:06:47 +02:00
87a3a0589a nitter addon added
Treansfering the addon from the separate repository into the projects addon collection.

This addon is meant to replace links to Twitter in the body of postings with a nitter [1] instance of the admins choice. It is not meant to change links to contact prociles.

In addition to the change, a note about the changed links is placed at the bottom of the posting.

1: https://github.com/zedeus/nitter
2021-05-21 10:11:11 +02:00