Skip to content

0.3 (Oct 2023)

Latest
Compare
Choose a tag to compare
@mackuba mackuba released this 03 Nov 16:00
· 1 commit to master since this release
  • updated skyfall to 0.2.3 - fixes encoding of CIDs and binary strings into JSON
  • switched firehose to the BGS server at bsky.network
  • text and $type fields are stripped from the JSON in data column to save space
  • posts with date in the past (e.g. imported from Twitter) are ignored
  • FeedPosts are deleted when the post they reference is deleted
  • added some helpers (Post.find_by_at_uri and #at_uri, Utils.handle_from_did and .did_from_handle)
  • added info in comments about how to do feed authentication
  • added another sample feed, "Build in Public"
  • added app/server.rb file for extending the server component (with examples)
    • by default, the root URL returns a simple web page with a welcome message and a list of available feeds
  • feed rebuilding:
    • much faster rebuilding in larger datasets
    • asks for confirmation before rebuilding a feed
    • rebuild with ONLY_EXISTING prints deleted posts
    • added UNSAFE option to rebuild without using a transaction
    • added DRY_RUN option to rebuild a feed in memory without saving
  • other Rake tasks:
    • added delete_feed_item task to remove a post from a feed
    • added cleanup_posts task to delete old posts
    • added test_feed task to test loading a feed via HTTP
    • Rake tasks from Rakefile have been split into .rake files in lib/tasks
  • firehose.rb and server.rb scripts have been moved to bin/firehose and bin/server
  • switched development server from Webrick to Thin
  • various fixes and improvements in Rake tasks, deploy script, sample feeds and logging