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

refactor!: Demonstrator: New config management class (and some more stuff) #1850

Draft
wants to merge 58 commits into
base: dev
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
585e7fb
singleton structure
buhtz Aug 15, 2024
9c9e3d2
singleton ala Mars Landis
buhtz Aug 15, 2024
bcb9df5
x
buhtz Aug 15, 2024
7f02bb1
initial neo config inspection
buhtz Aug 19, 2024
289e572
x
buhtz Aug 19, 2024
43034b6
fixed manpage
buhtz Aug 19, 2024
53f2549
fix
buhtz Aug 19, 2024
4c4f9a6
add man page validation into release-howto [skip ci]
buhtz Aug 20, 2024
2d03f6c
typo [skip ci]
buhtz Aug 20, 2024
6a459ce
improve original create manapge script
buhtz Aug 20, 2024
cdff4a7
refactor create manpage script [skip ci]
buhtz Aug 20, 2024
5880b3e
Merge branch 'fix/manpage' into konfig
buhtz Aug 20, 2024
afde40f
x
buhtz Aug 20, 2024
4042671
x
buhtz Aug 21, 2024
be5fa06
linting man page
buhtz Aug 21, 2024
1bf383e
x
buhtz Aug 21, 2024
65457a0
before remove value-by-property-name
buhtz Aug 21, 2024
bbcaef1
x
buhtz Aug 21, 2024
1bbc30f
x
buhtz Aug 22, 2024
b2f3091
x#
buhtz Aug 22, 2024
3543ad3
x
buhtz Aug 22, 2024
a8ac3e3
x
buhtz Aug 23, 2024
52adb5a
Merge branch 'dev' into konfig
buhtz Aug 24, 2024
b499c6f
x
buhtz Aug 24, 2024
a83eed2
x [skip ci]
buhtz Aug 24, 2024
1c81c3a
Update common/konfig.py [skip ci]
buhtz Aug 29, 2024
9695116
Update common/konfig.py [skip
buhtz Aug 29, 2024
74ded33
Apply suggestions from code review [skip ci]
buhtz Aug 29, 2024
511a565
Update create-manpage-backintime-config.py [skip ci]
buhtz Aug 29, 2024
8b9221a
Merge branch 'dev' into konfig
buhtz Aug 31, 2024
2891c58
no interpolation
buhtz Aug 31, 2024
9da6ad5
extern file loading
buhtz Aug 31, 2024
8e9c6f4
minor fixes
buhtz Aug 31, 2024
bdd8ea2
[skip ci]
buhtz Aug 31, 2024
293bcf2
dirty
buhtz Aug 31, 2024
f98cf5c
x
buhtz Sep 1, 2024
e6373a6
next: excludeBySizeEnabled
buhtz Sep 2, 2024
be1918a
X
buhtz Sep 3, 2024
8c80328
x
buhtz Sep 5, 2024
d1a75a5
Merge branch 'dev' into konfig
buhtz Sep 22, 2024
51573f7
linting. replace pycodestyle by flake8
buhtz Sep 22, 2024
e5efdf8
some more steps [skip ci]
buhtz Sep 27, 2024
af92255
x
buhtz Sep 27, 2024
d23da6c
improved create script
buhtz Sep 27, 2024
6ed254c
properties finished [skip ci]
buhtz Sep 27, 2024
dbcbac1
Merge branch 'dev' into konfig
buhtz Oct 3, 2024
b66ce2b
x
buhtz Oct 3, 2024
b441789
Merge branch 'dev' into konfig
buhtz Oct 17, 2024
bb8d2d8
Merge branch 'dev' into konfig
buhtz Oct 19, 2024
8814b2f
Merge branch 'dev' into konfig
buhtz Oct 21, 2024
f61833d
Python 3.13 again after contacting Travis support
buhtz Oct 21, 2024
6511636
Merge branch 'dev' into konfig
buhtz Oct 30, 2024
2bd7212
Merge branch 'dev' into konfig
buhtz Nov 8, 2024
73ef542
Merge branch 'dev' into konfig
buhtz Nov 13, 2024
9465829
Merge branch 'dev' into konfig
buhtz Nov 17, 2024
48a71cd
Merge branch 'dev' into konfig
buhtz Nov 22, 2024
6b9db01
Merge branch 'dev' into konfig
buhtz Nov 23, 2024
446245e
Merge branch 'dev' into konfig
buhtz Nov 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions common/bitbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,19 @@
# See issue #1734 and #1735
URL_ENCRYPT_TRANSITION = 'https://github.com/bit-team/backintime' \
'/blob/-/doc/ENCRYPT_TRANSITION.md'

SSH_CIPHERS = {
'default': _('Default'),
'aes128-ctr': 'AES128-CTR',
'aes192-ctr': 'AES192-CTR',
'aes256-ctr': 'AES256-CTR',
'arcfour256': 'ARCFOUR256',
'arcfour128': 'ARCFOUR128',
'aes128-cbc': 'AES128-CBC',
'3des-cbc': '3DES-CBC',
'blowfish-cbc': 'Blowfish-CBC',
'cast128-cbc': 'Cast128-CBC',
'aes192-cbc': 'AES192-CBC',
'aes256-cbc': 'AES256-CBC',
'arcfour': 'ARCFOUR'
}
18 changes: 2 additions & 16 deletions common/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
_('Warning')
except NameError:
_ = lambda val: val

import bitbase
import tools
import configfile
import logger
Expand Down Expand Up @@ -322,21 +322,7 @@ def __init__(self, config_path=None, data_path=None):
)
}

self.SSH_CIPHERS = {
'default': _('Default'),
'aes128-ctr': 'AES128-CTR',
'aes192-ctr': 'AES192-CTR',
'aes256-ctr': 'AES256-CTR',
'arcfour256': 'ARCFOUR256',
'arcfour128': 'ARCFOUR128',
'aes128-cbc': 'AES128-CBC',
'3des-cbc': '3DES-CBC',
'blowfish-cbc': 'Blowfish-CBC',
'cast128-cbc': 'Cast128-CBC',
'aes192-cbc': 'AES192-CBC',
'aes256-cbc': 'AES256-CBC',
'arcfour': 'ARCFOUR'
}
self.SSH_CIPHERS = bitbase.SSH_CIPHERS

def save(self):
self.setIntValue('config.version', self.CONFIG_VERSION)
Expand Down
Loading