Commit graph

64 commits

Author SHA1 Message Date
297fc79db0 twitterchiver/related_fetcher: mark tweets as media-fetched if they have no media 2020-10-18 21:12:37 +01:00
be71055ea1 twitterchiver/viewer: restrict viewing to on_timeline tweets
We want to only display tweets in the search view that was in timeline, but
we do store entries in user_accounts_tweets for ACL purposes for replies/quote tweets.
2020-10-18 21:07:55 +01:00
50895e2aa3 twitterchiver/related_fetcher: fix marking tweets as done if they had no related content 2020-10-18 21:02:17 +01:00
cc8f24e8e1 twitterchiver: add relatedfetcher, to fetch referenced media and tweets 2020-10-18 20:44:50 +01:00
4466be3776 twitterchiver/viewer: set retweeted icon to grey 2020-10-18 01:08:47 +00:00
0d8ff4ba40 twitterchiver/viewer: add titles to pages 2020-10-18 01:08:12 +00:00
c5a53d9334 twitterchiver: init viewer 2020-10-18 01:02:46 +01:00
04c3a8431b go/openshiftauth: init
This is a small "library" for wrapping binaries with magic OAuth authentication based on the automatically-injected k8s service account tokens and OpenShift's OAuth service.

There's an example of this deployed at https://example-lukegb-openshiftauth-test.apps.k8s.lukegb.tech/.

The main pieces of setup that need to happen is:

* Set "serviceAccount" in pod definition
* Add Route for pod
* Edit serviceaccount and add metadata.annotations, e.g.:
    serviceaccounts.openshift.io/oauth-redirectreference.first: >-
      {"kind":"OAuthRedirectReference","apiVersion":"v1","reference":{"kind":"Route","name":"example"}}
2020-10-04 14:38:56 +01:00
9bd61285a7 third_party/gopkgs: import some more packages 2020-10-04 14:36:31 +01:00
b71cc68f24 go: move go.mod to go folder 2020-10-04 11:33:08 +01:00
014d1c881a twitterchiver/archiver: store mapping of tweet ID to user ID that saw it 2020-10-04 03:42:02 +01:00
c384c31248 twitterchiver: move archiver to subattribute 2020-10-04 01:25:36 +01:00
dd3c58548d go/twitterchiver: init 2020-10-04 01:07:59 +01:00
00c94273fd go/twitterchiver: init 2020-10-04 00:17:35 +01:00