Changelog
2.2 - IN DEVELOPMENT
Upgrade steps from 2.1:
Update python libraries
pip3 install -r requirements.txt
Migrate database
python manage.py migrate
Update CSS and JS libraries
yarn install
Compile the CSS
yarn build:css:sass
Update static files (only production):
python3 manage.py collectstatic
Load new permissions
python3 manage.py loaddata groups.json categories.json
🚀 Features:
Added JWT authentication to the REST API (thanks @RohanKaran!) #1047
Added brute protection against brute force login attacks (thanks @RohanKaran!) #1096
Allow to set the minimum account age for users to contribute exercises (thanks @mohammadrafigh!) #1187
🐛 Bug Fixes:
Fix issue with django axes and mobile app #1163
Fix issue with password reset links and expired tokens (thanks @RohanKaran!) #1154
🧰 Maintenance:
#1137 (thanks @AdamPetik!)
2.1
2022-10-11
Upgrade steps from 2.0:
Install ffmpeg if you want to upload videos (consult documentation).
Update python libraries
pip3 install -r requirements.txt
To sync the new exercises:
Run migrations
python3 manage.py migrate
delete all exercises not in use
python manage.py delete-unused-exercises
(this will delete all exercises that are currently in the database but are not part of any workout, log, etc. You will be promted before the script does anything)get the new exercises
python manage.py sync-exercises
(Also note that if you don’t perform these steps and directly run a regular sync the worst that can happen is that you might have some duplicate exercises in your installation)get the new images
python manage.py download-exercise-images
get the new videos
python manage.py download-exercise-videos
(please note that this needs more space)
Update CSS and JS libraries
yarn install
Compile the CSS
yarn build:css:sass
Update static files (only production):
python3 manage.py collectstatic
Load new permissions
python3 manage.py loaddata groups.json categories.json
🚀 Features:
The exercise database has undergone a huge cleanup, combining duplicates and translations, deleting stubs, etc. Refreshed the UI for the exercise overview, detail view and contribution page. It is now easier (or at all possible) to submit, correct and translate the exercises. #1120
New gallery where users can upload pictures to track their progress #572
Exercises can now have videos. Also many thanks to Goulart for providing 150 videos #970 and releasing them under the CC-BY-SA license.
Add templates / centrally managed workouts (thanks @qwert45hi) #639
Add comment filed to set for user notes #702
Custom measurements such as biceps size or body fat #133
Add optional relation from nutritional diary to meal (thanks @Alig1493) #819
Muscles now have a “common” name, besides their names in Latin (thanks @ImTheTom) #1041
Allow to add nutritional plan diary entries for other dates (thanks @ImTheTom) #520
🐛 Bug Fixes:
🧰 Maintenance:
Exercise API response is now cached (thanks @ImTheTom) #1033
Changes to the REST API:
/exercisebaseinfo/ - New endpoint to get exercise information grouped by the base exercise
/language/ - Also expose the language ID
/exerciseimage/ -
exercise
was renamed toexercise_base
(was pointing there anyway) - New fieldstyle
/workout/ -
comment
was renamed to name - fielddescription
was added, for longer descriptions/set/ - field
comment
added, for user notes/nutritiondiary/ - field
meal
added, optional reference to meal/min-app-version/ - New endpoint indicating minimum required version for flutter app
#666, #667, #656 (thanks @jackmulligan-ire), #716
2.0
2021-05-01
Upgrade steps from 1.9:
Update python libraries
pip3 install -r requirements.txt
Install
yarn
andsass
(e.g.sudo npm install -g yarn sass
)Update CSS and JS libraries
yarn install
Compile the CSS
yarn build:css:sass
Run migrations
python3 manage.py migrate
Update data
python3 manage.py loaddata licenses.json languages.json language_config.json
Load new ingredients (note that this will overwrite any ingredients that you might have added)
wger load-online-fixtures
Update static files (only production):
python3 manage.py collectstatic
Subcommands for
wger
now use dashes in their names (i.e. create-settings instead of create_settings)
🚀 Features:
Add nutrition diary to log the daily calories actually taken #284, #501 and #506 (thanks @WalkingPizza and @oconnelc)
Support for reps-in-reserve (RiR) in workout plans and logs #479 (thanks @SkyNetIndustry)
Improved user experience, on desktop and mobile #337
Around 70000 new ingredients with Open Food Facts import with more to come #422 (thanks @harlenesamra, @nikithamurikinati and @jcho1)
Group common exercise information such as muscles, etc. for more easy translations, data management, etc. #448 (thanks @nikithamurikinati, @harlenesamra, @jcho17, @vaheeshta and @jeevikaghosh)
Group similar exercises such as wide grip, reverse, etc. #555 (thanks @ryowright)
Improved info endpoints for exercises and ingredients, this saves additional API calls #411
Allow user to edit and delete body weight entries #478 (thanks @beingbiplov)
Show kJoules as well as kcal in nutritional plan #568 (thanks @nopinter and @derekli17)
Check name similarity when adding exercises to avoid duplicates #551 (thanks @lydiaxing, @eq8913, @Hita-K)
Return the muscle background images in the REST API #547 (thanks @gengkev)
🐛 Bug Fixes:
#368, #379, #426 (thanks @austin-leung), #499, #505, #504, #511, #516, #522, #554 and #560 (thanks @sandilsranasinghe), #564, #565, #615, #560 (thanks @bradsk88), #617 (thanks @Sidrah-Madiha), #636, #640, #642, #648, #650
🧰 Maintenance:
Moved translations to weblate #266
Improved docker and docker-compose images #340
Updated many libraries to the last version (bootstrap, font awesome, etc.)
Use yarn to download CSS/JS libraries
Improvements to documentation (e.g. #494)
Improved cache handling #246 (thanks @louiCoder)
Others: #450 (thanks @Rkamath2), #631 (thanks @harlenesamra), #664 (thanks @calvinrw),
1.9
2020-06-29
Upgrade steps from 1.8:
Django update to 3.x:
pip install -r requirements.txt
Database upgrade:
python manage.py migrate
Update static files (only production):
python manage.py collectstatic
New features:
Allow users to enter their birthdate instead of just the age (thanks @dtopal) #332
Work to ensure that mobile templates are used when appropriate
Added optional S3 static asset hosting.
Drop Python 2 support.
Replaced django-mobile with django-user_agent (and some custom code) This isn’t as slick as django-mobile was, but it unblocks possible Django 2.x support.
Update many dependencies to current versions.
Improvements:
Added password validation rules for more security
Exercise image downloader checks only accepted exercises (thanks @gmmoraes) #363
Use a native data type for the exercises’ UUID (thanks @gmmoraes) #364
Increase speed of testsuite by performing the tests in parallel (thanks @Mbarak-Mbigo) wger_vulcan/#6
Update screen when adding an exercise to the workout while using set slider (thanks @gmmoraes) #374
Work to slim docker image * Download images at startup - If DOWNLOAD_IMGS environmental variable is set to TRUE * Uninstall dev packages
Update Ubuntu version used in docker container.
Fixed a handful of hard coded static path references to use static taglib
Updated tinymce theme for v5.
1.8
2017-04-05
Warning
There have been some changes to the installation procedure. Calling ‘invoke’ on its own has been deprecated, you should use the ‘wger’ command (which accepts the same options). Also, some of these commands have been renamed:
start_wger
towger
bootstrap_wger
tobootstrap
Upgrade steps from 1.7:
Django update to 1.9:
pip install -r requirements.txt
Database upgrade:
python manage.py migrate
Reset cache:
python manage.py clear-cache --clear-all
Due to changes in the JS package management, you have to delete wger/core/static/bower_components and do a
python manage.py bower install
Update static files (only production):
python manage.py collectstatic
Load new the languages fixtures as well as their configuration
python manage.py loaddata languages
andpython manage.py loaddata language_config
New config option in settings.py:
WGER_SETTINGS['TWITTER']
. Set this if your instance has its own twitter account.
New languages:
New features:
Big ingredient list in Dutch, many thanks to alphafitness.club!
Add repetition (minutes, kilometer, etc.) and weight options (kg, lb, plates, until failure) to sets #216 and #217
Allow administrators to deactivate the guest user account #330
Add option to show the gym name in the header instead of the application name, part of #214
Exercise names are now capitalized, making them more consistent #232
Much improved landing page (thanks @DeveloperMal) #307
Add extended PDF options to schedules as well (thanks @alelevinas ) #272
Show trained secondary muscles in workout view (thanks @alokhan ) #282
Use the metricsgraphics library to more easily draw charts #188
Removed persona (browserID) as a login option, the service is being discontinued #331
Improvements:
Check and enforce style guide for JS files #317 (@petervanderdoes)
BMI calculator now works with pounds as well (thanks @petervanderdoes) #318
Give feedback when autocompleter didn’t find any results #293
Make exercise names links to their detail page in training log pages #350
Better GUI consistency in modal dialogs (thanks @jstoebel ) #274
Cache is cleared when editing muscles (thanks @RyanSept @pythonGeek ) #260
Fields in workout log form are no longer required, making it possible to only log weight for certain exercises #334
New, more verbose, API endpoint for exercises, (thanks @andela-bmwenda)
The dashboard page was improved and made more user friendly #201 (partly)
Replace jquery UI’s autocompleter and sortable this reduces the size of JS and CSS #78 and #79
Remove hard-coded CC licence from documentation and website #247
Other improvements and bugfixes: #25, #243, #279, #275, #270, #258, #257, #263, #269, #296, #297, #303, #311, #312, #313, #322, #324, #325
1.7
2016-02-28
New translations:
Czech (many thanks to Tomáš Z.!)
Swedish (many thanks to ywecur!)
New features:
Workout PDF can now print the exercises’ images and comments #261
Allow login with username or email (thanks @warchildmd) #164`_
Correctly use user weight when calculating nutritional plans’ calories (thanks @r-hughes) #210
Fix problem with datepicker #192
Order of exercises in supersets is not reverted anymore #229
Improvements to the gym management:
Allow to add contracts to members
Visual consistency for lists and actions
Vastly reduce the number of database queries in gym member list #144
Global list of users for installation #212
Allow administrators to restrict user registration #220
Refactored and improved code, among others #208
Allow gym managers to reset a member’s password #186
Better rendering of some form elements #244
Improved GUI consistency #149
Docker images for easier installation #181
Use hostname for submitted exercises (thanks @jamessimas) #159
Download js libraries with bowerjs (thanks @tranbenny) #126
Improved and more flexible management commands #184
Fixed error when importin weight entries from CSV (thanks @r-hughes) #204
Fixed problems when building and installing the application on Windows (thanks @romansp) #197
Fixed potential Denial Of Service attack (thanks @r-hughes) #238
Dummy data generator can not create nutrition plans (thanks @cthare) #241
Other improvements and bugfixes: #279, #275, #270, #258, #257
1.6.1
2015-07-25
Bugfix release
1.6
2015-07-25
New translations:
Greek (many thanks to Mark Nicolaou!)
New features:
Save planed weight along with the repetitions #119
Improvements to the workout calendar #98
Allow external access to workouts and other pages to allow for sharing #102, #124
Email reminder to regularly enter (body) weight entries #115
Allow users to submit corrections to exercises
Add day detail view in workout calendar #103
Fix bug where the exercises added to a superset did not remain sorted #89
Reduce the size of generated HTML code #125
Allow users to copy shared workouts from others #127
Added breadbrumbs, to make navigation easier #101
Add option to delete workout sessions and their logs #156
Improve installation, development and maintenance documentation #114
Other improvements and bugfixes: #99, #100, #106, #108, #110, #117, #118, #128, #131, #135, #145, #155
1.5
2014-12-16
New Translations:
Dutch (many thanks to David Machiels!)
Portuguese (many thanks to Jefferson Campos!) #97
New features:
Add support for gym management #85
Gym managers can create and manage gyms
Trainers can see the gym’s users and their routines
Reduce the amount of CSS and JS libraries by using bootstrap as much as possible #73
Improvements to the REST API #75
Add read-write access
Add live browsing of the API with django rest framework
Improve documentation
/api/v1 is marked deprecated
Show exercise pictures in workout as well
Detailed view of exercises and workouts in schedule #86
Support for both metric (kg) and imperial (lb) weight units #105
Allow the user to delete his account and data #84
Add contact field to feedback form
Cleanup translation strings #94
Python 3 compatibility! #68
Other improvements and bugfixes: #51, #76, #80, #81, #82, #91, #92, #95, #96
1.4
2014-03-08
New features and bugfixes:
Calendar view to more easily check workout logs
Add “gym mode” with timer to log the workout while at the gym
Add automatic email reminders for new workouts
New iCal export to add workouts and schedules e.g. to google calendar
New exercise overview, grouped by equipment
Add possibility to write comments and rate the workout
Simplify form for new exercises
Alternative PDF export of workout without table for entering logs
Unified way of specifying license of submitted content (exercises, etc.)
1.3
2013-11-27
New translations:
Bulgarian (many thanks to Lyuboslav Petrov!)
Russian (many thanks to Inna!)
Spanish
New features and bugfixes:
Mobile version of website
Add images to the exercises
Exercises now can list needed equipment (barbell, etc.)
BMI calculator
Daily calories calculator
New management utility for languages
Improved performance
RESTful API
1.2
2013-05-19
New features and bugfixes:
Added scheduling option for workouts.
Open all parts of website to all users, this is done by a custom middleware
Regular users can submit exercises and ingredients to be included in the general list
Add more ‘human’ units to ingredients like ‘1 cup’ or ‘1 slice’
Add nutritional values calculator on the ingredient detail page
Several bugfixes
Usability improvements
1.1.1
2013-03-06
New features and bugfixes:
Pin version of app django_browserid due to API changes in 0.8
Fix issue with tabs on exercise overview due to API changes in JQuery
1.1
2013-02-23
New features and bugfixes:
Better navigation bar
Added descriptions for the exercises (German)
New workout logbook, to keep track of your improvements
Import your weight logs from a spreadsheet (CSV-Import)
Better filtering for weight chart
Muscle overview with corresponding exercises
Add guest accounts by generating a temporary user
Description pages about the software
Easier installation process
1.0.3
2012-11-19
New features and bugfixes:
Add option to copy (duplicate) workouts and nutritional plans
Login without an account with Mozilla’s Persona (BrowserID)
Better AJAX handling of the modal dialogs, fewer page reloads and redirects
Expand the list of ingredients in German
Add pagination to the ingredient list
Improvements to user page:
Add a “reset password” link to the login page
Email is now user-editable
More natural lines in weight chart with cubic interpolation
1.0.2
2012-11-02
Bugfix release
1.0.1
2012-11-02
New features and bugfixes:
Fix issue with password change
Small improvements to UI
Categories editable/deletable from the exercise overview page
Exercise AJAX search groups by category
More tests!
Use generic views for editing, creating and deleting objects
1.0
2012-10-16
Initial release.
New features and bugfixes:
Workout manager
PDF output for logging progress
Initial data with the most popular exercises
Simple weight chart
Nutrition plan manager
Simple PDF output
Initial data with nutritional values from the USDA