<commit_before>#
# Provide a RSS feed of Project WorkLog activities.
# Author:: <NAME> (mailto:<EMAIL>)
#
class FeedsController < ApplicationController

  require_dependency 'rss/maker'
  require_dependency 'icalendar'

  include Icalendar

  session :off

  skip_before_filter :authenticate

  def unsubscribe
    return if params[:id].nil? || params[:id].empty?

    user = User.find(:first, :conditions => ["uuid = ?", params[:id]])

    if user.nil?
      render :nothing => true, :layout => false
      return
    end<commit_msg>Allow feeds to auth via hash again<commit_after>#
# Provide a RSS feed of Project WorkLog activities.
# Author:: <NAME> (mailto:<EMAIL>)
#
class FeedsController < ApplicationController

  require_dependency 'rss/maker'
  require_dependency 'icalendar'

  include Icalendar

  session :off

  skip_before_filter :authorize

  def unsubscribe
    return if params[:id].nil? || params[:id].empty?

    user = User.find(:first, :conditions => ["uuid = ?", params[:id]])

    if user.nil?
      render :nothing => true, :layout => false
      return
    end
{'fraction_non_alphanumeric': 0.11970534069981584, 'fraction_numerical': 0.0, 'mean_word_length': 3.874439461883408, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '109726', 'n_tokens_mistral': 341, 'n_tokens_neox': 318, 'n_words': 95}