OSDN Git Service

alterlinux/alterlinux-calamares.git
3 years agoName added in copyright section
Anubhav Choudhary [Fri, 4 Dec 2020 17:31:06 +0000 (23:01 +0530)]
Name added in copyright section

3 years agoMerge pull request #1589 from deprov447/WelcomePage_links_fix v3.2.35
Adriaan de Groot [Fri, 4 Dec 2020 13:51:48 +0000 (14:51 +0100)]
Merge pull request #1589 from deprov447/WelcomePage_links_fix

[branding] Welcome Page links

3 years ago[Fix] WelcomePage links
Anubhav Choudhary [Fri, 4 Dec 2020 05:09:07 +0000 (10:39 +0530)]
[Fix] WelcomePage links

"Generic support" and "Known Issues" links fixed

3 years ago[libcalamares] Make test a bit more verbose (before failing)
Adriaan de Groot [Mon, 30 Nov 2020 14:38:17 +0000 (15:38 +0100)]
[libcalamares] Make test a bit more verbose (before failing)

3 years ago[libcalamares] Misplaced space in a test-filename
Adriaan de Groot [Mon, 30 Nov 2020 14:28:08 +0000 (15:28 +0100)]
[libcalamares] Misplaced space in a test-filename

3 years ago[dracutlukscfg] Const data
Adriaan de Groot [Mon, 30 Nov 2020 13:41:02 +0000 (14:41 +0100)]
[dracutlukscfg] Const data

The QLatin1String() might be replaced by char[], that trades one
initialization for two but with a simpler data section; this
probably is not worth profiling.

3 years ago[dracutlukscfg] Job-internal constant data doesn't need to be a member
Adriaan de Groot [Mon, 30 Nov 2020 13:35:21 +0000 (14:35 +0100)]
[dracutlukscfg] Job-internal constant data doesn't need to be a member

3 years ago[dracutlukscfg] More static methods -> free functions
Adriaan de Groot [Mon, 30 Nov 2020 13:32:36 +0000 (14:32 +0100)]
[dracutlukscfg] More static methods -> free functions

3 years ago[dracutlukscfg] static methods -> free functions
Adriaan de Groot [Mon, 30 Nov 2020 13:23:06 +0000 (14:23 +0100)]
[dracutlukscfg] static methods -> free functions

These methods don't touch anything in the class, and are more safely
tucked away as static (TU-local) free functions.

3 years ago[luksbootkeyfile] Free functions that really are static (TU-local)
Adriaan de Groot [Mon, 30 Nov 2020 13:15:35 +0000 (14:15 +0100)]
[luksbootkeyfile] Free functions that really are static (TU-local)

3 years ago[plasmalnf] Remove unused (widget) files
Adriaan de Groot [Mon, 30 Nov 2020 11:43:30 +0000 (12:43 +0100)]
[plasmalnf] Remove unused (widget) files

3 years agoi18n: [calamares] Automatic merge of Transifex translations
Calamares CI [Mon, 30 Nov 2020 12:22:17 +0000 (13:22 +0100)]
i18n: [calamares] Automatic merge of Transifex translations

3 years agoChanges: pre-release housekeeping
Adriaan de Groot [Mon, 30 Nov 2020 12:19:55 +0000 (13:19 +0100)]
Changes: pre-release housekeeping

3 years ago[plasmalnf] Older Qt doesn't have -> for iterator
Adriaan de Groot [Mon, 30 Nov 2020 12:12:31 +0000 (13:12 +0100)]
[plasmalnf] Older Qt doesn't have -> for iterator

With Qt 5.15.2 (and clang), `k->first` works, but this breaks
with Qt 5.11 (and gcc), this is not available and the dereference
  must be written differently, `(*k).first`.

3 years agoMerge branch 'issue-1573' into calamares
Adriaan de Groot [Mon, 30 Nov 2020 11:31:26 +0000 (12:31 +0100)]
Merge branch 'issue-1573' into calamares

3 years ago[plasmalnf] Fix iteration
Adriaan de Groot [Mon, 30 Nov 2020 11:29:47 +0000 (12:29 +0100)]
[plasmalnf] Fix iteration

`for k : images` iterates over the values in the map, while we need
both the key (the theme-id) and the value (the image to hand to
that theme).

