Commit Graph

4265 Commits

Author SHA1 Message Date
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
Adriaan de Groot
cb8f698ce0 [tracking] Switch to VDG icons (version 1) 2017-11-22 13:01:41 +01:00
Adriaan de Groot
93052311aa [tracking] Switch UI to use radio buttons
Following KDE Pholio M116, switch to using a radio button; instead
of 4 individually toggle-able settings, use a "level" indicator
to select none, install, machine, user .. each of which implies
the previous levels. Each level is individually enable-able from
the distro side.
2017-11-22 06:52:14 -05:00
Adriaan de Groot
188050a77c Merge branch 'master' into usertracking 2017-11-21 07:29:49 -05:00
bill-auger
452cefd482 use orphaned Branding::ProductLogo as sidebar image 2017-11-21 07:25:39 -05:00
Adriaan de Groot
aa0fa37492 [netinstall] Hidden groups follow selectedness of parents.
If a subgroup is hidden, then it should be considered
selected if its parent is selected or partially-selected.
If the parent group is totally unselected, then the hidden
subgroup shouldn't be installed either. This allows putting
required-packages into a group, without cluttering the
interface.

FIXES #864
2017-11-21 06:16:30 -05:00
Adriaan de Groot
71e80f680e [netinstall] Only update selectedness of parents with children.
While walking up the tree, only switch the selectedness states
of parents with children. This avoids the case where a parent
has a first subgroup that is hidden -- in which case the
parent ends up with no children, and is unselected even though
it is marked as selected in the config file.

FIXES #864
2017-11-21 05:36:38 -05:00
Adriaan de Groot
7e2e2cabfe CMake: bump version to 3.1.9rc1 (no functional changes yet) 2017-11-21 04:25:32 -05:00
Adriaan de Groot
495f94dde8 [calamares] Silence QBasicTimer warning message.
Relying on auto-qobject deletion on shutdown generates a warning message
    17:23:44 [0]: QBasicTimer::start: QBasicTimer can only be used
                  with threads started with QThread
which is annoying. Since we're in shutdown, just skip deletion
entirely, and leave the model unparented.

FIXES #472
2017-11-21 04:22:28 -05:00
Adriaan de Groot
185f46e2c4 [calamares] reduce compile warnings 2017-11-20 12:00:06 -05:00
Adriaan de Groot
3e4b1a7c46 [calamares] Avoid possible uninit-pointer or memory leak 2017-11-20 11:59:15 -05:00
Adriaan de Groot
0c0f0fc8b4 [requirements] Check window minimum size, not preferred size.
FIXES #863
2017-11-20 09:14:35 -05:00
Adriaan de Groot
1d18ea264d [libcalamaresui] Switch to using three state icons for requirements 2017-11-20 09:04:26 -05:00
Adriaan de Groot
65cf28b716 [libcalamaresui] Provide access to the breeze SVGs 2017-11-20 09:04:26 -05:00
Adriaan de Groot
fbe1976c11 [libcalamaresui] Add breeze SVGs under LGPLv3 2017-11-20 08:59:10 -05:00
Adriaan de Groot
7d916f649d [requirements] Document code 2017-11-20 08:18:39 -05:00
Philip
5cbc2273de Merge branch 'master' of https://github.com/calamares/calamares into development 2017-11-14 10:44:33 -05:00
Adriaan de Groot
848d532a58 CMake: drop -rc status 2017-11-14 10:18:58 -05:00
Adriaan de Groot
4f077d3b9a Documentation: update README dependencies, links 2017-11-14 09:31:09 -05:00
Adriaan de Groot
c51e8268d1 Merge branch 'rajudev-master' 2017-11-14 05:27:54 -05:00