Commit graph

257 commits

Author SHA1 Message Date
Floris Bos
91cb44d46e MacOSX: use other method to detect preferred language
Qt by default consults AppleLanguages property.
Use a CFLocaleCopyPreferredLanguages() construct instead.
Only look at most preferred language, ignore others.

Ref #160
2021-03-26 16:30:52 +01:00
Floris Bos
1b7d3fafc0 qml: fix subdialog box width calculation 2021-03-26 15:55:54 +01:00
Floris Bos
c8409d7419 Linux: delay extracting .zip after mount on sandboxed systems 2021-03-26 15:54:52 +01:00
Floris Bos
f682c3a7dd Image customization: search all mountpoints for config.txt
Search all mountpoints associated with the target drive for
FAT partition that has config.txt

Ref: #171
2021-03-22 13:21:56 +01:00
Floris Bos
2bbb8bfba7 Windows: improve file system mounting for customization
- Check if config.txt exists on drive letter before proceeding to
  write changes. Wait up to 3 seconds if not.
- Force drive letter assignment for portable SSDs and other devices
  that pretend to be a fixed drive. (Windows only auto-assigns
  drive letters for removable media).

Ref #171
2021-03-21 16:25:32 +01:00
maxnet
c6129a1ad2
Merge pull request #170 from jose1711/sk_translat
Update Slovak translation
2021-03-21 13:29:55 +01:00
maxnet
cf6712ce35
Merge pull request #169 from RPiOS/qml
update Chinese translation
2021-03-21 13:29:44 +01:00
maxnet
43a7411f92
Merge pull request #168 from AaronDewes/qml
Update German translations
2021-03-21 13:29:18 +01:00
maxnet
fd9f8ecf95
Merge pull request #165 from bovirus/patch-3
Update Italian language
2021-03-21 13:29:11 +01:00
Jose Riha
9b0bb077f4 Update Slovak translation 2021-03-19 15:51:38 +01:00
柚木鉉
1eeb84a44b update Chinese Translate 2021-03-18 19:57:01 +08:00
Aaron Dewes
5ab6150405 Update German translations 2021-03-18 11:08:35 +01:00
bovirus
611de2a8d9
Update Italian language
@maxnet 

Please check and merge. Thanks.
2021-03-18 10:38:14 +01:00
maxnet
3a6e7c73db
Merge pull request #163 from raspberrypi/update-telemetry-documentation
Remove download count retention period from README
2021-03-12 14:02:11 +01:00
Paul Mucur
ca5180429e
Remove download count retention period from README
In order to view the impact of changes such as OS releases over a longer
period of time, we have removed the automatic expiry of the anonymous
download counts from the rpi-imager stats service.

For reference, the download counts contain only the following data:

    > ZREVRANGE image:2021-03-12 0 1 WITHSCORES
    1) Raspberry Pi OS (32-bit)
    2) 1234
    3) Raspberry Pi OS Lite (32-bit)
    4) 567

Update the README section about telemetry in order to reflect the
change.
2021-03-12 11:35:35 +00:00
Floris Bos
832be86e79 Linux embedded: quit (reboot) when finished 2021-03-06 11:40:46 +01:00
Floris Bos
2d87a2275f Revert "Linux: disable high dpi scaling on incorrect EDID"
This reverts commit 37cc9e8736.
2021-03-06 11:39:58 +01:00
Floris Bos
906ceabaec Linux only: allow NVMe destination drives
ON LINUX PLATFORM ONLY

Allow NVMe destination drives as long as they are not mounted
except under /media

This does increase the risk of someone accidently selecting an
internal NVMe drive that is not mounted under the current OS
(Linux) but do is being used by the other operating system
(e.g. Windows) on dual boot systems.
But is deemed to be an acceptable risk.

Ref #158
2021-02-26 14:54:25 +01:00
Floris Bos
2700f61eb9 Filter out root mount even if not filtering out system drives
Ref #158
2021-02-26 14:53:12 +01:00
Floris Bos
8a54544808 SD card -> storage
- Change a few more SD card -> storage references
- Regen .ts files
2021-02-26 14:51:09 +01:00
maxnet
88c6afba33
Merge pull request #154 from kosssi/qml
Change SD Card description
2021-02-26 14:31:30 +01:00
maxnet
7e047b87c9
Update rpi-imager_nl.ts
Fix Dutch translation
2021-02-26 14:30:58 +01:00
maxnet
8ec71669c7
Merge pull request #135 from emanueleg/qml
Update Italian translation
2021-02-26 14:25:17 +01:00
maxnet
caa6b2bb4f
Merge pull request #139 from Zaryob/patch-1
Updated translations of Turkish Language.
2021-02-26 14:24:53 +01:00
Floris Bos
37cc9e8736 Linux: disable high dpi scaling on incorrect EDID
If the screen dimensions that are reported by EDID are
unrealistically low disable high dpi scaling.

For this purposes we consider the EDID incorrect if screen is
reported as smaller than 10 cm in width.

