Commit graph

1153 commits

Author SHA1 Message Date
Gabriel Simmer ab48e58851
Add readOnly mode
readOnly mode prevents Nitter from reaching out to Twitter when
something isn't found in the cache, allowing one to safely expose a
Nitter depoyment to the internet without getting accounts
flagged. This relies on a second, private Nitter instance to do the
actual loading/caching of data, which should *not* be exposed to the
wider internet. As long as both instances use the same Redis instance,
everything will just work.
2024-03-26 09:24:00 +00:00
PrivacyDev cb0d360516 Disabling token expiration 2024-02-21 22:05:50 -05:00
PrivacyDev 7d846ed759 Merge remote-tracking branch 'upstream/guest_accounts' 2023-12-07 11:53:06 -05:00
Zed a9740fec8b Fix compilation with old Nim again 2023-11-25 10:11:57 +00:00
Zed f8254c2f0f Add support for business and gov verification
Also improve icon rendering on Firefox
2023-11-25 10:07:28 +00:00
Zed d6be08d093 Fix jobDetails error on old Nim versions 2023-11-25 05:53:13 +00:00
Zed 4dac9f0798 Add simple job_details card support 2023-11-25 05:31:15 +00:00
Zed 06ab1ea2e7 Enable disabled tests 2023-11-15 11:11:56 +00:00
Zed c2819dab44 Fix #1106
Closes #831
2023-11-15 11:11:53 +00:00
Zed eaedd2aee7 Fix ARM64 Dockerfile versions 2023-11-08 16:38:43 +00:00
Zed 5e188647fc Bump Nim in the ARM64 Dockerfile, add nitter user 2023-11-08 14:53:35 +00:00
Zed e0d9dd0f9c Fix #670 2023-11-08 14:27:22 +00:00
Zed d17583286a Don't requests made before reset 2023-11-01 05:44:59 +00:00
Zed 209f453b79 Purge expired accounts after parsing 2023-11-01 05:09:44 +00:00
Zed e1838e0933 Move CI workflow to buildjet 2023-11-01 05:09:35 +00:00
Zed 623424f516 Fix outdated test 2023-11-01 04:52:44 +00:00
Zed 7b3fcdc622 Fix guest accounts CI setup attempt 4 2023-11-01 04:19:10 +00:00
Zed 1d20bd01cb Remove redundant "active" field from /.health 2023-11-01 04:16:33 +00:00
Zed 58e73a14c5 Fix guest accounts CI setup attempt 3 2023-11-01 04:13:22 +00:00
Zed b0b335106d Fix missing CI file argument 2023-11-01 04:06:42 +00:00
Zed 006b91c903 Prevent annoying warnings on devel 2023-11-01 04:04:45 +00:00
Zed 33bad37128 Fix guest accounts CI setup attempt 2 2023-11-01 01:25:00 +00:00
Zed b930a3d5bf Fix guest accounts CI setup 2023-10-31 23:54:11 +00:00
Zed bd0be724f0 Merge branch 'master' into guest_accounts 2023-10-31 23:47:02 +00:00
Zed 60a82563da Run tests on multiple Nim versions 2023-10-31 23:46:24 +00:00
Zed b8103cf501 Fix compilation on Nim 1.6.x 2023-10-31 23:02:45 +00:00
Émilien (perso) b62d73dbd3
nim version min require + update dockerfile arm (#1053) 2023-10-31 22:33:08 +00:00
Zed 4120558649 Replace /.tokens with /.health and /.accounts 2023-10-31 12:04:32 +00:00
Zed 089275826c Bump minimum Nim version 2023-10-31 11:33:24 +00:00
Zed edad09f4c9 Update nimcrypto and jsony 2023-10-31 08:31:51 +00:00
Zed 32e3469e3a Fix multi-user timelines 2023-10-31 05:53:55 +00:00
LS 735b30c2da
fix(nitter): add graphql user search (#1047)
* fix(nitter): add graphql user search

* fix(nitter): rm gitignore 2nd guest_accounts

* fix(nitter): keep query from user search in result. remove personal mods

* fix(nitter): removce useless line gitignore
2023-10-30 12:13:06 +00:00
Zed 537af7fd5e Improve Liberapay css for Firefox compatibility 2023-09-19 01:29:41 +00:00
Zed 7d14789910 Improve guest accounts loading, add JSONL support 2023-09-18 18:26:01 +00:00
Zed 7abcb489f4 Increase photo rail cache ttl 2023-09-18 17:15:09 +00:00
PrivacyDev e4e7fe5f00 Merge remote-tracking branch 'upstream/guest_accounts' 2023-09-15 17:03:51 -04:00
Zed 14f9a092d8
Fix crash on missing quote tweet data crash 2023-09-14 23:35:41 +00:00
Zed fcd74e8048 Retry rate limited requests with different account 2023-09-02 08:15:58 +02:00
Zed 4250245263 Shorten media proxy error log 2023-09-02 07:28:56 +02:00
PrivacyDev b313bb0e72 Merge remote-tracking branch 'upstream/guest_accounts' 2023-09-01 17:44:44 -04:00
Zed b8fe212e94 Add media proxying error logging 2023-09-01 21:39:02 +02:00
Zed 84dcf49079 Fix negative pending requests bug 2023-08-31 05:07:12 +02:00
Zed 82beb5da8c Add empty oauth token logging 2023-08-31 01:31:27 +02:00
Zed 282ce8b0e9 Add 429 logging 2023-08-31 01:29:54 +02:00
Zed 37b58a5a7e Fix accounts logging 2023-08-30 03:43:49 +02:00
Zed 898b19b92f Improve rate limit handling, minor refactor 2023-08-30 03:10:21 +02:00
Zed 986b91ac73 Handle ProtocolError and BadClientError equally 2023-08-29 23:58:03 +02:00
Zed 4ccf350dc7 Improve .tokens output 2023-08-29 23:45:18 +02:00
Zed 7630f57f17 Fix cards not being displayed 2023-08-26 05:16:38 +02:00
Zed 03794a8d4a Cleanup 2023-08-25 16:32:39 +02:00