3 years ago[plasmalnf] Give the themes a selected-state
Adriaan de Groot [Mon, 30 Nov 2020 11:11:11 +0000 (12:11 +0100)]
[plasmalnf] Give the themes a selected-state

- This kind of runs around the selection model on the view,
  but we're drawing radio buttons ourselves **anyway**
  and the list of themes knows which is selected / current
  independent of the view.

3 years ago[plasmalnf] Give the theme list plenty of space
Adriaan de Groot [Mon, 30 Nov 2020 10:31:44 +0000 (11:31 +0100)]
[plasmalnf] Give the theme list plenty of space

3 years ago[plasmalnf] Implement a delegate for drawing the list of themes
Adriaan de Groot [Mon, 30 Nov 2020 10:19:00 +0000 (11:19 +0100)]
[plasmalnf] Implement a delegate for drawing the list of themes

3 years ago[plasmalnf] Make 'the size of screenshots' available outside ThemeInfo
Adriaan de Groot [Mon, 30 Nov 2020 09:46:46 +0000 (10:46 +0100)]
[plasmalnf] Make 'the size of screenshots' available outside ThemeInfo

3 years ago[plasmalnf] Rip out the intermediate model again, in prep for a delegate
Adriaan de Groot [Sat, 28 Nov 2020 15:53:35 +0000 (16:53 +0100)]
[plasmalnf] Rip out the intermediate model again, in prep for a delegate

3 years agoi18n: [python] Automatic merge of Transifex translations
Calamares CI [Sat, 28 Nov 2020 15:06:25 +0000 (16:06 +0100)]
i18n: [python] Automatic merge of Transifex translations

3 years agoi18n: [calamares] Automatic merge of Transifex translations
Calamares CI [Sat, 28 Nov 2020 15:06:25 +0000 (16:06 +0100)]
i18n: [calamares] Automatic merge of Transifex translations

3 years ago[users] Stray space in message (reported by Transifex user Moo)
Adriaan de Groot [Tue, 24 Nov 2020 22:47:13 +0000 (23:47 +0100)]
[users] Stray space in message (reported by Transifex user Moo)

3 years agoMerge pull request #1566 from Chrysostomus/calamares
Adriaan de Groot [Tue, 24 Nov 2020 15:13:32 +0000 (16:13 +0100)]
Merge pull request #1566 from Chrysostomus/calamares

Don't use a keyfile for encrypted partitions if /boot in unecrypted

3 years agoMerge pull request #1581 from clarissalimab/clarissa/usability-testing-issue-template
Adriaan de Groot [Tue, 24 Nov 2020 10:00:22 +0000 (11:00 +0100)]
Merge pull request #1581 from clarissalimab/clarissa/usability-testing-issue-template

Docs: Add an issue template for usability tests

3 years ago[unpackfs] Log failure during unpackfs more clearly
Adriaan de Groot [Sun, 22 Nov 2020 22:14:02 +0000 (23:14 +0100)]
[unpackfs] Log failure during unpackfs more clearly

3 years agoDocs: Add an issue template for usability tests
Clarissa Borges [Thu, 19 Nov 2020 23:35:09 +0000 (20:35 -0300)]
Docs: Add an issue template for usability tests

3 years ago[netinstall] Removing the last package should clear it out.
Adriaan de Groot [Wed, 18 Nov 2020 16:27:50 +0000 (17:27 +0100)]
[netinstall] Removing the last package should clear it out.

FIXES #1577

3 years agoDocs: update the CONTRIBUTING guide
Adriaan de Groot [Wed, 18 Nov 2020 12:22:48 +0000 (13:22 +0100)]
Docs: update the CONTRIBUTING guide

3 years ago[plasmalnf] Simplify (warnings--, debug--)
Adriaan de Groot [Tue, 17 Nov 2020 13:40:21 +0000 (14:40 +0100)]
[plasmalnf] Simplify (warnings--, debug--)

3 years ago[plasmalnf] Demand-load image for a theme
Adriaan de Groot [Tue, 17 Nov 2020 13:32:50 +0000 (14:32 +0100)]
[plasmalnf] Demand-load image for a theme

3 years ago[plasmalnf] Add a description
Adriaan de Groot [Tue, 17 Nov 2020 11:41:50 +0000 (12:41 +0100)]
[plasmalnf] Add a description

