Based on contribution by Vladimir Dzalbo
Replaces the multiple if/elsif with a single method call and pushes the User/IssueStatus/IssuePriority object detection down into StuffToDo#conditions_for_available.
Instead of saving each TimeEntry to the HTML page, they will now be sent directly to Redmine and saved immediately. The two step save was a good idea but in practice, many users forgot to confirm their time before leaving the page, thus losing their work. * Removed StuffToDoController#save_time_entries * Removed StuffToDoController#valid_time_entry * Added StuffToDoController#save_time_entry to save one TimeEntry from the facebox form * Moved the TimeEntry saving and Time Grid validations to StuffToDoController#save_time_entry_from_time_grid * Removed the jQuery used for local saves, remote saves, and updating the time grid after a local save. * Changed the saveTimeEntriesRemotely() jQuery method to send the data to Redmine and re-render the Time Grid on success. * Updated specs