[AP] Daily Goals

  • Thread starter Thread starter apathy's icon apathy apathy
  • Start date Start date
  • 26
  • 2,703
apathy updated [AP] Daily Goal with a new update entry:

1.0.1

This is a hotfix to quickly address some issues that were discovered yesterday. The only known funkiness now is that the counter could decrease by -1 any time a post is deleted, including a post from say 10 years ago.

With this in mind, I feel the best approach for the future will actually be to run a cron entry every 30 minutes or so that queries what posts have dates for that day, and to readjust the counter accordingly. But, I still wanted to get this addon at least decently usable, thus...

Read the rest of this update entry...
 
apathy updated [AP] Daily Goal with a new update entry:

1.1

This update no longer hooks into the posting process to add +1 to the goal counter, and instead adds a cron job that runs every 10 minutes to count how many posts have been made today based on their timestamps. Therefore, it should fix all known issues, and even include posts made before the addon was installed.

It also adds a permission for viewing the counter.

Read the rest of this update entry...
 
apathy updated [AP] Daily Goal with a new update entry:

1.3

Thanks to @Andro for helping test.

  • Rename addon "[AP] Daily Goal" -> "[AP] Daily Goals"
  • Fix missing widget definition description phrase
  • Change widget title "Daily Goal" -> "Daily goals"
  • Add branding
  • Add Progress Bar BG style property
  • Replace Progress Bar color option with style property for theme-specific colors
  • Optimize Thread counting query
  • Fix Red/green counter color comparing against Post goals for Threads & Member Registrations
  • Fix Thread cron script...

Read the rest of this update entry...
 
apathy updated [AP] Daily Goals with a new update entry:

1.5.0

  • Remove branding
  • Position percent text directly in center of progress bars, regardless of bar width
  • Add GPLv3 license
  • Use predictive statements in Cron job
  • Support [UW] Forum Comments System
    • Add option to include comments in the post goal
    • Increase post goal count if 1) a comment was made 2) option isnt disabled 3) node id is not excluded
  • Rename ap_progress_bars.less -> ap_dailygoal_progress_bars.less

Read the rest of this update entry...
 
apathy updated [AP] Daily Goals with a new update entry:

1.6.0

  • 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...

Read the rest of this update entry...
 
apathy updated [AP] Daily Goals with a new update entry:

2.0.0

  • 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...

Read the rest of this update entry...
 
apathy updated [AP] Daily Goals with a new update entry:

2.1.2

This update fixes a potential security vulnerability - all users 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

Read the rest of this update entry...
 
apathy updated [AP] Daily Goals with a new update entry:

2.1.3

  • 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

Read the rest of this update entry...
 
I was testing the thread goal feature and unfortunately, we didn't meet the goal that day. It's now disabled but we seem to have lost our posting streak for posts due to missing the threads goal. We did meet the goal for the posts. Is there any way to recover it lol @apathy?
 
Back
Top