Commit Graph
2583 Commits
Author SHA1 Message Date
MM20 f6dfddedb2 Remove unused resources 2024-06-14 15:23:37 +02:00
MM20 892e4971a3 Respect card opacity in search background 2024-06-14 13:07:30 +02:00
MM20 991f0c88d8 Fix searchables closing on refresh 2024-06-14 12:58:36 +02:00
MM20 5a1d2660ca Add address-formatter proguard rules 2024-06-14 12:50:12 +02:00
MM20 4a448198b2 Merge branch 'main' of github.com:MM2-0/Kvaesitso 2024-06-14 12:21:29 +02:00
MM20 30356193e5 Convert address formatter build.gradle to kts 2024-06-14 12:19:55 +02:00
MM2-0andWeblate 148462f788 Translated using Weblate (German)
Currently translated at 99.8% (796 of 797 strings)

Translation: Kvaesitso/i18n
2024-06-14 09:57:12 +00:00
MM2-0andWeblate 18e96182dd Translated using Weblate (English)
Currently translated at 100.0% (797 of 797 strings)

Translation: Kvaesitso/i18n
2024-06-14 09:57:12 +00:00
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
acress1andMM2-0 cfe80ff3e5 alarm displayed within 12hours instead of 15min 2024-06-14 11:55:51 +02:00
WariandWeblate 7f0fd7c082 Translated using Weblate (Thai)
Currently translated at 91.2% (727 of 797 strings)

Translation: Kvaesitso/i18n
2024-06-11 17:03:37 +00:00
WariandWeblate 96e3b74848 Translated using Weblate (Thai)
Currently translated at 100.0% (3 of 3 strings)

Translation: Kvaesitso/Plugin SDK
Translate-URL: https://i18n.mm20.de/projects/kvaesitso/plugins/plugin-sdk/th/
2024-06-07 10:49:19 +00:00
WariandWeblate 0ddee2189c Translated using Weblate (Thai)
Currently translated at 100.0% (108 of 108 strings)

Translation: Kvaesitso/units
2024-06-07 10:49:19 +00:00
WariandWeblate 53604db609 Translated using Weblate (Thai)
Currently translated at 80.9% (645 of 797 strings)

Translation: Kvaesitso/i18n
2024-06-07 10:49:19 +00:00
Stephan PaternotteandWeblate 76620c1c9c Translated using Weblate (Dutch)
Currently translated at 100.0% (3 of 3 strings)

Translation: Kvaesitso/Plugin SDK
Translate-URL: https://i18n.mm20.de/projects/kvaesitso/plugins/plugin-sdk/nl/
2024-06-05 11:55:59 +00:00
Stephan PaternotteandWeblate 1a8a250e32 Translated using Weblate (Dutch)
Currently translated at 100.0% (797 of 797 strings)

Translation: Kvaesitso/i18n
2024-06-05 11:55:59 +00:00
Stephan PaternotteandWeblate 23f4b536d7 Translated using Weblate (Dutch)
Currently translated at 100.0% (108 of 108 strings)

Translation: Kvaesitso/units
2024-06-05 11:55:58 +00:00
mvilviandWeblate 98f3e4cc2e Translated using Weblate (Catalan)
Currently translated at 100.0% (108 of 108 strings)

Translation: Kvaesitso/units
2024-05-29 07:59:22 +00:00
Massimo PissarelloandWeblate 503d3b81d1 Translated using Weblate (Italian)
Currently translated at 100.0% (108 of 108 strings)

Translation: Kvaesitso/units
2024-05-27 03:59:21 +00:00
er2de2andWeblate 8d58a7938f Translated using Weblate (Polish)
Currently translated at 100.0% (797 of 797 strings)

Translation: Kvaesitso/i18n
2024-05-25 21:04:08 +00:00
Julia ForgacandWeblate 4fca12acf3 Translated using Weblate (English)
Currently translated at 100.0% (108 of 108 strings)

