What have been changed:
- Plugin structure is overhauled
- Adapted to Rails 6
- Periodically ajax requests replaced with pure javascript timer
- Added functional tests
Preview:
-
Clone the plugin to your redmine root directory/plugins
git clone http://git.red-soft.biz/red2mine/time_logger.git redmine_directory/plugins/time_logger
-
Setup the database using the migrations
bundle exec bin/rails redmine:plugins:migrate RAILS_ENV=production NAME=time_logger
-
Login to your Redmine install as an Administrator
-
Setup the 'log time' permissions for your roles
-
Enable a "Time tracking" module in the project settings
-
The link to the plugin should appear in the 'account' menu bar
Inside your redmine root directory run command:
bundle exec bin/rails redmine:plugins:test RAILS_ENV=test NAME=time_logger
-
Clean up a database:
bundle exec bin/rails redmine:plugins:migrate RAILS_ENV=production NAME=time_logger VERSION=0
-
Delete plugin folder:
rm -rf <redmine_root>/plugins/time_logger