Commit Graph

776 Commits

Author SHA1 Message Date
Michael Hudson-Doyle 95dc9664e5 Start at a login view. 2016-07-28 10:30:27 +12:00
Michael Hudson-Doyle c9d9f950c0 Being clever is overrated. 2016-07-27 22:45:49 +12:00
Michael Hudson-Doyle aa2bcdcd86 oops 2016-07-27 22:25:05 +12:00
Michael Hudson-Doyle fc1a828ad5 update firstboot-complete path in service files 2016-07-27 22:16:46 +12:00
Mathieu Trudel-Lapierre 1c7fbac977 Update paths to /writable for snappy 2016-07-27 22:16:26 +12:00
Michael Hudson-Doyle ec5f94bf7d entirely custom identity view for console-conf 2016-07-27 22:15:22 +12:00
Michael Hudson-Doyle ac06f25abd Refactor identity stuff to avoid dep on curtin in console-conf case.
A bit verbose perhaps, but works. Now console-conf only depends on curtin for
the network stuff.
2016-07-27 16:05:47 +12:00
Michael Hudson-Doyle bf1e280276 Make create_user resilient to e.g. spaces in the password. 2016-07-27 15:24:44 +12:00
Michael Hudson-Doyle dc11c6a27c Move function for creating a user to its own file. 2016-07-27 14:52:16 +12:00
Michael Hudson-Doyle 807bcfcde8 Merge pull request #134 from CanonicalLtd/mwhudson/cleanups
cleanups
2016-07-27 09:30:03 +12:00
Michael Hudson-Doyle f639aaff0c tweak formatting of import blocks 2016-07-26 16:03:03 +12:00
Michael Hudson-Doyle d9f596c994 Move disk and install things from subiquitycore to subiquity. 2016-07-26 16:00:36 +12:00
Michael Hudson-Doyle 2c749d944c Have console-conf and subiquity check differing environments.
This means that console-conf no longer needs to have hdparm installed.

I'm not sure console-conf needs to call this at all TBH.
2016-07-26 15:09:44 +12:00
Michael Hudson-Doyle 9edb676a9b Remove unused copies of controllers from console_conf.
These were the same as the corresponding file from subiquitycore and not
in fact imported by anything.
2016-07-26 14:43:22 +12:00
Michael Hudson-Doyle 04a6d88ffe rename ViewPolicy to BaseView 2016-07-26 14:21:24 +12:00
Michael Hudson-Doyle 809034728c rename ModelPolicy to BaseModel 2016-07-26 14:20:10 +12:00
Michael Hudson-Doyle f027382877 rename ControllerPolicy to BaseController 2016-07-26 14:17:30 +12:00
Mathieu Trudel-Lapierre 0b0ad660a3 Merge pull request #133 from CanonicalLtd/mwhudson/cleanups
cleanups
2016-07-25 18:03:54 -04:00
Michael Hudson-Doyle 264f698299 Fix flake8 warnings in subiquitycore.
Except for line length warnings, because life is too short of that.

A few of these are real bugs.
2016-07-25 14:44:51 +12:00
Michael Hudson-Doyle 1fdb035cdf Fix flake8 warnings in console_conf 2016-07-25 12:55:42 +12:00
Michael Hudson-Doyle e95daf25ba Re-introduce 'subiquity' package for installer specific things.
Only move the Application object for now.
2016-07-25 12:51:39 +12:00
Michael Hudson-Doyle 173fdcb77f rename subiquitycore.core.Controller to Application
Also CoreControllerError -> ApplicationError
2016-07-25 12:38:19 +12:00
Mathieu Trudel-Lapierre 8e6ff11fb7 curtin: note the need for --extrausers on snappy. 2016-07-09 13:07:52 -04:00
Mathieu Trudel-Lapierre 6235ae789e Revert "XXX: adduser with extrausers database"
This is more meant for console-conf on snappy; doesn't quite apply
to standard subiquity.

