User:Ryan52/todo
Jump to navigation
Jump to search
Tickets
- #15753 install security update
- #15784 Newfangled keyboard tester addition request/issues
- test installing and write debian-specific install instructions that are up to date for fgdb.rb ( #15523)
- #15885 fix up coveredness tracking
- #15518 Redo how the destroy link works
- Staff_hours_tracking_application
Timeline
- 11-14-09 release:
- carryover - destroy link, #15518 (plus unimportant changes in current master)
- coveredness improvements, #15885
- shouldn't wait until next release, this will break stuff
- 11-21-09 release: staff hours rollout/testing?
- has to be, FG is closed on the 28th, and it's needed before December...
- pretty much ready now
- on Wednesday (whether home or at FG, need it for release):
- #15518, destroy link
- on Saturday the 14th:
- #15885, coveredness improvements (if not done already)
- minor improvements to staff hours
What's left for staff hours
- need to make it locked down by role (skudjul and beancounter)
- make strings on interface make more sense
- should make some metadata (the income streams, wc_categories, and programs) effective/ineffective
- should make workers to worker_types effective/ineffective
- edited through interface, hm. I guess this should be line item? eww. need an interface for editing effective/ineffective things when it's originally a one-to-many.
- also need a validation. like this:
worker.workers_worker_types.sort_by(&:effective_on).each_with_siblings{|a,b,c| raise if (a && (a.ineffective_on.nil? or a.ineffective_on > b.effective_on)) || (c && (c.effective_on.nil? or c.effective_on < b.ineffective_on))} def Enumerable.each_with_siblings self.each_with_index{|b, i| a = self[i - 1] if i > 0 # -1 does not mean what we want it to c = self[i + 1] yield(a, b, c) } end
- find a way to determine current worker type.
- in Worker:
- find a way to determine current worker type.
def worker_type_on_day(date) self.workers_worker_types.effective_on(date).first end def worker_type_today self.worker_type_on_day(Date.today) end
- in WorkerWorkerType:
steal named scope from VolunteerTaskType