pachli-android/core
Nik Clayton 0fe84f1611
refactor: Use Date type for scheduled post date / times (#1032)
Previous code accepted the `scheduledAt` value as a String, and kept it
as a String (including when serialising as part of a draft). Then it was
converted to an actual Date for display.

Refactor to keep it as a Date for as long as possible. Moshi decodes
Dates correctly over the network, and the database is configured to
serialise Dates as Longs.

This necessitates two migration steps to preserve any existing
`scheduledAt` values for drafts. The first step adds a new column to
store the date as a Long and copies over existing data. The second step
replaces the old column with the new column.
2024-10-20 16:29:32 +02:00
..
activity fix(l10n): Translations update from Hosted Weblate (#995) 2024-10-10 21:42:59 +02:00
common refactor: Slightly improve enum extensions and usage (#948) 2024-09-26 16:23:48 +02:00
data feat: Ignore suggested accounts that haven't posted in 28 days (#1031) 2024-10-19 14:38:00 +02:00
database refactor: Use Date type for scheduled post date / times (#1032) 2024-10-20 16:29:32 +02:00
designsystem fix(l10n): Translations update from Hosted Weblate (#995) 2024-10-10 21:42:59 +02:00
domain refactor: Move AccountManager to core.data.repository (#976) 2024-10-03 21:28:01 +02:00
model fix: Disable "Scheduled post" support on GoToSocial accounts (#1025) 2024-10-18 15:37:10 +02:00
navigation refactor: Use Date type for scheduled post date / times (#1032) 2024-10-20 16:29:32 +02:00
network refactor: Use Date type for scheduled post date / times (#1032) 2024-10-20 16:29:32 +02:00
network-test test: Ensure that all relevant MastodonAPI methods are stubbed (#1001) 2024-10-13 17:18:54 +02:00
preferences feat: Add "Don't ask again" option when confirming the posting language (#1027) 2024-10-18 17:26:50 +02:00
testing fix(deps): update dependency org.robolectric:robolectric to v4.13 (#859) 2024-08-21 12:41:16 +02:00
ui fix(l10n): Translations update from Hosted Weblate (#995) 2024-10-10 21:42:59 +02:00
AndroidManifest.xml refactor: Start creating core modules (#286) 2023-12-04 16:58:36 +01:00