Commit Graph
22 Commits
Author SHA1 Message Date
Spark c33fa241b2 feat: appairage par code d'appareil depuis l'écran de connexion (2.16.0)
- Bouton « Se connecter avec mon compte Dracodev » à l'écran de connexion
  (voie principale pour une instance Dracodev) : demande de code à
  POST /api/pairing/device, écran d'attente (code en grand,
  verification_uri, bouton navigateur, compte à rebours, annulation),
  interrogation de POST /api/pairing/token en respectant interval et
  slow_down (+5 s), états d'échec propres (access_denied, expired_token).
- Secret d'appareil shd_… stocké via TokenManager (EncryptedSharedPreferences)
  avec drapeau d'origine appairé/manuel et nom du compte ; JwtGenerator et
  AuthInterceptor inchangés. Vérification immédiate par GET /api/v1/info,
  secret effacé en cas d'échec.
- Le champ « secret manuel » reste (client Shaarli générique).
- Désappairage dans les Paramètres : effacement local + message clair
  (aucun endpoint de révocation self-service côté serveur ; la révocation
  se fait depuis les Réglages web, section Appareils appairés).
- 401 persistant : SessionManager dépose un message explicite que
  l'écran de connexion affiche au retour.
- Étiquette d'appareil : modèle + version de l'app, aucune empreinte.
- Écran de connexion traduit en français ; version 2.16.0 (code 47).

Contrat consommé : celui d'APP-2 (ShaarIt 0.8.0, PR shaarit#20).
Rejeu boîte noire contre le serveur 0.8.0 compilé depuis la branche
appairage-shaarit-serveur : 32/32 + chemin du refus (voir la PR).
2026-11-09 16:33:20 +00:00
bruno 0e6c874342 chore: bump version to 2.15.1 (code 46) 2026-11-04 08:40:27 -05:00
bruno 9e7bde8069 chore: bump version to 2.14.4 (code 45) 2026-11-01 12:49:50 -05:00
bruno df9becfe08 chore: bump version to 2.14.3 (code 44) 2026-11-01 11:19:36 -05:00
bruno 3a4f6dca89 chore: bump version to 2.14.2 2026-10-07 21:42:41 -04:00
bruno 8f90d5b3b8 fix: derive JWT iat from server clock
Shaarli rejects tokens whose iat falls outside its clock
tolerance, so device/server skew caused HTTP 401 logins
even with a correct API secret. Estimate server time from
the Date response header, retry a 401 once with a
recalibrated token, trim credentials on login, and explain
the API-secret vs password mismatch in French error
messages.

Bump version to 2.14.1 (code 42).
2026-10-07 16:33:24 -04:00
bruno 888841e510 feat: implement Todo module with database support and UI components 2026-04-23 20:16:20 -04:00
bruno 5652e14352 feat: implement TodoScreen UI with AI-powered brain dump functionality and notification permissions 2026-04-23 19:05:52 -04:00
bruno 3b0cb915f0 chore: bump version name to 2.12.1 and version code to 39 2026-04-23 17:47:41 -04:00
bruno b0a6e8100b feat: add Dead Links management module and internal browser screen 2026-04-23 16:04:44 -04:00
bruno 2198324c2d feat: implement domain models, link health check worker, and feed screen UI components 2026-04-23 07:40:58 -04:00
bruno 83658cc6c2 feat: implement core app screens, viewmodels, and repository layer for link management and navigation 2026-04-22 21:57:17 -04:00
bruno 9479986e33 feat: Implement dead links management screen allowing pagination, selection, deletion, and re-verification. 2026-02-23 09:01:54 -05:00
bruno a05f7ce71c feat: Implement full synchronization manager, new link repository, various UI screens, and note background resources. 2026-02-22 21:07:35 -05:00
bruno 34964f7b8c feat: Introduce local link data access with LinkDao and SyncManager for synchronization. 2026-02-18 15:08:08 -05:00
bruno 2358ed68b2 feat: Synchronize shaarli-pin tag with isPinned status in FeedViewModel and PinnedViewModel
- Add automatic shaarli-pin tag management when toggling pin status
- Add shaarli-pin tag when pinning a link (if not already present)
- Remove shaarli-pin tag when unpinning a link
- Update both pin status and tags atomically in togglePin() methods
- Bump version to 2.1.7 (VERSION_CODE 22)
2026-02-15 10:32:27 -05:00
bruno bb6c54e7e5 feat: Add timezone configuration with user-selectable preferences and notification formatting
- Add TimezonePreferences to SettingsViewModel and TodoNotificationReceiver entry point
- Create timezone settings section in SettingsScreen with dropdown selector for common timezones
- Apply user timezone to notification date formatting in TodoNotificationReceiver
- Refactor TodoScreen FAB into expandable menu with separate AI Brain Dump and manual task creation options
- Add animated sub-FABs with labels
2026-02-13 22:51:41 -05:00
bruno bccd5ea2d4 feat: Add comprehensive todo management system with Gemini-powered brain dump analysis
- Add TodoEntity, TodoDao, TodoRepository, and TodoRepositoryImpl for local todo storage with sync support
- Implement TodoViewModel with CRUD operations, group management, and subtask handling
- Create TodoScreen with Kanban-style board view, group-based organization, and drag-to-reorder support
- Add BrainDumpSheet for AI-powered task extraction from natural language input using Gemini API
- Implement TodoNot
2026-02-13 15:51:39 -05:00
bruno fc0fe3b30b feat: Add Markdown preprocessing utility to standardize rendering across all views
- Create MarkdownUtils.preprocessMarkdown() for consistent Markdown normalization
- Apply preprocessing to LinkDetailsView description rendering
- Apply preprocessing to MarkdownPreview and MarkdownReader components
- Bump version to 1.4.0 (VERSION_CODE 13)
2026-02-13 08:29:48 -05:00
bruno aa32ff1c2b feat: Refine audio playback eligibility logic with URL validation and classifier fallback
- Replace simple tag-based audio detection with multi-condition validation in isAudioPlayable()
- Add AudioUrlValidator.isStreamable() check to verify URL technical playability
- Implement AudioClassifier.isAudioUrl() fallback for platform/stream recognition without explicit tags
- Prevent Play button display for audio-tagged articles without streamable URLs
- Add comprehensive French documentation explaining
2026-02-12 16:39:10 -05:00
bruno e742502bdc feat: Add PENDING_DELETE filter to all paginated queries and implement accordion-style drawer navigation
- Add sync_status != 'PENDING_DELETE' condition to all PagingSource queries in LinkDao (getAllLinksPaged, searchLinks, searchLinksFullText, getLinksByTag, getLinksByMultipleTags, getLinksInCollectionPaged, getDeadLinks, getPinnedLinksPaged)
- Update LinkRepositoryImpl to exclude PENDING_DELETE items in dynamic query builder and multi-tag filtering
- Replace independent drawer accordion states
2026-02-12 11:24:28 -05:00
bruno b9efb14b8d feat: Implement automated versioning system with PowerShell build script and centralized version management
- Add version.properties file as single source of truth for VERSION_NAME and VERSION_CODE
- Create build.ps1 script with automated version bumping (Major/Minor/Patch/None) and build orchestration
- Update app/build.gradle.kts to read version from version.properties instead of hardcoded values
- Display dynamic version info in Settings screen using BuildConfig.VERSION_NAME and VERSION_CODE
- Add
2026-02-12 10:08:58 -05:00