Translation: Kvaesitso/units
2024-05-25 21:04:08 +00:00
marlon mtandWeblate 02937f8cd9 Translated using Weblate (Spanish)
Currently translated at 100.0% (797 of 797 strings)

Translation: Kvaesitso/i18n
2024-05-25 04:35:39 +00:00
Christoph LiebenderandMM2-0 3123a3fcb8 Fix: don't treat PH OpeningHours with specified time as everyDay 2024-05-24 22:15:25 +02:00
MM20 64ce07475c Clear focus when opening a bottom sheet 2024-05-24 18:20:01 +02:00
MM20 dbbe5fc2c7 Fix missing shortcut permission banner text 2024-05-23 22:22:49 +02:00
MM20 3ee298a32f Fix suspended app badges
Fix #746
2024-05-23 21:46:33 +02:00
MM20 c8a9e551f2 Target SDK 35 2024-05-23 19:02:22 +02:00
MM20 a322e7aa96 Merge branch 'main' of github.com:MM2-0/Kvaesitso 2024-05-23 00:42:24 +02:00
MM20 6b36fe1963 Fix background blur on Pixel 8
(and other devices (?))

Close #590
2024-05-23 00:41:43 +02:00
CreatinkandWeblate 9c9f146115 Translated using Weblate (Russian)
Currently translated at 98.1% (782 of 797 strings)

Translation: Kvaesitso/i18n
2024-05-22 14:08:24 +00:00
mvilviandWeblate 4d15329eea Translated using Weblate (Catalan)
Currently translated at 100.0% (797 of 797 strings)

Translation: Kvaesitso/i18n
2024-05-21 02:59:21 +00:00
Massimo PissarelloandWeblate d87bcf3bcf Translated using Weblate (Italian)
Currently translated at 100.0% (797 of 797 strings)

Translation: Kvaesitso/i18n
2024-05-21 02:59:21 +00:00
MM20 13d2f522e2 Search list: add content types 2024-05-20 18:29:07 +02:00
MM20 814374f9de Update Kotlin 2024-05-20 18:10:44 +02:00
MM20 cb9ff3e3b6 Merge branch 'main' of github.com:MM2-0/Kvaesitso 2024-05-20 16:16:40 +02:00
MM20 9c5f1e971f Improve icon search 2024-05-20 16:16:22 +02:00
MM20 bb8a0d4c0d Update icon pack docs 2024-05-20 14:01:46 +02:00
FjuroandWeblate 5eed8037a9 Translated using Weblate (Czech)
Currently translated at 100.0% (797 of 797 strings)

Translation: Kvaesitso/i18n
2024-05-19 16:23:33 +00:00
MM20 1ea05db334 Merge branch 'main' of github.com:MM2-0/Kvaesitso 2024-05-19 18:23:24 +02:00
MM20 9e8d567cb6 Rename string resource 2024-05-19 18:23:00 +02:00
MM20 72ab5dff39 Only show the first 5 results of each category by default 2024-05-19 18:19:34 +02:00
MM20 cc4fcf8f67 Remove log statement 2024-05-19 17:36:44 +02:00
summoner001andWeblate 2ee424833c Translated using Weblate (Hungarian)
Currently translated at 100.0% (797 of 797 strings)

Translation: Kvaesitso/i18n
2024-05-19 01:02:22 +00:00
MM20 1414d24976 This, but working ↓ 2024-05-18 13:10:27 +02:00
MM20 32276934bb Add currency converter symbol aliases (i.e. € for EUR) 2024-05-18 13:01:37 +02:00
MM20 8054f6e5c4 Don't show wikipedia image if it's empty 2024-05-18 00:15:15 +02:00
MM20 ff53330173 Add compact wikipedia results view 2024-05-18 00:12:39 +02:00
MM20 5e409985ca Fix met.no timezone
Fix #636
2024-05-17 22:12:03 +02:00
MM20 c35f0b3694 Undo location category spelling changes
Close #798
2024-05-17 21:43:29 +02:00
MM20 c55a9b6aa3 Make pinned tags toggleable 2024-05-17 21:43:04 +02:00