5586 Commits (560095d6f42474de851a0b2b9e2d73ac469bf197)

Author SHA1 Message Date
Gaël PORTAY 4974d86932 [partition] Fix missing initialization of the attribute partAttributes
- Initialize the attribute partAttributes to 0; it is a primitive type
  and it is not initialized in some constructors.
  Fixes commit c1b5426c6 ([partition] Add support for partition attributes).
- Move implementation of default constructor to cpp.
5 years ago
Adriaan de Groot fde1aad465 CMake: add support for USE_*=none (from the os-modules branch) 5 years ago
Adriaan de Groot bff0bed07e [users] Apply coding style (only CreateUserJob.cpp though)
- use ci/calamaresstyle
- SPDX licensing
5 years ago
demmm ccff4edd91 [keyboard] fully functional QML module
added missing components listed as ResponsiveBase, ListItemDelegate & ListViewTemplate
parts of which were on nitrux
keyboard.qml no longer uses buttons within ListView, can't work as buttons and have them visible
see https://doc.qt.io/qt-5/qml-qtquick-listview.html#footerPositioning-prop
set ListView as actually visible within a normal calamares window size
5 years ago
Adriaan de Groot 5da2012465 [users] Expand schema to support the keys documented in users.conf
- Now the documentation in the file and the source is leading
  to update the schema, but in future those should go hand-in-hand
5 years ago
Adriaan de Groot 463545290e [users] Fix up schema syntax
- Remove schema items *availableShells* and *avatarFilePath* because
  those have no implementation.
5 years ago
Adriaan de Groot c284024b0e i18n: Update English translations 5 years ago
Adriaan de Groot b9b79f11a4 [unpackfs] Prevent accidental 0777 permissions on /
FIXES #1418
5 years ago
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
5 years ago
Adriaan de Groot 1b11cc90c4 [tracking] Polish the phrase for 'none' a bit 5 years ago
Adriaan de Groot 6365b7a362 Merge branch 'calamares' into issue-1287 5 years ago
Adriaan de Groot 2cad90d9ca
Merge pull request #1437 from gportay/handle-integers-with-octal-or-hexa-prefix
[libcalamares] Handle integers prefixed with 0 or 0x
5 years ago
demmm fc91b4ce60 [localeq] use js to get the hasInternet status
switching between Map.qml & Offline.qml now happens properly
5 years ago
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.
5 years ago
Adriaan de Groot 47b0fa5d55 [tracking] Get username from gs 5 years ago
Adriaan de Groot 9b8d591b5d [tracking] Configure user-tracking areas 5 years ago
Adriaan de Groot e834ce532c [libcalamares] Add variant-map getStringList() convenience 5 years ago
Adriaan de Groot 98ab4330c4 [tracking] expand documentation of configuration 5 years ago
Adriaan de Groot 3f55d415e9 [tracking] Make names of user-tracking styles consistent
- use kuserfeedback instead of "kde", to name the technology,
  not the community
5 years ago
Adriaan de Groot 5623d8086b [tracking] Apply coding style
- massage trackingSetup macro to look like a function call
5 years ago
Adriaan de Groot 789561be6a [tracking] Apply coding style 5 years ago
Adriaan de Groot 8c1685d2cf [tracking] Connect UI to configuration
- policy buttons open the policy URL
- hide tracking levels that are not configurable
5 years ago
Adriaan de Groot 756e3084dc [tracking] Simplify updatemanager job
- sed all the URI lines with a simple replacement
- document policy requirements
5 years ago
Adriaan de Groot 9433311f24 [tracking] Explain which tracking style is disabled by URL-validation 5 years ago
Adriaan de Groot 48d0c5beeb [tracking] Do user tracking in the job queue 5 years ago
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.
5 years ago
Adriaan de Groot 4d6a5d0cb5 [tracking] Use KMacroExpander instead of homebrew for install-URL 5 years ago
Adriaan de Groot c797a30a72 [tracking] Bold more relevant parts of level-descriptions 5 years ago
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
5 years ago
Gaël PORTAY e68723f1c7 [libcalamares] Handle integers prefixed with 0 or 0x
- QString to-integer members detect if an integer string begins with
  "0x" (base 16) or "0", base 8; but QVariant members do not.
- QString: the C language convention is used is base is set to 0.
- Convert to QString and use its member toLongLong() and set base to 0
  to detect integer strings begin with a prefix.
5 years ago
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.
5 years ago
Adriaan de Groot e3b8570d61 Merge remote-tracking branch 'origin/master' into calamares
Pick up some older MRs that apply to the older branch.
5 years ago
Adriaan de Groot bfefbd117d
Merge pull request #1435 from gportay/partition-attributes
Partition Attributes
5 years ago
Adriaan de Groot 91f87ba838
Merge pull request #1409 from gportay/partition-uuid
Partition UUID
5 years ago
Adriaan de Groot 0cd8940363 [bootloader] Fix up schema 5 years ago
Adriaan de Groot 066acdbbc6 Merge branch 'yaml-schemata' into calamares 5 years ago
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.
5 years ago
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.
5 years ago
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.
5 years ago
Adriaan de Groot 62e7128ff6 CMake: document WITH_ and BUILD_ a little more
- also mark TODO:3.3: for incompatible / surprising changes for 3.3
5 years ago
Adriaan de Groot deec0b862f [finished] Add schema for config
- Original schema from artoo@manjaro.org, modified for current JSON-Schema use
5 years ago
Gaël PORTAY c1b5426c66 [partition] Add support for partition attributes 5 years ago
Adriaan de Groot 55abe0247b [libcalamares] Fix tests on 32-bit platforms
- The size of a 2GiB partition (in bytes) is larger than the largest
  32-bit signed integer; we hit signed overflow while calculating
  2^11 * 2^10 * 2^10 and the test fails.
- Switch the whole table of sizes to qint64 instead.
- For testing purposes only, introduce a _qi suffix for qint64.

FIXES #1430
5 years ago
Calamares CI ba89b9f7f2 i18n: [dummypythonqt] Automatic merge of Transifex translations 5 years ago
Pablo Ovelleiro Corral f034b55da2
[packages] add xbps package manager 5 years ago
Adriaan de Groot dc0ed24f1a [libcalamaresui] Install libcalamaresui headers
- All the headers go to relevant subdirs, but we don't keep
  libcalamares and libcalamaresui apart.
- While here, remove unused variable from libcalamares CMake
5 years ago
Adriaan de Groot 23c93904df CMake: put CMake-level ABI settings in CalamaresConfig
- drop the BuildTreeSettings, it was not usefully used
- make CalamaresConfig repeat the WITH_* settings, so that
  consumers can know the ABI offered
5 years ago
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)
5 years ago
Adriaan de Groot 3c770b79b3 CMake: install all the libcalamares subdir-headers 5 years ago
Adriaan de Groot 14ff681106 CMake: give libcalamares IMPORTED includes
- Set the interface-include path for libcalamares, so that
  linking to it (as one would from an external repo) pulls in
  all the includes.
5 years ago