Compare commits
22
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2ca4335e09 | ||
|
|
08c297f30a | ||
|
|
1d6c2a0d59 | ||
|
|
2a1230c0ca | ||
|
|
cd3b33c959 | ||
|
|
8175d58dcd | ||
|
|
05696b2991 | ||
|
|
23f6156e71 | ||
|
|
c1b65c0c86 | ||
|
|
b5ac279b94 | ||
|
|
8fba3f01a4 | ||
|
|
3b73dd4c53 | ||
|
|
01850a7b74 | ||
|
|
28e646fb31 | ||
|
|
6e3cc4bdbd | ||
|
|
b6185ed53c | ||
|
|
9338c64dc7 | ||
|
|
9a72fb0880 | ||
|
|
24e978efc3 | ||
|
|
2740dd5562 | ||
|
|
8dbfd07d10 | ||
|
|
3e1a84ab7d |
No files matched your search
@@ -7,6 +7,8 @@ All notable changes to this project are documented here. The format follows
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [1.2.0] - 2026-10-26
|
||||
|
||||
### Added
|
||||
- A reminder can count from the task's start as well as from its due date, and
|
||||
tasks with only a start date get reminders too. Default reminders can mix
|
||||
|
||||
@@ -33,8 +33,8 @@ android {
|
||||
// (1.0.x: 1.0.0 -> 10000; from 1.1.0: 1.1.0-beta.1 -> 1010001,
|
||||
// 1.1.0 -> 1010099), and CI fails if the committed one doesn't match.
|
||||
// See docs/RELEASING.md.
|
||||
versionCode = 1020002
|
||||
versionName = "1.2.0-beta.2"
|
||||
versionCode = 1020099
|
||||
versionName = "1.2.0"
|
||||
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
package de.jeanlucmakiola.agendula.ui.common
|
||||
|
||||
import androidx.compose.foundation.gestures.awaitEachGesture
|
||||
import androidx.compose.foundation.gestures.awaitFirstDown
|
||||
import androidx.compose.foundation.layout.WindowInsets
|
||||
import androidx.compose.foundation.layout.systemGestures
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.runtime.getValue
|
||||
import androidx.compose.runtime.mutableFloatStateOf
|
||||
import androidx.compose.runtime.remember
|
||||
import androidx.compose.runtime.setValue
|
||||
import androidx.compose.ui.Modifier
|
||||
import androidx.compose.ui.input.pointer.PointerEventPass
|
||||
import androidx.compose.ui.input.pointer.pointerInput
|
||||
import androidx.compose.ui.layout.onGloballyPositioned
|
||||
import androidx.compose.ui.layout.positionInWindow
|
||||
import androidx.compose.ui.platform.LocalDensity
|
||||
import androidx.compose.ui.platform.LocalLayoutDirection
|
||||
import androidx.compose.ui.platform.LocalWindowInfo
|
||||
import androidx.compose.ui.unit.dp
|
||||
import kotlin.math.abs
|
||||
|
||||
/** How far past the system back-gesture zone a horizontal swipe is still ignored. */
|
||||
private val EDGE_MARGIN = 24.dp
|
||||
|
||||
/**
|
||||
* Swallows horizontal swipes that start near the screen's left or right edge,
|
||||
* before a swipe box below it sees them (#90). A back gesture started just
|
||||
* inside the system's gesture zone otherwise reaches the app as a row swipe.
|
||||
* Taps and vertical scrolls are left alone.
|
||||
*/
|
||||
@Composable
|
||||
fun Modifier.ignoringEdgeSwipes(): Modifier {
|
||||
val density = LocalDensity.current
|
||||
val layoutDirection = LocalLayoutDirection.current
|
||||
val windowWidth = LocalWindowInfo.current.containerSize.width
|
||||
val insets = WindowInsets.systemGestures
|
||||
val margin = with(density) { EDGE_MARGIN.roundToPx() }
|
||||
val leftEdge = insets.getLeft(density, layoutDirection) + margin
|
||||
val rightEdge = windowWidth - insets.getRight(density, layoutDirection) - margin
|
||||
var offsetX by remember { mutableFloatStateOf(0f) }
|
||||
return this
|
||||
.onGloballyPositioned { offsetX = it.positionInWindow().x }
|
||||
.pointerInput(leftEdge, rightEdge) {
|
||||
val slop = viewConfiguration.touchSlop
|
||||
awaitEachGesture {
|
||||
val down = awaitFirstDown(requireUnconsumed = false, pass = PointerEventPass.Initial)
|
||||
val x = offsetX + down.position.x
|
||||
if (x > leftEdge && x < rightEdge) return@awaitEachGesture
|
||||
var horizontal = false
|
||||
while (true) {
|
||||
val change = awaitPointerEvent(PointerEventPass.Initial).changes
|
||||
.firstOrNull { it.id == down.id } ?: break
|
||||
if (!horizontal) {
|
||||
val delta = change.position - down.position
|
||||
when {
|
||||
abs(delta.x) > slop -> horizontal = true
|
||||
abs(delta.y) > slop -> break
|
||||
}
|
||||
}
|
||||
if (horizontal) change.consume()
|
||||
if (!change.pressed) break
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -112,6 +112,7 @@ import de.jeanlucmakiola.agendula.domain.TaskFilter
|
||||
import de.jeanlucmakiola.agendula.domain.TaskSection
|
||||
import de.jeanlucmakiola.agendula.domain.TaskSections
|
||||
import de.jeanlucmakiola.agendula.ui.common.LocalUse24HourFormat
|
||||
import de.jeanlucmakiola.agendula.ui.common.ignoringEdgeSwipes
|
||||
import de.jeanlucmakiola.agendula.ui.common.priorityAccent
|
||||
import de.jeanlucmakiola.agendula.ui.lists.ListEditorSheet
|
||||
import de.jeanlucmakiola.agendula.ui.lists.listWriteFailureMessage
|
||||
@@ -655,7 +656,7 @@ private fun TaskRow(
|
||||
|
||||
SwipeToDismissBox(
|
||||
state = dismissState,
|
||||
modifier = modifier.fillMaxWidth().padding(horizontal = 16.dp).then(gap),
|
||||
modifier = modifier.ignoringEdgeSwipes().fillMaxWidth().padding(horizontal = 16.dp).then(gap),
|
||||
// dismissDirection (not targetValue) tracks the live drag, so the colour +
|
||||
// icon reveal as you swipe rather than only once the threshold is crossed.
|
||||
backgroundContent = { SwipeBackground(dismissState.dismissDirection, task.isCompleted) },
|
||||
@@ -1037,7 +1038,7 @@ private fun SubtaskRow(
|
||||
val gap = if (lastInRun) Modifier else Modifier.padding(bottom = 2.dp)
|
||||
SwipeToDismissBox(
|
||||
state = dismissState,
|
||||
modifier = modifier.fillMaxWidth().padding(horizontal = 16.dp).then(gap),
|
||||
modifier = modifier.ignoringEdgeSwipes().fillMaxWidth().padding(horizontal = 16.dp).then(gap),
|
||||
backgroundContent = { SwipeBackground(dismissState.dismissDirection, task.isCompleted) },
|
||||
) {
|
||||
Surface(
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
### جديد
|
||||
- يمكن أن يُحسب التذكير من بدء المهمة أو من موعد الاستحقاق.
|
||||
- يمكن لمهام اليوم الكامل أن تحمل تذكيرات في أوقات محددة.
|
||||
- يمكن للتطبيقات الأخرى قراءة مهامك المحلية وتعديلها عبر OpenTasks، بإذنك.
|
||||
|
||||
### تغييرات
|
||||
- تُزامَن التذكيرات كـ VALARM، فترنّ أيضًا في تذكيرات Apple وThunderbird وtasks.org.
|
||||
|
||||
### إصلاحات
|
||||
- تعمل الأدوات مجددًا بعد إنجاز المهام.
|
||||
- عاد تسجيل الدخول بالبريد الإلكتروني يعمل لدى mailbox.org وPosteo.
|
||||
@@ -0,0 +1,11 @@
|
||||
Agendula تطبيق مهام حديث ومفتوح المصدر لنظام Android.
|
||||
|
||||
زامن مهامك عبر CalDAV: أضف حساب Nextcloud أو Radicale أو Baïkal أو أي حساب CalDAV آخر، واختر قوائم المهام التي تريد مزامنتها. أو احتفظ بكل شيء على الهاتف، فـ Agendula يخزّن مهامك بنفسه، دون حساب ودون تثبيت أي شيء آخر.
|
||||
|
||||
هل تستخدم OpenTasks أو tasks.org؟ اربط Agendula بذلك التطبيق لتظهر المهام التي يزامنها DAVx5 أو ما يشبهه كما هي، وانسخها إلى تخزين Agendula الخاص متى شئت من الإعدادات ← التخزين.
|
||||
|
||||
ما يقدمه: قوائم تديرها داخل التطبيق، تواريخ الاستحقاق والبدء، مهام اليوم الكامل، مهام فرعية، أولويات، نسبة الإنجاز، مهام متكررة يمكنك تعديل موعد واحد منها، عدة تذكيرات لكل مهمة مع الغفوة، استيراد iCalendar وتصديره، أداة للشاشة الرئيسية، اختصارات المشغّل، وبلاطة في الإعدادات السريعة.
|
||||
|
||||
التصميم Material 3 Expressive حقيقي في كل مكان، مع ألوان ديناميكية وحركة وأشكال معبّرة.
|
||||
|
||||
الخصوصية: لا قياس عن بُعد، ولا تحليلات، ولا إعلانات. لا يتصل Agendula بالإنترنت إلا للمزامنة مع حسابات CalDAV التي تضيفها. ودون حساب، لا تغادر مهامك الجهاز إلا إذا صدّرتها.
|
||||
@@ -0,0 +1 @@
|
||||
تطبيق مهام بتصميم Material 3 Expressive مع مزامنة CalDAV.
|
||||
@@ -0,0 +1 @@
|
||||
Agendula: Tasks
|
||||
@@ -0,0 +1,11 @@
|
||||
### Nové
|
||||
- Připomínky se mohou počítat od začátku úkolu i od termínu.
|
||||
- Celodenní úkoly mohou mít připomínky v pevný čas.
|
||||
- Jiné aplikace mohou s vaším svolením číst a upravovat místní úkoly přes OpenTasks.
|
||||
|
||||
### Změny
|
||||
- Připomínky se synchronizují jako VALARM a zvoní i v Připomínkách Apple, Thunderbirdu a tasks.org.
|
||||
|
||||
### Opravy
|
||||
- Widgety opět fungují po odškrtnutí úkolu.
|
||||
- Přihlášení e-mailem u mailbox.org a Posteo opět funguje.
|
||||
@@ -0,0 +1,11 @@
|
||||
Agendula je moderní open-source aplikace na úkoly pro Android.
|
||||
|
||||
Synchronizujte úkoly přes CalDAV: přidejte účet Nextcloud, Radicale, Baïkal nebo jiný CalDAV účet a vyberte, které seznamy úkolů se mají synchronizovat. Nebo nechte vše v telefonu. Agendula si úkoly ukládá sama, bez účtu a bez instalace čehokoli dalšího.
|
||||
|
||||
Už používáte OpenTasks nebo tasks.org? Nasměrujte Agendulu na tuto aplikaci, aby se úkoly synchronizované přes DAVx5 a podobně zobrazily tak, jak jsou, a kdykoli si je zkopírujte do vlastního úložiště Agenduly v Nastavení → Úložiště.
|
||||
|
||||
Co umí: seznamy spravované přímo v aplikaci, termíny a data začátku, celodenní úkoly, podúkoly, priority, průběh, opakované úkoly s možností upravit jediný výskyt, více připomínek na úkol s odložením, import a export iCalendar, widget na plochu, zkratky spouštěče a dlaždici Rychlého nastavení.
|
||||
|
||||
Design je skrz naskrz Material 3 Expressive, s dynamickými barvami a expresivními animacemi a tvary.
|
||||
|
||||
Soukromí: žádná telemetrie, žádná analytika, žádné reklamy. Agendula se připojuje k internetu jen kvůli synchronizaci s CalDAV účty, které sami přidáte. Bez účtu vaše úkoly zařízení neopustí, pokud je sami neexportujete.
|
||||
@@ -0,0 +1 @@
|
||||
Úkolníček v Material 3 Expressive se synchronizací CalDAV.
|
||||
@@ -0,0 +1 @@
|
||||
Agendula: Tasks
|
||||
@@ -0,0 +1,11 @@
|
||||
### Neu
|
||||
- Erinnerungen können ab dem Start oder ab der Fälligkeit zählen.
|
||||
- Ganztägige Aufgaben können Erinnerungen zu festen Uhrzeiten haben.
|
||||
- Andere Apps können lokale Aufgaben über OpenTasks lesen und bearbeiten, wenn du es erlaubst.
|
||||
|
||||
### Geändert
|
||||
- Erinnerungen werden als VALARM synchronisiert und klingeln auch in Apple Erinnerungen, Thunderbird und tasks.org.
|
||||
|
||||
### Behoben
|
||||
- Widgets funktionieren wieder nach dem Abhaken.
|
||||
- Die Anmeldung per E-Mail klappt wieder bei mailbox.org und Posteo.
|
||||
@@ -0,0 +1,11 @@
|
||||
### Added
|
||||
- Reminders can count from a task's start as well as its due date.
|
||||
- All-day tasks can have reminders at set times, e.g. 09:00 and 17:00.
|
||||
- Other apps can read and edit your local tasks through an OpenTasks provider, with your permission.
|
||||
|
||||
### Changed
|
||||
- Reminders sync as VALARMs, so they also ring in Apple Reminders, Thunderbird and tasks.org.
|
||||
|
||||
### Fixed
|
||||
- Widgets work again after ticking off tasks.
|
||||
- Signing in by email works again for mailbox.org and Posteo.
|
||||
@@ -0,0 +1,11 @@
|
||||
### Added
|
||||
- Reminders can count from a task's start as well as its due date.
|
||||
- All-day tasks can have reminders at set times, e.g. 09:00 and 17:00.
|
||||
- Other apps can read and edit your local tasks through an OpenTasks provider, with your permission.
|
||||
|
||||
### Changed
|
||||
- Reminders sync as VALARMs, so they also ring in Apple Reminders, Thunderbird and tasks.org.
|
||||
|
||||
### Fixed
|
||||
- Widgets work again after ticking off tasks.
|
||||
- Signing in by email works again for mailbox.org and Posteo.
|
||||
@@ -0,0 +1,11 @@
|
||||
### Nouveautés
|
||||
- Un rappel peut partir du début ou de l'échéance d'une tâche.
|
||||
- Rappels à heure fixe pour les tâches sur la journée.
|
||||
- Avec votre accord, d'autres applis peuvent lire et modifier vos tâches locales via OpenTasks.
|
||||
|
||||
### Modifications
|
||||
- Les rappels se synchronisent en VALARM et sonnent aussi dans Rappels d'Apple, Thunderbird et tasks.org.
|
||||
|
||||
### Corrections
|
||||
- Les widgets marchent de nouveau après une tâche cochée.
|
||||
- La connexion par e-mail marche de nouveau avec mailbox.org et Posteo.
|
||||
@@ -0,0 +1,11 @@
|
||||
Agendula est une appli de tâches moderne et open source pour Android.
|
||||
|
||||
Synchronisez vos tâches via CalDAV : ajoutez un compte Nextcloud, Radicale, Baïkal ou tout autre compte CalDAV et choisissez les listes de tâches à synchroniser. Ou gardez tout sur le téléphone : Agendula stocke vos tâches lui-même, sans compte et sans rien d'autre à installer.
|
||||
|
||||
Vous utilisez déjà OpenTasks ou tasks.org ? Reliez Agendula à cette appli pour que les tâches synchronisées par DAVx5 ou similaire s'affichent telles quelles, et copiez-les quand vous voulez dans le stockage propre d'Agendula, sous Réglages → Stockage.
|
||||
|
||||
Ce qu'il fait : listes gérées dans l'appli, dates d'échéance et de début, tâches sur toute la journée, sous-tâches, priorités, avancement, tâches récurrentes dont vous pouvez modifier une seule occurrence, plusieurs rappels par tâche avec report, import et export iCalendar, un widget d'écran d'accueil, des raccourcis de lanceur et une tuile de Réglages rapides.
|
||||
|
||||
Le design est du vrai Material 3 Expressive de bout en bout, avec couleurs dynamiques, animations et formes expressives.
|
||||
|
||||
Confidentialité : pas de télémétrie, pas d'analytique, pas de publicité. Agendula ne se connecte que pour synchroniser les comptes CalDAV que vous ajoutez. Sans compte, vos tâches ne quittent l'appareil que si vous les exportez.
|
||||
@@ -0,0 +1 @@
|
||||
Une appli de tâches Material 3 Expressive avec synchro CalDAV.
|
||||
@@ -0,0 +1 @@
|
||||
Agendula: Tasks
|
||||
@@ -0,0 +1,11 @@
|
||||
### Novidades
|
||||
- Lembretes podem contar a partir do início da tarefa ou do prazo.
|
||||
- Tarefas de dia inteiro podem ter lembretes em horários fixos.
|
||||
- Outros apps podem ler e editar suas tarefas locais via OpenTasks, com sua permissão.
|
||||
|
||||
### Alterações
|
||||
- Lembretes sincronizam como VALARM e tocam também no Lembretes da Apple, Thunderbird e tasks.org.
|
||||
|
||||
### Correções
|
||||
- Widgets voltam a funcionar após marcar tarefas.
|
||||
- O login por e-mail volta a funcionar no mailbox.org e Posteo.
|
||||
Reference in new issue
Block a user