Commit Graph

186 Commits

Author SHA1 Message Date
Zed 4c37e93314 Fix replying-to username links 2019-07-03 10:28:50 +02:00
Zed 45afa5509a Fix parsing old gifs 2019-07-03 10:00:27 +02:00
Zed 92e3df411f Improve memory usage by making Thread a ref object 2019-07-03 07:19:08 +02:00
Zed 640bb2fadf Fix slow video loading due to not passing token 2019-07-03 07:15:52 +02:00
Zed 69f5a555cb Fix quote reply edgecase 2019-07-02 01:38:14 +02:00
Zed f378eedcc8 Hide "Replying to" in threads when appropriate 2019-07-02 01:10:15 +02:00
Zed a67d27e0c4 Support "Replying to" and "Show thread" 2019-07-02 00:52:50 +02:00
Zed 97166feec9 Fix getLink typo 2019-07-01 23:55:19 +02:00
Zed 7ef10b88f4 Workaround for Twitter bug
For some reason, reply threads with only "unavailable" tweets get the tag
`ThreadedConversation--selfThread`, which is only meant to be used for replies
that are actually part of the thread you're viewing. To fix this we simply only
check "self" for the first reply.
2019-07-01 23:50:08 +02:00
Zed 3cedcf29ea Refactor tweet stats 2019-07-01 23:48:25 +02:00
Zed c60280415e Minor retweet refactor 2019-07-01 23:22:00 +02:00
Zed 9b07199901 Generate tweet links 2019-07-01 23:14:36 +02:00
Zed 04dbd07959 Fix retweet deduplication 2019-07-01 22:45:28 +02:00
Zed 1bae69e5b0 Fix image/gif properly 2019-07-01 03:56:09 +02:00
Zed a901e50df5 Display "more replies" 2019-07-01 03:13:12 +02:00
Zed 160c28eda3 Improve firefox support for images 2019-07-01 03:12:28 +02:00
Zed 02f63f97d6 Fix gif size regression 2019-06-29 14:33:21 +02:00
Zed 1a0ccbb3f7 Add support for polls 2019-06-29 14:12:20 +02:00
Zed ff01ab61d1 Add support for mp4 videos 2019-06-29 07:45:36 +02:00
Zed b31338dcc7 Improve thread/timeline parsing 2019-06-29 06:31:02 +02:00
Zed ee1d6f7cf0 Fix inconsistent display of timeline warnings 2019-06-29 00:41:09 +02:00
Zed 7107c79334 Remove nested bio 2019-06-28 04:42:23 +02:00
Zed 77879a1450 Fix url regex 2019-06-27 22:30:00 +02:00
Zed 9dc4b240e7 Fix tweet tags being shown as unavailable tweets 2019-06-27 22:29:39 +02:00
Zed e2039ec81c Refactor nil checks, remove getAttr 2019-06-27 21:07:29 +02:00
Zed a43950dcf5 Include username in status requests 2019-06-27 20:13:46 +02:00
Zed a801b01142 Make tweet profile pics clickable 2019-06-26 21:55:04 +02:00
Zed 547cd635bf Display unavailable tweets 2019-06-26 21:06:53 +02:00
Zed d052ff538c Fix tweet stat parsing 2019-06-26 20:06:20 +02:00
Zed 7d2fa15676 Improve tweet selectors 2019-06-26 19:59:28 +02:00
Zed 02fcd7b880 Switch from nimquery to q 2019-06-26 18:51:21 +02:00
Zed b51f1cbbd4 Fix username regex, add media endpoint 2019-06-25 19:19:01 +02:00
Zed 12cf772616 Make image upload resilient to crashes 2019-06-25 15:09:43 +02:00
Zed 2f51de90d0 Limit video token usage to prevent crashes 2019-06-25 15:09:13 +02:00
Zed a3285e8410 Fix crash on protected profiles 2019-06-25 13:24:47 +02:00
Zed 8000a814df Fix crash on invalid id and non-existent profiles 2019-06-25 13:24:22 +02:00
Zed 684489ee21 Thread lines cleanup 2019-06-25 13:24:18 +02:00
Zed 0155607ed3 Display lines between threads 2019-06-25 12:58:04 +02:00
Zed 13dc5efcf6 Add support for "vmap" videos 2019-06-25 07:39:08 +02:00
Zed ac8d0e2052 Improve timeline support, "no more tweets" message 2019-06-25 07:36:36 +02:00
Zed c4d648e952 Always emojify 2019-06-25 06:02:57 +02:00
Zed b31cc7bc25 Fix link regex edgecases 2019-06-25 05:32:25 +02:00
Zed aae0e51154 Ensure correct text formatting 2019-06-25 04:52:38 +02:00
Zed 0fee70eeba Cleaner image code 2019-06-25 03:48:57 +02:00
Zed 94b2187453 Display sensitive quotes properly 2019-06-25 02:58:33 +02:00
Zed a098d3ea84 Add simple emoji support 2019-06-25 02:38:18 +02:00
Zed 4bf38f71f3 Increase cache times 2019-06-25 01:00:23 +02:00
Zed 06a54a5c32 Fix crash when profile doesn't exist 2019-06-25 00:55:41 +02:00
Zed d6b8b386fa Show badges on quoted gifs 2019-06-25 00:39:32 +02:00
Zed 6c5f491ee0 Rename templates 2019-06-24 23:25:21 +02:00
Zed 2ee79e7970 Strip nbsp from account names 2019-06-24 22:55:37 +02:00
Zed d864cf95bc Fix size of clickable area in quotes 2019-06-24 22:55:16 +02:00
Zed 38565e2e1f Add dynamic page title 2019-06-24 22:40:58 +02:00
Zed b0b23800e1 Properly display names, usernames and badges 2019-06-24 20:45:03 +02:00
Zed 6f932b53b0 Improve quote video badge 2019-06-24 18:19:43 +02:00
Zed e920e98d10 Only strip quote links 2019-06-24 09:39:45 +02:00
Zed e07a8d04b4 Fix link linkifying 2019-06-24 09:39:28 +02:00
Zed d5214e2f77 Fix inaccurate verified check 2019-06-24 09:30:34 +02:00
Zed e81865e144 Display "No tweets found" when appropriate 2019-06-24 08:44:37 +02:00
Zed 1927858f95 Fix gif padding 2019-06-24 08:24:43 +02:00
Zed af9a5d4872 Render tweet quotes 2019-06-24 08:07:36 +02:00
Zed 1213220ef0 Cache video token 2019-06-24 05:50:43 +02:00
Zed 861ac7a593 Better video/gif support 2019-06-24 05:14:14 +02:00
Zed 8f7c61eab6 Fix loading more tweets when last one is a retweet 2019-06-24 04:41:23 +02:00
Zed 2c2d2c767e description -> bio 2019-06-24 02:09:32 +02:00
Zed 2e303719f2 Fix image cache skipping files with queries 2019-06-24 01:59:52 +02:00
Zed baa936894d Display single images properly 2019-06-24 01:59:32 +02:00
Zed de9e452a7c Add parser utils to parserutils.nim 2019-06-24 01:59:04 +02:00
Zed c559ab1f1a Simplify image gallery logic 2019-06-23 22:11:00 +02:00
Zed 096471b50d Update todo list 2019-06-23 14:34:19 +02:00
Zed dd8a7dcdff Use `?name=orig` for original quality images 2019-06-23 02:52:07 +02:00
Zed d070e76e1a Add simple file cache (no auto deletion yet) 2019-06-23 02:52:00 +02:00
Zed 64259ef1ea Improve image gallery css 2019-06-23 02:37:25 +02:00
Zed 51214c1975 Strip extra spaces after links 2019-06-21 04:36:12 +02:00
Zed 2a5e0a3f54 Minor html size optimization 2019-06-21 04:35:59 +02:00
Zed cd4e873a45 Escape tweet text 2019-06-21 04:35:48 +02:00
Zed 6f0452621e Cleanup api code 2019-06-21 03:51:14 +02:00
Zed 3bd54f5df2 Small cleanup 2019-06-21 02:30:57 +02:00
Zed 89b6cfdf98 Compare string length instead of empty string 2019-06-21 02:16:10 +02:00
Zed abe21e3ebf Add fallback for sensitive profiles 2019-06-21 02:15:46 +02:00
Zed 7667371f5f Fix gif parsing 2019-06-20 22:46:15 +02:00
Zed 6103db6893 Cache profiles 2019-06-20 20:04:18 +02:00
Zed 63d7528b8f Change site name 2019-06-20 17:58:31 +02:00
Zed 22e98edf4e Improve verified badges 2019-06-20 17:57:31 +02:00
Zed a9826151e9 Preliminary video support 2019-06-20 17:20:32 +02:00
Zed cea5cc0523 Initial commit 2019-06-20 16:16:20 +02:00