Commit Graph

977 Commits

Author SHA1 Message Date
jackyzy823 67c937a3a2 ignore banner url startwith hash in link preload 2022-02-14 14:47:01 +01:00
jackyzy823 7ca3591920 fix non-ascii hashtag regex 2022-02-14 09:20:32 +01:00
Zed 6695784050 Fix user search parser 2022-02-11 22:41:45 +01:00
Zed a7f585feaa
Merge pull request #548 from niladic/fix-rss-source-tag
Fix RSS <source> tag
2022-02-11 10:05:48 +01:00
niladic 3e2756df6f
Fix RSS <source> tag 2022-02-11 08:50:32 +01:00
Zed b01b5eb397
Merge pull request #547 from LainLayer/master
Bumped karax version
2022-02-10 12:14:33 +01:00
Mitarashi 6e4620070e Bumped karax version 2022-02-10 13:13:02 +02:00
decoy-walrus 644fe41a08 Use the correct format string for fetching files from twitter.
Per their docs https://developer.twitter.com/en/docs/twitter-api/v1/data-dictionary/object-model/entities#photo_format
2022-02-08 14:50:56 -05:00
decoy-walrus 4cdb8f78cb Add new endpoint for original resolution images
This change is to work around the issue that chromium based browsers have handling the "name=orig" parameter appended to URLs. This parameter is needed to retrieve the full resolution image from twitter, but causes those browsers to fill in "jpg_name=orig" as the extension on the filename.

This change adds a new endpoint, "/pic/orig/<encoded media>". This new endpoint will internally fetch the URL with ":orig" appended on the end for the full res image. Externally, the endpoint will serve the image without the extra parameter to expose the real extension to the browser.

This new endpoint is used when rendering tweets with attached images. The old endpoint is still in place for all other proxied images, and for any legacy links.

I also updated the "?name=small" parameter to ":small" since that seems to be the new pattern for image sizing.

This should fix issue #458.
2022-02-07 16:21:20 -05:00
Zed adfd31c530 Fix timeline parser 2022-02-07 21:58:06 +01:00
Zed 8b2fa986b5
Merge pull request #538 from LainLayer/master
Embed CSS tweak
2022-02-05 21:22:08 +01:00
Mitarashi e01f3960cb Embed CSS tweak 2022-02-05 19:43:13 +02:00
Zed 266e0a0082 Merge branch 'gardenrobot/optimize-docker-build' 2022-01-30 17:30:18 +01:00
Zed eedf6d07b8 Remove depsOnly check since Nimble supports it 2022-01-30 17:28:31 +01:00
Zed b1a90cd52b Disable input autocomplete
Fixes #433
2022-01-30 17:19:00 +01:00
Zed 8ecac89ea0 Fix hidePinned preference 2022-01-30 16:59:07 +01:00
Zed f10519c41a Minor RSS behavior improvements 2022-01-27 14:55:51 +01:00
Zed eadf722284 Add compile-time define to skip building binary 2022-01-27 14:41:40 +01:00
Zed 091bb6813d Move RSS compression to Redis module, fix crash 2022-01-27 14:36:12 +01:00
Sam Erika Clotfelter bd1630c2ee remove unneeded -y 2022-01-27 00:01:51 -05:00
Sam Erika Clotfelter c95fc32e0e use docker cache 2022-01-26 23:50:29 -05:00
Zed 3a076a9b4e Add experimental parser module 2022-01-26 21:05:23 +01:00
Zed 4738ec3385 Add experimental user search parser 2022-01-26 20:56:05 +01:00
Zed 49a2fbb070 Support profile image color parsing in wip parser 2022-01-26 18:36:12 +01:00
Zed a54d6aa1eb Add experimental GraphQL list members parser 2022-01-26 18:04:01 +01:00
Zed ae7091e69d Add experimental GraphQL user parser 2022-01-26 18:04:01 +01:00
Zed 535f6936b9
Merge pull request #529 from LainLayer/master
Fix bio encoding issue
2022-01-24 21:43:13 +01:00
Mitarashi d56628ed2f removed spaces 2022-01-24 21:55:14 +02:00
Mitarashi e4f634705b Fix #521 2022-01-24 21:53:59 +02:00
Zed c9b451d3ea Set listMembers max remaining to 500 2022-01-24 12:29:03 +01:00
Zed d683a3365a Update readme 2022-01-24 03:58:45 +01:00
Zed 9ec9f130d1
Merge pull request #527 from TheFrenchGhosty/better-compose
Enhance the compose file
2022-01-24 03:57:28 +01:00
TheFrenchGhosty cb0de9856e Make the configuration file read only 2022-01-23 20:13:46 +01:00
TheFrenchGhosty 43af565882 Actually name the volume correctly 2022-01-23 20:08:11 +01:00
TheFrenchGhosty 4761163c7a Edit the example to reflect the changes 2022-01-23 16:24:40 +01:00
TheFrenchGhosty 327025c838 Enhance the compose file 2022-01-23 16:21:59 +01:00
Zed 4ffe7d7665 Fix compilation with Nim 1.4.8 2022-01-23 14:47:13 +01:00
Zed 182b5ba90b Support quotes in pinned tweets 2022-01-23 10:15:54 +01:00
Zed d1a3e7ab58 Fix empty pinned tweets when status wasn't found 2022-01-23 09:12:13 +01:00
Zed f58824cb35 Add URL to request errors 2022-01-23 08:38:38 +01:00
Zed c355beda85 Cleanup profile fetching logic 2022-01-23 08:17:41 +01:00
Zed 27183f1a74 Use faster API to get pinned tweets 2022-01-23 07:45:01 +01:00
Zed 51ae076ea0 Rearchitect profile, support pins, Profile -> User 2022-01-23 07:23:09 +01:00
Zed 79b98a8081 Simplify bad http client pruning 2022-01-23 07:23:09 +01:00
Zed dcfdd225a2
Merge pull request #523 from somini/patch-1
Fix special tasks
2022-01-22 00:03:57 +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 cdb4efadfe Temporary fix to Twitter's global timeline error 2022-01-21 09:17:18 +01:00
Zed d77d5911b0 Bump Redis pool tag 2022-01-20 11:54:36 +01:00
Zed 29a53de691 Update test to reflect layout change 2022-01-20 06:03:08 +01:00
Zed 637168ecc6 Bump Redis pool commit 2022-01-20 02:30:05 +01:00