- add a role for description
- change view to a table view

3 years ago[plasmalnf] Expose only the themes model
Adriaan de Groot [Tue, 17 Nov 2020 10:56:09 +0000 (11:56 +0100)]
[plasmalnf] Expose only the themes model

- make ThemeInfo and ThemeInfoList internal, expose only
  ThemesModel to the rest of the PlasmaLnF module
- don't build the widget anymore (needs to be replaced by
  a delegate)

3 years ago[plasmalnf] Fix debug-logging
Adriaan de Groot [Tue, 17 Nov 2020 10:42:27 +0000 (11:42 +0100)]
[plasmalnf] Fix debug-logging

- ProcessResult isn't loggable, so operator bool() is called, so
  it logged 'false' on failure which isn't helpful.

3 years ago[plasmalnf] Replace combobox with a view
Adriaan de Groot [Tue, 17 Nov 2020 10:38:33 +0000 (11:38 +0100)]
[plasmalnf] Replace combobox with a view

3 years ago[plasmalnf] Signal more changes to the model
Adriaan de Groot [Tue, 17 Nov 2020 10:17:47 +0000 (11:17 +0100)]
[plasmalnf] Signal more changes to the model

- also individual changes need to be signalled
- use QSignalBlocker to avoid spamming changes when calling
  aggregate change methods
- refactor findById() so that also a row number can be
  obtained, which is needed for the change signals.

3 years ago[plasmalnf] Introduce an index-lookup function
Adriaan de Groot [Mon, 16 Nov 2020 23:25:48 +0000 (00:25 +0100)]
[plasmalnf] Introduce an index-lookup function

- for signalling model changes, also need to know indexes / row

3 years ago[plasmalnf] Improve lnf model
Adriaan de Groot [Mon, 16 Nov 2020 23:12:47 +0000 (00:12 +0100)]
[plasmalnf] Improve lnf model

- remove useless widget pointer from themeinfo
- notify when data changes in the model

3 years ago[plasmalnf] Very basic combo-box based UI
Adriaan de Groot [Mon, 16 Nov 2020 23:02:59 +0000 (00:02 +0100)]
[plasmalnf] Very basic combo-box based UI

3 years ago[plasmalnf] Rip out most of the widget
Adriaan de Groot [Mon, 16 Nov 2020 22:36:32 +0000 (23:36 +0100)]
[plasmalnf] Rip out most of the widget

- put a filter model in place, so only the themes with "show" set
  are displayed
- rip out the messing about with widgets, soon to introduce a model-
  based UI

3 years ago[plasmalnf] Set screenshots on themes, filtering
Adriaan de Groot [Mon, 16 Nov 2020 20:57:06 +0000 (21:57 +0100)]
[plasmalnf] Set screenshots on themes, filtering

- while here reorder the config so the effect of *showAll* is clearer

3 years ago[plasmalnf] Prep-work for loading the themes into the model
Adriaan de Groot [Mon, 16 Nov 2020 20:28:37 +0000 (21:28 +0100)]
[plasmalnf] Prep-work for loading the themes into the model

3 years ago[plasmalnf] Move model to ThemeInfo files
Adriaan de Groot [Mon, 16 Nov 2020 15:37:30 +0000 (16:37 +0100)]
[plasmalnf] Move model to ThemeInfo files

3 years agoChanges: post-release housekeeping
Adriaan de Groot [Mon, 16 Nov 2020 11:52:19 +0000 (12:52 +0100)]
Changes: post-release housekeeping

3 years agoChanges: pre-release housekeeping v3.2.34
Adriaan de Groot [Mon, 16 Nov 2020 11:28:14 +0000 (12:28 +0100)]
Changes: pre-release housekeeping

3 years agoi18n: [python] Automatic merge of Transifex translations
Calamares CI [Mon, 16 Nov 2020 11:15:52 +0000 (12:15 +0100)]
i18n: [python] Automatic merge of Transifex translations

3 years agoi18n: [dummypythonqt] Automatic merge of Transifex translations
Calamares CI [Mon, 16 Nov 2020 11:15:52 +0000 (12:15 +0100)]
i18n: [dummypythonqt] Automatic merge of Transifex translations

3 years agoi18n: [calamares] Automatic merge of Transifex translations
Calamares CI [Mon, 16 Nov 2020 11:15:52 +0000 (12:15 +0100)]
i18n: [calamares] Automatic merge of Transifex translations

3 years agoFix syntax errors
Chrysostomus [Sat, 14 Nov 2020 23:42:16 +0000 (01:42 +0200)]
Fix syntax errors

3 years agoMerge pull request #1575 from gportay/partition-remove-unused-attribute
Adriaan de Groot [Sat, 14 Nov 2020 21:13:34 +0000 (22:13 +0100)]
Merge pull request #1575 from gportay/partition-remove-unused-attribute

[partition] Remove unused attribute m_defaultFsType

3 years agocall function at different scope to avoid name collision
Chrysostomus [Fri, 13 Nov 2020 21:39:25 +0000 (23:39 +0200)]
call function at different scope to avoid name collision

3 years agoUse free functions (I wish I had known I can do this)
Chrysostomus [Thu, 12 Nov 2020 22:02:12 +0000 (00:02 +0200)]
Use free functions (I wish I had known I can do this)

3 years agoSimplify the generators
Chrysostomus [Thu, 12 Nov 2020 21:57:02 +0000 (23:57 +0200)]
Simplify the generators

3 years ago[partition] Remove unused attribute m_defaultFsType
Gaël PORTAY [Thu, 12 Nov 2020 20:04:54 +0000 (15:04 -0500)]
[partition] Remove unused attribute m_defaultFsType

This attribute is used since the commit fcd0e8d36 [partition] Apply
partition layout when replacing free space

3 years agoMerge commit 'a8359696caf07b81b85db8acad2d3f44720d07fa' into calamares
Adriaan de Groot [Thu, 12 Nov 2020 14:59:56 +0000 (15:59 +0100)]
Merge commit 'a8359696caf07b81b85db8acad2d3f44720d07fa' into calamares

This is the bugfix part (rather than the "clean up this widgets mess")
of issue-1573, ensuring that the LookAndFeelPackage setting is
saved to the target system config file.

3 years ago[plasmalnf] Remove unused path-setting from the widget
Adriaan de Groot [Thu, 12 Nov 2020 14:59:03 +0000 (15:59 +0100)]
[plasmalnf] Remove unused path-setting from the widget

- Only Config needs to know the path, since it is responsible for
  doing the actual lnf changes.

3 years ago[plasmalnf] Prepare a new model
Adriaan de Groot [Thu, 12 Nov 2020 14:36:29 +0000 (15:36 +0100)]
[plasmalnf] Prepare a new model

- start a model for available themes, to replace the list held
  by the widget which just duplicates information.
- move preselected theme to Config.

3 years ago[keyboard] When changing layouts, reset variant
Adriaan de Groot [Thu, 12 Nov 2020 14:29:15 +0000 (15:29 +0100)]
[keyboard] When changing layouts, reset variant

- Need to update the variant that is in use, **and**
  explicitly update it in the widget, in order to re-load
  the keyboard image for the newly-selected layout+variant.

3 years ago[keyboard] Tell the keyboard preview to update on config changes
Adriaan de Groot [Thu, 12 Nov 2020 13:50:21 +0000 (14:50 +0100)]
[keyboard] Tell the keyboard preview to update on config changes

These calls to setLayout() and setVariant() got lost in
the transition to Config object, in 5afe5413.

Reported by Harald Sitter.

3 years agoMerge pull request #1574 from gportay/partition-fix-typo
Adriaan de Groot [Wed, 11 Nov 2020 22:50:33 +0000 (23:50 +0100)]
Merge pull request #1574 from gportay/partition-fix-typo

[partition] Fix typo

3 years ago[partition] Fix typo
Gaël PORTAY [Wed, 11 Nov 2020 17:44:41 +0000 (12:44 -0500)]
[partition] Fix typo

3 years ago[plasmalnf] Move job creation to config
Adriaan de Groot [Wed, 11 Nov 2020 13:45:31 +0000 (14:45 +0100)]
[plasmalnf] Move job creation to config

3 years ago[plasmalnf] Migrate more settings to Config
Adriaan de Groot [Wed, 11 Nov 2020 13:41:45 +0000 (14:41 +0100)]
[plasmalnf] Migrate more settings to Config

