Commit Graph

28 Commits

Author SHA1 Message Date
Roland Geider
7ebdb0b4f0 noqa all the files to be skipped
Github's super linter seems to call each file individually. So instead of
flake --config foo . it does flake --config foo /path/to/file1.py and this
ignores the exclude values in the config.
2020-08-09 23:17:32 +02:00
Roland Geider
6a8655d77c Replace single triple quotes
This is consistent with PEP8 and wasn't done before due to a duty
to consistency
2020-07-22 23:00:14 +02:00
Roland Geider
b18faf36bd Add Norwegian translation
Fixes #304
2016-07-11 23:14:38 +02:00
Roland Geider
d3824556df Rename SettingUnit to RepetitionUnit
The unit doesn't refer to the whole setting entry, but only to the "repetition"
(which is itself just one of the units).
2016-03-03 20:31:27 +01:00
Roland Geider
4457edb9db Start working on units for settings
This will allow to specify not only 3 x 10 repetitions but e.g. also
5 minutes or 10 kilometers

See #216 and #134
2016-01-07 22:20:25 +01:00
Roland Geider
eb1f1d984c Add views to add contracts to users 2015-10-04 00:00:58 +02:00
Roland Geider
c80e08a510 Remove unneeded files
All the functionality has been moved to the new invoke based commands
2015-09-14 20:08:12 +02:00
Roland Geider
5aeeff600d Add user document to fixture filter helper 2014-11-06 22:36:31 +01:00
Roland Geider
f26a6be485 Allow trainers to add notes to users 2014-10-27 20:12:36 +01:00
Roland Geider
f7ec157b95 Remove wrongly commited test file 2014-10-22 22:08:31 +02:00
Roland Geider
1735dbcbf4 Create configuration table for gym members
This model works like GymAdminConfig, except that only regular members have
an entry.
2014-10-22 22:06:16 +02:00
Roland Geider
9e5e4ef177 Add edit views for gym admin configurations 2014-10-20 00:37:09 +02:00
Roland Geider
4643e01b38 Add configuration table for individual gyms
This allows to set different configuration options on a per-gym basis.
Additionally there are per-user configuration options. At the moment only
the inactivity of members can be set.
2014-10-08 22:19:07 +02:00
Roland Geider
9df3a89f07 Move gym views and models to own app
While this is not really necessary right now, this makes the app a bit more
future proof, if later on more models and views are added
2014-10-07 21:49:08 +02:00
Roland Geider
7ad796adc4 Fix group permission fixture 2014-10-03 21:19:20 +02:00
Roland Geider
96086de8bb Allow gym administrators to delete users 2014-10-03 09:53:42 +02:00
Roland Geider
c375518df1 Commit missing fixture for global gym configuration 2014-09-27 10:20:03 +02:00
Roland Geider
17fca8e0a5 Add system wide gym configuration options
At the moment this only allows the administrator to set a default
gym for the installation.
2014-08-11 20:24:34 +02:00
Roland Geider
dc3abf1b1d Add support for gym management 2014-07-13 19:48:16 +02:00
Roland Geider
b13711d822 New License model to use for exercises, ingredients, etc.
Also add necessary views to manage the licenses and update or add tests.
2014-02-18 14:50:30 +01:00
Roland Geider
de5af37db8 Add support for equipment needed for exercises 2013-11-02 11:01:31 +01:00
Roland Geider
c47bef41e4 Merge 2013-11-01 19:16:14 +01:00
Roland Geider
5af208bf0a Commit fixture with permissions for group "admin" 2013-10-30 23:15:11 +01:00
Roland Geider
9fd7a0666b Update testcase to handle file uploads, also do a little clean up 2013-10-27 17:07:23 +01:00
Roland Geider
25b79ab31d Make use of application name more consistent
Fixes #29

--HG--
rename : wger/manager/templatetags/manager_extras.py => wger/manager/templatetags/wger_extras.py
2013-07-13 22:21:03 +02:00
Roland Geider
0de349e8c2 Add filter for languages and their configs 2013-07-13 13:48:53 +02:00
Roland Geider
049226469b Add simple helper script for fixture data
The script filters the output of django's dumpdata command by model
into more manageable chunks.

--HG--
extra : amend_source : e2026a76729ed38638c5651ccbb927fbe4f0249b
2013-04-29 21:06:06 +02:00
Roland Geider
2dfd31cb1c Add travis CI configuration file
--HG--
branch : 1.1-dev
rename : main.py => wger/main.py
2013-01-25 00:22:03 +01:00