Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Future3/develop #1

Merged
merged 2 commits into from
Jul 31, 2023
Merged

Conversation

saeugetier
Copy link
Owner

No description provided.

AlvinSchiller and others added 2 commits May 3, 2023 23:30
* first callback test

* default sync_shared settings added

* moved test callback methods

* fixed logger call

* changed logger name

* test rpc call sync_folder

* settings added

* added test rsync call (subprocess)

* fixed path

* fixed paths

* fixed errorlogging

* changed subprocess shell=false

* added player update

* fixed subprocess args

* fixed rsync parameter

* update database on caller. added return value

* added "wait for database update"

* added server and directory checks
loglevels adjusted

* fixed sync for subfolder shortcuts

* fixed ignored files

* refactored path handling
use os.path instead of string concatenation
fixed handling for abs path folder name

* refactored logic in control class

* added check for "on_rfid_scan_enabled"

* sync_full added

* added check for feature activation

* correction of bool value handling
evaluate to false if settings not correctly set (e.g. as string)

* fix flake8 errors

* update log message and fix result code

* added ssh support

* refactored paths for run_params

* speed up ssh mode
perform less checks for folder existence

* added sync_change_on_rfid_scan

* updated default settings
format like ConfigHandler would save it

* added command binding for Ui

* fixed binding of command options
and made them lowercase

* changed invalid parameter handling

* added sync_card_database

update card id only on rfid scan sync
overwrite on full sync

* refactorings

added locking on cfg access
updated methodnames
updated logging
methods reordered
flake8 corrections

* exclude folder.conf if existing from V2.x

* changed call on rfid scan to callback

* fix flake8 errors

* fix indendation for JS

* combine settings of credentials for modes

* naming convention

* refactored function names to be more clear

* changed options of sync_change_on_rfid_scan

options changed from  "true"/"false" to "enable"/"disable"

* moved identical prechecks to functions

* renamed "sync_full" to "sync_all"

* Fix function calls

fix for: moved identical prechecks to functions

* renamed "sync_full" to "sync_all"

correction for logging

* added "update_wait" and fixed to much locking

* changed call on play_card to callback

* changed precheck names to "is sync enabled"

* updated function names "is_file" and "is_dir"

* reduced nesting complexity

* Changed rfid callback state to Enum

renamed callback class
add state as enum

* Changed playcontent callback state to Enum

added state as num
moved callback and enum to seperate class
callback class with generic to be able to use in more play functions

* fix import

* fixed generic type definition

* harmonised precheck for sync_change_on_rfid_scan

* refactored methods to util class

* renamed syncutil to syncutils. fixed import

* fixed flake8

* Moved syncutils up

* renamed module sync_shared to rfidcards

* renamed sync_shared to sync_rfidcards

* fix flake8

* updated documentation

* Updated translation for en

* Updated language

* Updated language

* Update docs

---------

Co-authored-by: pabera <1260686+pabera@users.noreply.github.com>
@saeugetier saeugetier merged commit 8b5c220 into saeugetier:future3/develop Jul 31, 2023
saeugetier pushed a commit that referenced this pull request Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants