Commit Graph

3833 Commits

Author SHA1 Message Date
Adriaan de Groot
29e532a790 [partition] Insert annoying 3-sec delay
This is intended for testing -- it helps debug where a slow
requirement check blocks the UI.
2017-12-12 07:17:16 -05:00
Adriaan de Groot
4566e53d01 [partition] Delay requirements checking until pmcore is initialized 2017-12-02 12:11:56 -05:00
Adriaan de Groot
ba21a221df [partition] C++ style 2017-12-02 11:43:20 -05:00
Adriaan de Groot
16fbe4dc8c [partition] Sample of requirement checking
- There should be at least device to select, overwise we can't continue.
   The check currently **always** fails, so it blocks installation.
2017-12-02 11:42:56 -05:00
Adriaan de Groot
c8e42e6909 [welcome] Implement requirements checking at module level.
- Hook up the requirements checker (which only checks) to the module-and-viewstep
   method called to do the checking.
2017-12-02 11:30:26 -05:00
Adriaan de Groot
bd27dda474 [welcome] Restructure requirements checking
- Move widget behavior into its own container / widget class
 - Change the RequirementsChecker class to just check the
   requirements, returning a results list
 - Connect from the module manager to the results widget.
2017-12-02 11:30:26 -05:00
Adriaan de Groot
b6fed964ce [libcalamaresui] Defer requirements checking of ViewModules to their ViewSteps 2017-12-02 11:30:26 -05:00
Adriaan de Groot
27b921bde1 [libcalamaresui] Move requirements information out of welcome module.
- Move type and rename it; put in Calamares namespace
 - Emit signals from the viewmanager as results come in
 - Remove state changing from welcome view step based on its internal
   requirements checking (for now this breaks progressing past the
   welcome page)
 - Log checking of the requirements
2017-12-02 10:59:33 -05:00
Adriaan de Groot
24e04645b6 [libcalamaresui] Stub requirements checking.
Introduce a method checkRequirements() into the module system so that
individual modules can do their own checking (as opposed to stuffing
it all into the welcome module).
2017-12-02 09:26:22 -05:00
Adriaan de Groot
d63f8f6922 [welcome] Document welcome.conf
- explain requirements keys
 - document show-buttons keys
2017-11-29 09:46:19 -05:00
Adriaan de Groot
5a07f6ef8a Merge branch 'master' into requirements-checking 2017-11-29 09:02:07 -05:00
Adriaan de Groot
0d413ba750 Merge branch '3.1.x-stable' 2017-11-29 08:58:32 -05:00
Adriaan de Groot
63af8c1b92 Drop -rc status 2017-11-29 08:50:22 -05:00
Adriaan de Groot
12369abaa4 [libcalamares] Refactor to reduce compiler warnings 2017-11-29 08:49:44 -05:00
Adriaan de Groot
c4398ec86b [libcalamaresui] Swap breeze icons
Instead of using state-foo icons, use the corresponding emblems because
they are larger and don't have the 'cloud state' background.
Keep the existing names because I don't feel like churning
more of the codebase than necessary.

These new icons are from KDE Neon breeze-icon-theme 5.40, e.g.
breeze-icon-theme: /usr/share/icons/breeze/emblems/8/emblem-error.svg
2017-11-29 08:34:18 -05:00
Adriaan de Groot
53036be418 Merge branch 'i865-error-reporting' 2017-11-28 11:48:25 -05:00
Adriaan de Groot
ae4508011c [tracking] swap out PNG for SVG icons 2017-11-28 11:47:51 -05:00
Adriaan de Groot
c284304872 [libcalamares] Adjust copyright lines 2017-11-28 11:41:17 -05:00
Adriaan de Groot
cc195eb3d4 [libcalamares] Improve reporting of CalledProcessError
For called processes, replace the not-very-useful type message
with the command-explanation, and replace the value (previously
command-explanation) by the stderr of the failed command.

FIXES #865
2017-11-28 11:38:26 -05:00
Adriaan de Groot
9df796a3fd [libcalamares] Log earlier, warnings-- 2017-11-28 11:26:59 -05:00
Adriaan de Groot
1e27c6438a [libcalamares] Special-case CalledProcessError 2017-11-28 11:21:42 -05:00
Adriaan de Groot
a0a8ab0048 [libcalamares] Refactor Python target_env calls
This is why the whole refactoring started: to get the process output
and exit code in one spot so we can attach the process output
to the (Python exception) CalledProcessError in all the code
paths, not just those that are explicitly looking for output.
2017-11-28 10:55:53 -05:00
Adriaan de Groot
6693d91152 [libcalamares] Refactor bp:list -> QStringList 2017-11-28 10:42:00 -05:00
Adriaan de Groot
9d31380980 [libcalamares] Refactor target-environment calls
- Add a more general targetEnvCommand() that returns both
   error code and process output.
 - Change existing targetEnvCall() and targetEnvOutput()
   to use general form while discarding some data.
