Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is TrackRecord version 2.24, for Rails 3.2.
Fixed issues #21, #22 and #24. Added many tests to work towards satisfying issue #6 and allow third parties to better verify their database operation. A lot of test data is included which bulks the distribution substantially. Properly implemented access control and in place editing for saved reports; also included reports in audit table data. Reports include optimistic locks now, so that if two users were to edit the same thing simultaneously, the second user to submit the changes would be notified. This is unlikely but a worthwhile and easy addition. Database changes: OpenID URLs are now stored canonicalised in the database and the front-end is much more relaxed in what it accepts. Work packets had a description field but it was never used so has been removed, reducing the database storage requirements. Their commit dates are now simply Dates, not Date/Time objects, which solves issues with database compatibility and simplifies code slightly in a few places. SQLite blank template for "database.yml" included in addition to PostgreSQL. "README.rdoc" mentions this database and provides configuration advice. Misc changes: Fixed timesheet bulk commit bug that stopped it presenting the commit form when certain date conditions arose. Improved audit list model name display. Small efficiency improvement in Control Panel. Modern scope syntax used in Project, with additional validation revealed as necessary by new tests. New useful scopes added to Task for billable and not-billable hours and updated to modern syntax; much more efficient work packet processing therein. Timesheet access permission model tweaked in response to test results; more logical/consistent now (see "README.rdoc"). Test-driven changes to TimesheetRow for robustness in hypothetical future code use cases. Modern scope syntax in User model and some new scopes to aid tests; "has_many" relationship to saved reports, previously overlooked, now added. Dead code stripped from WorkPacket and TrackRecordSections. Documentation updated, especially the main "README.rdoc" file, which should make life easier for new users.
- Loading branch information