3 years ago[libcalamares] Tidy up documentation for System::runCommand
Adriaan de Groot [Wed, 11 Nov 2020 13:03:23 +0000 (14:03 +0100)]
[libcalamares] Tidy up documentation for System::runCommand

- Make explicit which one runs in the host, which one is selectable.
- Document *location* parameter in the selectable version.
- Tidy up alignment of apidox.

3 years ago[plasmalnf] Move the lookandfeeltool path setting to Config
Adriaan de Groot [Wed, 11 Nov 2020 12:21:16 +0000 (13:21 +0100)]
[plasmalnf] Move the lookandfeeltool path setting to Config

3 years ago[plasmalnf] Introduce (empty) Config object
Adriaan de Groot [Wed, 11 Nov 2020 12:08:42 +0000 (13:08 +0100)]
[plasmalnf] Introduce (empty) Config object

3 years ago[plasmalnf] Remove unnecessary includes
Adriaan de Groot [Wed, 11 Nov 2020 12:06:09 +0000 (13:06 +0100)]
[plasmalnf] Remove unnecessary includes

3 years ago[plasmalnf] Apply workaround for lookandfeeltool
Adriaan de Groot [Wed, 11 Nov 2020 11:57:40 +0000 (12:57 +0100)]
[plasmalnf] Apply workaround for lookandfeeltool

The lookandfeeltool does not (always?) write the LookAndFeelPackage
key that the KCM does -- and which this module reads on startup
to find the default LnF. This seems to be a regression in recent
lookandfeeltool versions (or in the KCM code that backs it).

Workaround supplied by jghodd.

Fixes #1573

3 years ago[plasmalnf] Simplify code
Adriaan de Groot [Wed, 11 Nov 2020 11:45:19 +0000 (12:45 +0100)]
[plasmalnf] Simplify code

- Look-and-Feel job has no status to speak of
- Coding style

3 years agoRemove extra static keyword
Chrysostomus [Tue, 10 Nov 2020 20:11:49 +0000 (22:11 +0200)]
Remove extra static keyword

3 years agoChanges: post-release housekeeping
Adriaan de Groot [Tue, 10 Nov 2020 11:08:49 +0000 (12:08 +0100)]
Changes: post-release housekeeping

3 years agoMerge pull request #1563 from LordTermor/calamares
Adriaan de Groot [Tue, 10 Nov 2020 00:19:44 +0000 (01:19 +0100)]
Merge pull request #1563 from LordTermor/calamares

[users] Full name transliteration support for user creation

3 years ago[users] Apply code format
Artem Grinev [Mon, 9 Nov 2020 22:54:21 +0000 (01:54 +0300)]
[users] Apply code format

3 years agoSimplified logic a bit, made punctuation handling more correct
Artem Grinev [Mon, 9 Nov 2020 22:47:07 +0000 (01:47 +0300)]
Simplified logic a bit, made punctuation handling more correct

3 years agoImproved comment
Artem Grinev [Mon, 9 Nov 2020 22:40:08 +0000 (01:40 +0300)]
Improved comment

3 years agoChanged TRANSLITERATOR_ID type to array
Artem Grinev [Mon, 9 Nov 2020 22:23:10 +0000 (01:23 +0300)]
Changed TRANSLITERATOR_ID type to array

3 years agoAdd some relevant looking stuff to header file
Chrysostomus [Mon, 9 Nov 2020 21:24:09 +0000 (23:24 +0200)]
Add some relevant looking stuff to header file

3 years agoMerge branch 'issue-1569' into calamares
Adriaan de Groot [Mon, 9 Nov 2020 15:19:03 +0000 (16:19 +0100)]
Merge branch 'issue-1569' into calamares

FIXES #1569

3 years ago[users] Consume error information from libpwquality
Adriaan de Groot [Mon, 9 Nov 2020 15:08:19 +0000 (16:08 +0100)]
[users] Consume error information from libpwquality

Previously, the auxerror information was never stored, and
the messages were all un-numbered or un-explained.
Now, consume that information and store it when check()
is called, ready to be used when (possibly much later,
or after a translation change) explanation() is called.

3 years ago[users] m_auxerror never set, always nullptr
Adriaan de Groot [Mon, 9 Nov 2020 14:42:22 +0000 (15:42 +0100)]
[users] m_auxerror never set, always nullptr

