8820 Commits (67effe421490e76696533c7804650e98df596d0a)
 

Author SHA1 Message Date
Adriaan de Groot 67effe4214 [netinstall] check in test that loading did not time out 4 years ago
Adriaan de Groot bd118bb457 [netinstall] Massage test data
- hidden groups aren't counted at all
- count() at top-level of the model counts groups
4 years ago
Adriaan de Groot dfedc0fb21 [netinstall] Extend tests
- add an "empty" groups file
- run an event loop to give the loader the opportunity to load
4 years ago
Adriaan de Groot a21665011f [netinstall] The status is ready (done) when the queue is done
- Don't signal ready every time data is sent to the model, since
  if the model ends up empty, loading will continue with the next
  fallback entry.
4 years ago
Adriaan de Groot 294d07db7b [netinstall] When starting to load YAML data, set appropriate status
- if a list is required, then we don't have data yet and should complain;
  otherwise we're OK even if no data is ever added.
4 years ago
Adriaan de Groot 5af37b0be3 [netinstall] Stub of tests for fallback-loading 4 years ago
Adriaan de Groot 3c398bd15e [netinstall] Only wrap-up if the packages list is OK
Avoid situation where the YAML is ok but doesn't contain
a list of netinstall packages, so the packages list (the model)
is still empty.

FIXES #1673
4 years ago
Adriaan de Groot 5241e25ae8 Changes: pre-release housekeeping 4 years ago
Adriaan de Groot 3f1d12ccd8 [users] One more capitalization fix for autologin
FIXES #1672
4 years ago
Adriaan de Groot 2b8309eb04 [users] Add tests for autologin settings
- four possibilities for old and new keys
- 6e is the check for not-actually-set, to track defaults
4 years ago
Adriaan de Groot adb9f37cca [locale] Set *locale* GS key when needed
The code path for setting the locale / language automatically
emits currentLanguageStatusChanged(), but the code that updates
GS connects to currentLanguageCodeChaged(). This was altered in
the 3.2.28 release cycle. Since then, automcatic locale selection
wasn't setting *locale* in GS, so that a click-through kind of
locale selection would not set it; then the packages module
has no *locale* setting for localization packages.

The combination of status and code signals (machine- and human-
readable) is ok. Introduce a setter to the language that does
the necessary signalling, so that setting the language automatically
also DTRT.

FIXES #1671
4 years ago
Calamares CI 3444546159 i18n: [python] Automatic merge of Transifex translations 4 years ago
Calamares CI 9230bd1842 i18n: [desktop] Automatic merge of Transifex translations 4 years ago
Calamares CI 6bcf4995c9 i18n: [calamares] Automatic merge of Transifex translations 4 years ago
Adriaan de Groot 5c5c7f28dc Changes: cut down changelog to just this release 4 years ago
Adriaan de Groot 21f52f9dc1 [calamares] Remove overly-spaced debug (SubEntry does the right thing) 4 years ago
Adriaan de Groot 18b805d43f [keyboard] Set initial values for model, layout, variant
When loading the lists, no initial string-value was being
set for the model, layout and variant; the configuration
could pass right through and pick up empty strings instead.
If the user does not change the model, the UI would show
"pc105" but the internal setting would still be empty.

FIXES #1668
4 years ago
Adriaan de Groot b191f39bdf [keyboard] Simplify config-loading
The machinery in `setConfigurationMap()` was just duplicating
checks already in place in the `getString()` and `getBool()`
methods, and there's no special need for efficiency here,
so prefer the more readable and short code.

