You are using an out of date browser. It  may not display this or other websites correctly.
You should upgrade or use an 
alternative browser.
 
			
				
					
		
			
				
					
				
			
			
				
					
						
							[AP] Daily Goals
						
						
							2.6.1
						
					
					
						
							
								No permission to download
							
						
					
				 
				
					
				
			 
		 
	
				 
				
			
				
				
				
				
				
					
					
	
	
	
	
		
	
	
	
	
	
	
		
		
		
			
		
		
	
	
	
		
		
			
	
	
		
		
			
				
					
						
						
						
						
							
								
- Fix non-post goal counters having hard coded colors / not respecting style properties
 
- Create "article" goal type for AMS
 
- Display "No previous goals counted" message in the Streak history table if addon has just been installed
 
- Run counting jobs post-install
 
 
							
							
						 
						
						
						
						
					 
				 
			 
		 
	 
		
			
	
	
		
		
			
				
					
						
						
						
						
							
								This update fixes a potential security vulnerability - all users of this addon are advised to upgrade
- Various function & template cleanups
 
- "Streak" icon in widget header doesnt align to the right on certain themes
 
- Fix potential SQL vulnerability involving the "Streak graph range" option (versions affected: v1.6.5 - v2.1.1)
 
- Add "noindex" to streaks page
 
 
							
							
						 
						
						
						
						
					 
				 
			 
		 
	 
		
			
	
	
		
		
			
				
					
						
						
						
						
							
								
- Fix Undefined variable: $longestMemberStreak [f5bda51b2d]
 
- Simplify Streaks page template HTML [ab38a7863c]
 
- Simplify goal widget template HTML [ab38a7863c]
 
- Various other cleanups (simpler condition checking, strict comparisons, (return) type declarations)
 
- Create style property for graph background [ab38a7863c]
 
- Stop hardcoding $streakType phrases [b438eab42b]
 
 
							
							
						 
						
						
						
						
					 
				 
			 
		 
	 
		
			
	
	
		
		
			
				
					
						
						
						
						
							
								
- Create 
isDelayed() to help account for if the job was triggered past midnight (goal should no longer submit as 0 when posts were made) 
- Add "nofollow" attribute to "View streaks" link
 
- Use entity manager to insert to history entity
 
- Only count registrations that activated their account
 
- Unset simpleCache values when uninstalling
 
- Fix Graph range limiting the results outputted in the table (it should only affect the graph)
 
- Replace 
<i> tags on Streaks page with <xf:fa /> tags 
 
							
							
						 
						
						
						
							
						
						
					 
				 
			 
		 
	 
		
			
	
	
		
			
	
	
		
		
			
				
					
						
						
						
						
							
								
- Remove some redundant style property explanations
 
- Create "Progress percent color" style property
 
- Create unique class names in 
ap_dg_progress_bars.less - this should fix style properties appearing different for guests & logged in users. 
 
							
							
						 
						
						
						
						
					 
				 
			 
		 
	 
		
			
	
	
		
		
			
				
					
						
						
						
						
							
								
- Automatically enable widgets during setup [e6d3fc3c17]
 
- Percentage values >= 1000 break the bar background (thanks @Oblivion Knight!) [23fb1cd85f]
 
- Implement "Minimum goal count" admin options - if auto-adjustment is enabled, your goals will not drop below this amount. [0039965ecc, 90d3bcf398]
 
- Remove some redundant explanations from the admin options
 
 
							
							
						 
						
						
						
							
						
						
					 
				 
			 
		 
	 
		
			
	
	
		
		
			
				
					
						
						
						
						
							
								
- Limit finder results by timeframe values [8b4d5a247d]
 
- Fix auto-adjustment not respecting timeframe settings when reducing the goals [31f859930e]
 
- Remove useless 
$repo declaration [cf38e88ef4] 
 
							
							
						 
						
						
						
							
						
						
					 
				 
			 
		 
	 
		
			
	
	
		
		
			
				
					
						
						
						
						
							
								
- Change "Jan 1 1970" default date to something else
 
- "Total streaks" count should respect Timeframe settings [e7b9a0d]
 
- Longest streak widgets still showing wrong dates [88f78fb]
 
- Fix widget CSS only applying if the widgets are set to appear on the Streaks history page
 
- Stop declaring \XF::app() twice in countPostsFromToday() [83e69ea]
 
- Rewrite comment counter to use Finder instead of the DB adapter [69185a5]
 
- Rewrite countPostsFromToday() to use the Finder instead of the DB adapter [c4042fc]
 
- Rewrite countThreadsFromToday() && countMembersFromToday() to use the Finder instead of the DB adapter [4a162d7]
 
- Reverse direction of Streaks list (most recent date is first) [8a99201]
 
 
							
							
						 
						
						
						
							
						
						
					 
				 
			 
		 
	 
		
			
	
	
		
		
			
				
					
						
						
						
						
							
								
- Create widget "Total streaks"- Create widget "Longest member registration streak"
 
- Create widget "Longest thread streak"
 
- Create widget "Longest post streak"
 
- Create widget position "Daily goal streaks: Sidebar"
 
- Create permission group "[AP] Daily Goals" and move all permissions there
 
- Create permission "View streaks"
 
- Add "View streaks" link to widget foote
 
- Midnight reset job has been extended to increase/decrease each goal by X weight if goal streaks are less/greater than X timeframe
 
- Midnight reset job has been extended to submit each days results to 
History entity 
- Create style property "Streak graph member color"
 
- Create style property "Streak graph thread color"
 
- Create style property "Streak graph post color"
 
- Create style property "Streak graph grid color"
 
- Create style property "Negative goal count color"
 
- Create style property "Positive goal count color"
 
- Create option "Auto-adjust weight for members"
 
- Create option "Auto-adjust timeframe for members"
 
- Create option "Auto-adjust weight for threads"
 
- Create option "Auto-adjust timeframe for threads"
 
- Create option "Auto-adjust weight for posts"
 
- Create option "Auto-adjust timeframe for posts"
 
- Create option "Max results to show on streak page"
 
- Create 
History entity 
- Rename option IDs for consistency