Skip to content

Commit d7c11a6

Browse files
authored
Merge pull request #2292 from TracksApp/release-2.4
Version 2.4.0
2 parents 2dac3f8 + ec550ae commit d7c11a6

File tree

4 files changed

+12
-11
lines changed

4 files changed

+12
-11
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* IRC channel: #tracks on Freenode
1010
* Original developer: bsag (http://www.rousette.org.uk/)
1111
* Contributors: https://github.com/TracksApp/tracks/wiki/Contributors
12-
* Version: 2.4devel
12+
* Version: 2.4.0
1313

1414
[![Build Status](https://travis-ci.org/TracksApp/tracks.svg?branch=master)](https://travis-ci.org/TracksApp/tracks)
1515
[![Code Climate](https://codeclimate.com/github/TracksApp/tracks/badges/gpa.svg)](https://codeclimate.com/github/TracksApp/tracks)

config/initializers/tracks.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
tracks_version='2.4devel'
1+
tracks_version='2.4.0'
22
# comment out next two lines if you do not want (or can not) the date of the
33
# last git commit in the footer
44
info=`git log --pretty=format:"%ai" -1`

doc/CHANGELOG.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
## Version 2.4
1+
## Version 2.4.0
2+
23
### New features
34
* Removed support for deprecated password-hashing algorithm. This
45
eliminates config.salt. Note the addition of a pre-upgrade step to
@@ -9,9 +10,9 @@
910
* All REST APIs now also accept user token as password.
1011
* The stats view now uses Charts.js instead of the Flash-based chart library.
1112
* A Docker environment is used unless the .skip-docker file exists.
12-
* Rails 4.2
13+
* Rails 5.2
1314
* Thin replaces WEBrick as the included web server
14-
* Tracks is tested on Ruby 1.9.3, 2.0.0, 2.1, and 2.2.
15+
* Tracks is tested on Ruby 2.4 and 2.5
1516
* The MessageGateway will save the received email as an attachement to the todo
1617
* Add a configuration option for serving static assets from Rails
1718

doc/upgrading.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
# Upgrading Tracks
22

3-
## Upgrading from Tracks 2.3 to 2.4devel
3+
## Upgrading from Tracks 2.3 to 2.4.0
44

5-
WARNING: 2.4devel is a development tree of Tracks and may (will?) contain bugs that might destroy your data! It is not recommended to upgrade to 2.4devel unless you know what you are doing.
5+
These upgrade instructions are rough. Please suggest improvements in a GitHub issue if you run into problems.
66

7-
That said. To upgrade:
7+
To upgrade:
88

99
1. Support for Tracks' older, less secure password-hashing algorithm has been removed. Active user accounts will already have been upgraded, but you should check for outdated accounts by running `bundle exec rake tracks:check_passwords` from your existing Tracks install directory. If any users are listed, they can log in to be prompted to update their passwords, or you can run `bundle exec rake tracks:password USER=<username>` to reset their passwords using the new algorithm. If no users are listed, you can proceed with the upgrade.
1010
2. Back up your existing database and installation of Tracks
11-
3. Install Tracks 2.4devel in a new directory. Or you can create a separate installation of 2.4devel for testing purposes.
12-
4. Copy over the configuration from your previous Tracks installation. If using SQLite3, copy the old database into the new Tracks 2.4devel directory.
11+
3. Install Tracks 2.4.0 in a new directory. Or you can create a separate installation of 2.4.0 for testing purposes.
12+
4. Copy over the configuration from your previous Tracks installation. If using SQLite3, copy the old database into the new Tracks 2.4.0 directory.
1313
5. Check that you have all dependencies installed: `bundle install --without development test` Or leave out the `--without development test` part if you intend to test or develop on this tree.
1414
6. Run `bundle exec rake db:migrate RAILS_ENV=production` to update your old database to the new schema. This is the point of no return. Make sure you have backups!
1515
7. Precompile your static assets (css, javascript, etc.) by running `bundle exec rake assets:precompile RAILS_ENV=production`.
16-
8. Run `bundle exec rails server -e production` inside your Tracks 2.4devel directory to start up Tracks. Or use `-e development` if you intend to try your changes and get more log info.
16+
8. Run `bundle exec rails server -e production` inside your Tracks 2.4.0 directory to start up Tracks. Or use `-e development` if you intend to try your changes and get more log info.
1717

1818
Please note that if you intend to deploy Tracks using its included web server, you’ll need to copy over the `serve_static_assets` option into your `config/site.yml` and set it as it was in `config/production.rb` in order for the images, stylesheets, and javascript files to be served correctly.
1919

0 commit comments

Comments
 (0)