Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 24 23:01
    dependabot[bot] closed #823
  • Sep 24 23:01
    dependabot[bot] commented #823
  • Sep 24 23:01
    dependabot[bot] labeled #830
  • Sep 24 23:01
    dependabot[bot] labeled #830
  • Sep 24 23:01
    dependabot[bot] opened #830
  • Sep 24 23:00
    dependabot[bot] labeled #829
  • Sep 24 23:00
    dependabot[bot] labeled #829
  • Sep 24 23:00
    dependabot[bot] opened #829
  • Sep 23 12:22
    bocklucas commented #828
  • Sep 23 07:31
    rolandgeider commented #828
  • Sep 22 21:38
    bocklucas opened #828
  • Sep 21 23:31
    dependabot[bot] closed #826
  • Sep 21 23:31
    dependabot[bot] commented #826
  • Sep 21 23:31
    dependabot[bot] labeled #827
  • Sep 21 23:31
    dependabot[bot] labeled #827
  • Sep 21 23:31
    dependabot[bot] opened #827
  • Sep 20 23:30
    dependabot[bot] closed #821
  • Sep 20 23:30
    dependabot[bot] commented #821
  • Sep 20 23:30
    dependabot[bot] labeled #826
  • Sep 20 23:30
    dependabot[bot] labeled #826
Veltarn
@Veltarn
Perfect!
Just have to update my fork and do that !
Kevin Antonio Rateni Iatauro
@WalkingPizza
@Veltarn are you doing the RPE thing then?
Veltarn
@Veltarn
@WalkingPizza Nope, I'm reading about this at the moment
Dylan Aird
@Dolaned
hey there
Where can I find the mobile apps for this
Roland Geider
@rolandgeider
Hi! There was once an android app, which was basically just a WebView around the website, but it's unmaintained
Dylan Aird
@Dolaned
oh i see
so maybe using flutter to rebuild something might be nice?
Veltarn
@Veltarn
Hi @rolandgeider wger-project/wger#515 I created a pull request for the import / export tools !
Veltarn
@Veltarn
I also reread the code I modified, I added on the workouts we can create the notion of pause between exercices, it modifies the structure of the model Day (I add a field "rest_between_exercices")
Veltarn
@Veltarn
3rd question :D
does the wger migrate_db have been replaced by django-admin makemigration ? When I invoke this script wger command tells me the command doesn't exists anymore
Roland Geider
@rolandgeider
@gl3nda85 have you worked with flutter before? Would we need to rewrite the whole GUY for it?
GUI šŸ˜‚
@Veltarn Nice! I'll take a look at the PR when I'm back home from walking the dog
with one of the updates for invoke, all subcommands have now dashes, so migrate-db, create-settings, etc
Dylan Aird
@Dolaned
@rolandgeider yeah i have, and nah it would be a mobile app that uses the API
Dylan Aird
@Dolaned
Does anyone else in here want to create a mobile app for it ?
Roland Geider
@rolandgeider
yes, that's what I meant. While I wouldn't mind learning and getting my hands dirty with flutter. I fear that it would be a lot of work
Dylan Aird
@Dolaned
Iā€™m keen to start the project up and take small steps, flutters seems to be relativity simple. I think a username / password login would be easier
Have you considered setting up a discord ?
@rolandgeider
Roland Geider
@rolandgeider
Nice, I'll set up a new repo and give you access
You are actually not the first one to ask for a discord. While I don't mind setting one up, i would like avoiding spreading out too much
Roland Geider
@rolandgeider
@WalkingPizza did you manage to update your fork?
Kevin Antonio Rateni Iatauro
@WalkingPizza
Not yet. I have been very busy with work and university lately... I will try to work on the issues as soon as possible.
Roland Geider
@rolandgeider
No worries!
Roland Geider
@rolandgeider
BTW, we did make a discord server, if you prefer it to gitter feel free to join
Alex Ling
@hkalexling
Hi there! I am trying wger and notice that there's no way to add new sets to an exercise when creating a weight log. So for example, for push day I normally would have 5 sets of bench press, but if I am feeling good I might do an extra set. Is there a way to add an additional set to an exercise without directly editing the workout itself?
If you think it's a good idea, I will be happy to implement this when I have the time and submit a PR.
Roland Geider
@rolandgeider
Hi! I see what you mean, that would be a nice improvement to have. It might be enough to increase the nr of forms in the formset, but that part of thr application is an unnecessarily complicated mess. The mobile app will have a gym mode where adding a new set is really easy
Alex Ling
@hkalexling
@rolandgeider Thanks! I will take a look at the flutter app :-)
Roland Geider
@rolandgeider
@hkalexling if you don't want to build everything yourself, I can add you to the alpha tester group, then you can just download it from the play store
Alex Ling
@hkalexling

