Commit graph

59 commits

Author SHA1 Message Date
Zed
1ac389e7c7
GraphQL timeline (#812)
* Update deps

* Replace profile timeline with GraphQL endpoint

* Update GraphQL endpoint versions

* Use GraphQL for profile media tab

* Fix UserByRestId request

* Improve routing, fixes #814

* Fix token pool JSON

* Deduplicate GraphQL timeline endpoints

* Update list endpoints

* Use GraphQL for list tweets

* Remove debug leftover

* Replace old pinned tweet endpoint with GraphQL

* Validate tweet ID

* Minor token handling fix

* Hide US-only commerce cards

* Update config example

* Remove http pool and gzip from token pool

* Support tombstoned tweets in threads

* Retry GraphQL timeout errors

* Remove unnecessary 401 retry

* Remove broken timeout retry

* Update karax, use new bool attribute feature

* Update card test

* Fix odd edgecase with broken retweets

* Replace search endpoints, switch Bearer token

* Only parse user search if it's a list

* Fix quoted tweet crash

* Fix empty search query handling

* Fix invalid user search errors again
2023-04-21 14:41:30 +02:00
Zed
23f4c6114c
Switch to BuildJet runners (#817)
* Update deps

* Use BuildJet runners to speed up arm64
2023-03-28 16:03:15 +02:00
Zed
88c6135030 Bump dependencies 2023-01-09 00:14:21 +01:00
Andrew Sun
d549a77ebe
Fix arm64 build (#756) 2022-12-31 20:46:02 +01:00
Zed
9ef0f649fd Bump dependencies 2022-11-27 01:02:49 +01:00
ringabout
1cf8e67567
bump karax version (#694)
Co-authored-by: xflywind <43030857+xflywind@users.noreply.github.com>
2022-09-15 14:47:02 +02:00
ringabout
8edfda39ec
bump packedjson dependency to include a fix for ARC/ORC (#691)
Hello. `shallowCopy` has been removed for ARC/ORC since it does a deep copy for strings/seqs, which breaks the semantics of `shallowCopy`. https://github.com/Araq/packedjson/pull/13 is a fix for `packedjson` to support ARC/ORC. The PR bumps `packedjson` dependency to include [a fix](9e6fbb63cb) for ARC/ORC.
2022-08-30 09:18:46 +02:00
zedeus
5cceca4e93 Bump zippy dependency 2022-06-09 09:25:45 +02:00
Zed
d407051b66 Downgrade zippy library to fix checksum error 2022-06-05 22:40:10 +02:00
Zed
93f605f4fe Update deps 2022-06-04 01:11:35 +02:00
Mitarashi
6e4620070e Bumped karax version 2022-02-10 13:13:02 +02:00
Zed
eedf6d07b8 Remove depsOnly check since Nimble supports it 2022-01-30 17:28:31 +01:00
Zed
eadf722284 Add compile-time define to skip building binary 2022-01-27 14:41:40 +01:00
somini
ae7d2eafb8
Fix special tasks
I get errors like this:

```
nitter-git/tools/gencss.nim(1, 8) Error: cannot open file: sass
stack trace: (most recent call last)
/tmp/nimblecache-798796522/nimscriptapi_3049515398.nim(187, 16)
nitter-git/nitter.nimble(31, 8) scssTask
/usr/lib/nim/system/nimscript.nim(260, 7) exec
/usr/lib/nim/system/nimscript.nim(260, 7) Error: unhandled exception: FAILED: nim c -r tools/gencss [OSError]
       Tip: 2 messages have been suppressed, use --verbose to show them.
     Error: Exception raised during nimble script execution
```
2022-01-21 23:01:38 +00:00
Zed
d77d5911b0 Bump Redis pool tag 2022-01-20 11:54:36 +01:00
Zed
637168ecc6 Bump Redis pool commit 2022-01-20 02:30:05 +01:00
Zed
575cb590d7 Revert "changed jester version for samesite cookie fix"
This reverts commit 2224605d5f.
2022-01-18 19:01:48 +01:00
Mitarashi
2224605d5f changed jester version for samesite cookie fix 2022-01-18 19:44:49 +02:00
Zed
62f8d48c5a Bump jsony version to fix unified card unicode 2022-01-14 19:50:26 +01:00
Zed
111927a21c Add experimental support for unified_card
Closes #345
2022-01-13 12:17:18 +01:00
Zed
6c6386913e Remove nim-regex dependency, improve performance 2022-01-11 03:22:31 +01:00
Zed
8c2e0c66e2 Render markdown files with a tool 2022-01-09 23:35:56 +01:00
Zed
3f201ba846 Improve preferences page 2021-12-27 18:18:40 +01:00
Zed
a7e0f817c9 Replace Frosty with Flatty for de/serialization 2021-12-26 23:01:19 +01:00
Zed
3da6c50cb8 Use gzip for API calls to lower bandwidth and RAM 2021-12-26 06:49:27 +01:00
Zed
5720bbb8f9 Update dependencies 2021-12-26 03:06:52 +01:00
Zed
f02515fda2 Set minimum Nim version to 1.4.8 2021-12-20 02:08:29 +01:00
Vítor
cf47c1b8ad
Handle withheld tweets (#429)
* Handle withheld tweets

* Fix format of parser.nim
2021-08-21 17:13:38 +02:00
Vítor
fd384ff33e
Add support for redis authentication (#420)
* Add support for redis authentication (Update redpool dependency)
 - Add configuration option `redisPassword`

* Reference `redisPassword` in nitter.conf
2021-08-07 00:53:16 +02:00
Zed
c327f4cc06 Downgrade Frosty again to prevent OOM
It works, let's not fuck with it any more than necessary.
2021-01-02 19:27:11 +01:00
Zed
8590d51c49 Update frosty 2020-11-16 01:28:56 +01:00
Zed
680cc429d6 Update frosty, add migration 2020-11-15 20:18:13 +01:00
Zed
320cb47bce Switch to supersnappy, update frosty 2020-11-15 01:21:56 +01:00
Zed
bd97cea709 Update dependencies 2020-11-07 21:46:03 +01:00
Zed
77994e8246 Specify redpool commit 2020-06-09 23:41:13 +02:00
Zed
86811dca71 Specify commit for redis library 2020-06-09 21:02:39 +02:00
Zed
558fc7a8a0 Update deps 2020-06-07 09:00:04 +02:00
Zed
908da72ba9 Use frosty instead of msgpack, compress everything 2020-06-07 08:50:40 +02:00
Zed
181ef3bca7 Use snappy for rss compression, refactor 2020-06-06 09:27:25 +02:00
Zed
fb591e43b8 Switch to packedjson to try lowering memory usage 2020-06-02 18:05:54 +02:00
Zed
d8270cafe7 Fix nimble file 2020-06-02 18:05:54 +02:00
Zed
4bb92a5201 New dependencies 2020-06-02 18:05:54 +02:00
Zed
c736a98614 Update dependencies 2020-06-02 18:05:54 +02:00
Zed
9608876783 Switch back to upstream Jester 2020-03-09 00:13:22 +01:00
Zed
a77c0f6a84 Change jester branch 2020-01-29 03:07:11 +01:00
Zed
eef8d4a082 Fix leaks caused by race conditions
Fixes #106
2020-01-22 17:11:41 +01:00
Zed
a419f6c996 Update karax, cleanup input code 2019-11-12 10:57:28 +01:00
Zed
a3ca693dbe Require latest norm version 2019-10-23 12:47:01 +02:00
Zed
59e392e3b4 Update httpbeast dependency 2019-10-21 05:52:01 +02:00
Zed
2955b8982e Use httpbeast fork to fix crashes 2019-10-07 15:39:18 +02:00