summaryrefslogtreecommitdiffstats
path: root/pyanaconda
Commit message (Collapse)AuthorAgeFilesLines
* kickstart.py needs udev that now lives in blivetVratislav Podzimek2013-02-191-11/+12
|
* Refactor pieces of the Datetime spoke and move some parts to kickstart.pyVratislav Podzimek2013-02-193-42/+56
| | | | | | | | | | The apply method should only set self.data, the execute method should do all necessary runtime changes. The code for starting chronyd service and adding/removing it to/from the list of installed packages and enabled services should be placed somewhere where it can be used by text mode as well. Also use NTP_* constants instead of "chrony" and "chronyd" magic strings.
* Set ONBOOT=no for default autoconnections (#905918, #886090)Radek Vykydal2013-02-191-0/+2
| | | | | | | | Autoconnections are set up by NM for devices not having ifcfg file (ie those not activated by dracut or not configured in kickstart). We want to default to "no" for this devices in RHEL. We even don't want to bring up the autoconnections in installer environment, but that is something for a separate bug.
* Don't use "type" to name a variable.Radek Vykydal2013-02-191-4/+4
|
* Update all spokes on a Hub when spoke is exitedMartin Sivak2013-02-151-1/+2
|
* Wait for continueButton in KS mode if the user changed anythingMartin Sivak2013-02-151-15/+21
| | | | | | | | | This behaviour tries to minimize the "surprise factor" we have in the installer. When the user entered spoke, changed any data and then left the spoke, the installer gave him no chance for review or correcting the entered values. With this patch applied the Hub waits for a click on the continueButton if any user interaction happened before all the spokes were ready+completed.
* Fix up word wrap on the DetailedErrorDialog.Chris Lumens2013-02-152-1/+3
|
* Display storage warnings, similar to how errors are displayed (#909410).Chris Lumens2013-02-151-20/+33
|
* Fix reprompting and screen redrawing on invalid inputVratislav Podzimek2013-02-151-2/+6
| | | | | This fixes the behaviour if an invalid input was provided. 5 times it just reprompts for the input then it redraws the screen a resets the counter.
* Refresh addons_paths once we know if gui or tui takes placeVratislav Podzimek2013-02-151-1/+11
| | | | | | We need addon_paths initialized in early phases for addons' kickstart classes, but the it should be refreshed once we know wheter it should contain paths for TUI or GUI installation.
* Fixup kickstart script loggingBrian C. Lane2013-02-143-45/+54
| | | | | | | | | | | Changes to the execWith* methods removed the ability to handle a string as stdin/out/err. Change the callers to first open where they want output to be sent to and pass that instead. Only stdout is needed because _run_program combines stdout and stderr, pass stderr through but ignore it. Also clean up a couple places that were passing strings that don't need to.
* Tell libreport the crash happened in Anaconda (#885690)Vratislav Podzimek2013-02-141-0/+1
| | | | | | There is a new package libreport-anaconda that contains some configuration files that enable "reporting" over scp/ftp. We just need to tell libreport that the crash happened in Anaconda.
* Move the encryption checkbox to the dialogBrian C. Lane2013-02-132-38/+58
| | | | | This moves the 'Encrypt my data' checkbox from the main storage spoke into the dialog above the partition type combobox.
* re-fetch metadata when proxy settings changeBrian C. Lane2013-02-131-4/+6
| | | | | If you entered a bad proxy the only way to get it to continue was to change the source to something different.
* install -> installation in a couple user-visible strings.Chris Lumens2013-02-133-6/+6
|
* Restore support for partial kickstart files (#887254).Chris Lumens2013-02-139-34/+67
|
* Get rid of packagesSeen.Chris Lumens2013-02-132-8/+3
| | | | pykickstart now provides this information for all commands.
* Remove debugging print (DatetimeSpoke)Vratislav Podzimek2013-02-131-1/+0
|
* Honor modules' __all__ when doing collectMartin Sivak2013-02-131-1/+9
|
* Use ksdata.addons instead of ksdata.addon and add ADDON_PATHS to sys.pathVratislav Podzimek2013-02-133-7/+7
| | | | | | | | 'ksdata.addons' makes more sense than 'ksdata.addon' since it is a root of the tree where addons live. ADDON_PATHS are needed in sys.path so that imports in addons' sources work.
* Remove unused modules (dbus) and stuff from network.pyRadek Vykydal2013-02-121-30/+0
|
* Replace get_NM_connection() using new nm module.Radek Vykydal2013-02-121-68/+18
|
* Replace get_NM_settings_value() using new nm moduleRadek Vykydal2013-02-121-14/+1
|
* Replace nmIsConnected() using new nm moduleRadek Vykydal2013-02-121-16/+5
|
* Replace hasActiveNetDev() using new nm moduleRadek Vykydal2013-02-124-19/+9
|
* Replace getDevicesProperies() using new nm moduleRadek Vykydal2013-02-121-25/+0
|
* Replace getIPAddresses() using new nm moduleRadek Vykydal2013-02-121-58/+4
|
* Replace getMacAddress() using new nm moduleRadek Vykydal2013-02-122-20/+20
|
* Replace isWirelessDevice() using new nm moduleRadek Vykydal2013-02-122-20/+2
|
* Replace getLinkStatus() using new nm moduleRadek Vykydal2013-02-122-20/+22
|
* Replace getActiveNetDevs() using new nm moduleRadek Vykydal2013-02-123-36/+7
|
* Replace getDevices() using new nm moduleRadek Vykydal2013-02-123-14/+15
|
* Move NM dbus calls to separate module.Radek Vykydal2013-02-121-0/+506
| | | | | Also use GDBus instead of python-dbus / libdbus which has issues with threads.
* Move networking functions from isys to network module.Radek Vykydal2013-02-126-244/+232
|
* Remove unused stuff from network.pyRadek Vykydal2013-02-121-187/+1
|
* Remove unused networking stuff from isysRadek Vykydal2013-02-121-8/+0
|
* Network spoke: remove unused NM path and interface constantsRadek Vykydal2013-02-121-6/+0
|
* Ensure hookdir exists before creating eject scriptWill Woods2013-02-111-0/+1
| | | | | | Since we're leaving the initramfs compressed, this directory won't exist until the system is shutting down. But everything works as expected if we create the directory ourselves, before shutdown.
* Bring back the askmethod parameter (#889887).Chris Lumens2013-02-113-1/+17
| | | | | | | | We've got this shiny new method selection UI but if you want to use it, you've first got to sit through the delay of fetching metadata for the closest mirror which might be completely wrong for you. Thus, this parameter will skip the default action. Entering and leaving the source spoke will unset this parameter.
* Add a new selectorFromDevice method to the accordion.Chris Lumens2013-02-112-70/+74
| | | | | | This allows creating a new MountpointSelector using a Device as a template, or modifying an existing MountpointSelector. It also consolidates a lot of the specifics of doing that creation.
* The storage logger is now the blivet logger.David Lehman2013-02-114-4/+4
|
* DeviceFactory has moved from blivet to blivet.devicefactory.David Lehman2013-02-111-38/+41
|
* Add --dirinstall commandBrian C. Lane2013-02-084-4/+19
| | | | | | | | | | This disables the storage spoke and installs to /mnt/sysimage without mounting any filesystems. If something is already mounted on /mnt/sysimage it leaves it untouched. This can be useful for utilities like livemedia-creator which will mount a filesystem image on the directory and then run anaconda to install to it.
* Convert the mount point entry to one containing a drop down.Chris Lumens2013-02-072-18/+28
| | | | | | The idea here is that it makes things like "swap" more discoverable because the user can pick them, plus it gets rid of the tooltip that is not at all accessible.
* Move the Modify SW button into a link in the text.Chris Lumens2013-02-072-27/+21
| | | | This helps out a bit with the sea of buttons at the bottom of the dialog.
* Rework all the dialogs after you click Done on the storage spoke (#903501).Chris Lumens2013-02-072-218/+166
| | | | | | | | | | | | (1) Change a lot of wording and button text to make it clear what happens next. (2) Allow going to the reclaim dialog even if you have enough space to begin with. (3) Get rid of the custom partitioning checkbox, and make it a button instead. (4) Get rid of the modify software selection button from one dialog, since there's now too many buttons.
* Overrides for the Gdk have _2BUTTON_PRESS definedVratislav Podzimek2013-02-071-2/+1
| | | | | | Gdk.EventType.2BUTTON_PRESS results in syntax error in Python. However it is not necessary to use getattr() because there is Gtk.EventType._2BUTTON_PRESS defined in Gdk's overrides.
* Add entries with completions to the comboboxes (DatetimeSpoke)Vratislav Podzimek2013-02-062-84/+155
| | | | | | | | | | | | | | Some regions have so many timezones (cities), that the combobox doesn't fit in the screen and is hard to search through. This patch modifies the city and region comboboxes to have text entry, that can be used to choose timezone. There are five ways of choosing timezone: 1) click on the map 2) popup comboboxes and choose region and city 3) type to the region and city comboboxes and choose from the completions 4) type a whole region or city name to the combobox and hit ENTER 5) type a whole region or city name to the combobox and click somewhere else or hit TAB
* Make the custom partitioning bullet points take up less horizontal space.Chris Lumens2013-02-051-3/+13
|
* Don't say you can reuse existing mountpoints unless there are some.Chris Lumens2013-02-052-7/+8
|