Remove checks for user privilege before displaying links. These
were more time consuming than expected. Of course, unauthorized users
still can't do the actions even though the links are there.
Add db columns for cfs_directories to track the size and count of files
in their tree.
Add tests for cfs directory size/count tracking.
Remove .includes - this doesn't work with polymorphic associations
anyway.
Add code to keep cfs directory size/count in sync.
Use some of the cfs directory size/count info instead of more
complex queries. Still work to be done here.
Add validation for root level cfs directory paths - this didn't
work before.
Avoid reading the file groups total_files and total_file_size attributes.
Go through the file_size and file_count accessors instead, as subclasses
may change that (e.g. BitLevelFileGroup).
Remove unused method for caching stuff on bit level file groups - this
should be unnecessary now.
Mark the rake task for later removal.
Refactor
refactor
Move the cfs_directory association directly to FileGroup instead of
BitLevelFileGroup. Add validations to assure that it is only set in
BitLevelFileGroup. This allows us to use eager loading for it when
we have a homogeneous set of FileGroups, which is used.
Eager load bit level file group.
Use eager loading. I'm not sure why this appeared not to work before.
Move association back to bit level file group - it was problematic
on file group in general. Remove useage of it.
Add kludge to help with db access in dashboard controller.
Add some inverse relationships.
Add test that dashboard only shows recent events.
Add link from dashboard events to events index.
Add link from dashboard events to events index.
Add events index action (not paginated yet).
Some simple refactoring.
Remove duplicate route spec.
Add basic pagination with bootstrap styling to events index.
Use more idiomatic form of pagination.