25 Commits

Author SHA1 Message Date
Eric Davis
4c3e6b6b6d [#5734] Fix the cost caching case where Time Entry attributes changed
A cost value wasn't getting recaclulated by TimeEntry#cost when the
attributes were changing. It only was recalculated when .cost changed.
2011-04-06 09:27:20 -07:00
Eric Davis
80b05852e7 Fix tests by forcing ints from select_all 2011-03-03 16:11:34 -08:00
Eric Davis
65919d382b Update tests for changes in latest Redmine core error pages 2010-11-16 09:30:24 -08:00
Eric Davis
4e705fd1eb [#4604] Simplify the cost caching system 2010-10-13 16:54:48 -07:00
Eric Davis
e4f1a623f1 [#4604] Add buttons for load and clear the caches 2010-10-13 12:08:06 -07:00
Eric Davis
7824eadc94 [#4604] Add the last cache timestamps to the caching admin panel 2010-10-13 11:50:24 -07:00
Eric Davis
073dfe1177 [#4604] Add an admin panel for the rate caches 2010-10-13 11:32:32 -07:00
Eric Davis
fb3b0a41ae [#4604] Add a method and rake task to clear and update all TimeEntry cost caches 2010-10-06 17:35:28 -07:00
Eric Davis
16a7a3146f [#4604] Timestamp the last caching run 2010-10-06 17:27:31 -07:00
Eric Davis
33cf4d5c5c [#4604] Add test for Rate#update_all_time_entries_with_missing_cost 2010-10-06 17:18:58 -07:00
Eric Davis
c97979bd06 [#4604] Clear and recalculate the #cost on Rate#destroy 2010-10-06 13:15:17 -07:00
Eric Davis
f7b03b825f [#4604] Clear and recalculate the #cost on Rate#save 2010-10-06 13:05:57 -07:00
Eric Davis
d656121b20 [#4604] Clear and recalculate the TimeEntry#cost on save 2010-10-06 12:41:56 -07:00
Eric Davis
dbfc6c5335 [#4604] Add basic caching for TimeEntry#cost 2010-10-06 12:12:45 -07:00
Eric Davis
e541270461 [#4289] Ported the billing plugin's timesheet hooks. 2010-07-23 10:16:41 -07:00
Eric Davis
7192adb231 [#4289] Added empty hooks needed for the Timesheet. 2010-07-23 09:35:44 -07:00
Eric Davis
81158be9b9 Converted RatesController test to Test::Unit. 2010-07-23 09:22:58 -07:00
Eric Davis
44963ac96b Converted Rates routing test to Test::Unit. 2010-07-23 08:18:37 -07:00
Eric Davis
5b372b2bef Converted RateUsersHelperPatch test to Test::Unit. 2010-07-23 08:14:49 -07:00
Eric Davis
0c3d83fe62 Converted RateTimeEntryPatch test to Test::Unit. 2010-07-23 08:14:22 -07:00
Eric Davis
22cbcdf847 Converted RateFor test to Test::Unit. 2010-07-23 08:05:04 -07:00
Eric Davis
b3b4b92450 Converted RSpec test to Test::Unit. 2010-07-06 15:43:02 -07:00
Eric Davis
585f70c0b2 Added Test::Unit helper 2010-07-06 15:11:53 -07:00
Eric Davis
bcc80f13fe Removed Test::Unit 2009-01-16 13:50:59 -08:00
Eric Davis
aa9377d288 Initial generation 2009-01-16 13:29:33 -08:00