Commit graph

760 commits

Author SHA1 Message Date
Floris Bos
b34d2a54af Show keyboard instructions if no mouse / warning on custom repo 2021-11-23 12:27:04 +01:00
Floris Bos
f5390c821a Allow specifying default OS selection and destination
Allows specifying a default OS and destination
(the last for Imager embedded only) in the repository json.

Like:

==
    "imager": {
        "latest_version": "1.6",
        "url": "https://www.raspberrypi.org/software/",
        "default_os": "Raspberry Pi OS (32-bit)",
        "embedded_default_destination": "/dev/mmcblk0p1"
    },
==
2021-11-23 02:53:50 +01:00
Floris Bos
cde6d1eaa0 udisks2: FAT32 format auto-mount fix
- after writing new partition table, make sure auto-mount has
  not mounted any old FAT filesystems that were previously
  on disks at the same offset.
- error out on format errors. (timeout was raised to prevent
  false positives on formatting time'ing out)
2021-11-22 13:26:34 +01:00
Floris Bos
71c1ea21dd Customization: also apply changes if there is only firstrun and no cmdline/config changes 2021-11-22 13:23:39 +01:00
Floris Bos
fe2c1c55bd Linux Embedded: add support for language/keyboard selection 2021-11-22 00:21:30 +01:00
Floris Bos
2ada96e53a Custom username on RPI OS: fixup sudo nopasswd
Ref #287
2021-11-20 13:29:22 +01:00
Floris Bos
0f3a6a2786 Linux/udisks2/multi-file zip extraction: handle auto-mount better
If mounting partition after FAT32 format fails, check if race
occurs in which the Linux distribution was faster in auto-mounting
the partition then we were in manually mounting it.
2021-11-20 13:08:52 +01:00
Floris Bos
506330f486 Advanced settings: allow specifying username
Ref #287
2021-11-19 23:30:42 +01:00
Floris Bos
81f2c50cf2 Merge branch 'qml' of https://github.com/raspberrypi/rpi-imager into qml 2021-11-19 22:26:56 +01:00
maxnet
7bcbb0eebe
Merge pull request #308 from AaronDewes/patch-1
Fix a few mistakes in the German translation
2021-11-19 22:26:46 +01:00
Floris Bos
9c8f737cf6 Minor cloudinit tweaks
- Enclose SSID within brackets, to allow SSIDs with spaces
- Call 'setupcon' to have keyboard layout change applied

Setting wifi country code on Ubuntu still broken
2021-11-19 21:45:47 +01:00
Aaron Dewes
d532e1a1ee
Fix a few mistakes in the German translation
I forgot to submit a PR ealier, but here's another improvement PR.
2021-11-18 21:03:49 +01:00
Floris Bos
8f9fbcffeb First attempt at cloudinit support
Experimental
2021-11-18 20:50:44 +01:00
Floris Bos
2e5cc7508a Linux (as root): FAT32 format: wait for FAT partition after sfdisk
The FAT partition /dev node is supposed to be already available
after running partprobe, but since there is a user report that
is not always the case, double check and delay if necessary.

Closes #237
2021-11-18 12:21:24 +01:00
Floris Bos
08b7398e6b Linux: explicitly link in zlib
Prevent undefined reference to inflateEnd when statically linking
Qt under rpi-imager embedded.
2021-11-18 11:35:32 +01:00
Floris Bos
99a9fefb0b German: "Authethifizierung" -> "Authentifizierung"
Closes #281
2021-11-18 11:26:59 +01:00
Floris Bos
e79467b626 Pass OS proxy settings to libcurl
Closes #186
2021-11-18 11:16:30 +01:00
Floris Bos
6a1744e29d Windows: fix Chinese language
Closes #271
Closes #272
2021-11-18 10:13:17 +01:00
maxnet
e7ce11eddf
Merge pull request #201 from bovirus/patch-3
Update Italian language
2021-11-18 10:03:44 +01:00
maxnet
2bc13fcfd0
Merge pull request #246 from RPiOS/qml
fix & update Chinese translations
2021-11-18 10:03:26 +01:00
maxnet
c662c16d5b
Merge pull request #249 from JofreFaraudo/qml
Add Catalan translations
2021-11-18 10:02:51 +01:00
maxnet
e2e13e831b
Merge pull request #285 from raspberrypi/switch-to-raspberrypicom
Update URLs after move to raspberrypi.com
2021-11-18 10:00:14 +01:00
Paul Mucur
716abd149b
Send telemetry to raspberrypi.com
In order to be consistent with other services moving to raspberrypi.com,
send telemetry there instead of raspberrypi.org.

Note that the raspberrypi.org endpoint will continue to work
indefinitely in order to support existing clients.
2021-10-13 08:18:07 +01:00
Paul Mucur
fc1a028cbd
Update link to downloads page
Now we've moved the downloads page from raspberrypi.org to
raspberrypi.com, update the link in the README.
2021-10-13 08:17:32 +01:00
Gordon Hollingworth
a1da552aad
Change Ctrl-Alt-X to Ctrl-Shift-X 2021-08-17 13:04:07 +01:00
Gordon Hollingworth
02c35fd0e7
Merge pull request #264 from scottamain/patch-1
Add tip about the Advanced options
2021-08-14 07:57:12 +01:00
Scott Main
0d7107f089
Add tip about the Advanced options 2021-08-13 15:07:55 -07:00
Jofre Faraudo
ba42233902
Update wrong preposition 2021-07-14 14:31:04 +02:00
Jofre Faraudo
e4869a62be
Update translations for Catalan 2021-07-14 14:29:35 +02:00
Jofre Faraudo
5d1373b1d8
Fix error 2021-07-13 20:21:18 +02:00
Jofre Faraudo
8c189585b8
Update special characters 2021-07-13 09:14:37 +02:00
Jofre Faraudo
b9ce3371f4
Added catalan translations 2021-07-08 16:43:08 +02:00
Jofre Faraudo
8ef25e866a
added catalan translation 2021-07-08 16:41:42 +02:00
Jofre Faraudo
e6df04e899
Fix typos and other errors 2021-07-07 13:34:29 +02:00
Jofre Faraudo
bd9ec1d383
Added finished (unreviewed) translations for ca 2021-07-06 20:43:02 +02:00
YuzukiTsuru
32d88bc3ec fix & update chinese translations 2021-07-05 23:43:08 +08:00
Jofre Faraudo
4890928550
Update catalan translations 2021-07-02 17:19:25 +02:00
Jofre Faraudo
b56aeae1f6
Deleted wrong file in wrong location 2021-07-02 17:18:55 +02:00
Jofre Faraudo
f5ff7806a4
Updated catalan translations 2021-07-02 17:15:52 +02:00
Jofre Faraudo
9356b5ec2c
Updated translations for catalan 2021-07-02 17:15:38 +02:00
Jofre Faraudo
67017fb198
Updated catalan localization
Still unreviewed and unchecked
2021-06-26 19:50:53 +02:00
Jofre Faraudo
1c4598a64f
add catalan language translations
The first version, uncompleted, unverified.
2021-06-25 18:28:44 +02:00
Floris Bos
4a039b7885 Add support for website links 2021-05-07 13:41:01 +02:00
Floris Bos
86cf72bec2 Mac: add errno.h
Ref #221
2021-05-07 13:09:22 +02:00
Floris Bos
62e9969afb Basic CLI support
Closes #221
2021-05-06 16:49:17 +02:00
Floris Bos
258f9d77aa Fix window position restore.
Ref #220
2021-05-04 22:53:12 +02:00
Floris Bos
e2296deb1a Mac OS X: advanced options. offer to prefill system wifi PSK
Offer to prefill the wifi password of the system running
Imager, like we do on Windows.

Ask user first if that is desired, as it does cause OS X to
generate a prompt asking for admin password.
2021-05-04 22:51:08 +02:00
Floris Bos
b57da413a6 Fix handling of wifi password with special characters
We could cover the backtic case by using nowdoc instead of
heredoc, but then there may still be problems with double quotes.
Put the PBKDF2 hash instead of plaintext password in
wpa_supplicant.conf to solve such problems.

Closes #206
2021-04-11 14:09:28 +02:00
Floris Bos
0c6a9359fd Avoid using QString::back() for compatibility with older Linux distros
Old Qt versions lack QString::back()
Closes #200
2021-04-05 18:26:28 +02:00
Floris Bos
1aaf22d7ab Mac: fix double free
Had wrongfully assumed CFStringRef's were reference counted
objects that needed to be CFRelease()'d when we no longer
needed them.

However according to the CFArrayGetValueAtIndex() API docs
( https://developer.apple.com/documentation/corefoundation/1388767-cfarraygetvalueatindex?language=objc )
it follows "get rule" for memory ownership, meaning it is not
ours to release.

Only prefLangs returned by CFLocaleCopyPreferredLanguages()
need to be CFRelease()'d as that does follow "create rule"

Ref #202 (Crash on Mac OS Big Sur)
2021-04-05 16:32:46 +02:00