6723 Commits (8ecb364f8cedc2dc978a6a460b043234d71af0c5)
 

Author SHA1 Message Date
Adriaan de Groot 8ecb364f8c [initramfs] Fix up tests
- These tests don't actually test anything in this specific module,
  they do test CalamaresUtils::System.
- Wrangling System and JobQueue and GlobalStorage instances is fraught
5 years ago
Adriaan de Groot fba1bf7072 CMake: add DEFINITIONS option to calamares_add_test
- There's a handful of tests that need this, it's possible
  there will be more, so just add it to the infrastructure.
5 years ago
Adriaan de Groot 1bb43e06e2 Merge branch 'master' into kpmcore-manager 5 years ago
Adriaan de Groot 7cbc43616e [netinstall] Some more "standard" alternative labels
- Hide the labels from the compiler to avoid warnings
- Add some more labels proposed by ArcoLinux
5 years ago
Adriaan de Groot 5dac67b710 [notesqml] Cut down the example text to be translated. 5 years ago
Adriaan de Groot 2d754dac6d [notesqml] Rename example file to save translators 5 years ago
Adriaan de Groot 51ad7df31c [netinstall] Don't give the translators a bogus string 5 years ago
Adriaan de Groot 790fbb96d5 Merge branch 'translate-configs'
Use regular translation machinery to support and help out translations
from the config files. This reduces the need to do all the translation
in those files -- some of it can be shared with the regular TX workflow.
5 years ago
Adriaan de Groot 538779991e [netinstall] Add some "standard" sidebar labels for the module 5 years ago
Adriaan de Groot 81752b6f7c [libcalamares] Document how TranslatedString context works
- Support re-using class-specific tr() calls in a standard way
- Document this in the netinstall.conf which uses it
5 years ago
Adriaan de Groot a03394f177 [netinstall] Use tr() infrastructure for config-translations 5 years ago
Adriaan de Groot 0ef28f6a50 [libcalamares] Translatable config strings use tr()-infrastructure
- Allow TranslatedString to get a context parameter; if it has
  one, it will try to use the regular tr()-infrastructure
  **as fallback** for the translations from the config file itself.
- This makes it possible to offer -- and translate -- some "standard"
  phrases in the module, while allowing the config file the knob
  to change strings. Using one of the standard strings gets translations
  for "free", while introducing something entirely new means sourcing
  translations for it as well.
5 years ago
Adriaan de Groot 25e3f91754 [welcome] Remove the QML testing bits
- The welcomeq module has actual QML support
5 years ago
Adriaan de Groot bff07ded25 Merge remote-tracking branch 'origin/welcome-q'
- Updates QmlViewStep with slightly neater API
- Introduces Config object for QML pages
- Updates notesqml and welcomeq to use that API
5 years ago
Adriaan de Groot 4e3ef607b1 Merge branch 'name-netinstall'
Extra UI options for the netinstall page (to support having multiple)
5 years ago
Adriaan de Groot c20f7ee534 [netinstall] Rip out derpy translations of PackageModel
- The model always has two columns, and the column names are always
  the same. We don't need to specially set headers for that.
- Use QCoreApplication::translation() to re-use the existing
  translations and avoid creating "new" strings (in a new context).
5 years ago
Adriaan de Groot da66ef42d7 Changes: document a little more netinstall 5 years ago
Adriaan de Groot f6d8ed85e4 [netinstall] Allow a title above the netinstall tree
- Supports translation via the config file. This is useful
  (like label:sidebar) when displaying more than one netinstall page.
5 years ago
Adriaan de Groot 5b67ca315a [netinstall] It should be easier to get the number 2 5 years ago
Adriaan de Groot 497ecda14d [netinstall] Move translation of widget headers
Editorial: I really don't like plain CALAMARES_RETRANSLATE() thrown
into the middle of code.
5 years ago
Adriaan de Groot 45c15de623 [netinstall] Configurable name in the sidebar 5 years ago
Adriaan de Groot be567dc508 [netinstall] Remove unused m_prettyStatus 5 years ago
Adriaan de Groot 4ae484dbca [netinstall] Initial work for configurable sidebar label
- Now that multiple netinstall pages may be supported, it's annoying
  that they all have the same name. Copy the approach from other
  modules (e.g. notesQML) of having the sidebar and other labels
  configured in the config file.
