Guido Günther
dc12f3016f
theme: Add events for cellbroadcast
2024-09-23 12:18:26 +00:00
Guido Günther
fc7ec6e809
Merge branch 'enchilada' into 'main'
...
udev: Add support for haptics on Oneplus Enchilada / Fajita
See merge request Librem5/feedbackd!140
2024-09-11 12:57:36 +00:00
Guido Günther
9007766fa9
udev: Add support for haptics on Oneplus Enchilada / Fajita
...
The spmi_haptics driver isn't in mainline Linux as of Linux 6.11.
2024-09-07 16:12:01 +02:00
Guido Günther
446df4be9b
Merge branch 'doc-gsetting' into 'main'
...
doc: Document gsettings used by feedbackd
See merge request Librem5/feedbackd!138
2024-09-03 10:45:06 +00:00
Guido Günther
6f03552249
doc: Document gsettings used by feedbackd
2024-08-30 12:19:31 +02:00
Guido Günther
6d78ea45c1
Merge branch 'packaging' into 'main'
...
Update packaging
See merge request Librem5/feedbackd!137
2024-08-20 15:12:40 +00:00
Guido Günther
511fbd73e8
packaging: Use pkgconf
...
It's prefered over pkg-config in Debian
2024-08-20 15:44:33 +02:00
Guido Günther
8c209e6c47
packaging: Install NEWS and README
...
They contain useful information
2024-08-20 15:44:33 +02:00
Guido Günther
1cca52033c
packaging: Update lintian overrides
2024-08-20 15:44:33 +02:00
Guido Günther
fe51ceed9f
packaging: Drop unused file
...
And fix typo while at that
Gbp-Dch: Ignore
2024-08-20 15:44:21 +02:00
Guido Günther
4270587502
Merge branch 'rel-0.4.1' into 'main'
...
treewide: Document changes and release 0.4.1
See merge request Librem5/feedbackd!136
2024-08-14 14:27:51 +00:00
Guido Günther
3331f179f9
treewide: Document changes and release 0.4.1
2024-08-12 22:56:17 +02:00
Guido Günther
33ae327b49
Merge branch 'udev-rule' into 'main'
...
build: Install udev rule
See merge request Librem5/feedbackd!135
2024-08-12 20:53:43 +00:00
Guido Günther
47b0b1c0e7
build: Install udev rule
...
Don't hide it in the packaging as that makes it easier to miss.
This makes debian/ really only carry packaging information.
2024-08-07 12:14:26 +02:00
Guido Günther
662307d7d8
Merge branch 'use-int' into 'main'
...
tests: Use decimal values
Closes #79
See merge request Librem5/feedbackd!134
2024-07-24 17:43:22 +00:00
Guido Günther and Tomi Lähteenmäki
1f9ac79445
tests: Use decimal values
...
We don't rely on that anywhere anyway.
Co-authored-by: Tomi Lähteenmäki <lihis@lihis.net >
Closes: https://source.puri.sm/Librem5/feedbackd/-/issues/79
2024-07-24 17:35:42 +00:00
Guido Günther
664c55d6f4
Merge branch 'pkg' into 'main'
...
not-intalled: Avoid gmobile on all arches
See merge request Librem5/feedbackd!133
2024-06-28 15:47:16 +00:00
Guido Günther
91a153a2f4
not-intalled: Avoid gmobile on all arches
...
This only matters for the case where we use the embedded
gmobile but better to be correct.
2024-06-28 17:45:25 +02:00
Guido Günther
09396c7d64
Merge branch 'rel-0.4.0' into 'main'
...
treewide: Document changes and release 0.4.0
See merge request Librem5/feedbackd!125
2024-06-23 07:01:00 +00:00
Guido Günther
ff26417de9
treewide: Document changes and release 0.4.0
2024-06-21 22:18:23 +02:00
Guido Günther
ed2599c926
Merge branch 'end-feedback' into 'main'
...
feedback-manager: End too noisy feedbacks on profile level change
Closes #13 , #55 , and #35
See merge request Librem5/feedbackd!128
2024-06-21 20:09:42 +00:00
Guido Günther
929d41b7db
feedback-manager: End too noisy feedbacks on profile level change
...
When the profile gets lowered from e.g. quiet to silent we want to end
all ongoing feedbacks that belong to the quiet level.
This allows to e.g. silence an incoming phone call by switching the
feedback level via phosh's quick setting.
Closes: https://source.puri.sm/Librem5/feedbackd/-/issues/13
Closes: https://source.puri.sm/Librem5/feedbackd/-/issues/55
2024-06-21 19:57:29 +00:00
Guido Günther
3c02259156
event: Allow to end events by level
...
The level here is an abstract value but in fact matches the profile
level. Well make this a property when fixing #35 .
2024-06-21 19:57:29 +00:00
Guido Günther
0a16ebe4af
event: Make removing feedbacks more self contained
...
If the feedback is in our list of feedbacks disconnect signals
and drop the reference we hold.
As we have removed the signal handler that would invoke `check_ended()`
we invoke this manually when the list becomes empty.
2024-06-21 19:57:29 +00:00
Guido Günther
e7c370a589
tests/fbd-event: Check if objects are finalized
...
This gives us more info than just using automatic cleanup
2024-06-21 19:57:29 +00:00
Guido Günther
924320bbf9
fbd-event: Fix some indent
...
Gbp-Dch: Ignore
2024-06-21 19:57:29 +00:00
Guido Günther
2b6a9508a0
feedback-theme: Fix indent
...
Gbp-Dch: Ignore
2024-06-21 19:57:29 +00:00
Guido Günther
6cc47e3121
Merge branch 'no-fb' into 'main'
...
cli: Inform user when no feedback was found
Closes #76
See merge request Librem5/feedbackd!130
2024-06-21 09:39:21 +00:00
Guido Günther
212682fb0f
cli: Inform user when no feedback was found
...
This might either be because the event doesn't exist or when the profile
doesn't have any feedback on the current level.
Closes: https://source.puri.sm/Librem5/feedbackd/-/issues/76
2024-06-21 09:25:55 +00:00
Guido Günther
e2c9b530b9
cli: Reindent
...
Gbp-Dch: Ignore
2024-06-21 09:25:55 +00:00
Guido Günther
6b3c43e25c
Merge branch 'shared-gmobile' into 'main'
...
packaging: Build-depend on shared gmobile
See merge request Librem5/feedbackd!132
2024-06-21 08:41:40 +00:00
Guido Günther
62c92b0b09
packaging: Build-depend on shared gmobile
...
This ensures we don't use the subproject in packaging builds
2024-06-21 08:05:51 +00:00
Guido Günther
946611ea84
Merge branch 'rules-requires-root' into 'main'
...
packaging: Don't require root for building
See merge request Librem5/feedbackd!131
2024-06-21 07:51:30 +00:00
Guido Günther
bdcbb08cd8
packaging: Don't require root for building
...
This helps the nightly builds
2024-06-21 09:50:37 +02:00
Guido Günther
6aeeef150e
Merge branch 'flash' into 'main'
...
led: Allow to use camera flash as status LED
See merge request Librem5/feedbackd!129
2024-06-21 07:29:32 +00:00
Guido Günther
6622444c78
udev: Allow to use flash devices
2024-06-15 11:14:40 +02:00
Guido Günther
8f67dbd120
feedback-led: Allow to prefer flash LEDs over notification LEDs
2024-06-15 11:14:40 +02:00
Guido Günther
ffd939c536
leds: Probe flash LED
2024-06-15 11:14:40 +02:00
Guido Günther
e47ce8e09e
led: Add flash LED type
...
Camera flashes are also exported via the LED subsystem. We use a
separate LED type so they're not picked by default.
We don't use them as fallbacks either.
2024-06-15 11:14:40 +02:00
Guido Günther
e16dc3cdab
feedback-led: Check if at least one LED is available
...
So far we didn't create any FbdDevLeds if there wasn't at least one
usable LED. Once we introduce flash LEDs we might probe the LED but the
LED might not be usable as the user hasn't enabled using it. Prepare for
that scenario.
2024-06-15 11:14:40 +02:00
Guido Günther
417b34be89
led: Drop FBD_FEEDBACK_LED_COLOR_LAST
...
With new led types we might not loop over all of them. This makes
it a bit more obvious.
2024-06-15 11:14:40 +02:00
Guido Günther
a71fd7d470
manager: Move schema name to header
...
This makes it available to other compilation units
2024-06-15 11:14:40 +02:00
Guido Günther
2614b6ee41
Merge branch 'rgb-color' into 'main'
...
Allow to set RGB colors
See merge request Librem5/feedbackd!126
2024-06-15 09:12:36 +00:00
Guido Günther
afdeb8d56f
theme: Use different colors for emails and calls
...
This makes them a bit simpler to distinguish
2024-06-13 15:19:08 +02:00
Guido Günther
a4c35a8e61
led: Parse color values and pass them down the chain
...
We parse RGB color values as HEX ('#RRGGBB') and use those when a RGB
LED is available. Single color LEDs won't see a change.
2024-06-13 15:19:03 +02:00
Guido Günther
efd088daa8
feedback-led: Document hw LED types
2024-06-13 15:17:52 +02:00
Guido Günther
4afc8398e2
feedbackd: Pass GMOBILE_USE_UNSTABLE_API to all files
...
No need to ack that individually
2024-06-13 15:17:52 +02:00
Guido Günther
5bd398ed18
feedback-led: Support colors as strings
...
The FbdDevLedColor enum defines the hardware color of the LED. We used
it for the feedbacks color value as long as the kernel mostly had
single color LEDs. As multicolor LEDs are common nowadays switch the
color to a string which will allow us to use RGB values later on.
2024-06-13 15:17:51 +02:00
Guido Günther
4551b1c939
fbd-feedback-led: Modernize property definitions
...
Adapt current phosh coding style before making other changes
2024-06-13 07:44:42 +02:00
Guido Günther
8d4c2590cb
doc: Fix URLs
...
Don't use Markdown markup as it looks odd in the generated page.
2024-06-13 07:44:39 +02:00