Commit Graph
87 Commits
Author SHA1 Message Date
MM20 da8416a58c (feat) custom typography schemes 2025-06-18 22:28:13 +02:00
MM20 889aa37915 Add import for new color scheme format 2025-06-07 14:06:09 +02:00
78fa1d71dc Location: add icons for available payment methods (#1408)
* add backend for PaymentMethod.kt

* change type of acceptedPaymentMethods to Map<PaymentMethod, Boolean>

* add icons to UI and reduce PaymentMethod.kt to Cash and Card

* make OSM parsing for acceptedPaymentMethods correct (in an opinionated way)

* use Toll and TollOff icons

* fix seperator on empty payment methods

* fix sharedElement and animateEnterExit labels that are not part of the sharedElement

* (feat) shape schemes

---------

Co-authored-by: MM20 <15646950+MM2-0@users.noreply.github.com>
2025-06-01 17:27:18 +02:00
MM20 53d8d93d04 Add haze license note 2025-05-27 21:32:16 +02:00
ValerieandGitHub a24d1b8798 Layout rewrite please read https://github.com/MM2-0/Kvaesitso/discussions/1431
Rewrite of the underlying layout and gesture handling
2025-05-27 00:02:12 +02:00
MM20 f97fb0a88d Calendar widget: separate running tasks from running events 2025-04-30 19:29:03 +02:00
MM20 5e59bf171a Add Breezy Weather integration 2025-04-28 20:58:59 +02:00
MM20 7132e69ec8 Add tasks.org integration 2025-04-26 13:29:58 +02:00
MM20 2d40459237 Remove unused resources and libraries 2025-04-20 18:30:56 +02:00
MM20 b12ce46509 Migrate Owncloud login UI to compose 2025-04-20 17:45:00 +02:00
MM20 27503d34f2 Add white background to nextcloud badge icon 2025-04-20 13:42:06 +02:00
MM20 34180ae6b4 Add more opening hour tests 2025-04-18 23:54:12 +02:00
MM20 02cec92d72 Implement contact plugins 2025-04-06 12:53:38 +02:00
MM20 cab93f87aa Restructure contacts search for plugins 2025-04-05 17:18:22 +02:00
MM20 04dd12ee96 Contact stuff 2025-04-04 18:16:16 +02:00
MM20 7ec315dfc7 Remove firstName and lastName from contact interface,
move some implementations from AndroidContact to Contact interface
2025-04-04 00:25:17 +02:00
MM20 45a19ce95e Remove Google integration 2025-02-09 12:54:20 +01:00
8c4bfb7dc9 SearchVM, SearchService: improve search UX by reducing flickering (#1117)
* Fix: don't treat PH OpeningHours with specified time as `everyDay`

* Use SnapshotStateList in SearchVM and don't clear search-results if
there are no new search results from SearchableRepositories

* Rename parameter

* mergeStateLists: refactor as extension method, add apps to SearchResults by default

---------

Co-authored-by: MM20 <15646950+MM2-0@users.noreply.github.com>
2024-12-05 18:44:34 +01:00
MM20 06c7331584 Move Tag and tag serialization classes to core:base 2024-10-26 19:41:54 +02:00
ChristophandGitHub 16637265fb Migrate osm opening hours parsing to external library (#900)
* Fix: don't treat PH OpeningHours with specified time as `everyDay`

* migrate to osm-opening-hours, add tests for openinghours parsing

* Style nit

* implement 'PH,Su off'

* implement SpecificWeekdays

* decrypt source code (a little)

* fix constructor call in OpeningHoursTest.kt

* lint

* fix negative durations, add test for LastNth + test to combine everything implemented

* add copyright note for osm-opening-hours

* remove unused library
2024-10-20 11:47:16 +02:00
MM20 774777f79c Change search result order for all other categories 2024-10-13 20:32:15 +02:00
MM20 bf6e963545 Improve app result ranking 2024-10-12 22:16:10 +02:00
MM20 318c26a439 Mask private profile apps while private space is locked 2024-08-13 15:19:24 +02:00
MM20 7479c7f401 Add calendar plugins 2024-08-04 17:40:46 +02:00
MM20 88876141ff Rewrite plugin file serialization 2024-07-26 18:05:58 +02:00
MM20 cdf824ac2e Make File path property optional 2024-07-26 17:33:20 +02:00
MM20 89cd56aafe Merge branch 'main' of github.com:MM2-0/Kvaesitso 2024-07-19 23:14:22 +02:00
MM2-0andGitHub 61a9e018d5 Merge pull request #957 from CepGamer/cepgamer/filterRefactor
Calculate values for filter categories from the list of values.
2024-07-19 23:09:41 +02:00
MM20 c3bafb7fb9 Always show all profiles 2024-07-19 23:02:12 +02:00
MM20 3993f9505c Add private space support 2024-07-19 17:13:06 +02:00
Sergei Bolotov e37d266b06 Calculate values for filter categories from the list of values. 2024-07-18 22:45:37 -07:00
MM20 52150c5257 Compile SDK 35 2024-07-18 18:46:12 +02:00
MM20 c7804296d7 Refactor search 2024-07-17 23:27:00 +02:00
MM20 5a28eb584e React to changing profile availability 2024-07-07 14:29:42 +02:00
MM20 3331ea024b Revert "Reuse collator instance"
This reverts commit 90de026e49.

Close #915, Close #907
2024-07-03 22:41:50 +02:00
MM20 a7437b6a43 Add address formatter license note 2024-06-30 20:16:59 +02:00
MM20 304ca12e65 Further search result design adjustments 2024-06-29 21:57:31 +02:00
MM20 84582ebbaf Redesign contact results 2024-06-23 22:31:11 +02:00
MM20 edcf5a70bb Restructure integration settings screen 2024-06-14 22:47:23 +02:00
MM20 5d411d0f0c Rename candle location icon to place of worship 2024-06-14 15:54:10 +02:00
MM20 f6dfddedb2 Remove unused resources 2024-06-14 15:23:37 +02: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
MM20 6b36fe1963 Fix background blur on Pixel 8
(and other devices (?))

Close #590
2024-05-23 00:41:43 +02:00
MM20 c35f0b3694 Undo location category spelling changes
Close #798
2024-05-17 21:43:29 +02:00
MM20 f68f0175a6 Fix OpeningSchedule.isOpen
Fix #838
2024-05-17 18:18:33 +02:00
MM20 44e40cde1d Adjust OpeningSchedule test values 2024-05-17 15:58:32 +02:00
MM20 2319e47184 Add unit tests for OpeningSchedule.isOpen
Issue #838
2024-05-17 15:39:34 +02:00
MM20 f7f0e54f2e Fix calendar widget animation 2024-05-16 23:22:10 +02:00
MM20 90de026e49 Reuse collator instance 2024-05-11 13:18:03 +02:00
MM20 f6028a3f39 Finalize location item UI 2024-05-06 23:35:31 +02:00