Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
  1. Sep 14, 2019
  2. Sep 13, 2019
    • Marten Gajda's avatar
      Fix handling calculation of duration of all-day recurring task, fixes #840 (#843) · 81f5b5a1
      Marten Gajda authored
      Recurring tasks may specify a dtstart and due date (instead of a duration). If the task was an all-day task, we may have tried to add a duration derived from the difference between start and due.
      The result was a non-all-day duration (although in most cases being a multiple of 24h) and adding this to an all-day date resulted in an error. It's fixed by converting the duration into a proper
      all-day duration.
      81f5b5a1
  3. Sep 08, 2019
  4. Aug 29, 2019
  5. Aug 25, 2019
    • Marten Gajda's avatar
      Add initial recurrence support implements, #462 (#814) · 9c31714b
      Marten Gajda authored
      This commit adds initial recurrence support in that recurring instances are handled correctly when instances are edited or deleted.
      In order to support this, the UI now operates on the Instances table rather then the tasks table. The instances table now supports deletes, and updates like the tasks table with the difference that all these operations only affect the specific instance that's addressed. All the operations on the instances table are converted into operations on a task by creating exception instances and RDATEs or EXDATEs.
      
      Inserting instances is currently not possible because only a fixed number of instances are expanded. This means an instance inserted beyond the expansion window would still not show up in the instances table.
      See https://github.com/dmfs/opentasks/issues/741
      
      There is still room for improvement in that we could split of completed tasks and modify recurrence rules when deleting instances from the start or end of the series. That's left to future updates.
      Also there is no UI yet to create or edit recurrence properties itself.
      
      At present there is only one upcoming instance expanded, so you can only see the "current" instance (and all completed ones). This may/will change in future but may require some UI changes as well.
      
      In order to support this commit a number of tests have been implemented which test creating and altering recurring instances.
      
      Currently an exception is created when a recurring instance is modified which wasn't an exception before. This approach is RFC 5545 compliant but not supported by Apple clients. This will be fixed in future updates.
      9c31714b
  6. Aug 19, 2019
  7. Aug 17, 2019
    • Marten Gajda's avatar
      Send out PROVIDER_CHANGED broadcasts again, fixes #822 (#825) · 1dcd9434
      Marten Gajda authored
      Since Android 8 it's not possible to listen to implicit broadcasts anymore when the reciever is declared in the AndroidManifest.xml.
      In a previous commit we disabled sending out broadcasts to other apps. This caused some trouble.
      For new we hard code 3rd party receiver package names in a resource array. This is supposed to be changed later on, see #824.
      1dcd9434
  8. Jun 15, 2019
  9. Jun 12, 2019
    • Marten Gajda's avatar
      Update notifications, implements #400 (#809) · a0974130
      Marten Gajda authored
      When a task is modified we compare the current notification state to the new one and update the notification if necessary.
      
      In certain cases we remove the notification now:
      
      * the task was unpinned (by the sync adapter)
      * the start of a task has been postponed
      * the due date of a task has been postponed
      * a task has been completed
      a0974130
  10. Jun 08, 2019
  11. Jun 07, 2019
  12. Jun 06, 2019
  13. Jun 05, 2019
    • Marten Gajda's avatar
      Update dependencies, implements #797 (#799) · cce6120a
      Marten Gajda authored
      * update jems to 1.22
      * update contentpal to 0.5
      * update lib-recur to 0.11.2
      * update color-picker to 1.3
      * update bolts to 0.1
      * fix dependency scopes
      * update `Diff` usage to account for correct Comparator logic
      * replace some classes with their upstream counterparts
      1.1.19
      cce6120a
  14. Jun 04, 2019
    • Unpublished's avatar
      Bump deps (#798) · e0c25471
      Unpublished authored
      * Bump support_lib_version from 26.1.0 to 28.0.0
      * Bump support_test_runner_version from 0.5 to 1.0.2
      * Bump mockito-core from 2.10.0 to 2.27.0
      * Migrate to AndroidX
      * Bump appcompat from 1.0.0 to 1.0.2
      * Bump androidx_test_runner_version from 1.1.0 to 1.1.1
      e0c25471
  15. May 24, 2019
  16. May 16, 2019
  17. May 10, 2019
    • Marten Gajda's avatar
      Create version column if required, fixes #793 (#794) · d317be3e
      Marten Gajda authored
      The cause of issue #793 is actually unknown but this once could be a good candidate. In few cases the database might already be on version 20 but the version column had not been created.
      This might be caused by having the beta version installed before (which already had a version 20, but without the column).
      
      This fix always checks if the version column already exists and creates it otherwise.
      d317be3e
  18. Apr 07, 2019
  19. Apr 02, 2019
  20. Mar 02, 2019
    • Marten Gajda's avatar
      Add VERSION column, implements #778 · ee559389
      Marten Gajda authored
      This commit adds a read-only task VERSION column which is incremented upon any update or a task (including sync-adapter updates).
      
      The column serves two purposes:
      
      * safe transactions by asserting a specific version before updating a task
      * quick detection if a specific task has been modified
      
      The former could be used by sync-adapters to ensure a task has not been updated while being synced.
      Notifications will make use of the latter to avoid unnecessary updates of task notifications for unchanged tasks.
      ee559389
  21. Feb 17, 2019
  22. Feb 14, 2019
  23. Feb 01, 2019
  24. Jan 26, 2019
    • Marten Gajda's avatar
      Improve FTS performance, fixes #750 (#752) · 5650c86e
      Marten Gajda authored
      The previous implementation tried to use the CONFLICT_IGNORE policy when inserting new ngrams and was falling back to a query in case it failed to find the id of the exiting ngram. This was very slow because it meant an expensive query for every ngram to insert.
      
      The new solution goes over the existing ngrams and only inserts the ones which don't exist in the database. Similarily the ngram relations table is not cleared for the particular task, instead the existing ngrams are loaded and only new relations are inserted and obsolete relations are removed.
      5650c86e
  25. Jan 25, 2019
    • Unpublished's avatar
      fix recursive updateNotification calls (#751) · ea2aa2e9
      Unpublished authored
      * fix recursive updateNotification calls
      * replace compile with implementation
      ea2aa2e9
    • Marten Gajda's avatar
      Reduce size of ProviderChangedBroadcast, fixes #744 (#749) · 7e945c15
      Marten Gajda authored
      This commit removes the changelog we've sent with the ProviderChanged Broadcast. It's never really been used so far but may blow the IPC buffer size limit.
      We need to find a better way to communicate changes efficiently to plugins once we support them. It's not a pressing concern though.
      7e945c15
    • Marten Gajda's avatar
      Fix track selection, fixes #747 (#748) · cf251887
      Marten Gajda authored
      The regular expression for the internal track didn't cover a revision descirption like `1.1.16-dirty` which is a release commit with changes.
      The proposed fix makes the part between the version number and `-dirty` optional.
      cf251887
  26. Jan 11, 2019
    • Marten Gajda's avatar
      Request account visibility, implements #728 (#736) · 5b18f803
      Marten Gajda authored
      This commit adds a workaround for sync apps which don't grant account visibility to OpenTasks. If a task list is inserted which belongs to an account which we can't see, the app asks for permission to see the account.
      The `GET_ACCOUNTS` permission is no longer used on Android 8+ and the request for that permission will no longer be shown when the app starts.
      1.1.16
      5b18f803
  27. Nov 08, 2018
Loading