Adriaan de Groot
c284024b0e
i18n: Update English translations
2020-06-18 15:47:18 +02:00
Adriaan de Groot
b9b79f11a4
[unpackfs] Prevent accidental 0777 permissions on /
...
FIXES #1418
2020-06-18 14:47:33 +02:00
Adriaan de Groot
0305476f8a
Merge branch 'issue-1287' into calamares
...
Major update to the 'tracking' module with improved wording,
functionality, QML-preparation, and a working kuserfeedback mode.
FIXES #1287
2020-06-18 13:46:57 +02:00
Adriaan de Groot
1b11cc90c4
[tracking] Polish the phrase for 'none' a bit
2020-06-18 13:37:43 +02:00
Adriaan de Groot
6365b7a362
Merge branch 'calamares' into issue-1287
2020-06-17 18:10:33 +02:00
demmm
fc91b4ce60
[localeq] use js to get the hasInternet status
...
switching between Map.qml & Offline.qml now happens properly
2020-06-17 16:52:59 +02:00
Adriaan de Groot
8ad221311d
[tracking] Can't uncheck 'none' box by itself
...
- If the 'no tracking' box is checked, then the way to uncheck
it is to tick some **other** box.
- It doesn't make sense to unselect 'none' and then have .. none
selected.
2020-06-17 15:31:53 +02:00
Adriaan de Groot
47b0fa5d55
[tracking] Get username from gs
2020-06-17 15:24:21 +02:00
Adriaan de Groot
9b8d591b5d
[tracking] Configure user-tracking areas
2020-06-17 15:11:11 +02:00
Adriaan de Groot
98ab4330c4
[tracking] expand documentation of configuration
2020-06-17 14:52:48 +02:00
Adriaan de Groot
3f55d415e9
[tracking] Make names of user-tracking styles consistent
...
- use kuserfeedback instead of "kde", to name the technology,
not the community
2020-06-17 14:27:28 +02:00
Adriaan de Groot
5623d8086b
[tracking] Apply coding style
...
- massage trackingSetup macro to look like a function call
2020-06-17 14:27:28 +02:00
Adriaan de Groot
789561be6a
[tracking] Apply coding style
2020-06-17 14:14:06 +02:00
Adriaan de Groot
8c1685d2cf
[tracking] Connect UI to configuration
...
- policy buttons open the policy URL
- hide tracking levels that are not configurable
2020-06-17 12:20:35 +02:00
Adriaan de Groot
756e3084dc
[tracking] Simplify updatemanager job
...
- sed all the URI lines with a simple replacement
- document policy requirements
2020-06-17 11:33:48 +02:00
Adriaan de Groot
9433311f24
[tracking] Explain which tracking style is disabled by URL-validation
2020-06-17 11:33:48 +02:00
Adriaan de Groot
48d0c5beeb
[tracking] Do user tracking in the job queue
2020-06-17 11:33:48 +02:00
Adriaan de Groot
cb2909f6d8
[tracking] Rename "neon" tracking
...
KDE neon does not do this kind of tracking -- although it was originally
requested by KDE neon, no server roll-out was done once the
privacy policy was thought out.
2020-06-17 11:33:48 +02:00
Adriaan de Groot
4d6a5d0cb5
[tracking] Use KMacroExpander instead of homebrew for install-URL
2020-06-17 11:33:47 +02:00
Adriaan de Groot
c797a30a72
[tracking] Bold more relevant parts of level-descriptions
2020-06-17 11:33:47 +02:00
Adriaan de Groot
dda4ab0b2e
[tracking] Improve naming
...
- give the on-some-checkbox-state-changed slots better names
- while here, refactor is-any-actual-tracking-option-checked
- improve other debug messages, to be a whole sentence
2020-06-17 11:33:30 +02:00
Adriaan de Groot
635f53a804
CI: add a BUILD_SCHEMA_TESTING
...
- ON by default, so if tests are built and the script works,
those tests will run as well.
- Check that the script works by invoking it once.
2020-06-16 17:36:59 +02:00
Adriaan de Groot
e3b8570d61
Merge remote-tracking branch 'origin/master' into calamares
...
Pick up some older MRs that apply to the older branch.
2020-06-16 16:45:49 +02:00
Adriaan de Groot
bfefbd117d
Merge pull request #1435 from gportay/partition-attributes
...
Partition Attributes
2020-06-16 16:42:30 +02:00
Adriaan de Groot
91f87ba838
Merge pull request #1409 from gportay/partition-uuid
...
Partition UUID
2020-06-16 16:42:24 +02:00
Adriaan de Groot
0cd8940363
[bootloader] Fix up schema
2020-06-16 16:16:07 +02:00
Adriaan de Groot
066acdbbc6
Merge branch 'yaml-schemata' into calamares
2020-06-16 16:07:57 +02:00
Adriaan de Groot
4a07bd4ae3
CI: import all the rest of the YAML schema
...
- These have **not** been fixed for validation, so the schema's themselves
will fail to load. This is a consequence of variations in JSON-Schema
representations through various drafts. Fixing the schemata is
fairly straightforward.
This gives us 19 new tests, all of which fail.
2020-06-16 16:06:56 +02:00
Adriaan de Groot
df183d4026
[welcome] Add schema for welcome config
...
- Note that this is missing *languageIcon* so if that gets uncommented,
it will fail validation.
- While here decide that should be
right up front in object (mappings) declaration.
2020-06-16 16:03:28 +02:00
Adriaan de Groot
b48c2745c1
CI: apply schema-validation to the example config files
...
- Any config file with a schema gets a test (validate-<module>)
to test the file.
2020-06-16 14:38:13 +02:00
Adriaan de Groot
62e7128ff6
CMake: document WITH_ and BUILD_ a little more
...
- also mark TODO:3.3: for incompatible / surprising changes for 3.3
2020-06-16 13:54:13 +02:00
Adriaan de Groot
deec0b862f
[finished] Add schema for config
...
- Original schema from artoo@manjaro.org , modified for current JSON-Schema use
2020-06-16 13:04:34 +02:00
Gaël PORTAY
c1b5426c66
[partition] Add support for partition attributes
2020-06-15 22:05:10 -04:00
Calamares CI
ba89b9f7f2
i18n: [dummypythonqt] Automatic merge of Transifex translations
2020-06-12 14:36:48 +02:00
Pablo Ovelleiro Corral
f034b55da2
[packages] add xbps package manager
2020-06-11 11:51:15 +02:00
Adriaan de Groot
6c272bc8be
[libcalamares] Link yamlcpp privately
...
- link the library privately -- the public API uses QVariantMap
- install FindYAMLCPP just in case
- add yamlcpp explicitly in the few places that really need it
(e.g. netinstall testing the parsing of netinstall.yaml)
2020-06-10 02:27:57 +02:00
Adriaan de Groot
38b4f45b92
[locale] Repair timezone graphics -- west-Africa and Pacific
2020-06-09 14:54:19 +02:00
Adriaan de Groot
d511cc2f7a
[locale] Norfolk Island gave up +11.5 in 2015
2020-06-09 14:21:11 +02:00
demmm
a617dba85e
[welcomeq]re-add the donate button example to welcomeq.conf
2020-06-09 13:34:16 +02:00
Adriaan de Groot
8c4b6e4804
Merge branch 'master' into issue-1287
2020-06-09 13:25:01 +02:00
Adriaan de Groot
35fb8dcc27
[mount] Warn if chcon is missing, rather than fail
...
FIXES #1429
2020-06-09 13:24:12 +02:00
Adriaan de Groot
d22178ca5e
[welcomeq] Show filtered list of requirements
...
- only the unsatisfied ones are shown; no need to filter and
fiddle about in QML
2020-06-09 12:13:44 +02:00
Adriaan de Groot
f68d0f0628
[welcome] Add a filtered model for unsatisfied requirements
2020-06-09 12:05:40 +02:00
Adriaan de Groot
d1165bea56
[welcomeq] Use just one component to display requirements
...
- Do all the status indication in one component, but vary
the top-level message based on whether the mandatory
requirements are satisfied.
- Vary color and icon based on each requirement's *mandatory* setting.
2020-06-08 10:22:03 -04:00
Adriaan de Groot
5b1e5a9e03
[welcome] Some API docs
2020-06-08 09:45:19 -04:00
Adriaan de Groot
f35fab24ac
[welcome] Remove name-tangle
...
- use useful, not-single-letter, variable names
- don't rename inconsistently in the lambda capture
2020-06-08 08:33:48 -04:00
Adriaan de Groot
8255bc3fc1
[welcome] Sanitize example configurations
...
- remove all duplicated documentation from ; it's the same as
`welcome.conf` in all respects except for *qmlSearch*.
2020-06-08 08:33:48 -04:00
demmm
73eb718c08
adding needed geoip section to welcomeq.conf
...
see https://github.com/calamares/calamares/issues/1427#issuecomment-640531710
2020-06-08 13:25:47 +02:00
Adriaan de Groot
5e79176f47
Merge pull request #1422 from andy1247008998/patch-2
...
remove unnecessary period mark since it's a title
2020-06-06 17:22:13 +02:00
Adriaan de Groot
0e7c984854
[partition] Add missing includes for Qt 5.15 compatibility
2020-06-03 16:43:31 +02:00
Adriaan de Groot
1c598d769b
[partition] Apply coding style (to just this one file)
2020-06-03 16:42:42 +02:00
Adriaan de Groot
25d36a8943
[netinstall] Improve documentation of translation framework
...
- Not country-code, but language-code
FIXES #1411
2020-06-03 16:02:43 +02:00
Adriaan de Groot
67d7c700fd
[locale] Update documentation to mention *fixed* style
2020-06-03 15:11:19 +02:00
Adriaan de Groot
24653c1cc6
[locale] C&P code with repeated bugs from QML branches
2020-06-03 13:42:15 +02:00
Adriaan de Groot
c6d147bde6
[keyboard] Give Canadian English the US keyboard layout, eh
2020-06-03 01:38:11 -07:00
AI Lion
c6174b027c
remove unnecessary period mark since it's a title
2020-05-31 00:31:05 +08:00
Adriaan de Groot
60e12174fd
[tracking] Switch out Radio for CheckBox
...
- The Radio's are replaced by CheckBoxes and some logic, so
that different tracking styles can be enabled independently.
None of the settings end up in the Config yet, though.
2020-05-25 10:32:56 -04:00
Adriaan de Groot
fab3ff2c41
[tracking] Implement KUserFeedback configuration
...
- write config files to turn on KUserFeedback (for known areas)
- TODO: get the right home directory to write in
2020-05-25 09:56:32 -04:00
Adriaan de Groot
bed884c971
[tracking] Move setup of initial-tracking states to Config
...
- the *default* level from the config, can be handled inside
the Config object as well; remove TrackingPage method that
does the same.
2020-05-25 09:22:51 -04:00
Adriaan de Groot
1d143d95a0
[tracking] Setup UI in the .ui file
2020-05-25 08:30:37 -04:00
Adriaan de Groot
935f443a4d
[tracking] Simplify policy display
...
- Don't need an own slot for this, just connect to signals from Config
and the label, neither of which need any state.
2020-05-25 05:24:20 -04:00
Adriaan de Groot
689a65e107
Merge pull request #1414 from gportay/remove-unused-locals
...
[partition] Remove unused locals
2020-05-25 10:43:56 +02:00
Calamares CI
bc9544bf14
i18n: [dummypythonqt] Automatic merge of Transifex translations
2020-05-25 03:40:18 -04:00
Gaël PORTAY
629bb2e2f6
[partition] Remove unused locals
...
- Unused since commit 0d284759f5
2020-05-20 11:06:39 -04:00
Adriaan de Groot
69c2d089f2
Merge pull request #1413 from gportay/rawfs-fix-crash-if-bogus-is-unset
...
[rawfs] Fix crash if bogus is unset
2020-05-20 14:50:57 +02:00
Gaël PORTAY
40dd34c7d0
[rawfs] Fix crash if bogus is unset
...
- fixes:
12:44:25 [6]: Python Error:
<class 'TypeError'>
'builtin_function_or_method' object is not subscriptable
File "/usr/lib/calamares/modules/rawfs/main.py", line 188, in run
item.copy(filesystems.index(item), len(filesystems))
File "/usr/lib/calamares/modules/rawfs/main.py", line 99, in copy
if libcalamares.job.configuration["bogus"]:
2020-05-19 12:58:36 -04:00
Adriaan de Groot
3e51fe4651
[partition] Remove spurious Q_FUNC_INFO from logging
...
- The Q_FUNC_INFO was integrated into regular logging with commit
5248a37eb3
2020-05-19 16:44:44 +02:00
Adriaan de Groot
a7c4e2d203
[tracking] Remove widget-setting stuff not needed with Config
2020-05-19 11:12:16 +02:00
Adriaan de Groot
dfd6bb6a8b
[tracking] Massage the displayed explanation
2020-05-19 11:05:32 +02:00
Adriaan de Groot
49e66b11a2
[tracking] Refactor creation of jobs
...
- Let the jobs handle their own styling and handling, simplify
the ViewStep code.
2020-05-19 10:42:25 +02:00
Adriaan de Groot
309b2f872d
[tracking] Drop configuration fields from ViewStep
...
- All the configuration lives in the Config object (or the
tracking objects that it exposes).
- Get data from the config object for the jobs; TODO: give the
jobs a less-clunky interface.
The UI isn't hooked up to the Config object yet, though.
2020-05-18 20:18:34 +02:00
Adriaan de Groot
5763799ba9
[tracking] Load all the tracking bits into the configuration
2020-05-18 17:48:51 +02:00
Adriaan de Groot
528b98c1c4
[tracking] Configurations for machine and user tracking
2020-05-18 17:42:51 +02:00
Adriaan de Groot
f97a0756a9
[tracking] Introduce configuration for install-tracking
...
- subclass of TrackingStyleConfig holds the URL that is pinged with
information when the installation is done.
2020-05-18 17:09:01 +02:00
Adriaan de Groot
d9fb9c19a8
[tracking] Refactor the information for one tracking type
...
- a single tracking type can be enabled for configuration in the
config file; each must have a policy URL. Class TrackingStyleConfig
is a base class for that kind of configuration.
2020-05-18 16:41:25 +02:00
Adriaan de Groot
72857b75d0
[partition] Chase moving PrettyRadioButton to libcalamaresui
...
- Update includes
- Use exposed API instead of accessing internals of the button
2020-05-18 11:26:22 +02:00
Adriaan de Groot
c4951d5090
[libcalamaresui] Move PrettyRadioButton from partition
2020-05-18 10:38:45 +02:00
Adriaan de Groot
4c0a212b68
[partition] Warnings-- (Qt 5.14)
...
QVariant::fromValue doesn't have *since* documentation, so I expect it to be 5.6-and-later.
2020-05-18 10:12:12 +02:00
Adriaan de Groot
27d4fa675b
[locale] remove unneeded this->
2020-05-18 10:03:34 +02:00
demmm
e2c99eeb5e
[welcomeq] adjust spacing
...
make sure the listviews fit in the default window size without overlapping
the language bar
2020-05-17 12:37:01 +02:00
Gaël PORTAY
3d2b9053b0
[partition] Add the GPT label and UUID to global storage
2020-05-15 16:12:19 -04:00
Gaël PORTAY
da6f728cd4
[partition] Add support for partition uuid
2020-05-15 16:12:19 -04:00
Gaël PORTAY
33f6bd5699
[bootloader] Remove unused variable root_mount_point
...
- root_mount_point was used initially for logging c1a139995
(adding new
bootloader job options are to use grub for BIOS, gummiboot for efi set
extra mountpoint when efi is found)
- the trace was removed since 533031b3c
([bootloader] print() does not
log)
2020-05-15 12:05:26 -04:00
Adriaan de Groot
c3d8112187
CMake: allow fine-tuning tests
...
- The Python configuration tests sometimes need extra setup, so
do that through a CMakeTests.txt file in the test directory.
- Patch up existing tests:
- grubcfg needs /tmp/calamares/etc/default to exist
- rawfs won't work on FreeBSD because of differences in /proc
2020-05-15 14:38:45 +02:00
Adriaan de Groot
fe069bdb23
[fstab] Add some discussion about *discard* option
...
- drop the *discard* from filesystems-on-SSD in the standard example
configuration.
- keep the table **with** *discard* around for referece and explanation.
Remember that the example configurations are intended as **examples**,
to document available settings, and do not reflect a sensible
production configuration.
FIXES #1395
2020-05-15 12:26:41 +02:00
demmm
153d605bb6
[welcomeq] use negatedText for better text on missing
2020-05-14 23:11:05 +02:00
demmm
a85ff30ad4
[welcomeq] smaller font size
...
correct color order Requirements.qml
2020-05-14 20:01:50 +02:00
demmm
fed89badd4
[welcomeq] connected to RequirementsModel
...
clean up obsolete lines in welcomeq.qml
add requirement section from welcome.conf to welcomeq.conf
data shows correctly in Recommended.qml, fails to show any in Requirements.qml if run without admin rights
2020-05-14 19:00:02 +02:00
Adriaan de Groot
47979555fe
CMake: optionally disable QML
...
This makes it possible to remove QML from Calamares, possibly yielding
a smaller, lighter installer; it takes with it the nice slideshow,
modern configurable navigation and the QML UIs built for various modules.
By default, WITH_QML is on and the "normal" feature set is retained.
- look for Qml modules only when WITH_QML is on (the default)
- look for Network, since that's pulled in only implicitly
- disable the QML Calamares models (modules/*q) if no QML is
enabled; longer-term plan is to merge the **pages** back to
the "upstream" modules, and have things be run-time switchable,
but that's not here yet. Also disable the notesqml module when
QML is off.
2020-05-14 16:31:39 +02:00
Adriaan de Groot
2b0b873159
[welcome] Remove spurious logging
2020-05-14 15:23:45 +02:00
Adriaan de Groot
3f9878afc1
[welcomeq] Use the model properties to show recommendations and requirements
2020-05-12 17:07:50 +02:00
Adriaan de Groot
1a1fde1885
[welcome] [welcomeq] Chase API change for requirements progress
2020-05-12 17:07:15 +02:00
Adriaan de Groot
90f8e748ef
[welcome] Improve debugging of general requirements
...
- distinguish 'this has not been checked' from 'checked and failed'
2020-05-12 15:29:16 +02:00
Adriaan de Groot
9e0aa76375
[welcome] Order member pointers
...
- Create config before the page
- .. and in doing so, create the page in the initializer list instead
2020-05-12 14:54:18 +02:00
Adriaan de Groot
e930c74e85
[welcomeq] Coding style
...
- Apply coding style tool
- Remove commented-out cruft
- Drop TODO's that don't apply anymore
2020-05-12 14:47:31 +02:00
Adriaan de Groot
ed71b2fbf5
[tracking] Only accept valid policy URLs
2020-05-12 14:42:04 +02:00
Adriaan de Groot
044f5ce2b5
[tracking] Use the config object
...
- right now only holds the global policy URL (as a string)
2020-05-12 14:39:42 +02:00
Adriaan de Groot
a69d47c115
[tracking] Add a Config object
2020-05-12 14:24:33 +02:00
Adriaan de Groot
8ed8b5dfa3
[tracking] Reduce compiler warnings
...
- Newly added enum value NoTracking needs explicit handling
in some switch()es, although it will never be passed in.
2020-05-12 12:11:11 +02:00
Adriaan de Groot
fd2853b2cf
[tracking] Switch setTrackingLevel() to use enum
2020-05-12 11:41:02 +02:00