Commit Graph

987 Commits

Author SHA1 Message Date
Zed 1df4be4a29 Remove build badge and WIP, clarify API usage 2021-01-08 00:52:42 +01:00
Zed ed7ecf7c8d Preload profile/tweet images, banners, and icons 2021-01-08 00:50:10 +01:00
Zed 768642a2cc Improve link preview headers 2021-01-07 23:58:29 +01:00
Zed 4e1d213488 Show error page when rate limited 2021-01-07 22:31:29 +01:00
Zed 2128b280b4 Minor cleanup 2021-01-07 22:04:19 +01:00
Zed 384b0a2033 Fix profile caching logic to ignore empty profiles 2021-01-07 22:04:01 +01:00
Zed cd4840363c Split IDs into buckets to reduce Redis mem usage 2021-01-03 03:51:15 +01:00
Zed b3b0654507 Use preloads and defer to speed up page loads 2021-01-03 01:39:23 +01:00
Zed 18988a6a55 Slightly lower Nitter navbar font size 2021-01-03 01:39:23 +01:00
Zed 93ec4b1e39 Fix max gif height 2021-01-02 20:11:02 +01:00
Zed ced729c6d5 Limit height of card images 2021-01-02 19:27:49 +01: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
Peter Dave Hello 58c2e21ecb
Update README.md (#284)
Improve systemd service file example readability with syntax highlight.
2020-11-17 12:38:51 +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 7ad6f581c2 Simpler gif fix 2020-11-15 18:11:22 +01:00
Zed 8912985beb Update css version query 2020-11-15 18:04:52 +01:00
Zed 0d4048a62e Fix inline gif regression 2020-11-15 18:03:51 +01:00
Zed 97a582e837 Add ssh to docker to fix package installation 2020-11-15 03:58:08 +01:00
Zed 320cb47bce Switch to supersnappy, update frosty 2020-11-15 01:21:56 +01:00
Zed 3b5b4b7682 Improve tweet url and hashtag parsing 2020-11-15 01:03:04 +01:00
Zed 50218bcc4d Revert "Improve tweet url and hashtag parsing"
This reverts commit d67ed26817.
2020-11-14 23:37:07 +01:00
SolitudeSF d67ed26817 Improve tweet url and hashtag parsing
Dry

Fixes
2020-11-14 23:28:22 +01:00
Zed 9d8609059a Actually fix test 2020-11-10 23:51:20 +01:00
Zed a30df08b2b Fix test 2020-11-10 19:28:36 +01:00
SolitudeSF cad75845db Fix compilation error with nim 1.4.0 2020-11-10 15:55:41 +01:00
SolitudeSF f5d0ddf9b8 Change docker image 2020-11-10 15:54:08 +01:00
SolitudeSF 48aa8d8e48 Replace spaces in list name 2020-11-10 15:54:08 +01:00
Zed 1d0f95b79d Fix card video preview 2020-11-09 21:24:34 +01:00
Zed af634231b9 Support card previews 2020-11-09 21:20:33 +01:00
bopol ed91133b21 Change order of quoted replies 2020-11-08 13:32:18 +01:00
Peter Dave Hello e105426f0f Remove deprecated `sudo` config in .travis.yml
It's deprecated for a while, reference:
- https://blog.travis-ci.com/2018-10-04-combining-linux-infrastructures
2020-11-08 13:30:44 +01:00
Zed f3ebb87e23
Merge pull request #273 from PeterDaveHello/ImproveDockerfileCacheLeverage
Refactor Dockerfile, separate and move `apk add` upper
2020-11-08 13:30:31 +01:00
Peter Dave Hello b75336ce78 Use JSON notation for CMD's arguments in Dockerfile
Reference - Best practices for writing Dockerfiles:

- https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#cmd

> CMD should almost always be used in the form of CMD ["executable","param1", "param2"…]
2020-11-08 13:30:18 +01:00
Peter Dave Hello 373fabbc94 Refactor Dockerfile, separate and move `apk add` upper
This will allow Docker to cache the pacakges apk added, which saves the
bandwidth and time to build this Docker image.
2020-11-08 18:29:02 +08:00
Zed 104dc95bd7 Fix quote video size 2020-11-08 04:30:38 +01:00
Zed 6f78781d1c Update tests 2020-11-08 04:28:02 +01:00
Peter Dave Hello e2e3b955f4 [Dockerfile] Replace manual `apk update` w/ `--no-cache` 2020-11-08 03:27:56 +01:00
Zed 0558ade6b9 Use Nim 1.2.8 for Docker 2020-11-08 03:27:25 +01:00
Zed 0ef85031a7 Add version query to css to force updates 2020-11-08 03:15:51 +01:00
Zed 4610ec6122 Increase user search avatar resolution 2020-11-08 03:09:40 +01:00
Zed 0f72b64ce2 Increase tweet avatar resolution 2020-11-08 02:56:06 +01:00
Zed b389723bf5 Reduce main tweet font size on mobile 2020-11-08 02:50:03 +01:00
Zed b6a49fc4cb Support quoted replies stat, update font 2020-11-08 02:21:58 +01:00
Zed 82fe5d8b78 Make bidirectional support a preference
Fixes #270
2020-11-08 00:41:12 +01:00
Zed 13bdd6497b Support bidirectional quote text 2020-11-08 00:06:37 +01:00
Zed d358912790 Sanitize XML to remove invalid characters
Fixes #268
2020-11-07 23:53:49 +01:00
Zed 375cb1a243 Fix removal of logging on release 2020-11-07 23:16:47 +01:00
Zed 9f5042dbd3 Add missing entry type to entryId parser 2020-11-07 23:10:29 +01:00
Zed 3107ab0ab8 Fix content-length crash 2020-11-07 23:02:27 +01:00