Closes #153
2021-02-16 15:42:39 +01:00
Simon C
c5ff74dece feat: Update French language 2021-02-08 22:11:41 +01:00
Simon C
a1a4c432df feat: Update SD Card description to Storage 2021-02-08 22:10:44 +01:00
Floris Bos
2261faabc5 Fix Windows progress on images >2GB
Closes #133
2021-01-30 23:18:26 +01:00
Floris Bos
ab29b218af Fix handling of .iso files
Do not let libarchive treat iso as archive that needs to be
extracted.
2021-01-26 22:17:56 +01:00
Floris Bos
abbed47f97 Shift+Ctrl+X option screen: allow persisting settings 2021-01-20 13:04:18 +01:00
Floris Bos
a6150f7bc5 Linux drivelist: filter out zram devices
Fedora uses zram for swap. Swap devices do not make good
destionation drives.
2021-01-20 13:00:51 +01:00
Floris Bos
28b6d19bd6 README: add build instructions for rpm based distros
To prevent people trying to use 3rd-party container packages
that do not actually work on those distributions.
2021-01-20 12:59:06 +01:00
Floris Bos
86f893388c Shift+Ctrl+X for advanced users that likes to customize the image
- Adds "hidden" shift+ctrl+X shortcut for eXpert image customization
  options.

Allows one to set certain options on RPI OS images, namely:

* disable overscan
* set hostname
* enable ssh and
  - set Pi user password if using password authentication
  OR
  - set authorized_keys
    (if running Imager on Linux/Mac this will
     have contents of ~/.ssh/id_rsa.pub prefilled)
* configure wifi settings
  (if computer running Imager is connected by wifi it will
  prefill wifi SSID and if on Windows also PSK).
* set time zone and keyboard layout

  Related to feature requests/issues:
  Ref #127
  Ref #86
  Ref #102
  Ref #73
  Ref #68
  Ref #25
  Ref #12

- Option Window also allows setting a couple other general settings:

* Adds option for audible notification (beep) when imaging completes.
  Closes #46

* Adds option not to eject media when done.
  Closes #144

- No longer suspends a number of Windows services during Imaging
  (We want Windows to detect the drive and mount it, or we may
   not be able to alter files on FAT partition).
2021-01-17 17:43:17 +01:00
Floris Bos
2844b5bd1a Do not activate embedded mode for wayland
Embedded (fullscreen) mode was activated automatically if QPA
platform type is eglfs, wayland or linuxfb.
However although setting window size to -1 does result in fullscreen
on eglfs, on wayland it results in
"Client tried to set invalid geometry"

Do not activate embedded mode for wayland.

Closes #143
2021-01-11 18:43:41 +01:00
Floris Bos
7c1c111699 drivelist: let GetEnumeratorName() return std::string instead of char *
Returning a pointer to a character array on the stack that is
no longer reserved after the function returns can lead to
undefined behavior.
2021-01-11 18:37:39 +01:00
Floris Bos
8e87933320 drivelist: fix handling zero length wstrings
Ref #142
2021-01-06 12:18:09 +01:00
Suleyman Poyraz
be453d5d79
Updated translations of Turkish Language. 2020-12-25 14:18:36 +03:00
Emanuele Goldoni
b77432f3db Update Italian translation 2020-12-21 11:52:47 +01:00
Floris Bos
d129d12b00 Add new PNG icons 2020-12-09 14:54:54 +01:00
Floris Bos
1d0087929c Windows: show progress in taskbar
Windows: show progress in taskbar
Closes #132

Implemented in ImageWriter class instead of qml for practical
reasons. GUI stuff does not really belong there, but there is no
easy way to have platform specific stuff in qml, lacking #ifdef
2020-12-09 14:23:40 +01:00
Floris Bos
1e73123ca9 Telemetry: use POST 2020-12-08 13:36:02 +01:00
Floris Bos
78276cffb7 Add --disable-telemetry command-line option 2020-12-07 14:42:10 +01:00
Floris Bos
0f2561cf13 Merge branch 'qml' of https://github.com/raspberrypi/rpi-imager into qml 2020-12-07 13:51:48 +01:00
Floris Bos
43c1e05795 Disable telemetry if user specified custom repository with --repo 2020-12-07 13:50:53 +01:00
maxnet
a8a12fc993
Merge pull request #131 from raspberrypi/document-telemetry
Document telemetry and how to opt-out
2020-12-07 12:58:17 +01:00
Paul Mucur
71de560edd
Document telemetry and how to opt-out
As introduced in 95ce718d41, document the
telemetry sent to https://rpi-imager-stats.raspberrypi.org, why it is
collected, what is collected, how long it is stored for and how to
opt-out.
2020-12-07 11:36:28 +00:00
Floris Bos
cb0a3dd954 Fix back button and forward swipe on multi-level os_list 2020-12-01 15:52:33 +01:00
Floris Bos
f5b36b6dd0 Mac OS X: on access denied open "all files & folders" prefs instead of "full disk access" 2020-12-01 15:51:45 +01:00
Floris Bos
95ce718d41 Enable telemetry
- Phone back home image downloaded for image popularity research.
  Only in case image comes from our repository (NOT for custom images)
2020-12-01 15:50:58 +01:00
maxnet
f6a8c4d943
Merge pull request #125 from bovirus/patch-2
Update Italian language
2020-11-24 13:46:42 +01:00