@rolandgeider Thanks but I use iOS :( I built the flutter app to my iPhone and tried to log in to my own server (wger.hkalexling.com), but nothing happened when I clicked on the "log in" button, and I see the following error message in my console:

[VERBOSE-2:ui_dart_state.cc(186)] Unhandled Exception: Looking up a deactivated widget's ancestor is unsafe.
At this point the state of the widget's element tree is no longer stable.
To safely refer to a widget's ancestor in its dispose() method, save a reference to the ancestor by calling dependOnInheritedWidgetOfExactType() in the widget's didChangeDependencies() method.
#0      Element._debugCheckStateIsActiveForAncestorLookup.<anonymous closure> (package:flutter/src/widgets/framework.dart:3864:9)
#1      Element._debugCheckStateIsActiveForAncestorLookup (package:flutter/src/widgets/framework.dart:3878:6)
#2      Element.dependOnInheritedWidgetOfExactType (package:flutter/src/widgets/framework.dart:3893:12)
#3      Localizations.of (package:flutter/src/widgets/localizations.dart:472:48)
#4      debugCheckHasMaterialLocalizations.<anonymous closure> (package:flutter/src/material/debug.dart:70:23)
#5      debugCheckHasMaterialLocalizations (package:flutter/src/material/debug.dart:91:4)
#6      showD<ā€¦>

I don't know Dart so not sure what went wrong. Is the iOS version not supported yet? Should I submit an issue on GitHub?

Roland Geider
@rolandgeider
@hkalexling I don't think anybody has tested the app on iOS, but we don't do anything crazy so it should work (besides looking out of place šŸ˜…). And you definitely should be able to login and talk to the server, even with that error
Calvin Walden
@calvin:matrix.calvinrw.com
[m]
Hi everyone! I'm trying to finish setting up Wger, and I'm not clear on how to configure an email backend to use my SMTP server. The comment in the default settings.py just references Django's email backend docs, but I need to know what's supposed to go into settings.py. How should I be defining my SMTP host, credentials, etc.?
# Configure a real backend in production
# See: https://docs.djangoproject.com/en/dev/topics/email/#email-backends
if DEBUG:
    EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
else:
    EMAIL_BACKEND = What goes here?
If someone can set me straight, I'd be happy to put together a PR for the installation docs.
xobs
@xobs:matrix.org
[m]
I just set environment variables:
ENABLE_EMAIL=True
EMAIL_HOST=smtp.fastmail.com
EMAIL_PORT=465
EMAIL_HOST_USER=fastmail-username@fastmail.com
EMAIL_HOST_PASSWORD=fastmail-password
EMAIL_USE_TLS=False
EMAIL_USE_SSL=True
Roland Geider
@rolandgeider
@calvin:matrix.calvinrw.com Hi! You need to set EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' and then the host, port, etc like xobs said
Calvin Walden
@calvin:matrix.calvinrw.com
[m]
Cool, thanks! I'll give that a try.
Calvin Walden
@calvin:matrix.calvinrw.com
[m]
Alright, got emails working with the following in settings.py:
MAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
ENABLE_EMAIL = True
EMAIL_HOST = 'mail.calvinrw.com'
EMAIL_PORT = 587
EMAIL_HOST_USER = 'wger@calvinrw.com'
EMAIL_HOST_PASSWORD = 'REDACTED'
EMAIL_USE_TLS = True
#EMAIL_USE_SSL = True
EMAIL_TIMEOUT = 30
DEFAULT_FROM_EMAIL = 'wger Workout Manager <wger@calvinrw.com>'
I've been using the password reset form to figure out the correct SSL/TLS settings, plus I actually needed to reset a password for my personal account. It seems that the template that generates the password reset email doesn't make use of SITE_URL, though, and uses example.com.
Claytondadon
@claytonseraphin
Hey guys, how you're doing, i'm a developer, Django/react, and a fitness lover, i've seen your projects and i'd like to help you guys put hands on it
Calvin Walden
@calvin:matrix.calvinrw.com
[m]
I'm just a user and not really a developer on this project (yet), so it might not be my place to say, but I don't think anyone is going to turn away help. There's already a massive backlog of issues (https://github.com/wger-project/wger/issues) that need to be addressed, and those are just the ones that have been reported so far.
I see a lot of potential for wger, though, so I'm trudging through the incomplete web UI and doing my best to set up my home gym and workout schedule.
Roland Geider
@rolandgeider
@claytonseraphin Hi there! yeah, we're definitely not gonna turn away any help! We're currently polishing the flutter application but when that's done we'll start with the issues in the milestone for 2.1 (https://github.com/wger-project/wger/milestone/10)
Claytondadon
@claytonseraphin
Awesome. I don't touch flutter lol but everything else from django to react js, i can be helpful, i tried to join the discord group, the link seems broken.
Roland Geider
@rolandgeider
that sounds great! I'll try to organize the issues the next days, at least a bit. And the link should work, could you try again? https://discord.gg/rPWFv6W
Claytondadon
@claytonseraphin
Ok. I accepted the invite. I don't know how you guys operate, but, feel free to let me know if there's anything i could do by the time i check the whole project and see if there's any improvement i can bring myself.
Jonathan Donald
@jeddak
Hi @rolandgeider - if you'd like, I'd be happy to contribute OpenAPI 3.0 documentation for the REST API.