57 Commits

Author SHA1 Message Date
MM20
27ac650930
var -> val 2024-12-24 11:23:01 +01:00
MM20
ca36f3cac1
Add support for custom icon pack tag icons 2024-12-03 19:08:50 +01:00
MM20
a21dde5741
Improve tag emoji assignment 2024-11-11 20:48:04 +01:00
MM20
318c26a439
Mask private profile apps while private space is locked 2024-08-13 15:19:24 +02:00
MM20
a4be78d6b1
Fix custom icons incorrectly being themed
Fix #964
2024-07-22 20:50:03 +02:00
MM20
52150c5257
Compile SDK 35 2024-07-18 18:46:12 +02:00
MM20
cf398f66a0
Fix custom icon pack icons not being themed
Fix #949
2024-07-17 23:32:31 +02:00
Christoph
65a9c8c1fe
Add support for location plugins (#772)
* Cherry pick location refactor

* Refactor :data:openstreetmaps to :data:locations

* contract, plugin sdk

* Implement serialization, module tweaks

* Include check for out-of-date departures in SearchableItemVM.requestUpdatedSearchable()

* settings for location plugins

* Try not to be too lazy

* more fiddling with the plugin SDK

* add departures in MapView with mock data for debug builds

* change icons

* add boats

* animate departure lazycolumn

* Add MarqueeText for text overflow handling

* Define height for Departures in case there is no map to display

* Don't inclure railway / highway tags for OSM since there will be location plugins for that

* sort by time

* - Apply pre-merge changes to LocationSettings
- Add banner warning about slowed down location search for large search radii

* ditch `showLocationOnMap`

* LocationItem: make `showOpeningSchedule` toggleable

* LocationItem: make Navigation AssistChip work for people that don't have google maps installed

* LocationItem: resolve TODOs

* MapTiles: ditch unused code, animate userIndicator

* Reintroduce departure list

* Add LineColor

* Add osm tag `stars` as `userRating` https://taginfo.openstreetmap.org/keys/stars#overview

* typealias -> import

* Don't add Navigation Chip when there is no way to resolve navigation intents

* Add settings migration

* Set plugin SDK version to 1.2.0-SNAPSHOT

* Deduplicate shared plugin classes, use kotlinx.serialization

* Fix imports

* Use ZonedDateTime for depature times

* Add more line types

* Rewrite location serialization

* Replace street/houseNumber with address

* Add attribution field

* Add plugin config

* Reject location search requests without lat lon parameters

* Add default values to plugin location class

* Don't crash if column value is null

* Add docs comments to LocationCategory values

* Refactor OpeningSchedule as polymorphic

* remove dead corpse *ahem* code

* Split LocationCategory into category and icon

(Also update to Kotlin 2.0, please don't do this at home)

* Add more location icons

* Fix (?) location deserializer

* Add more location icons

* More icons

* Meh

* Add Pub

* Disable Github Maven repo if credentials are missing

* Add location search specific settings to plugin details screen

* Add language parameter

* Unbreak the build

* Refactor plugin SDK (with breaking changes)

* Set plugin SDK version to 2.0.0-SNAPSHOT

* Document SDK breaking changes

* Implement LocationProvider.getQuery

* Add a typesafe cursor API

* Oops I did it again

next time maybe check if the code is actually compiling before pushing

* Add missing return statement

* Fix list serialization

* Departure time UI adjustment

* Use typesafe cursor for weather plugins

* Add userRatingCount and emailAddress fields

* grrr

* Rename and extend LineTypes

* Add default lineType to Departure to fix serialization errors

* Fix refreshing stored plugin locations

* Adapt line name column width to available departures

* Fix plugin settings screen category overlap

* add LocationItem.GenericTransit

* Fix crash during deserialization of locations

* Update SDK docs

* Replace plugin "official" mark with "verified developer" mark

before anyone gets sued

* show 'now' when departure is in less than one minute

* Add typesafe Bundle API

* Implement plugin API changes

* Plugin SDK: Fix refresh result not being returned

* Update docs

* apply alpha to departures that have departured

* better (maybe): reduce saturation instead of alpha

* Add default values for Attribution

* Display attribution

* Rearrange location result layout

* Reduce searchable update interval to 1 minute

* Pass last update time to refresh function

* Change refresh path and ensure that timestamp is only update when the item was updated

* categorize osm location

* Update docs

* Optimize location search

- run providers in parallel
- flatten code

* add experimental address parsing for OSM

* add poi_category_townhall

* Fix popup closing when favorites items are updated

* Revert "Fix popup closing when favorites items are updated"

This reverts commit fc517fd066c7f8109b6d6df2d4f536af66398207.

* Fork AndroidAddressFormatter to `:libs:address-formatter`

* migrate `:libs:address-formatter` dependencies to version catalog and update them

* also consider addr:{suburb,hamlet} for `Address.city` if city tag is missing

* Move poi strings back to strings.xml

* Update Jetpack Compose

* Move address-formatter back to its original package, add license and readme

* Move address-formatter back to its original package

---------

Co-authored-by: MM20 <15646950+MM2-0@users.noreply.github.com>
2024-06-14 11:57:03 +02:00
MM20
9c5f1e971f
Improve icon search 2024-05-20 16:16:22 +02:00
MM20
b323953a75
Merge themed icon and icon pack themed icon preference 2024-04-20 14:05:48 +02:00
MM20
92ddc75060
Refactor preferences module 2024-01-19 22:29:37 +01:00
MM20
e3005cf051
Move database module from :core to :data 2023-10-28 14:20:36 +02:00
MM20
957358c79a
Annual refactor 2023-10-28 14:20:16 +02:00
MM20
2d5a0bf5a7
Modernize gradle scripts, migrate to TOML version catalog 2023-10-05 21:54:19 +02:00
MM20
9b2529acb4
Version 1.27.1 2023-09-08 18:24:38 +02:00
MM20
c7f8f31d73
Don't log when themed icon compat parsing fails 2023-09-08 18:23:36 +02:00
MM20
a0ee1fbc9f
Include providers and transformations in icon cache hash 2023-08-29 23:08:13 +02:00
MM20
cfbb4e786c
Fix crash 2023-08-20 21:15:11 +02:00
MM20
24997b8dcc
Fix custom icons not updated immediately 2023-08-06 14:14:10 +02:00
MM20
1241067357
Optimize icon loading 2023-07-20 19:40:00 +02:00
MM20
fee45590d1
Use compat adaptive icons for themed icon packs 2023-07-15 18:29:52 +02:00
MM20
484ae13025
Adjust themed icon scale
Close #467
2023-07-15 18:10:10 +02:00
Jamal Rothfuchs
f6612c3ed3 Scale Themed icons to original app icon size 2023-06-24 22:11:41 +02:00
MM20
2806032b48
Add support for dynamic clock icons in icon packs 2023-05-25 21:17:42 +02:00
MM20
ad3e19ce0d
Remove placeholder icons, use as fallback only 2023-05-16 17:20:26 +02:00
MM20
2917302766
Fix non adaptive calendar icons from icon packs having color filter 2023-04-23 18:06:53 +02:00
MM20
d4cf895481
Add debug preference to rebuild icon pack cache 2023-04-17 18:57:15 +02:00
MM20
d3e1fb2767
Don't reinstall all icon pack on install on debug builds 2023-04-17 18:18:45 +02:00
MM20
f7db9b1851
Use both versionName and versionCode to identify icon pack versions 2023-04-17 18:16:57 +02:00
MM20
68eece53f7
Rename IconRepository -> IconService 2023-04-10 23:01:12 +02:00
MM20
8ae3d74512
Include unthemed icon variant in icon picker for icon packs that support themed icons 2023-04-04 22:23:43 +02:00
MM20
70b406eb5c
Add preference to disable themed icons for themed icon packs 2023-03-15 17:09:23 +01:00
MM20
9d520cef42
Ensure icon pack dynamic calendar icons are correctly loaded 2023-03-10 14:39:30 +01:00
MM20
314e4f0736
Update icon pack picker automatically when an icon pack has been installed or uninstalled 2023-03-03 14:42:08 +01:00
MM20
c040076ce9
Remove uninstalled icon packs from database 2023-03-03 14:19:22 +01:00
MM20
006de147cf
Fix icon pack icons not correctly applied to all apps 2023-03-02 16:02:16 +01:00
MM20
c47a1c1d9b
Compat icon provider: load activity info on IO dispatcher 2023-03-01 20:48:36 +01:00
MM20
7168169e35
Restructure / cleanup / improve icon pack handling 2023-02-27 22:36:46 +01:00
MM20
6adbee224e
Icon picker: add icon pack filter 2023-02-27 14:39:18 +01:00
MM20
e5fe3a8816
Optimizations 2023-02-19 23:39:56 +01:00
MM20
ecbd7fe840
Fix Google Clock themed icon showing incorrect time 2023-02-18 13:26:04 +01:00
MM20
cdf1c2aa20
Use default dispatcher to install icon packs 2023-02-17 22:21:31 +01:00
MM20
db733a0dff
Add support for dynamic LinageOS calendar icon 2023-02-16 22:19:14 +01:00
MM20
26fbc3c4b3
Enable dynamic clock icons for all apps that support them 2023-02-16 22:17:32 +01:00
MM20
1c5574d8fb
Fix themed calendar icons not themed 2023-02-15 22:53:19 +01:00
MM20
eb757aa9c8
remove log statements 2023-02-15 22:37:36 +01:00
MM20
c71fec59ac
Store themed attribute per icon pack icon 2023-02-15 20:59:13 +01:00
MM20
993b7f39fc
Add support for native themed Google clock icon 2023-02-15 19:13:55 +01:00
MM20
23252726b0
Don't store compat themed icons in database 2023-02-15 18:41:30 +01:00
MM20
59b8f17fc4
Compat themed icons
- Use native themed icons on Android 8.0 to 12
2023-02-15 15:23:17 +01:00