Commit Graph

2817 Commits

Author SHA1 Message Date
Anton Hvornum 12b5e2e4e9
Adding compression as an option (#1084)
* Adding compression as an option

* Ignore 'misaligned' ending parenthathese

* Moved the 'mark compressed' logic into the sub block within manual disk operations.

* Fixed flake8 complaints

* Muting a complextion warning on manage_new_and_existing_partitions(). It is too complex, but not something that we'll bother with for v2.4.0. As this whole function could be replaced with a new and improved menu system split into tasks rather than one huge if/else.
2022-04-26 13:17:40 +02:00
Anton Hvornum 1bce561a0c
Bumped up default timout, as 5 seconds is not enough for some platforms. 2022-04-25 10:20:00 +02:00
Anton Hvornum 44727e64ea
Require superuser or root password fixed. (#1082) 2022-04-25 09:58:36 +02:00
Anton Hvornum f10d8abb13
Set a 'default' argument for audio and removed it as a requirement to continue. (#1081) 2022-04-25 09:29:12 +02:00
Werner Llácer a14604a1b6
Created a routine to check if a partition includes a certain mountpoint (#1069)
For a btrfs volume with a subvolume to be mounted on /, we will not generate a keyfile anymore
2022-04-25 08:57:49 +02:00
Werner Llácer 15c594bcba
When using disk_layout files but not config file, we autofill the harddrives argument (#1067) 2022-04-25 08:41:20 +02:00
Werner Llácer 99dfa7368d
We make the last action available beyond the run loop, so we can check why run was exited (#1066) 2022-04-25 08:34:52 +02:00
Daniel bbedc0bb19
Flexible order of menu options (#1078)
* Allow custom ordering of the menu entries

* Update

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-04-22 13:24:43 +02:00
Daniel 477b5b120e
Support for multiple network interfaces (#1052)
* Support for multiple network interfaces

* Fix mypy

* Fix flake8

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-04-22 13:24:12 +02:00
Daniel 2529d6a5f5
Fix blockdevice key error (#1079)
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-04-22 13:23:38 +02:00
godalming123 0604ed45c3
fix incorrect use of an (#1071) 2022-04-14 11:45:05 +02:00
Daniel 4f899e3866
Downstream new simple menu feature (#1055)
* Downstream new simple menu feature

* Fix flake8

* Update

* Fix flake8

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-04-12 11:46:55 +02:00
Anton Hvornum f644022e0c
This should address and resolve #587 (#1070)
* This should address and resolve #587

* Forgot one line from copying from local test script

Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2022-04-11 22:46:06 +02:00
Werner Llácer 57b16d5468
Partition.boot works now for GPT and MBR disks (issue #1061) (#1063) 2022-04-03 23:17:25 +02:00
j-james 656047163a
Rebase bspwm profile on master (#604) 2022-04-03 12:58:48 +02:00
Anton Hvornum 28c63b2354
Made build version dynamic as pointed out in https://github.com/pypa/build/issues/453 2022-03-29 11:22:36 +02:00
Anton Hvornum 7f0ccbe87e
Reverted mypy runner changes 2022-03-29 10:35:18 +02:00
Anton Hvornum c241d96982
Version bump to v2.4.0 RC2 2022-03-29 10:32:20 +02:00
Anton Hvornum af4b8a7251
Fixed flake8 2022-03-29 10:31:29 +02:00
Werner Llácer e0d723f9a0
Correct exit when no disk is selected and we don't wish to continue (#1049) 2022-03-29 10:25:18 +02:00
Anton Hvornum 02c715e224
Fixed an import of not yet loaded module 2022-03-28 17:04:28 +02:00
Anton Hvornum 77b9826ab1
Fixed an import of not yet loaded module 2022-03-28 17:04:02 +02:00
Anton Hvornum a61db89a7f
moved the ur language due to #1048 2022-03-28 16:55:11 +02:00
Anton Hvornum 34909aea57
Updating language file 2022-03-28 16:49:38 +02:00
Anton Hvornum 5504b9ac6b
Removed GlobalMenu from selection_menu.py as it's moved to it's own file. 2022-03-28 16:48:55 +02:00
Anton Hvornum a1ab6a5f8a
Updated locales 2022-03-28 16:46:23 +02:00
Anton Hvornum 609a380a15
Fixed an import of not yet loaded module 2022-03-28 16:43:11 +02:00
Anton Hvornum 500da432bf
Fixed an import of not yet loaded module 2022-03-28 16:42:09 +02:00
Anton Hvornum 66289c13d8
Fixed an import of not yet loaded module 2022-03-28 16:41:41 +02:00
Anton Hvornum 1bf6e20bde
moved GlobalMenu into lib/menu/global_menu.py instead 2022-03-28 16:41:03 +02:00
Anton Hvornum e873e30c39
Fixed an import of not yet loaded module 2022-03-28 16:13:26 +02:00
Anton Hvornum fe164a700c
Fixed an import of not yet loaded module 2022-03-28 16:08:05 +02:00
Anton Hvornum de80fdc153
Fixed an import of not yet loaded module 2022-03-28 16:04:24 +02:00
Anton Hvornum 6c71f42b47
Fixed an import of not yet loaded module 2022-03-28 16:01:55 +02:00
Anton Hvornum 5456920681
Added missing imports (#1046) 2022-03-28 15:04:14 +02:00
Anton Hvornum 77bfa10d53
Added error handling to fstab (#1045)
* Added error handling to fstab

* Checking the exit code for == 0
2022-03-28 14:43:33 +02:00
Daniel c92c448f29
Fix some mypy things (#1023)
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
Co-authored-by: Anton Hvornum <anton@hvornum.se>
2022-03-28 14:14:45 +02:00
Patrick Schneeweis c614b3ed55
Clarify prompt text when providing superusers. (#1044)
Co-authored-by: Anton Hvornum <anton@hvornum.se>
2022-03-28 14:00:34 +02:00
Farhan Ghani f2ad219d8e
added translation for urdu (#1043) 2022-03-28 13:57:04 +02:00
Werner Llácer 4b4473632d
Subvolume User Interface (#1032)
* Deflate the user interactions file

* Fix flake8

* GlobalMenu split from selection_menu.py

* Upgrades to ListManager:
Can now show an empty list if there is no null action.
More information to the user at the header

* Put only_hd.py  and swiss.py to use new config printing mechanism
Solved a couple of bugs at
ListManager adding a str and a DeferredTranslation
ManageUser was missing an self argument in _check ...

* Create list and menus to manage subvolumes in btrfs partitions
Needed to modify manage_new_and_existing_partitions
Added a new parameter filter to select_partition, to allow filtering there

* Update internationalization strings

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
Co-authored-by: Anton Hvornum <anton@hvornum.se>
2022-03-28 13:55:15 +02:00
Daniel 3dc0d957e8
Deflate user interactions (#1019)
* Deflate the user interactions file

* Fix flake8

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-03-28 13:49:05 +02:00
Werner Llácer e85c9b6531
Issues with Network Management and user management in menu (#1036)
* A problem with default values treatment at superusers (and users) on the main menu

* Solving issues when changing the selection of nic, ask_to_configure_network failed in several places.
Solved, temporarily with the creation of __getitem__ and get methods at NetworkManager

* Accept old style definitions for nic

* flake8 complains

* log string corrected (issue 1039)

* Correct exit when no disk is selected and we don't wish to continue
2022-03-28 13:44:10 +02:00
Anton Hvornum 69bd88a7f9
Version bump for release candidate of v2.4.0 RC1 2022-03-28 10:43:59 +02:00
Anton Hvornum 8d15683752
Made archinstall build reproducable when generating docs 2022-03-28 09:24:17 +02:00
Anton Hvornum ac0162aba7
Improved color coding a bit. Added 5 more color options (not usable outside of 256-bit enabled terminals) 2022-03-16 21:21:26 +01:00
Werner Llácer a6b1cab077
Additions to Listmgr et alia (#1028)
* Permit multiple default actions as a list

* Define headers for list at ListManager and Menu

* small corrections for default values

* Make subvolume info work.
The real marker that signifies that a mounted subvolume exist is the bracket notation nor the at sign
2022-03-10 09:42:03 +01:00
Eugênio Pacceli Reis da Fonseca f7aba1d31c
Adding sudoers.d file instead of appending to sudoers (#1025)
* Addresses issue #985: Add sudoers.d file instead of appending to sudoers

* Fixed comment

* Added string safety check for illegal chars before attempting to create a file.

* Fixing commentaries

* More fixes to the sudoers.d modification: adds an includedir to sudoers if sudoers.d did not exist previously, waits for python to close and release the new rule file before attempting to set its permissions to 440.

* Regex fix and better code formatting.
2022-03-07 09:15:14 +01:00
Daniel d9d59bee68
Fix #1018 (#1021)
* Fix #1018

* Fix flake8

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-03-03 13:54:43 +01:00
Werner Llácer 47a9fba94b
A couple of corrections for the user interface (#1017)
* Preview size is now an argument for GeneralMenu
Parameter missing in call to save_config

* Update selection_menu.py

Co-authored-by: Anton Hvornum <anton.feeds+github@gmail.com>
2022-03-01 12:36:58 +01:00
Werner Llácer 86d991f442
User Management via lists (#1008)
* Fix user/superuser config

* Fix flake8

* Remove timezone check since we have a default value now

* Remove unused

* add new widget ListManager

* flake8 complains

* Null_action appears now in the main list (to simplify additions to the list)
Formatted data are now at the from to the actions submenu

* Manage users thru a ListManagers

* Define a default action in the menu, potentially independent of a null_action
Both default and null actions don't have to be part of the element's action list
Some cleanup

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
Co-authored-by: Anton Hvornum <anton@hvornum.se>
2022-02-28 23:11:25 +01:00