Files
letro-android/libraries
Jorge Martin Espinosa 9aadec8435 Enforce mandatory session verification only for new logins (#2811)
* Enforce mandatory session verification only for new logins

- Creates `AppMigration` base interface as a way to isolate migration logic, app migrations must implement this interface.
- Creates `AppMigration01` with the existing logs removal migration and `AppMigration02` with the logic to allow existing sessions to skip verification.
- Add `DefaultSessionPreferencesStoreFactory.remove(sessionId)` to allow a ephemeral session store access to exist outside the `SessionScope` for this new migration.

* Fix tests

* Add more tests.

This also includes creating several abstractions.

* Review changes.

- Make `orderedMigrations` a class property, `migrations` just a constructor parameter to avoid incorrect usages.
- Create `lastMigration` property too, use it instead of `MIGRATION_VERSION`.
2024-05-07 14:06:34 +00:00
..
2024-05-01 19:35:16 +02:00
2024-01-11 10:02:10 +01:00
2024-04-26 14:30:51 +02:00
2024-01-10 19:33:39 +01:00
2024-05-06 00:19:35 +00:00
2024-04-25 15:55:29 +02:00
2024-01-10 19:33:39 +01:00
2024-05-07 09:38:26 +02:00
2024-01-11 10:02:10 +01:00
2024-01-11 10:02:10 +01:00
2024-03-20 09:36:35 +01:00
2024-04-29 00:18:59 +00:00
2024-05-06 00:19:35 +00:00
2024-04-12 15:58:15 +02:00
2024-04-29 00:18:59 +00:00
2024-05-06 00:19:35 +00:00
2024-01-11 10:02:10 +01:00
2024-01-11 11:24:10 +01:00