("efficiency" here means "we're saving one method call in
case the configuration is not set")
4 years ago
Adriaan de Groot e7b39303e4 Changes: pre-release housekeeping 4 years ago
Adriaan de Groot 8949b079e1 [users] Fix autologin-setting from config file
SEE #1668
4 years ago
Adriaan de Groot 1184229c4a Changes: pre-release housekeeping 4 years ago
Adriaan de Groot 9d4c2bf1c7 [displaymanager] Fix mismatch in spelling of "autologinUser"
In 4ffa79d4cf, the spelling
was changed to consistently be "autoLoginUser" in the *users*
module, but that changed the Global Storage key as well,
and the *displaymanager* module wasn't changed to follow.
4 years ago
Erik Dubois d19c3b5458 Update main.py
Typo
4 years ago
Erik Dubois f8494f27d5 displaymanager from arcolinux 4 years ago
Adriaan de Groot ba89f03d8e Changes: post-release housekeeping
- mention the *packages* service in CHANGES for the previous release
4 years ago
Calamares CI 4243d5f41a i18n: [python] Automatic merge of Transifex translations 4 years ago
Calamares CI 64f9a2df26 i18n: [calamares] Automatic merge of Transifex translations 4 years ago
Adriaan de Groot 779e5ecf8f [libcalamaresui] Factor out the pastebin UI
- offer a convenience method for showing a popup and
  URL information and copying the URL to the clipboard
- use that from ViewManager (on failure) and DebugWindow (on demand)
4 years ago
Adriaan de Groot 981e96ea7f [calamares] Redo debug window tools
- make the tools tab buttons along the bottom row
- show the global storage tab by default

This costs little screen real-estate, makes the tools much more
visible and useful.
4 years ago
Adriaan de Groot c54e417ff3 [calamares] Add a 'send log' button to the debug window
FIXES #1660
4 years ago
Adriaan de Groot 668921543a [libcalamaresui] Convenience method to check if paste would do anything 4 years ago
Adriaan de Groot 63e61e9924 Changes: pre-release housekeeping 4 years ago
Adriaan de Groot 5ed1dff655 Merge branch 'issue-1579' into calamares
FIXES #1579
4 years ago
Adriaan de Groot 3588f06767 [netinstall] Document groupsUrl with multiple entries 4 years ago
Adriaan de Groot fdfe52efe2 [netinstall] Improve loader queue API a bit
- use load() to start loading
- the FetchNextUnless class is useful in more spots in
  the loading process
- set status explicitly on success (otherwise, a failure in a
  previous URL would leave a failure message lying around even
  when the module shows something useful)
4 years ago
Adriaan de Groot 03d086a233 [netinstall] Missing initialisations, split out slot
- m_queue was not initialized to nullptr, crashes
- split queue-is-done to a separate slot rather than a lambda
- prefer queueing calls to fetchNext(), for responsiveness
4 years ago
Adriaan de Groot 404a9ef98a [netinstall] Split off requesting netinstall data into a queue-manager
This is the actual "meat" of the branch, which makes the
netinstall module request one URL at a time until one succeeds.
4 years ago
Adriaan de Groot 186d32ebee [partition] More missing ; 4 years ago
Adriaan de Groot 2b4bc7adf4 [partition] Apply newer formatting tool 4 years ago
Adriaan de Groot 3b9c0bdf91 CI: don't allow clang-format 7 any more 4 years ago
Adriaan de Groot bb426ebac4 [partition] Add missing ; (and apply coding style) 4 years ago
Adriaan de Groot 9341a84820 [libcalamares] Make the RETRANSLATE macros more statement-line
Require a ; after RETRANSLATE macros. They are statement-like;
this makes it easier for some of them to be recognized by
clang-format and resolves some existing weird formatting.
4 years ago
Adriaan de Groot 603a7106b3 [netinstall] Move package-listing wrangling to the Config object
Now all the business logic is in Config, the door is open to
building a QML-ified netinstall module. I'm not sure that
would be worth it: packagechooser offers more space for a
nice UI and should be QML'ed first.
4 years ago
Adriaan de Groot 9acd2fe458 [netinstall] Use the packages service 4 years ago
Adriaan de Groot f1446736f8 [libcalamares] Expand tests a little
- do some additions and check they work
- drop the ";add" annotation on the source, this is not
  needed in the current situation with only adds available.
4 years ago
Adriaan de Groot 5b609565e2 [libcalamares] Make Packages API more flexible
- pass in the GS object; this makes mostly **testing** much easier
4 years ago
Adriaan de Groot b868894371 [libcalamares] Start a packages service for netinstall and others 4 years ago
Adriaan de Groot 6662cb5f2d [netinstall] Swap parameters to makeSourceItem and document it 4 years ago
Adriaan de Groot 79b4f918fc [netinstall] Apply coding style 4 years ago
Adriaan de Groot 8e8525a941 [netinstall] Simplify slots in the UI page 4 years ago