5 years ago
Adriaan de Groot 0877a994f1 [netinstall] Update copyright 5 years ago
Adriaan de Groot d909b8119e [netinstall] Code-style 5 years ago
Adriaan de Groot bc5aa1f837 [netinstall] Pretend to clean up resources 5 years ago
Adriaan de Groot 071b3a0b3e Merge branch 'issue-1303' 5 years ago
Adriaan de Groot eb127a5e1b Changes: document netinstall module changes 5 years ago
Adriaan de Groot 5f1bd4396e [netinstall] Avoid duplicate operations
- Since operations are added each time you leave this page,
   the existing operations (from a previous visit) need to be
   cleaned up. With the old setup of only **one** possible
   set of operations, this wasn't a problem. Now, merging
   in operations is necessary. Implement that by looking for
   the *source* property in an operation.

FIXES #1303
5 years ago
Adriaan de Groot 74169c166a [netinstall] Mark operations with source-module
- This will allow us to find the operations later, by looking for
  the same source-module.
- While here, tidy up types
5 years ago
Adriaan de Groot 7cadfb8ddd [packages] Log unfamiliar package operations
- unknown operations get a warning
 - "source" will be added from netinstall shortly
5 years ago
Adriaan de Groot 056b0d7548 [netinstall] Refactor variant-from-ItemData 5 years ago
Adriaan de Groot d5675508fa [netinstall] More coding-style
The tools don't always pick up all the style changes in one go
(I think astyle has trouble parsing some Calamares code)
5 years ago
Adriaan de Groot 8286bff95f [netinstall] Shuffle code around a bit
- introduce char const for key name (consistency, it's used lots)
 - polish debugging a bit
 - add some inline code-docs
5 years ago
Adriaan de Groot 17eb3f5e33 [netinstall] Apply coding style 5 years ago
Adriaan de Groot 7c2a196568 [users] Document new knobs
- while here, update copyright notice

FIXES #1140
5 years ago
Adriaan de Groot f7e8488edf [users] Correct DBus return from hostnamed calls 5 years ago
Adriaan de Groot 094c213baa [users] Also test hostname-setting via hostnamed
SEE #1140
5 years ago
Adriaan de Groot f1435452ea [users] Polish up tests
- Don't remove test artifacts on failure
 - Coding style
5 years ago
Adriaan de Groot c5b45c37fc [users] Add tests of the file-writing components 5 years ago
Adriaan de Groot 371fe267b1 Merge branch 'better-hostname' 5 years ago
Adriaan de Groot 94f5b13db0 [libcalamaresui] Restore previous DLLEXPORT names
- Different libraries should have different EXPORTs, so that
   you can IMPORT one while building the other. Reported (and
   kindly explained) by Kevin Kofler.
 - Stick to one header file, though.

While here, update copyright on file.
5 years ago
Adriaan de Groot 49eb8212e3 [users] Imporove enum-naming 5 years ago
Adriaan de Groot e74831fcb4 [users] Add .conf entries for hostname settings
- Set hostname not-at-all, or via one of two mechanisms
 - Write /etc/hosts or not
5 years ago
Adriaan de Groot 61d096c9ec [users] Prep-work for configurable actions
- tidy include style
 - add setting to UsersViewStep for hostname action
5 years ago
Adriaan de Groot 33b3321698 [users] Simplify reading configuration 5 years ago
Adriaan de Groot dbba0c9b03 [users] Move Job creation from the widget to the ViewStep
- Having the widget do creation ties the step heavily to that UI;
   start moving towards a state where we have a Config object (not
   here yet; it still queries the UI part) that moves data around
   between UI and ViewStep.
5 years ago
Adriaan de Groot 2471e74aab [users] Provide some accessors to the UI-page data 5 years ago
Adriaan de Groot ef4bb5e13b [users] Make SetHostName job actions configurable 5 years ago
Adriaan de Groot 0238a7338a Merge branch 'crush-dllmacros'
Tidy a bunch of includes, make it easier to add tests.
5 years ago