<commit_before>class Admin::UsersController < Admin::AdminController
	
	before_filter :find_user, :only => [:edit, :update, :show, :destroy, :delete_image]

	def list
		redirect_to :action => "index"
	end
	
	def index
		respond_to do |format|
			format.html do 
				@users = User.find(:all, :order => 'realname', :conditions => {:is_activated => true})
			end
			format.xml do
				@users = User.find(:all, :order => 'realname')
				render :xml => @users.to_xml
			end
		end
	end
	
	def deactivated
		@users = User.find_deactivated
	end

	def welcome
		if User.count < 1<commit_msg>hide manual employees from userlist<commit_after>class Admin::UsersController < Admin::AdminController
	
	before_filter :find_user, :only => [:edit, :update, :show, :destroy, :delete_image]

	def list
		redirect_to :action => "index"
	end
	
	def index
		respond_to do |format|
			format.html do 
				@users = User.find(:all, :order => 'realname', :conditions => {:is_activated => true}).reject{|user| user.email.match(/@manualdesign\.no/)}
			end
			format.xml do
				#@users = User.find(:all, :order => 'realname')
				render :xml => @users.to_xml
			end
		end
	end
	
	def deactivated
		@users = User.find_deactivated
	end

	def welcome
		if User.count < 1
{'fraction_non_alphanumeric': 0.13489499192245558, 'fraction_numerical': 0.0016155088852988692, 'mean_word_length': 3.7837837837837838, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '6027091', 'n_tokens_mistral': 485, 'n_tokens_neox': 411, 'n_words': 112}