Commit Graph

2237 Commits

Author SHA1 Message Date
Haouari haitam Kouider b3b00aa00f
Add interface to change LUKS iteration time (#3634)
* Added User Interface to change iteration time for LUKS encryption

* removing unneessary try catch and imports

* used the same constant in luks.py file

* fixed issue with error firing in default value

* fixed ruf preview warnings

* preview even if its default value. (iter_time)

* check encryption type is not non before showing iter_time

* using _real_input with input_vp instead of _current_text

* proper check for enc_type

* added Interation time to outer menu preview

* removed (ms) from title. so that we don't need to translate "Iteration time" and "iteration time (ms)".

* a comment slipped in. this was not supposed to be in this pull

* fixed comparison str with EncryptionType
2025-06-30 11:11:24 +10:00
Daniel Girtler 19459731ad
Make type field in lsblk optional (#3633) 2025-06-27 12:31:04 +02:00
Anton Hvornum 9dd92321a5
Added temporary hold on bootctl's --variables=BOOL usage, as it's notin systemd main yet (#3625)
* Added temporary hold on bootctl's --variables=BOOL usage, as it's not in systemd main yet

* Fixed ruff format check

* Fixed mypy type check issue

* Spelling error

* Fixed flake8 complaint
2025-06-27 12:29:35 +02:00
correctmost 85f83214f7
Fix ruff format for local builds (#3626) 2025-06-24 13:30:04 +10:00
Anton Hvornum 63e559e502
Changed quotation marks (#3624) 2025-06-22 17:10:28 +02:00
DarkXero 677f4349be
Add missing xdg-user-dirs (#3484)
* Update cosmic.py

* Reverted incorrect Python logic surrounding the greeter type.

---------

Co-authored-by: Torxed <torxed@archlinux.org>
2025-06-22 15:17:25 +02:00
summoner001 7f189727a2
Update hungarian translation (#3622)
fix wording
2025-06-22 14:17:45 +02:00
Anton Hvornum 7fdfede270
Fixed ruff quotation marks (#3623) 2025-06-22 14:16:27 +02:00
Korbin Bickel 46550221d1
Update bootctl command for new --variables= option (#3396)
Co-authored-by: Anton Hvornum <torxed@archlinux.org>
2025-06-22 13:55:38 +02:00
Daniel Girtler 9769786ad6
Fix app config (#3614) 2025-06-20 23:59:10 +02:00
Daniel Girtler 77558e2be5
Fix 3598 - Utilize script field from config when present (#3611)
* Fix 3598 - Utilize script field from config when present

* Update

* Update
2025-06-20 15:58:14 +10:00
Daniel Girtler 37b3985625
Move audio configuration to application config (#3612) 2025-06-20 07:27:23 +10:00
Daniel Girtler 27f53717b0
Add bluetooth support (#3604)
* Add bluetooth option
2025-06-18 09:57:54 +02:00
Screamnox 973f4af1f5
fix(lvm): align offset to PE size to avoid LV allocation failure (#3603) 2025-06-17 22:26:16 +10:00
Serdar Sağlam dd75371fc1
Turkish language current (#3597)
It was a very bad and wrong translation, but it is good now.
2025-06-16 09:53:20 +10:00
Anton Hvornum 2038e68560
Removed xf86-video-vmware as it's been dropped: https://gitlab.archlinux.org/archlinux/packaging/packages/xf86-video-vmware/-/issues/3 (#3590) 2025-06-12 08:48:21 +02:00
Daniel Girtler 12c8a5c62e
Mount partitions in minimal script before starting installation (#3585) 2025-06-12 07:14:54 +10:00
Daniel Girtler 063b9643b4
Add new version indicator in the title of the main menu (#3587)
* Add new version indicator in the title of the main menu

* Update
2025-06-12 07:14:30 +10:00
Daniel Girtler 7b3b7c9ebf
Fix recursive call in scripts (#3586) 2025-06-11 19:38:28 +02:00
Anton Hvornum a91a922ef4
Spelling error on extras package (#3582) 2025-06-09 13:27:24 +02:00
correctmost 1e7a4831ae
Use a generic instead of Any in MenuHelper (#3574)
This commit also removes an unused _get_table_header method.
2025-06-04 11:55:07 +10:00
correctmost 2843d01600
Enable stricter mypy definition checks in archinstall/lib/ (#3573) 2025-06-04 07:30:14 +10:00
correctmost 557e1cac0d
Honor the sort_items parameter on MenuItemGroup.from_enum (#3572) 2025-06-03 23:17:42 +10:00
correctmost fafb180ffe
Remove unused arguments from internal functions (#3571)
This makes it easier to run Pylint's unused-argument checks on the
codebase.
2025-06-03 23:17:10 +10:00
Daniel Girtler 18ef716b0f
Add sync after installation completed (#3569) 2025-06-02 13:50:34 +02:00
Daniel Girtler 92b384d1d3
Fix restore edit content on help menu close (#3568)
* Fix restore edit content on help menu close

* Update
2025-06-02 10:17:17 +02:00
correctmost fef97bed32
Fix return values used with a Textbox.edit callback in curses (#3566) 2025-06-01 11:43:01 +02:00
correctmost a580da2bbd
Enable the bad-exit-annotation ruff rule and fix related warnings (#3564) 2025-06-01 11:41:34 +02:00
correctmost a1b83ad29f
Remove unused _DeferredTranslation methods and references (#3557) 2025-05-31 16:04:23 +10:00
correctmost e245a11463
Remove return value check for Installer.minimal_installation (#3555)
The minimal_installation method always returns None.
2025-05-31 08:20:54 +10:00
lubuoren 47e6d82ee5
Update installer.py (#3540)
Fix the bug of installation failure caused by incorrect service name
2025-05-30 17:04:04 +02:00
codefiles 1dccfe6c33
Rework install log (#3550) 2025-05-30 23:08:02 +10:00
correctmost a5d995b546
Remove underscore from _FrameDim because it's used externally (#3547)
This commit fixes a reportUnusedClass warning from Pyright.
2025-05-30 18:42:00 +10:00
codefiles 16405ab435
Refactor command logs (#3549) 2025-05-30 18:39:20 +10:00
correctmost c2ea6ffe9c
Add type annotations to global storage dictionary (#3548)
This will help catch issues like #3530.
2025-05-30 09:18:17 +02:00
correctmost b689656547
Remove some unnecessary None checks from desktop profile code (#3546)
This commit fixes some warnings reported by Pyright's
reportUnnecessaryComparison checker.
2025-05-30 09:12:49 +02:00
correctmost bd36c0c5d3
Remove workaround for mypy 1.15.0 crash (#3545)
This reverts commit ae38e92100.
2025-05-30 09:12:05 +02:00
Daniel Girtler 8bed035e21
Fix 3530 (#3535)
* Fix 3530

* Update
2025-05-29 13:54:28 +02:00
Daniel Girtler d4b16cb406
Fix 3534 (#3537) 2025-05-29 13:53:22 +02:00
codefiles 7316b56274
Fix empty username (#3533) 2025-05-29 12:17:18 +10:00
codefiles e6a9105df4
Fix empty password (#3531) 2025-05-29 12:13:07 +10:00
correctmost 3da78fcb49
Enable truthy-bool checks in mypy and fix related warnings (#3528) 2025-05-29 12:11:32 +10:00
codefiles b2b36a2cef
Refactor default Btrfs subvolumes (#3525) 2025-05-28 22:45:56 +10:00
codefiles 728fee4a7c
Fix root partition device mapper name (#3524) 2025-05-28 22:02:00 +10:00
correctmost 426650a3c4
Fix invalid-annotation warnings reported by Pyrefly (#3523) 2025-05-28 22:00:52 +10:00
correctmost 26c6812827
Remove extraneous None type annotations (#3522) 2025-05-28 21:52:43 +10:00
Daniel Girtler 52face9254
Fix 3513 (#3520) 2025-05-28 20:47:56 +10:00
correctmost c2f4d92fd9
Enable unreachable code checks in lib/ with mypy (#3521) 2025-05-28 20:47:40 +10:00
Anton Hvornum 2cf7c85728
Bumping version to: 3.0.7 (#3519) 2025-05-28 11:15:59 +02:00
correctmost 5c8721a3a8
Enable unreachable code checks in tui/ with mypy (#3518) 2025-05-28 16:23:06 +10:00
Farhan Ghani 50747a5a71
Updated translation and fixed errors in last translation. (#3515)
* still updating

* Updated urdu translation

Because it is very hard to display urdu fonts in consol. I changed urdu
writing to latin script which is also known as "Roman Urdu". For more
information check out https://en.wikipedia.org/wiki/Roman_Urdu.

* Updated errors and translation

As it is mentioned in #3463 the errors has been rectified and more
translation is added.
2025-05-28 16:19:40 +10:00
codefiles df8cb4fb39
Fix home partition device mapper name (#3516) 2025-05-28 07:27:07 +02:00
Luiz Felipe 7a455cb625
adjust PT-BR translations and remove fuzzy markers (#3511)
* adjust PT-BR translations and remove fuzzy markers

* Add "Luiz Felipe" to pt-BR translators list in archinstall
2025-05-27 07:51:47 +02:00
codefiles c8f1f78679
Remove duplicate LUKS unlock check (#3510) 2025-05-27 13:08:45 +10:00
codefiles 2623039fff
luks: rework is_unlocked() (#3509) 2025-05-27 09:36:23 +10:00
Daniel Girtler 8c12d15a41
Fix disk encryption emnu (#3506) 2025-05-26 21:21:30 +10:00
Anton Hvornum 6c7260fa33
Added a more humane error message on no initial network (#3501)
* Added a more humane error message on no initial network

* Fixed ruff complaints
2025-05-25 13:30:47 +02:00
Daniel Girtler 6d1a450440
Fix 2304 (#3503) 2025-05-25 21:25:15 +10:00
Daniel Girtler cdb1debe2e
Move disk encryption into disk config menu (#3502) 2025-05-25 21:23:37 +10:00
Daniel Girtler 5a54902935
Add support for Btrfs snapshots (#3500)
* Add btrfs snapshot support

* Update

* Update

* Update
2025-05-25 17:22:41 +10:00
Daniel Girtler d3f32f308c
Update ruff formatter (#3496)
* Update ruff formatter

* Update
2025-05-24 07:58:42 +00:00
Omrifo4 9af23218c4
Generate empty string on empty custom_servers config (#3498) 2025-05-24 09:11:45 +10:00
Anton Hvornum 79a4c7c0ef
Bumping version to: 3.0.6 (#3488) 2025-05-21 19:34:02 +02:00
Anton Hvornum 5a4773cdd3
Added --skip-wkd to skip waiting for the arch linux keyring wkd sync (#3483)
* Added --skip-wkd to skip waiting for the arch linux keyring wkd sync

* Package spelling error

* Forgot to add argument to Arguments()

* Added missing --skip-wkd arg to arg tester

* Corrected help text for --skip-wkd
2025-05-20 11:38:40 +02:00
correctmost 3e5f879d52
Remove remaining bare _ translation references (#3485)
This helps simplify the linter configs and improves compatibility
with type checkers.
2025-05-20 18:44:25 +10:00
correctmost a945606834
Add some missing type annotations for return values (#3486) 2025-05-20 07:37:35 +10:00
Daniel Girtler 57bd2451e9
Simplify translating of strings (#3479)
* Simplify translation fucntion

* Simplify translation fucntion
2025-05-19 22:33:02 +10:00
Daniel Girtler 790a7a2be9
Fix 3474 (#3476)
* Fix 3474 - Parse mountpoint correctly

* Fix 3474 - Parse mountpoint correctly

* Update
2025-05-19 10:59:42 +02:00
Daniel Girtler f7f6b27a8a
Fix refression for sudoers file (#3475) 2025-05-19 17:00:57 +10:00
Luna Jernberg 363a96a0a2
Update base.po - Swedish translation for 3.0.5 (#3471)
Swedish translation for 3.0.5
2025-05-16 22:00:42 +10:00
Daniel Girtler c67ac97f18
Ruff formatting (#3459)
* Update

* Update
2025-05-15 14:26:41 +02:00
Anton Hvornum f71e91c85e
Bumping version to: 3.0.5 (#3463) 2025-05-15 08:50:34 +02:00
Anton Hvornum 83a45e8f9f
Fixes --silent in conjuction with --config-url (#3465) 2025-05-14 20:30:38 +02:00
Farhan Ghani b062271b2c
Updated urdu translation (#3462)
* Updated urdu translation

Because it is very hard to display urdu fonts in consol. I changed urdu
writing to latin script which is also known as "Roman Urdu". For more
information check out https://en.wikipedia.org/wiki/Roman_Urdu.

* More translation

Some messages were not translated.
2025-05-14 11:58:18 +10:00
walken ffb9697499
Czech localization update (#3461) 2025-05-13 08:36:50 +10:00
Daniel Girtler e18c00c4d9
Convert bytes to str (#3457) 2025-05-12 21:07:36 +10:00
Valerii fd9f2893e6
UWSM for Hyprland (#3455)
UWSM
2025-05-12 08:10:36 +10:00
Lena a291857bdc
Update Polish translation (#3454) 2025-05-12 08:09:25 +10:00
utuhiro78 3dccbc1247
Update Japanese translation (#3451) 2025-05-10 13:58:24 +10:00
Odyssey 583945028f
Update catalan locales (#3447) 2025-05-09 07:27:54 +10:00
codefiles 2e4603e464
Fix btrfs subvolume creation (#3446) 2025-05-08 15:39:43 +02:00
Valerii 1228a0c75e
Better Ukrainian v1.3.1 compiled .mo file (#3445) 2025-05-08 21:29:35 +10:00
ncdm-stldr 4dc7cb9ee6
[fix] Sway: dmenu is no longer the default application launcher. It was changed for wmenu. (#3442)
I couldn't start the application launcher with mod+d after a fresh installation using archinstall, where I selected sway as a desktop.
The reason is that the default application launcher for sway changed (see ab9b164e52 and b44015578a).
The fix is simply to install this new application launcher wmenu instead of dmenu.
2025-05-08 09:00:10 +10:00
Valerii a3c1e20ea0
Better Ukrainian v1.3 (#3441)
* Add files via upload

* Add files via upload
2025-05-06 17:56:40 +10:00
summoner001 6f2fe45ce7
Update hungarian translation (#3440)
Translate new strings
2025-05-06 17:56:20 +10:00
Valerii 3adfc21c69
Add files via upload (#3439) 2025-05-06 09:57:34 +10:00
Daniel Girtler 9a98a1500b
Revert wayfire (#3432) 2025-05-05 10:08:42 +02:00
correctmost 781760a157
Break an import cycle between lib/luks and lib/disk/device_handler (#3438) 2025-05-05 17:04:16 +10:00
correctmost ae38e92100
Add an inline annotation to avoid a crash with mypy 1.15.0 (#3434)
The annotation prevents intermittent crashes when running mypy
with a clean cache:

./archinstall/tui/curses_menu.py:723: error: INTERNAL ERROR

RuntimeError: Partial type "<partial list[?]>" cannot be checked with "issubtype()"
2025-05-05 07:04:18 +10:00
Matteo 1e2f9704c8
Another Italian translation update (#3436)
- Translated new strings
- Run locales_generator for all files, so all base.po have been updated
2025-05-05 07:03:09 +10:00
Matteo 6fe680f0ec
Update Italian translation (#3428) 2025-05-04 07:44:10 +10:00
Daniel Girtler 4023cfe2ca
Fix 3412 - Take optional repositories into account (#3427) 2025-05-03 16:06:27 +02:00
correctmost 9c633924ba
Remove extraneous inline type annotations (#3418) 2025-04-30 08:31:28 +10:00
correctmost e8fd1de006
Avoid using generics with EditMenu (#3415)
This is a follow-up to commit 0de90bd55.
2025-04-29 07:12:32 +10:00
Daniel Girtler 4c20331633
Fix 3376 - header alignment (#3414) 2025-04-28 14:04:15 +02:00
utuhiro78 e04ee8a18f
Update Japanese translation (#3410) 2025-04-27 13:03:22 +10:00
Celestial.y 557fef5bfc
Update zh-CN translation, fix locales/README.md (#3409)
* Update zh-CN translation

* Fix locales/README.md
2025-04-27 13:02:02 +10:00
correctmost 0de90bd55b
Specify menu return types using generics instead of Any (#3400) 2025-04-27 13:01:17 +10:00
Daniel Girtler fae210dfea
Add optional file encryption for user credentials configuration (#3391)
* Optional encryption of user credentials configuration file

* Update README

* Update

* Update
2025-04-26 20:25:43 +10:00
Anton Hvornum 16e9bbe583
Removed the @.snapshots volume in order to support both Snapper and Timeshift #3363 (#3408) 2025-04-26 11:57:36 +02:00