2017-11-28 10:27:24 -05:00
Adriaan de Groot
f5aec1ad8a [libcalamares] Add output to CalledProcessError
- Refactor, internal _handle_check_target_env_call_error doesn't need
   to be in header or visible.
 - Add optional output (of the command) to the Python exception.
2017-11-28 08:53:40 -05:00
Adriaan de Groot
1f3f6111f7 [libcalamares] Log output from failed commands 2017-11-28 08:40:12 -05:00
Adriaan de Groot
b4d4351825 [libcalamares] Better Python traceback handling:
- log the whole error message as plain text
 - convert to HTML only for the ui
2017-11-28 08:33:32 -05:00
Adriaan de Groot
a25445a58c i18n: update (English) source translation files 2017-11-28 06:47:33 -05:00
Adriaan de Groot
d06e29b1c5 [interactiveterminal] refactor again to keep Transifex happy 2017-11-28 06:45:56 -05:00
Adriaan de Groot
790073cddc i18n: enable Albanian (sq) 2017-11-28 06:04:47 -05:00
Calamares CI
561a91bd86 [python] Automatic merge of Transifex translations 2017-11-28 06:00:10 -05:00
Calamares CI
cd2ae5ab0e [dummypythonqt] Automatic merge of Transifex translations 2017-11-28 06:00:08 -05:00
Calamares CI
d89cb8ea91 [desktop] Automatic merge of Transifex translations 2017-11-28 06:00:07 -05:00
Calamares CI
9cbd9fe5f1 [core] Automatic merge of Transifex translations 2017-11-28 06:00:07 -05:00
Adriaan de Groot
3cb6fd839b [interactiveterminal] Refactor error message
- refactor error message
 - ifx capitalisation problem
 - remove editorializing in comments

FIXES #866
2017-11-28 05:05:28 -05:00
Adriaan de Groot
49fda9da28 CMake: bump version to 3.2.0rc1 (not that there's an RC pending or anything) 2017-11-24 09:29:42 -05:00
Adriaan de Groot
3ae65d5771 Merge branch '3.1.x-stable' 2017-11-24 09:28:35 -05:00
Adriaan de Groot
239a8eb3a8 GitHub: update issue template to provide hint for installation log 2017-11-24 09:25:47 -05:00
Adriaan de Groot
a37a4a8c55 [tracking] Module should be disabled by default 2017-11-24 09:02:56 -05:00
Adriaan de Groot
93ab6432c4 [netinstall] Special-case the root node.
Root is always selected, can't be unselected, and has its own explicit
constructor and name. This resolves issue reported where unchecking
all *visible* groups caused the root to be unchecked, after which
hidden-but-still-selected subgroups were not installed.

Reported by crazy@
2017-11-24 07:52:52 -05:00
Adriaan de Groot
e29cd7ab54 Merge branch 'usertracking'
Adds a "tracking" module which allows configuring phone-home,
machine and user tracking. Additional machine-tracking types
could be defined depending on distro needs.

This is not the final version -- there is still polishing to
do on the icons, perhaps layout.

Tested in KDE Neon devunstable by keeping an existing partition
which had an older Neon running. New machine-id is generated
and sed'ded into place.

FIXES #783
2017-11-23 17:38:30 +01:00
Adriaan de Groot
858372d93e [tracking] Remove derp. 2017-11-23 17:38:06 +01:00
Adriaan de Groot
992d5b4e9d CMake: always automoc generated files 2017-11-23 17:32:29 +01:00
Adriaan de Groot
0812f035d0 CMake: pick up KDE D8951 to reduce CMake automoc warnings 2017-11-23 13:28:21 +01:00
Adriaan de Groot
8aa94ef01e [branding] Fix up example URLs 2017-11-23 13:15:55 +01:00
Adriaan de Groot
8e79ad1a14 [tracking] Implement Neon machine tracking configuration 2017-11-22 08:04:37 -05:00
Adriaan de Groot
6cb88c86f1 [tracking] Improve phrasing 2017-11-22 07:49:06 -05:00
Adriaan de Groot
22f5a121cb [tracking] stub implementation of neon machine feedback configuration 2017-11-22 07:39:52 -05:00
Adriaan de Groot
4a96e83203 [tracking] Adjust wording, drop page title 2017-11-22 07:21:58 -05:00
Adriaan de Groot
9a3ba75c2c [tracking] Switch icons to sensible names 2017-11-22 13:04:18 +01:00