3 years ago[users] Remove unused PWQuality method
Adriaan de Groot [Mon, 9 Nov 2020 14:40:23 +0000 (15:40 +0100)]
[users] Remove unused PWQuality method

3 years agoi18n: update english translations
Adriaan de Groot [Mon, 9 Nov 2020 14:14:54 +0000 (15:14 +0100)]
i18n: update english translations

3 years ago[users] Translate PWQuality error messages with numbers
Adriaan de Groot [Mon, 9 Nov 2020 14:14:41 +0000 (15:14 +0100)]
[users] Translate PWQuality error messages with numbers

3 years agoCI: require a sufficiently-recent JSON-Schema v3.2.33
Adriaan de Groot [Mon, 9 Nov 2020 12:41:56 +0000 (13:41 +0100)]
CI: require a sufficiently-recent JSON-Schema

3 years agoi18n: translation stats
Adriaan de Groot [Mon, 9 Nov 2020 12:08:07 +0000 (13:08 +0100)]
i18n: translation stats

(This does not change the overall list of available languages)

3 years agoi18n: [python] Automatic merge of Transifex translations
Calamares CI [Mon, 9 Nov 2020 11:27:05 +0000 (12:27 +0100)]
i18n: [python] Automatic merge of Transifex translations

3 years agoi18n: [calamares] Automatic merge of Transifex translations
Calamares CI [Mon, 9 Nov 2020 11:27:04 +0000 (12:27 +0100)]
i18n: [calamares] Automatic merge of Transifex translations

3 years agoChanges: pre-release housekeeping
Adriaan de Groot [Mon, 9 Nov 2020 10:39:38 +0000 (11:39 +0100)]
Changes: pre-release housekeeping

3 years ago[users] Add test for jobs-creation
Adriaan de Groot [Mon, 9 Nov 2020 10:38:38 +0000 (11:38 +0100)]
[users] Add test for jobs-creation

- This tries to avoid the now-fixed situation where a sudoersGroup job
  is not created at all (because of a logic error).
- While here, coding style

3 years agoFix typo
Chrysostomus [Sat, 7 Nov 2020 10:55:54 +0000 (12:55 +0200)]
Fix typo

3 years agoMerge branch 'fix-sudo-settings' into calamares
Adriaan de Groot [Fri, 6 Nov 2020 21:28:37 +0000 (22:28 +0100)]
Merge branch 'fix-sudo-settings' into calamares

3 years ago[users] Missing negation
Adriaan de Groot [Fri, 6 Nov 2020 21:27:46 +0000 (22:27 +0100)]
[users] Missing negation

3 years ago[users] Test for setting / resetting sudo settings
Adriaan de Groot [Fri, 6 Nov 2020 21:27:34 +0000 (22:27 +0100)]
[users] Test for setting / resetting sudo settings

3 years agoMerge pull request #1570 from gportay/mount-skip-if-filesystem-is-unformatted
Adriaan de Groot [Fri, 6 Nov 2020 21:25:40 +0000 (22:25 +0100)]
Merge pull request #1570 from gportay/mount-skip-if-filesystem-is-unformatted

[mount] Ignore unformatted filesystems only

3 years agoPut the condition on a single line for prettiness sake
Chrysostomus [Fri, 6 Nov 2020 19:45:01 +0000 (21:45 +0200)]
Put the condition on a single line for prettiness sake

3 years agoTry not to create the keyfile if not necessary
Chrysostomus [Fri, 6 Nov 2020 19:31:28 +0000 (21:31 +0200)]
Try not to create the keyfile if not necessary

3 years ago[users] Log when sudo is skipped
Adriaan de Groot [Fri, 6 Nov 2020 13:38:12 +0000 (14:38 +0100)]
[users] Log when sudo is skipped

3 years ago[mount] Ignore unformatted filesystems only
Gaël PORTAY [Fri, 6 Nov 2020 10:56:29 +0000 (05:56 -0500)]
[mount] Ignore unformatted filesystems only

Mount guesses the filesystem if it is unset or if it is set to auto,
thanks to blkid. That is the case for the bind mountpoints like /dev or
/run/udev in mount.conf. See `mount(8)` for more details.

3 years agoUpdate main.py
Matti Hyttinen [Fri, 6 Nov 2020 06:49:22 +0000 (08:49 +0200)]
Update main.py

typo in a comment