summaryrefslogtreecommitdiffstats
path: root/text.py
Commit message (Collapse)AuthorAgeFilesLines
* Structure the repo layout so it matches final structure better and make isys ↵Martin Sivak2010-05-311-582/+0
| | | | | | a real Python package. Also updates the build and autotools stuff to work with the new structure
* Move init questions to InstallInterfaceBaseHans de Goede2010-05-251-110/+0
| | | | | The code is identical for text mode and gui mode (except for one copy paste error fixed by the previous commit GRRRR).
* Make re-init all inconsistent lvm mean re-init all instead of ignore allHans de Goede2010-05-251-1/+1
| | | | Related: rhbz#591469
* Expand the details pane when showing unformatted DASDs (#580463)David Cantrell2010-05-061-1/+1
| | | | | | | We are using DetailMessageWindow. Make sure the details are expanded by default when showing unformatted DASDs. Other uses of this dialog (e.g., traceback) do not want to have the details expanded by default, so keep it False unless the use passes the expanded=True parameter.
* Adapt to using report's UI API (#562656).Chris Lumens2010-03-041-3/+3
|
* Skip the filter/cleardisk steps on upgrades, too (#568334).Chris Lumens2010-02-251-4/+4
| | | | | | We run upgrade.setSteps late, from the UI should you select "upgrade" from the proper screen. This means the earlier text.setSteps gets overridden so we need to add a permanent=1 to all these.
* Warn when ignoring BIOS RAID members (#560932)Hans de Goede2010-02-161-1/+3
| | | | | | | | | | | | | This patch adds a warning when ignoring BIOS RAID members because no complete set using them could be found. This patch also introduces a much needed InstallInterfaceBase class, as I didn't feel like adding the exact same code to all of cmdline.py, gui.py and text.py . Note that the ignoring of BIOS RAID members is checked in 2 places, as the filter UI can be skipped under certain circumstances (kickstart). The interface code checks for disks it has already warned about.
* Move network to the Anaconda object.Chris Lumens2010-02-041-1/+1
|
* Move instLanguage to the Anaconda object.Chris Lumens2010-02-041-3/+1
|
* Move instProgress to be an attribute on the InstallInterface.Chris Lumens2010-02-041-0/+4
|
* Use anaconda.ksdata instead of anaconda.isKickstart.Chris Lumens2010-02-041-1/+1
| | | | | | anaconda.ksdata is only non-None if there's a kickstart file, just like anaconda.isKickstart would be. Therefore, we don't need two variables to test for the same condition.
* On text kickstart installs, doBasePackageSelect still needs to run (#559593).Chris Lumens2010-02-021-1/+0
| | | | | This method is what calls kickstart.selectPackages, so not running it means the %packages section of the kickstart file will never be applied.
* Support ignore all/reinit all on the disk reinitialization question (#512011).Chris Lumens2010-01-191-10/+38
| | | | | | | | | | It's possible for the user to have a huge number of disks, which could result in this dialog popping up a huge number of times. Therefore, it'd be a good idea to allow the user to apply their same choice to all following times when the dialog would pop up. Note that it would be nicer to add some sort of checkbox to MessageWindow to make this more clear, but that is not exactly trivial to do.
* Ask about LVM inconsistencies only in storageinit step.Radek Vykydal2010-01-071-0/+45
| | | | | | | | | | | The patch does essentially the same thing as commit 31d5b8f4fec513e4f8e246e47e9fee75c701d07b for disk initialization question. The difference is that when user chooses LVM reinitialization, it is done immediately (not as planned action as with disk initialization) so the user wouldn't be asked again anyway without the patch (he would be asked if he chose to ignore). I also made one function more readable in the patch.
* Ask about disk initialization only in storageinit step.Radek Vykydal2010-01-071-0/+37
| | | | | | | | Don't ask again and again e.g. when going back and forth in custom partitioning UI. Related to bug #527711 which is itself fixed by another patch. (*) Answers are cached in InstallInterface classes. (*) Dialog callback is moved from storage code to InstallInterface classes.
* 'cleardiskssel' typos that made it impossible to run text install.Ales Kozumplik2009-12-221-1/+1
|
* Add an interface to select the fancy filtering UI vs. the regular one.Chris Lumens2009-12-111-0/+1
| | | | | | Most Fedora users don't need to see the advanced filtering UI with all its multipath tabs and advanced storage buttons and search interfaces. So, provide an introductory screen that allows skipping all that stuff.
* Add a step to prompt for the cleardisks UI.Chris Lumens2009-12-111-0/+1
| | | | | | This UI is the screen that allows the user to select which devices will be wiped during installation and which should just be mounted. It also allows selecting which device the bootloader should be installed to.
* Add an early user interface for filtering storage devices.Chris Lumens2009-12-111-0/+1
| | | | | | | | | | This UI allows the user to select which devices they would like to include in the rest of the installation process, sorted out by their types. All devices not checked will never again be referenced by anaconda, though we may see their udev information in the logs from time to time. This UI supports two different ways of looking at things: the simple UI for regular Fedora users with basic devices, and the complex UI with many tabs and filtering options.
* Allow InstallInterfaces to modify the installation steps.Chris Lumens2009-12-111-0/+4
| | | | | This will be handy for the filtering interface that does not at all exist in text mode.
* Remove test mode.Chris Lumens2009-12-031-1/+1
| | | | | | | This is yet another way of running anaconda that gets extremely limited use, no testing, and no consideration during development to making sure it still works. Again, we need to stop pretending and get rid of modes that we don't support.
* Improve detailedMessageWindow() in text.py.David Cantrell2009-10-291-22/+22
| | | | | | Rather than use ListboxChoiceWindow(), do what ButtonChoiceWindow() does in snack, but add an additional row with a scrolling list box for longText.
* Improve detailedMessageWindow() in text.py.David Cantrell2009-10-281-2/+44
| | | | | | | | | | Previously, detailedMessageWindow() would just give you a messageWindow and throw out the longText. This patch tries to implement something that will let the longText contain somewhat formatted text and allow users to scroll. That's done with the ListboxChoiceWindow. Selecting any item in the list box is the same as selecting button ID 0 on the dialog.
* Use named parameters for translatable strings with multiple params.David Cantrell2009-10-011-1/+1
| | | | | | | | | | | | | | | | This is a cleanup for the po files. xgettext displays the following messages for some Python files: warning: 'msgid' format string with unnamed arguments cannot be properly localized: The translator cannot reorder the arguments. Please consider using a format string with named arguments, and a mapping instead of a tuple for the arguments. This patch modifies the reported format strings to use named parameters per the warning message. We were already using these style format strings in users.py and possibly other files. Basically when there is more than one parameter in the format string, we should use a hash table with named parameters.
* Adapt to python-meh passing a bug description around.Chris Lumens2009-09-251-2/+3
|
* Remove the installation number screen.Chris Lumens2009-09-221-46/+0
| | | | | | | | Whatever form the new entitlement system takes, it is unlikely it will look like what we've currently got. It's probably better to start over fresh than attempt to adapt what we've got into supporting the new system. This will also allow testing of the RHEL6 tree with the right product name without requiring testers to enter a key.
* Simplify language.py to two basic settings, and a lot of support (#517569).Chris Lumens2009-09-021-2/+2
| | | | | | | | | There's now just two important settings in the Language module: instLang, which is the language used while anaconda is running; and systemLang, which is the language the installed system itself will use. These two can be different mainly due to anaconda's text mode interface. The rest of anaconda should only set and get these two. All the other support functions still exist for grabbing timezone, font, etc.
* Adapt the text interface to using the new python-meh code too.Chris Lumens2009-07-291-182/+8
|
* Most windows no longer need an anaconda argument, since the intf has that.Chris Lumens2009-07-291-11/+12
|
* Lots of small grammar and wording changes.Peter Jones2009-07-131-4/+4
| | | | Just auditing the world for clarity, don't mind me.
* Skip exceptionDisks if exception originated in devtree.populate. (#497240)David Lehman2009-07-011-5/+9
| | | | | | | Set a flag in the DeviceTree to indicate when we are in the process of populating the tree. In the UI exception handlers we only collect save-to-disk targets if the exception did not originate in DeviceTree.populate.
* Use gettext.ldngettext when necessary (#467603)David Cantrell2009-06-031-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The i18n people have suggested using ngettext when we need to have singular and plural forms of strings, where the count will vary as to what we are reporting to the user. I've made the changes they have suggested. I created a new lambda function called P_() to use for the plural cases. P_() takes in three parameters: 1) The singular form of the string. 2) The plural form of the string. 3) A count. Here's an example: ....some loop runs doing stuff bytesWritten = 47 msg = P_("Wrote %d byte.", "Wrote %d bytes.", bytesWritten) % (bytesWritten,) print msg The % substitution is correct at the end because P_() returns a single string, so we only need the format string to account for that. Some strings have been changed slightly to make it easier for translations to other languages, particularly when choosing plural forms.
* Split text mode exn saving into multiple screren (#469380).Chris Lumens2009-04-171-58/+69
| | | | | | This is required to make it fit better on the screen. Instead of using one gigantic dialog, we can use several smaller ones. This probably isn't too much of an issue anymore for anyone using kernel modesetting though.
* If there's a problem finding removable disks, disable save-to-disk.Chris Lumens2009-03-311-1/+5
| | | | | | Catching all exception is really drastic, but this is the exception reporting code and we need it to be resiliant to extra errors so we stand a chance of getting things reported.
* Call storage.exceptionDisks, not diskset.exceptionDisks. (#489615)David Lehman2009-03-121-1/+1
|
* Update UI code to use new storage module.David Lehman2009-02-231-4/+0
|
* Don't provide a special partedExceptionWindow anymore.Chris Lumens2009-02-121-30/+0
| | | | | | Since pyparted has a lot more execption classes now, it makes sense to just let anaconda's regular exception handling framework deal with them. This means a lot of changes throughout are on the way.
* Remove interactive partitioning. Now you only get autopart.Chris Lumens2009-02-091-2/+1
| | | | | You can, however, still select the drives to use and the basic layout to use. You can also still use kickstart.
* Completely remove the bootloader step from interactive text mode.Chris Lumens2009-02-091-5/+0
|
* Remove unused partmethod step.Chris Lumens2009-02-091-3/+0
|
* Reduce package selection down to automatically installing Base and Core.Chris Lumens2009-02-091-1/+0
| | | | There is no more interactive group/package selection in text mode.
* Prevent traceback when there are no network devices (#469339)David Cantrell2008-11-041-0/+2
| | | | | | | | | | | | If a user boots from boot.iso, the installer will bring up the net config dialog to configure the network interface so packages can be found and installed. If a user has no available network devices, the window appears but nothing is in the combo box. If they click the combo box, you get a traceback. This patch returns False from all enableNetwork() functions so the user sees the 'No Network Available' dialog and is given the Exit Installer button.
* Fix saving tracebacks via scp while in text mode.Chris Lumens2008-10-291-20/+20
|
* Fix a typo (second part of #466374)Jeremy Katz2008-10-091-1/+1
|
* Remove most of the network configuration from text mode as well (#462691).Chris Lumens2008-09-181-3/+2
|
* New device passphrase is now always global w/ option to retrofit.David Lehman2008-09-151-23/+14
| | | | | | Retrofit in this context means to add the new passphrase to all preexisting LUKS devices that we have keys to. This is an effort to simplify management of systems containing encrypted devices.
* Use print() as a function.Peter Jones2008-09-081-2/+2
|
* Support establishing a global passphrase when creating encrypted devices.David Lehman2008-08-191-8/+20
|
* Add encrypted device passphrase dialog for text mode.David Lehman2008-08-131-0/+79
|
* console: kill the /proc/xen hackMark McLoughlin2008-08-081-2/+0
| | | | | | | | We don't have /proc/xen anymore. virtpconsole should cover this now anyway. Signed-off-by: Mark McLoughlin <markmc@redhat.com>