Commit Graph

594 Commits

Author SHA1 Message Date
Zed 147f16a262 Fix wrong mimetypes for images 2019-10-21 07:22:24 +02:00
Zed cfcd471ffc Use sendFile, refactor mimetypes 2019-10-21 05:55:18 +02:00
Zed 315b09050b Strip links from RSS titles 2019-10-21 05:31:12 +02:00
Zed de62eedea5 Refactor hostname to be a runtime option
Add a `hostname` field under Server in your conf file, see the
updated nitter.conf in the repo for an example. The compile-time
option (-d:hostname) is no longer used.
2019-10-21 05:19:00 +02:00
Zed 3218cc4069 Fix nil card url crash 2019-10-19 21:46:16 +02:00
Zed d5061bde05 Fix nil tweet time crash 2019-10-19 07:14:29 +02:00
Zed e73963f9e9 Fix parseText crash on nil node 2019-10-18 01:00:35 +02:00
Zed ff359a3fc8 Support bidirectional text
Fixes #76
2019-10-18 00:54:22 +02:00
Zed d52769009b Add /i/redirect support
Fixes #77
2019-10-18 00:45:54 +02:00
Zed 8ddb913912 Match "hashflag" elements when parsing tweets 2019-10-18 00:19:31 +02:00
Zed a5c0fc3d72 Add button to go back to top
Fixes #72
2019-10-15 23:12:46 +02:00
Zed 2a2255d75a Unshortify links when stripping html 2019-10-11 19:20:40 +02:00
Zed 73cfc6979f Display profile bio in preview 2019-10-11 18:43:56 +02:00
Zed 1faf976d7c Use int for tweet ids for correct thread sorting 2019-10-10 18:22:14 +02:00
Zed 4407651ed6 Minor cleanup, fix empty lines before card links 2019-10-10 17:47:02 +02:00
Zed a3303d6bef Prepend "https://" to relative rss links 2019-10-10 12:16:50 +02:00
Zed fe15003665 Remove html from tweet preview 2019-10-10 11:35:48 +02:00
Zed e7c5085365 Skip "message_me" cards 2019-10-09 16:30:38 +02:00
Zed 7b766b793b Rewrite text parsing to ensure correctness 2019-10-09 16:06:51 +02:00
Zed 83a651e732 Link profile location to search query if available
Fixes #60
2019-10-08 23:25:59 +02:00
Zed d8c8b6696a Linkify profile card website properly 2019-10-08 23:12:22 +02:00
Zed 9e890df482 Show heart instead of thumbs up for tweet likes 2019-10-08 20:56:54 +02:00
Zed edf5ead14f Make main tweet non-clickable
Fixes #67
2019-10-08 20:54:16 +02:00
Zed 6cf8b392df Reorder profile stats
Fixes #69
2019-10-08 20:51:25 +02:00
Zed 4a64bca24c Redirect /settings/personalization
Fixes #70
2019-10-08 20:49:31 +02:00
Zed e6f1e55c15 Refactor Thread -> Chain to nimsuggest errors 2019-10-08 20:47:45 +02:00
Zed 5ae2e57da8 Fix edgecase conversation replies nil crash 2019-10-08 20:35:50 +02:00
Zed 369dc994b8 Fix edgecase with nonexistent tweet not withheld 2019-10-08 15:17:37 +02:00
Zed 211b086f4d Use "max_position" instead of "after" for compat 2019-10-08 15:15:47 +02:00
Zed 381a8a106c Show Twitter link on search pages 2019-10-08 15:07:10 +02:00
Zed e090dde1ea Use "tweets" instead of "custom" for search query 2019-10-08 13:54:20 +02:00
Zed 1c9c6a2947 Improve search endpoint compatibility
Fixes #63
2019-10-08 13:45:47 +02:00
Zed aa4f3f69bb Make published dates selectable
Fixes #64
2019-10-08 13:41:37 +02:00
Zed 043f47b11a Show published date under main tweets
Fixes #59
2019-10-08 13:29:08 +02:00
Zed dfce77ee98 Autofocus user search input
Fixes #58
2019-10-08 13:19:49 +02:00
Zed a9f4961547 Fix hashtag linkifying 2019-10-08 13:16:48 +02:00
Zed f801d7f79c Filter "referer" param from path to avoid nesting 2019-10-08 13:13:53 +02:00
Zed 560623b402 Fix navbar referer path
Fixes #57
2019-10-08 13:08:02 +02:00
Zed 0b7a7c741e Add "Open in Twitter" icon to navbar
Fixes #10
2019-10-07 18:09:56 +02:00
Zed 5013197b17 Change /replies to /with_replies for compatibility 2019-10-07 17:46:16 +02:00
Zed a583ad6854 Display commit hash on about page
Fixes #37
2019-10-07 17:18:33 +02:00
Zed ebb89edef6 Use custom 404 page, halt on 404 instead of resp 2019-10-07 16:47:53 +02:00
Zed 8fcdfa744a Fix crash when generating RSS for invalid user 2019-10-07 15:52:44 +02:00
Zed c412b3d791 Use POST for guest token
Fixes #56
2019-10-06 16:08:39 +02:00
Zed bb83b6b6d3 More API refactoring 2019-10-02 22:28:53 +02:00
Zed bafe5fb550 Refactor header code 2019-10-02 22:00:08 +02:00
Zed 1871cebf1f Redirect /video alias 2019-10-01 03:28:55 +02:00
Zed 8cae23dc7e Use "q" instead of "text" for search compatibility
Fixes #49
2019-09-30 22:24:01 +02:00
Zed 53a7113905 Add /statuses/ endpoint alias
Fixes #53
2019-09-30 22:07:41 +02:00
Zed 09f6b9a7db Merge PR #52 2019-09-30 22:05:19 +02:00
Zed 61991a9b56 Support RSS feeds for custom searches
Fixes #45
2019-09-28 03:22:46 +02:00
Zed 6d61c203cf Improve hashtag regex
Fixes #47
2019-09-27 00:53:47 +02:00
Zed c158ce8517 Fix hashtag regex 2019-09-24 23:33:19 +02:00
Zed b2e6153dba Fix typo 2019-09-24 16:34:50 +02:00
Zed 7e713e8fa5 Fix "more replies" link for unavailable tweets 2019-09-24 16:01:09 +02:00
Zed 7915616e2e Make "more replies" link to the tweet 2019-09-24 15:50:52 +02:00
Zed 9038645bc1 Add support for loading more tweet replies 2019-09-24 15:39:04 +02:00
Zed b025ed7eaa Add favicon 2019-09-24 02:43:25 +02:00
Zed a4399c753a Rename retweet css class to prevent uBlock hiding 2019-09-24 00:59:13 +02:00
Zed 7cb1986a8f Fix list pagination 2019-09-24 00:52:38 +02:00
Zed 43a2bd529c Improve endpoint parity with twitter 2019-09-23 16:12:20 +02:00
Zed 372ce7867c Add "not supported" page at /about/feature
Fixes #42
2019-09-23 02:03:18 +02:00
Zed f28d05fc44 Use markdown for about page 2019-09-23 01:42:00 +02:00
Zed 7570149fb6 Rename RSS icon to avoid uBlock hiding it 2019-09-23 01:03:12 +02:00
Zed ac9fa2ce1d Simplify query parameters 2019-09-21 01:11:03 +02:00
Zed 9e3138e51b Add list support 2019-09-21 01:08:30 +02:00
Zed d1fbcef64d Simplify queries 2019-09-20 22:56:27 +02:00
Zed cd16ad8086 Fix tab width on mobile 2019-09-20 15:48:14 +02:00
Zed 2effa08c32 Optimize empty search queries 2019-09-20 15:03:26 +02:00
Zed 7639883c6a Cleanup 2019-09-20 15:03:18 +02:00
Zed fd20fcf3ee Support /photo/1 endpoint
Fixes #43
2019-09-20 14:10:10 +02:00
Zed 16f50621b5 Fix multi-user timeline search parameters 2019-09-20 04:13:11 +02:00
Zed 83a32a67a5 Don't expand panel on profiles 2019-09-20 04:04:12 +02:00
Zed 5e7f136f82 Rename search tab 2019-09-20 03:36:05 +02:00
Zed df3001ae95 Support rss for custom search 2019-09-20 03:35:27 +02:00
Zed a8c0842228 Make user search results clickable 2019-09-20 02:49:54 +02:00
Zed 28a1544cc0 Minor search fixes 2019-09-20 02:20:09 +02:00
Zed 02e7b1dcab Fix invalid path bug 2019-09-20 01:52:08 +02:00
Zed 3ea926550b Fix username linkification bug 2019-09-20 01:46:20 +02:00
Zed 7a7c4d68e4 Hide tweets if they were retweeted on same page 2019-09-20 01:17:25 +02:00
Zed 1a356bc51d Expand search panel if any options active 2019-09-19 23:48:46 +02:00
Zed 62df60be78 Add location field to search panel 2019-09-19 23:36:21 +02:00
Zed 8324508b2c Add time range to search panel 2019-09-19 22:11:38 +02:00
Zed 70f89a9502 Fix search bar css for firefox 2019-09-19 21:35:57 +02:00
Zed af23cf0a7f Load prefs from cookie on search page 2019-09-19 06:15:21 +02:00
Zed 7d655c3dd5 Improve dynamic resizing of search and photo rail 2019-09-19 06:00:16 +02:00
Zed 9917a69dc5 Linkify hashtags
Fixes #34
2019-09-19 05:22:45 +02:00
Zed 70c42dd05a Add search button and fix unset timeline beginning 2019-09-19 04:57:42 +02:00
Zed 19659de410 Fix missing "Show thread" links 2019-09-19 04:13:11 +02:00
Zed 10bcf99205 Make tweets clickable
Fixes #6
2019-09-19 04:12:40 +02:00
Zed e663b04761 Improve single image html 2019-09-19 03:02:56 +02:00
Zed 418168e570 Fix tests 2019-09-19 02:29:24 +02:00
Zed bd774cf0ca Make queries non-optional 2019-09-19 02:23:22 +02:00
Zed 53c6247d8b Fix wrong search links 2019-09-19 01:11:35 +02:00
Zed 7d7eb085ca Redesign and fix search, add custom timeline tab 2019-09-19 01:01:47 +02:00
Zed c1a136c6db Fix empty result not containing query 2019-09-18 20:54:14 +02:00
Zed 4971491dfe Options cleanup 2019-09-18 20:54:07 +02:00
Zed 4c748b61a5 Search progress 2019-09-17 21:17:36 +02:00
Zed f707826241 Limit search length 2019-09-17 21:17:36 +02:00
Zed 5510330f70 Fix crash for invalid timeline queries 2019-09-17 21:17:36 +02:00
Zed 30bab22dae Add user search 2019-09-17 21:17:36 +02:00
Zed eeae28da0c Refactor tweet/timeline views 2019-09-17 21:17:36 +02:00
Zed a687188dd1 sass cleanup 2019-09-17 21:17:36 +02:00
Zed 0c1b8b0190 Add text field to search queries 2019-09-17 21:17:36 +02:00
Zed 12695b393e Fix pro/amp video parsing 2019-09-17 21:17:03 +02:00
Zed 2677782286 Improve web preview 2019-09-15 14:03:47 +02:00
Zed 6237460f77 Fix want-my-rss detection 2019-09-15 12:57:44 +02:00
Zed 36484c73fd Support RSS feeds for /media and /replies 2019-09-15 12:10:43 +02:00
Zed 6c479ff7ec Add RSS button to navbar 2019-09-15 11:29:23 +02:00
Zed 8912c53f23 Improve RSS validity 2019-09-15 11:29:07 +02:00
Zed a87e278a68 Add timeline RSS support 2019-09-15 09:57:45 +02:00
Zed 4ae5d4fda3 Improve youtube/twitter regex 2019-09-14 08:56:46 +02:00
Zed 9c91688497 Restrict image/gif media host instead of hashing 2019-09-13 12:27:04 +02:00
Zed e76e068953 Preserve preference list order 2019-09-13 11:08:07 +02:00
Zed de828bdd79 Use sass instead of pure css 2019-09-13 10:44:21 +02:00
Zed 08239a3fae Fix status page crash 2019-09-09 06:38:25 +02:00
Zed 2e58b7e197 Add about page
Fixes #31
2019-09-09 04:41:20 +02:00
Zed 9ff3ba2005 Show reasons for tweets being withheld
Fixes #33
2019-09-08 14:34:54 +02:00
Zed 8208676e6e Generate preference type 2019-09-08 13:01:20 +02:00
Zed f1d566fff6 Don't cache empty default prefs 2019-09-08 12:49:41 +02:00
Zed d7e0fa6059 Simplify db code 2019-09-08 12:22:52 +02:00
Zed c7a2387aeb Fix banner triggering download with Firefox 2019-09-08 01:43:54 +02:00
Zed cc58ad95ac Add proper mobile support
Fixes #30
2019-09-08 00:55:12 +02:00
Zed 6b963d6e77
Merge pull request #35 from stom79/master
Add Viewport Meta in header
2019-09-07 22:42:22 +02:00
Thomas 577fac5ea7 Add Viewport Meta in header 2019-09-07 18:55:15 +02:00
Thomas 200dc4b4d1 Add Viewport Meta in header 2019-09-07 18:52:27 +02:00
Zed 43bf6735d4 Refactor api code 2019-09-06 03:37:12 +02:00
Zed 014f01bf88 Refactor routing code 2019-09-06 02:42:35 +02:00
Zed 7bdf5b0f76 Referer cleanup 2019-09-05 22:53:23 +02:00
Zed 1e55f21fa5 Use referer form data instead of relying on header 2019-09-05 22:40:36 +02:00
Zed f7c1c28368 Initial search refactoring 2019-08-23 02:15:25 +02:00
Zed c7339d2126 Render "more replies" for the main thread 2019-08-23 01:20:00 +02:00
Zed 9dad8b41de Enable video proxying by default 2019-08-23 00:11:47 +02:00
Zed ac6f4e7d61 Add button to enable hls playback when disabled 2019-08-23 00:00:10 +02:00
Zed 1c43dd66a7 Support /i/web/status endpoint 2019-08-22 23:16:09 +02:00
Zed 1e73a2f8bf Fix crash caused by "withheld" tweets 2019-08-20 22:44:11 +02:00
Zed 728a335f2c Show overlay for unavailable videos 2019-08-19 22:03:00 +02:00
Zed 8b31f58998 Improve play button 2019-08-19 21:27:28 +02:00
Zed 59469da857 Show video plays in tweet stats 2019-08-19 21:18:18 +02:00
Zed 8a45afdd46 Support vmap/amplify video card 2019-08-19 20:53:57 +02:00
Zed ce6dace1d7 Add video proxy support 2019-08-19 20:53:47 +02:00
Zed f5fef0ff3a Initial hls video playback support 2019-08-19 20:25:00 +02:00
Zed 3f7ccb5525 Go back to previous page when saving settings 2019-08-19 04:37:28 +02:00
Zed ed327bac24 Add video playback preferences 2019-08-19 03:28:53 +02:00
Zed c2413ccfdd Set cookie security using useHttps config option 2019-08-19 03:03:03 +02:00
Zed 520bafc617 Undo broken type gen, verify type at compile time 2019-08-18 01:26:38 +02:00
Zed 16f77223ff Generate Prefs type 2019-08-17 21:49:41 +02:00
Zed d05f4fd3ee Improve prefs page css 2019-08-17 18:06:18 +02:00
Zed 1464131707 Clean up 2019-08-15 23:17:13 +02:00
Zed 6a7a65e16b Update norm 2019-08-15 22:44:59 +02:00
Zed 13b75a6954 Style preferences page 2019-08-15 22:44:11 +02:00
Zed 6c365b8fba Include 'www.' in twitter/youtube link replacement 2019-08-15 19:27:51 +02:00
Zed 9fc512d88d Add button to reset preferences 2019-08-15 19:13:54 +02:00
Zed fdd71946da Fix empty link replacement 2019-08-15 18:45:56 +02:00
Zed f27bc63d9d Add compile-time variable for default hostname 2019-08-15 18:41:35 +02:00
Zed 11887b793a Improve cookie security 2019-08-15 18:41:15 +02:00
Zed 7dfbc16f4c Add Invidious/Nitter link replacement preferences 2019-08-15 15:51:20 +02:00
Zed 93da24be85 Workaround karax issue 61 2019-08-15 14:52:34 +02:00
Zed 8879612594 Simplify pref macros 2019-08-15 14:38:14 +02:00
Zed 768ec3632f Use custom icon font for a cleaner design 2019-08-15 04:00:40 +02:00
Zed 45d88da3d9 Add more preferences 2019-08-13 21:25:29 +02:00
Zed 7eb66d65aa Fix "show thread" link position on media posts 2019-08-13 21:21:54 +02:00
Zed c834d418e2 Fix wrong getVideo arguments 2019-08-13 21:06:01 +02:00
Zed 0b52f4963c Fix video endpoint not closing client 2019-08-13 21:06:01 +02:00
Zed 966b3d5d62 Add client preferences 2019-08-13 21:06:01 +02:00
Zed c42b2893ff Autofocus search
Fixes #25
2019-08-13 20:21:35 +02:00
Zed 1a3ba05bc0 New navigation bar 2019-08-12 22:57:43 +02:00
Zed 64f9af28e0 Remove test url from metadata 2019-08-12 22:56:27 +02:00
Zed 67467aa70d Add quote tests 2019-08-12 17:02:07 +02:00
Zed b718bbe15c Fix profile website links 2019-08-12 03:32:27 +02:00
Zed 88c1cd50a7 Show ? if profile stat unavailable 2019-08-11 23:30:33 +02:00
Zed 60986ecc88 Display media count above photo rail 2019-08-11 23:24:02 +02:00
Zed 7171486f03 Revamp profile api to display more metadata 2019-08-11 21:30:31 +02:00
Zed 3f1d9777b6 Support general video search 2019-08-11 21:26:44 +02:00
Zed 0359c72fda Remove unused imports 2019-08-11 21:26:37 +02:00
Zed b1afa2168a Fix multi-user timeline buttons 2019-08-08 19:19:27 +02:00
Zed 0da26ab197 Support gif link previews 2019-08-07 22:27:37 +02:00
Zed ec5f67123a Implement link previews 2019-08-07 22:02:19 +02:00
Zed afdbb6ad9e Actually close files after uploading 2019-08-07 20:58:17 +02:00
Zed 6a058a8c5c Add missing imports 2019-08-06 21:16:31 +02:00
Zed bfcb74c6cc Cache videos 2019-08-06 19:02:38 +02:00
Zed eeead99e32 Add multi-user timeline support 2019-08-06 17:41:06 +02:00
Zed 4660d23667 Fix wrong tweet header text 2019-08-06 15:57:47 +02:00
Zed 9487d11fcb Clean up media api code 2019-07-31 09:30:02 +02:00
Zed 6b6e5b3a40 Use random user agents 2019-07-31 08:42:52 +02:00
Zed d0ee8e8403 Add missing config file 2019-07-31 04:23:16 +02:00
Zed 9d9bd10e15 Change "tweets" to "posts" to avoid ublock hiding 2019-07-31 03:59:38 +02:00
Zed 4f7e0ffc22 Fix timeline title 2019-07-31 03:19:30 +02:00
Zed 6a9d182249 Add server config file 2019-07-31 02:15:43 +02:00
Zed 27cf4cdf64 Support promo_video_website cards 2019-07-16 03:45:38 +02:00
Zed 9d1682012d Render cards 2019-07-15 13:41:27 +02:00
Zed 0da076ddcf Fix card link parsing edge cases 2019-07-15 13:40:59 +02:00
Zed 829cac9cbd Force showing sensitive card thumbnails 2019-07-15 03:44:46 +02:00
Zed d3a7ca834b Implement card fetching and parsing 2019-07-11 19:22:23 +02:00
Zed 1f90e2ab3e Add missing import to search.nim 2019-07-11 00:49:09 +02:00
Zed ab36664ad2
Use Karax html rendering instead of source filters (#2)
* Use Karax html rendering instead of source filters
2019-07-11 00:42:31 +02:00
Zed fad2575d93 Fix sensitive media being rendered as unavailable 2019-07-10 23:38:52 +02:00
Zed 069ff60fdc Fix missing timeline query for empty timelines 2019-07-08 23:43:02 +02:00
Zed 344d3cd57f Reorder timeline tweets according to their threads 2019-07-04 14:55:28 +02:00
Zed 83931e7044 Include retweets in "Tweets & Replies" 2019-07-04 11:55:19 +02:00
Zed b708c78c42 Display unavailable quotes 2019-07-04 04:38:23 +02:00
Zed 8773fd901b Improve profile stat layout on low resolutions 2019-07-04 04:27:30 +02:00
Zed 141bfdc508 Add photo rail support 2019-07-04 04:27:06 +02:00
Zed f235677024 Fix quote's "show thread" also shown in parent 2019-07-03 12:27:18 +02:00
Zed 779b97db4d Fix "more reply" pluralization 2019-07-03 12:20:35 +02:00
Zed 15826a1e1e Workaround for .@usernames 2019-07-03 12:20:23 +02:00
Zed 13a9f6cd1f Add timeline filters
Custom filter menu is still WIP
2019-07-03 11:58:35 +02:00
Zed a7249080db Fix username regex 2019-07-03 11:47:24 +02:00
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