zoffline / zwift-offline

Use Zwift offline
GNU Affero General Public License v3.0
721 stars 116 forks source link

some questions about servers #346

Closed jricoclq closed 3 months ago

jricoclq commented 3 months ago

I have some questions about servers Question 1: The zwift-offline.db file contains many users who no longer use the server. How to delete these users because they occupy the list when using ZCA for MEETUP, which can cause selection errors? Question 2: When using MEETUP, I only selected a subset of users, but all users on the server can access it. Can I set it so that only invited users can participate, and those uninvited users will not automatically enter MEETUP? Question 3: Can the function of adding routes to the list be implemented using ZCA? 402a752dc3b7b3c80d3ab4bdb68795a

fatsbrown commented 3 months ago
  1. Just delete the user from DB. Using https://sqlitebrowser.org/ select the row, click delete and write changes (make sure zoffline is closed when you make changes to DB). Captura de tela 2024-07-29 084001
  2. You would need to implement changes in zoffline code. Currently meetups are available for all users.
  3. I don't think it's possible.
jricoclq commented 3 months ago
  1. Just delete the user from DB. Using https://sqlitebrowser.org/ select the row, click delete and write changes (make sure zoffline is closed when you make changes to DB). Captura de tela 2024-07-29 084001
  2. You would need to implement changes in zoffline code. Currently meetups are available for all users.
  3. I don't think it's possible.

Q1 & Q3 Tks a lot! Q2 :May I ask how and where to modify the code? thanks.

fatsbrown commented 3 months ago

Try this https://github.com/fatsbrown/zwift-offline/commit/a431cd709610346586f99ff7a77dd4bdc7df474a

jricoclq commented 3 months ago

Try this fatsbrown@a431cd7

THANKS A LOT,it worked!