Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/user_interaction.py
AgeCommit message (Collapse)Author
2021-04-09Added a 'use /mnt' option to the formatted #124. This has not yet been ↵Anton Hvornum
tested, but the logic should work according to the new API layout for Installation().
2021-04-09Merge pull request #250 from insanemal/insanemal-patch-2Anton Hvornum
OOB in generic_selection
2021-04-09Off by one in generic_selection out of bounds checkInsanemal
Out of bounds check in generic_selection is using >= on list. Lists are zero based. If you put in a value that equals the number of items in the list you get an out of bounds error. Removed the equals part of the test as last item in list/dictionary items is len(list)-1 not len(list)
2021-04-08I simplified the countdown, by moving it into it's own function instead of ↵Anton Hvornum
wrapped inside guided.. This can now be used by others for a simple countdown. I also re-worked the minimal.py example to work with the new internal partitioning logic API as well as support some flags from archinstall.arguments to minimize user input requirements to just one single question. This one question will most likely go away too, but stays for simplicity right now.
2021-04-07Assume yes is the user's intention if empty response for pipewire promptDylan Taylor
2021-04-07Merge PR #208: Temporary incorp of audio selectionAnton Hvornum
Implement PipeWire sound server as an option, merging so we can work on this more. No this will not make it into the release as-is, it's just a working branch and this will change :)
2021-04-07Merging changes from master into feature branch to avoid future conflics.Anton Hvornum
2021-04-07Change phrasing to indicate pulseaudio as defaultAnton Hvornum
2021-04-06Move choice into guided installation instead of DEsDylan M. Taylor
Arch wiki says packages should enable the user services automatically
2021-04-06Merge pull request #188 from SecondThundeR/masterAnton Hvornum
Fix incorrect behavior for empty sudo username
2021-04-05Fix incorrect behavior for empty sudo usernameSecondThundeR
2021-04-05Merge pull request #170 from SecondThundeR/masterAnton Hvornum
Add validation check for username
2021-04-05Update regex rule and move check to a functionSecondThundeR
2021-04-05Replace lowercase conversion with correct checkingSecondThundeR
2021-04-04Removing background color definitions for all log functionsZach Osman
2021-04-04Add lowercase conversion for usernamesSecondThundeR
2021-04-04Fix misspellingsRafael Fontenelle
2021-04-04Merge pull request #158 from advaithm/masterAnton Hvornum
Network manager support
2021-04-04fixed some typos and changed up how we detect if we have to enable/install ↵advaithm
network manager
2021-04-04moved around the if blockadvaithm
2021-04-04fixed typoadvaithm
2021-04-04networkmanager supportadvaithm
2021-04-03Fixes #149 as well as --help. This will be added in the next patch release.Anton Hvornum
2021-03-30Add range check to disk selectionkpcyrd
2021-03-30Add range check to generic_selectkpcyrd
2021-03-29Merge pull request #123 from Torxed/torxed-v2.2.3Anton Hvornum
Reverting .strip() logic and moving the check into the get_password()…
2021-03-29Reverting .strip() logic and moving the check into the get_password() function.Anton Hvornum
2021-03-29Fix spelling error in filesystem choiceDidr
Fixes a simple spelling error when the user is asked to select a filesystem. "Select which filesystem your main partition should use (by number **of** name)" should be **or**.
2021-03-28Fixed a path-check issue with Time Zones.Anton Hvornum
2021-03-24Removed vfat as an option for the root partitionAnton Hvornum
2021-03-21Improved english grammar and dialogues. Some 'questions' were formatted in a ↵Anton Hvornum
way where the user would enter 'yes' instead of the expected input. For instance, 'Any additional users to install:' which is a question where 'yes' is a appropriate response, but the expected input was the username to be created. Rephrased it to 'Enter a username to create a additional user:' instead for instance.
2021-03-20Removed search logic for mirrors since we now have column-printouts, the ↵Anton Hvornum
columns enabled us to print all the regions which means the search was an excessive feature.
2021-03-20Fix number padding based on length of the highest option index - instead of ↵Ninchester
using zeroes, now spaces are used
2021-03-20Make option list 0-index basedNinchester
2021-03-20Add margin at the bottomNinchester
2021-03-20Print options in columnsNinchester
2021-03-20Added helper functions for #81. So that we have a basic information about ↵Anton Hvornum
the terminal when outputting large lists/options.
2021-03-20Fixed #64. installation.set_timezone() already excisted since earlier ↵Anton Hvornum
versions of archinstall in the library section. The guided.py example simply never asked for a time-zone. There's still no NTP option, which I'll add in later. Mostly because there's a lot of settings one can do to a time-client configuration, and I'm not sure all users want the default time servers etc.
2021-03-14Corrected some spelling errors and wrong variables.Anton Hvornum
2021-03-08Reworked the guided partitioning logic to better match new expectations of ↵Anton Hvornum
flexability. Still some work to be done and features to be implemented, but the structure is taking place
2021-03-08Fixed expected return value from ask_for_disk_layout(). I think I have to ↵Anton Hvornum
throw an eye on generic_select() and it's expected return value in general.. But that's later.
2021-03-08Added a abort messageAnton Hvornum
2021-03-08Added a abort messageAnton Hvornum
2021-03-08Added a small menu instead of a one-liner to select what to do with the disk ↵Anton Hvornum
if it has partitions.
2021-02-17Removed redundant variableAnton Hvornum
2021-02-17Added some forgotten importsAnton Hvornum
2021-02-17Simplified profile prep-execution slightly in guided.py. The code can be ↵Anton Hvornum
improved further but it's now more easily read what's going on.
2021-02-17Simplifying the profile loading a bit, and adding some debugging for it.Anton Hvornum
2021-02-17Cleaning up guided.py a bit to be less complex and convoluted, while still ↵Anton Hvornum
performing the same task.
2021-02-17Implemented #106 in branch skip-partitioning. Also moving the disk_password ↵Anton Hvornum
from being a local variable to a BlockDevice setting/variable.