This reverts commit 4695735d79.
2016-07-09 13:05:26 -04:00
Mathieu Trudel-Lapierre 4695735d79 XXX: adduser with extrausers database 2016-07-09 13:04:42 -04:00
Mathieu Trudel-Lapierre 4e1bab7f55 Install systemd service files 2016-07-08 21:43:07 -04:00
Mathieu Trudel-Lapierre 9558c1a357 Update and clean up packaging to build separate binaries 2016-07-08 16:46:16 -04:00
Mathieu Trudel-Lapierre 6707f8731e setup.py: update to account for subiquitycore rename 2016-07-08 15:56:50 -04:00
Mathieu Trudel-Lapierre 62e70afd02 console_conf: make sure we're recognized as a package 2016-07-08 15:56:26 -04:00
Mathieu Trudel-Lapierre 6133de63fe Merge branch 'cyphermox/debian' into cyphermox/console_conf 2016-07-08 15:23:07 -04:00
Mathieu Trudel-Lapierre 1d8c5b3cdb Deal with the fact there may be no default route for an IP family. 2016-07-06 18:30:43 -04:00
Mathieu Trudel-Lapierre 6ae734302f Makefile: use xenial branch for Makefile builds 2016-07-06 18:27:26 -04:00
Mathieu Trudel-Lapierre 0205423133 Do a slightly better job at showing default gateways. 2016-07-06 18:14:13 -04:00
Mathieu Trudel-Lapierre 73d73dff94 NetworkView: rework layout for network info based on review.
Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
2016-06-30 17:24:31 -04:00
Mathieu Trudel-Lapierre be0457f9ea Don't filter logs at all.
Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
2016-06-30 14:51:46 -04:00
Mathieu Trudel-Lapierre f6bb666c4d Simplify defining core with only the general flow.
Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
2016-06-30 14:50:21 -04:00
Mathieu Trudel-Lapierre e85859fa62 WelcomeView: update UI to Mark's review: welcome string and button caption
Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
2016-06-30 14:35:19 -04:00
Mathieu Trudel-Lapierre 848ccabc7d console_conf: start initial console-conf tree with a custom controller story
And a custom Welcome screen to boot; to show the overriding of settings.

Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
2016-06-30 14:18:54 -04:00
Mathieu Trudel-Lapierre e1970b6477 Rename subiquity to subiquitycore -- will serve as base classes for everything
Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
2016-06-30 14:17:01 -04:00
Mathieu Trudel-Lapierre 1b03fb4b21 debian: merge packaging in main subiquity tree.
Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
2016-06-28 14:02:33 -04:00
Mathieu Trudel-Lapierre a721eba5c1 Add an 'install' mode; firstboot will be the default to avoid trashing installs
Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
2016-06-28 11:30:40 -04:00
Mathieu Trudel-Lapierre 1dddd0399e Move on to identity and then install (or login if in firstboot mode).
Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
2016-06-28 11:28:56 -04:00
Mathieu Trudel-Lapierre 5b86abca12 Use git+ssh and a newer snapshot revision to get probert.
Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
2016-06-23 23:29:34 +03:00
Mathieu Trudel-Lapierre d4f1ed1951 Merge firstboot logic into subiquity proper; make it generic enough to work for both the installer and firstboot cases. 2016-06-23 23:27:09 +03:00
Ryan Harper 346d4fa37d Change subuiquity to run as firstboot for snappy.
Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2016-06-22 14:19:54 -05:00
Ryan Harper 2007d6401b add check for empty loopdev to geninstaller
Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2016-06-22 13:30:27 -05:00
Ryan Harper c8123f9f38 Fix up issues with partition tables when not needed
- Don't include Disk entries in storage config unless they've been modified
- Make sure underlying devices don't include partition table unless needed

Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2016-01-04 07:26:22 -06:00
Ryan Harper e9e951a8d7 Merge pull request #130 from CanonicalLtd/add-lvm-ux
Add lvm ux
2015-12-04 09:36:47 -06:00
Ryan Harper 362d253627 Merge remote-tracking branch 'origin' into add-lvm-ux 2015-12-04 09:31:28 -06:00
Ryan Harper f31977f310 Merge pull request #129 from CanonicalLtd/fix-geninstall-with-latest-curtin
Fix geninstall with latest curtin
2015-12-04 09:16:53 -06:00