Skip to content

Commit

Permalink
This is TrackRecord version 2.24, for Rails 3.2.
Browse files Browse the repository at this point in the history
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
pond committed Oct 15, 2013
1 parent cf1cb1e commit 0db4015
Show file tree
Hide file tree
Showing 155 changed files with 486,252 additions and 1,373 deletions.
33 changes: 33 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,36 @@
Version 2.24, 2013-10-16
========================

Please see "README.rdoc" for vital information on installation, upgrading
from an earlier version, database requirements and how to run the built in
test suite that helps verify your database's suitability for TrackRecord.

Version 2.24 introduces the following new features:

- Easier to access report modification as requested by Issue #24,
requested by sarev.

Version 2.24 fixes the following bugs that were found in v2.23:

- The bulk timesheet commit form would raise an error under
certain date conditions.

- An in-place title editing issue arising from an incompatibility
between Rails and Prototype.js 1.7's more strict adherence to
HTTP rules on data encoding has been worked around within the
Safe In Place Editor plugin. This fixes Issue #21, reported by
sarev (with thanks).

- Saved report shared flags and copying didn't work as expected
for various user types; essentially the feature was only half
implemented. Now done properly!

- In-place editors for saved report titles and share flags are
now supported in the index view.

There are also various efficiency improvements and areas of code tidying.


Version 2.23, 2013-09-09
========================

Expand Down
6 changes: 3 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ gem 'prototype-rails'
# https://github.com/timcharper/calendar_date_select (original, but not Rails 3 compatible)
# http://github.com/paneq/calendar_date_select (Rails 3 fork)
# https://github.com/openid/ruby-openid
# https://github.com/rails/open_id_authentication
# https://github.com/grosser/open_id_authentication
# https://github.com/mislav/will_paginate/
# https://github.com/collectiveidea/audited
# https://github.com/swanandp/acts_as_list

gem 'calendar_date_select', '~> 1.6', :git => 'http://github.com/paneq/calendar_date_select'
gem 'ruby-openid', '~> 2.2'
gem 'open_id_authentication'
gem 'ruby-openid', '~> 2.3'
gem 'open_id_authentication', '~> 1.2'
gem 'will_paginate', '~> 3.0'
gem 'audited-activerecord', '~> 3.0'
gem 'acts_as_list'
Expand Down
37 changes: 18 additions & 19 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -51,28 +51,27 @@ GEM
coffee-script-source (1.6.3)
dynamic_form (1.1.4)
erubis (2.7.0)
execjs (1.4.0)
multi_json (~> 1.0)
execjs (2.0.2)
hike (1.2.3)
i18n (0.6.5)
journey (1.0.4)
json (1.8.0)
libv8 (3.11.8.17)
libv8 (3.16.14.3)
mail (2.5.4)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.24)
multi_json (1.7.9)
open_id_authentication (1.1.0)
mime-types (1.25)
multi_json (1.8.2)
open_id_authentication (1.2.0)
rack-openid (~> 1.3)
pg (0.16.0)
pg (0.17.0)
polyglot (0.3.3)
prototype-rails (3.2.1)
rails (~> 3.2)
rack (1.4.5)
rack-cache (1.2)
rack (>= 0.4)
rack-openid (1.3.1)
rack-openid (1.4.0)
rack (>= 1.1.0)
ruby-openid (>= 2.1.8)
rack-ssl (1.3.3)
Expand All @@ -87,7 +86,7 @@ GEM
activesupport (= 3.2.14)
bundler (~> 1.0)
railties (= 3.2.14)
rails_autolink (1.1.0)
rails_autolink (1.1.4)
rails (> 3.1)
railties (3.2.14)
actionpack (= 3.2.14)
Expand All @@ -100,8 +99,8 @@ GEM
rdoc (3.12.2)
json (~> 1.4)
ref (1.0.5)
ruby-openid (2.2.3)
sass (3.2.10)
ruby-openid (2.3.0)
sass (3.2.12)
sass-rails (3.2.6)
railties (~> 3.2.0)
sass (>= 3.1.10)
Expand All @@ -111,19 +110,19 @@ GEM
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
therubyracer (0.11.4)
libv8 (~> 3.11.8.12)
therubyracer (0.12.0)
libv8 (~> 3.16.14.0)
ref
thor (0.18.1)
tilt (1.4.1)
treetop (1.4.14)
treetop (1.4.15)
polyglot
polyglot (>= 0.3.1)
tzinfo (0.3.37)
uglifier (2.1.2)
tzinfo (0.3.38)
uglifier (2.2.1)
execjs (>= 0.3.0)
multi_json (~> 1.0, >= 1.0.2)
will_paginate (3.0.4)
will_paginate (3.0.5)

PLATFORMS
ruby
Expand All @@ -135,12 +134,12 @@ DEPENDENCIES
coffee-rails
dynamic_form
json
open_id_authentication
open_id_authentication (~> 1.2)
pg (>= 0.16)
prototype-rails
rails (= 3.2.14)
rails_autolink
ruby-openid (~> 2.2)
ruby-openid (~> 2.3)
sass-rails
therubyracer
uglifier
Expand Down
Loading

0 comments on commit 0db4015

Please sign in to comment.