Commit graph

1119 commits

Author SHA1 Message Date
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
Zed
a76ca3d60f Remove Redis pipelining 2022-01-20 02:22:32 +01:00
Zed
575cb590d7 Revert "changed jester version for samesite cookie fix"
This reverts commit 2224605d5f.
2022-01-18 19:01:48 +01:00
Zed
c771f8027a
Merge pull request #519 from LainLayer/jester_fix
changed jester version for samesite cookie fix
2022-01-18 18:52:32 +01:00
Mitarashi
2224605d5f changed jester version for samesite cookie fix 2022-01-18 19:44:49 +02:00
Zed
b01810e261 Improve profile page elements, reduce jank
Fixes #167
2022-01-17 05:59:16 +01:00
Zed
43b0bdc08a Remove user agents 2022-01-17 04:13:27 +01:00
Zed
e0b141daf9 Small optimization for photo rail request size 2022-01-17 03:21:38 +01:00
Zed
f3d6f53f6d Rework profile cache behavior, fix suspended cache
Fixes #480
2022-01-16 20:32:45 +01:00