├── .github
└── workflows
│ ├── fastlane.yml
│ ├── flutter.yml
│ ├── lints.yml
│ ├── taskd.yml
│ └── taskw.yml
├── Makefile
├── README.md
├── docker-dart-task
├── Dockerfile
└── Makefile
├── docker
├── Dockerfile
├── Makefile
└── entrypoint.sh
├── fixture
├── .gitignore
├── Makefile
├── android
│ └── var
│ │ └── taskd
│ │ ├── ca.cert.pem
│ │ ├── ca.key.pem
│ │ ├── client.cert.pem
│ │ ├── client.key.pem
│ │ ├── pki
│ │ ├── ca.cert.pem
│ │ ├── first_last.cert.pem
│ │ └── first_last.key.pem
│ │ ├── server.cert.pem
│ │ ├── server.crl.pem
│ │ └── server.key.pem
└── var
│ └── taskd
│ ├── api.cert.pem
│ ├── api.key.pem
│ ├── ca.cert.pem
│ ├── orgs
│ └── Public
│ │ └── users
│ │ └── .keep
│ ├── pki
│ ├── ca.cert.pem
│ ├── first_last.cert.pem
│ └── first_last.key.pem
│ ├── server.cert.pem
│ ├── server.crl.pem
│ └── server.key.pem
├── task
├── .gitignore
├── .metadata
├── CHANGELOG.md
├── Makefile
├── PRIVACY_POLICY.md
├── README.md
├── analysis_options.yaml
├── android
│ ├── .bundle
│ │ └── config
│ ├── .gitignore
│ ├── Gemfile
│ ├── Makefile
│ ├── app
│ │ ├── build.gradle
│ │ └── src
│ │ │ ├── debug
│ │ │ └── AndroidManifest.xml
│ │ │ ├── main
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── ic_launcher-playstore.png
│ │ │ ├── kotlin
│ │ │ │ └── info
│ │ │ │ │ └── tangential
│ │ │ │ │ └── task
│ │ │ │ │ └── MainActivity.kt
│ │ │ └── res
│ │ │ │ ├── drawable
│ │ │ │ ├── ic_launcher_foreground.xml
│ │ │ │ └── launch_background.xml
│ │ │ │ ├── mipmap-anydpi-v26
│ │ │ │ ├── ic_launcher.xml
│ │ │ │ └── ic_launcher_round.xml
│ │ │ │ ├── mipmap-hdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-mdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xxhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xxxhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ └── values
│ │ │ │ ├── ic_launcher_background.xml
│ │ │ │ └── styles.xml
│ │ │ └── profile
│ │ │ └── AndroidManifest.xml
│ ├── build.gradle
│ ├── fastlane
│ │ └── metadata
│ │ │ └── android
│ │ │ └── en-US
│ │ │ ├── full_description.txt
│ │ │ ├── short_description.txt
│ │ │ └── title.txt
│ ├── gradle.properties
│ ├── gradle
│ │ └── wrapper
│ │ │ └── gradle-wrapper.properties
│ └── settings.gradle
├── assets
│ ├── .gitignore
│ └── .task
│ │ └── .keep
├── google_fonts
│ ├── FiraMono-Bold.ttf
│ ├── FiraMono-Regular.ttf
│ └── OFL.txt
├── ios
│ ├── .bundle
│ │ └── config
│ ├── .gitignore
│ ├── Flutter
│ │ ├── AppFrameworkInfo.plist
│ │ ├── Debug.xcconfig
│ │ └── Release.xcconfig
│ ├── Gemfile
│ ├── Makefile
│ ├── Podfile
│ ├── Podfile.lock
│ ├── Runner.xcodeproj
│ │ ├── project.pbxproj
│ │ ├── project.xcworkspace
│ │ │ ├── contents.xcworkspacedata
│ │ │ └── xcshareddata
│ │ │ │ ├── IDEWorkspaceChecks.plist
│ │ │ │ └── WorkspaceSettings.xcsettings
│ │ └── xcshareddata
│ │ │ └── xcschemes
│ │ │ ├── Runner.xcscheme
│ │ │ ├── beta.xcscheme
│ │ │ └── stable.xcscheme
│ ├── Runner.xcworkspace
│ │ ├── contents.xcworkspacedata
│ │ └── xcshareddata
│ │ │ ├── IDEWorkspaceChecks.plist
│ │ │ └── WorkspaceSettings.xcsettings
│ └── Runner
│ │ ├── AppDelegate.swift
│ │ ├── Assets.xcassets
│ │ ├── AppIcon-beta.appiconset
│ │ │ ├── Contents.json
│ │ │ ├── Icon-App-1024x1024@1x.png
│ │ │ ├── Icon-App-20x20@1x.png
│ │ │ ├── Icon-App-20x20@2x.png
│ │ │ ├── Icon-App-20x20@3x.png
│ │ │ ├── Icon-App-29x29@1x.png
│ │ │ ├── Icon-App-29x29@2x.png
│ │ │ ├── Icon-App-29x29@3x.png
│ │ │ ├── Icon-App-40x40@1x.png
│ │ │ ├── Icon-App-40x40@2x.png
│ │ │ ├── Icon-App-40x40@3x.png
│ │ │ ├── Icon-App-60x60@2x.png
│ │ │ ├── Icon-App-60x60@3x.png
│ │ │ ├── Icon-App-76x76@1x.png
│ │ │ ├── Icon-App-76x76@2x.png
│ │ │ └── Icon-App-83.5x83.5@2x.png
│ │ ├── AppIcon.appiconset
│ │ │ ├── Contents.json
│ │ │ ├── Icon-App-1024x1024@1x.png
│ │ │ ├── Icon-App-20x20@1x.png
│ │ │ ├── Icon-App-20x20@2x.png
│ │ │ ├── Icon-App-20x20@3x.png
│ │ │ ├── Icon-App-29x29@1x.png
│ │ │ ├── Icon-App-29x29@2x.png
│ │ │ ├── Icon-App-29x29@3x.png
│ │ │ ├── Icon-App-40x40@1x.png
│ │ │ ├── Icon-App-40x40@2x.png
│ │ │ ├── Icon-App-40x40@3x.png
│ │ │ ├── Icon-App-60x60@2x.png
│ │ │ ├── Icon-App-60x60@3x.png
│ │ │ ├── Icon-App-76x76@1x.png
│ │ │ ├── Icon-App-76x76@2x.png
│ │ │ └── Icon-App-83.5x83.5@2x.png
│ │ └── LaunchImage.imageset
│ │ │ ├── Contents.json
│ │ │ ├── LaunchImage.png
│ │ │ ├── LaunchImage@2x.png
│ │ │ ├── LaunchImage@3x.png
│ │ │ └── README.md
│ │ ├── Base.lproj
│ │ ├── LaunchScreen.storyboard
│ │ └── Main.storyboard
│ │ ├── Info.plist
│ │ └── Runner-Bridging-Header.h
├── lib
│ ├── main.dart
│ ├── src
│ │ ├── functions
│ │ │ ├── client.dart
│ │ │ ├── save_file.dart
│ │ │ ├── set_config.dart
│ │ │ └── show_exception_dialog.dart
│ │ ├── routes
│ │ │ ├── annotations_route.dart
│ │ │ ├── configure_taskserver_route.dart
│ │ │ ├── detail_route.dart
│ │ │ ├── tags_route.dart
│ │ │ └── task_list_route.dart
│ │ └── widgets
│ │ │ ├── add_task_bottom_sheet.dart
│ │ │ ├── delete_profile_dialog.dart
│ │ │ ├── filter_drawer.dart
│ │ │ ├── profiles_column.dart
│ │ │ ├── profiles_widget.dart
│ │ │ ├── project_filter.dart
│ │ │ ├── rename_profile_dialog.dart
│ │ │ ├── rename_tab_dialog.dart
│ │ │ ├── storage_widget.dart
│ │ │ ├── task_list_item.dart
│ │ │ └── task_list_view.dart
│ └── task.dart
├── linux
│ ├── .gitignore
│ ├── CMakeLists.txt
│ ├── flutter
│ │ ├── CMakeLists.txt
│ │ ├── generated_plugin_registrant.cc
│ │ ├── generated_plugin_registrant.h
│ │ └── generated_plugins.cmake
│ ├── main.cc
│ ├── my_application.cc
│ └── my_application.h
├── macos
│ ├── .gitignore
│ ├── Flutter
│ │ ├── Flutter-Debug.xcconfig
│ │ ├── Flutter-Release.xcconfig
│ │ └── GeneratedPluginRegistrant.swift
│ ├── Podfile
│ ├── Podfile.lock
│ ├── Runner.xcodeproj
│ │ ├── project.pbxproj
│ │ ├── project.xcworkspace
│ │ │ └── xcshareddata
│ │ │ │ └── IDEWorkspaceChecks.plist
│ │ └── xcshareddata
│ │ │ └── xcschemes
│ │ │ └── Runner.xcscheme
│ ├── Runner.xcworkspace
│ │ ├── contents.xcworkspacedata
│ │ └── xcshareddata
│ │ │ └── IDEWorkspaceChecks.plist
│ └── Runner
│ │ ├── AppDelegate.swift
│ │ ├── Assets.xcassets
│ │ └── AppIcon.appiconset
│ │ │ ├── Contents.json
│ │ │ ├── app_icon_1024.png
│ │ │ ├── app_icon_128.png
│ │ │ ├── app_icon_16.png
│ │ │ ├── app_icon_256.png
│ │ │ ├── app_icon_32.png
│ │ │ ├── app_icon_512.png
│ │ │ └── app_icon_64.png
│ │ ├── Base.lproj
│ │ └── MainMenu.xib
│ │ ├── Configs
│ │ ├── AppInfo.xcconfig
│ │ ├── Debug.xcconfig
│ │ ├── Release.xcconfig
│ │ └── Warnings.xcconfig
│ │ ├── DebugProfile.entitlements
│ │ ├── Info.plist
│ │ ├── MainFlutterWindow.swift
│ │ └── Release.entitlements
├── pubspec.lock
├── pubspec.yaml
├── test
│ ├── .gitignore
│ └── widget_test.dart
├── test_driver
│ ├── screenshots.dart
│ └── screenshots_test.dart
├── tools
│ ├── icons.dart
│ ├── noun_checkmark_1763484.svg
│ └── noun_checkmark_violet.svg
└── windows
│ ├── .gitignore
│ ├── CMakeLists.txt
│ ├── flutter
│ ├── CMakeLists.txt
│ ├── generated_plugin_registrant.cc
│ ├── generated_plugin_registrant.h
│ └── generated_plugins.cmake
│ └── runner
│ ├── CMakeLists.txt
│ ├── Runner.rc
│ ├── flutter_window.cpp
│ ├── flutter_window.h
│ ├── main.cpp
│ ├── resource.h
│ ├── resources
│ └── app_icon.ico
│ ├── runner.exe.manifest
│ ├── utils.cpp
│ ├── utils.h
│ ├── win32_window.cpp
│ └── win32_window.h
├── taskc
├── .gitignore
├── CHANGELOG.md
├── Makefile
├── analysis_options.yaml
├── bin
│ └── taskd_setup.dart
├── lib
│ ├── fingerprint.dart
│ ├── home.dart
│ ├── home_impl.dart
│ ├── src
│ │ ├── fingerprint
│ │ │ └── fingerprint.dart
│ │ ├── home
│ │ │ ├── home.dart
│ │ │ └── impl
│ │ │ │ ├── data.dart
│ │ │ │ ├── gui_pem_file_paths.dart
│ │ │ │ ├── taskd_client.dart
│ │ │ │ └── taskrc.dart
│ │ ├── storage
│ │ │ ├── bad_certificate_exception.dart
│ │ │ ├── storage.dart
│ │ │ ├── tabs.dart
│ │ │ └── taskserver_configuration_exception.dart
│ │ ├── taskc
│ │ │ ├── impl
│ │ │ │ ├── codec.dart
│ │ │ │ └── message.dart
│ │ │ ├── message.dart
│ │ │ ├── payload.dart
│ │ │ └── response.dart
│ │ ├── taskd
│ │ │ ├── taskd.dart
│ │ │ └── taskwarrior.dart
│ │ └── taskrc
│ │ │ ├── credentials.dart
│ │ │ ├── parse_taskrc.dart
│ │ │ ├── pem_file_paths.dart
│ │ │ ├── server.dart
│ │ │ ├── taskrc.dart
│ │ │ └── taskrc_exception.dart
│ ├── storage.dart
│ ├── taskc.dart
│ ├── taskc_impl.dart
│ ├── taskd.dart
│ └── taskrc.dart
├── pubspec.yaml
└── test
│ ├── .gitignore
│ ├── fingerprint
│ ├── fingerprint_test.dart
│ ├── test-ev-rsa-ssl-com-chain.pem
│ └── test-ev-rsa-ssl-com.pem
│ ├── storage
│ ├── statistics_test.dart
│ └── storage_test.dart
│ ├── taskc
│ ├── connection_test.dart
│ └── examples
│ │ ├── access_denied.msg
│ │ ├── malformed_message.msg
│ │ └── syntax_error_in_request.msg
│ ├── taskc_impl
│ ├── codec_test.dart
│ └── message_test.dart
│ └── taskd
│ ├── .gitignore
│ ├── first_test.dart
│ ├── integration_test.dart
│ └── taskwarrior_test.dart
├── taskj
├── .gitignore
├── CHANGELOG.md
├── Makefile
├── analysis_options.yaml
├── lib
│ ├── json.dart
│ └── src
│ │ └── json
│ │ ├── annotation.dart
│ │ ├── annotation.g.dart
│ │ ├── iso_8601_basic.dart
│ │ ├── serializers.dart
│ │ ├── serializers.g.dart
│ │ ├── task.dart
│ │ └── task.g.dart
├── pubspec.yaml
└── test
│ ├── .gitignore
│ └── json
│ └── task_test.dart
└── taskw
├── .gitignore
├── CHANGELOG.md
├── Makefile
├── README.md
├── analysis_options.yaml
├── bin
└── mesh.dart
├── lib
├── src
│ ├── comparator.dart
│ ├── datetime_differences.dart
│ ├── draft.dart
│ ├── modify.dart
│ ├── patch.dart
│ ├── profiles.dart
│ ├── projects.dart
│ ├── query.dart
│ ├── tags.dart
│ ├── task_parser.dart
│ ├── urgency.dart
│ └── validate.dart
└── taskw.dart
├── pubspec.yaml
└── test
├── .gitignore
├── comparator_test.dart
├── datetime_differences_test.dart
├── draft_test.dart
├── filter_parser_test.dart
├── filter_parser_test.txt
├── mirakel_test.dart
├── modify_test.dart
├── patch_test.dart
├── profiles_test.dart
├── project_tree_test.dart
├── tags_test.dart
├── task_parser_test.dart
├── taskw_test.dart
├── urgency_test.dart
└── validate_test.dart
/.github/workflows/fastlane.yml:
--------------------------------------------------------------------------------
1 | name: test fastlane setup
2 |
3 | on:
4 | pull_request:
5 | schedule:
6 | - cron: 0 0 1 * *
7 | workflow_dispatch:
8 |
9 | jobs:
10 | fastlane:
11 | strategy:
12 | matrix:
13 | working-directory: [task/android, task/ios]
14 | runs-on: macos-latest
15 | steps:
16 | - uses: actions/checkout@v2
17 | - run: gem install --user-install bundler
18 | - run: bundle install
19 | working-directory: ${{ matrix.working-directory }}
20 | - run: bundle exec fastlane --version
21 | working-directory: ${{ matrix.working-directory }}
22 |
--------------------------------------------------------------------------------
/.github/workflows/flutter.yml:
--------------------------------------------------------------------------------
1 | name: flutter
2 |
3 | on:
4 | pull_request:
5 | push:
6 | branches-ignore: [main]
7 | schedule:
8 | - cron: 0 0 1 * *
9 | workflow_dispatch:
10 |
11 | jobs:
12 | flutter:
13 | runs-on: ubuntu-latest
14 | container:
15 | image: cirrusci/flutter:stable
16 | steps:
17 | - uses: actions/checkout@v2
18 | - run: echo '/sdks/flutter/bin' >> $GITHUB_PATH
19 | - run: dart --disable-analytics
20 | - run: flutter config --no-analytics
21 | - run: cd task && flutter pub get
22 | - run: cd task && dart format . --fix --output none --set-exit-if-changed --summary none
23 | - run: cd task && flutter analyze
24 |
--------------------------------------------------------------------------------
/.github/workflows/lints.yml:
--------------------------------------------------------------------------------
1 | name: linting
2 |
3 | env:
4 | PUB_CACHE: '/root/.pub-cache'
5 |
6 | on:
7 | pull_request:
8 | push:
9 | branches-ignore: [main]
10 | schedule:
11 | - cron: 0 0 1 * *
12 | workflow_dispatch:
13 |
14 | jobs:
15 | lint:
16 | runs-on: ubuntu-latest
17 | container:
18 | image: bradyt/dart-task
19 | steps:
20 | - uses: actions/checkout@v2
21 | - run: echo '/usr/lib/dart/bin' >> $GITHUB_PATH
22 | - run: dart --disable-analytics
23 | - run: make format
24 | - run: make get-offline
25 | - run: make analyze
26 |
--------------------------------------------------------------------------------
/.github/workflows/taskd.yml:
--------------------------------------------------------------------------------
1 | name: beginning of CI that requires taskd on localhost
2 |
3 | env:
4 | PUB_CACHE: '/root/.pub-cache'
5 |
6 | defaults:
7 | run:
8 | working-directory: taskc
9 |
10 | on:
11 | pull_request:
12 | push:
13 | branches-ignore: [main]
14 | schedule:
15 | - cron: 0 0 1 * *
16 | workflow_dispatch:
17 |
18 | jobs:
19 | taskd:
20 | runs-on: ubuntu-latest
21 | container:
22 | image: bradyt/dart-task
23 | steps:
24 | - uses: actions/checkout@v2
25 | - run: echo '/usr/lib/dart/bin' >> $GITHUB_PATH
26 | - run: echo '/root/.pub-cache/bin' >> $GITHUB_PATH
27 |
28 | - run: taskd status
29 | - run: task --version
30 | - run: taskd --version
31 |
32 | - run: dart --disable-analytics
33 |
34 | - run: dart pub get --offline
35 | - run: dart run coverage:test_with_coverage
36 | - run: genhtml -o coverage coverage/lcov.info
37 | - run: dlcov -c 50.2
38 |
--------------------------------------------------------------------------------
/.github/workflows/taskw.yml:
--------------------------------------------------------------------------------
1 | name: taskd-free CI testing
2 |
3 | env:
4 | PUB_CACHE: '/root/.pub-cache'
5 |
6 | on:
7 | pull_request:
8 | push:
9 | branches-ignore: [main]
10 | schedule:
11 | - cron: 0 0 1 * *
12 | workflow_dispatch:
13 |
14 | jobs:
15 | taskw:
16 | runs-on: ubuntu-latest
17 | container:
18 | image: bradyt/dart-task
19 | steps:
20 | - uses: actions/checkout@v2
21 | - run: echo '/usr/lib/dart/bin' >> $GITHUB_PATH
22 | - run: echo '/root/.pub-cache/bin' >> $GITHUB_PATH
23 | - run: dart --disable-analytics
24 |
25 | - run: dart pub get --offline
26 | working-directory: taskj
27 | - run: dart run coverage:test_with_coverage
28 | working-directory: taskj
29 | - run: genhtml -o coverage coverage/lcov.info
30 | working-directory: taskj
31 | - run: dlcov -c 100
32 | working-directory: taskj
33 |
34 | - run: dart pub get --offline
35 | working-directory: taskw
36 | - run: dart run coverage:test_with_coverage
37 | working-directory: taskw
38 | - run: genhtml -o coverage coverage/lcov.info
39 | working-directory: taskw
40 | - run: dlcov -c 86.1
41 | working-directory: taskw
42 |
--------------------------------------------------------------------------------
/Makefile:
--------------------------------------------------------------------------------
1 | watch: get task/.packages
2 | flutter analyze --watch
3 |
4 | analyze: get
5 | cd taskc && dart analyze
6 | cd taskj && dart analyze
7 | cd taskw && dart analyze
8 |
9 | get: taskc/pubspec.lock taskj/pubspec.lock taskw/pubspec.lock
10 |
11 | get-offline:
12 | dart pub get --offline -C taskc
13 | dart pub get --offline -C taskj
14 | dart pub get --offline -C taskw
15 |
16 | taskc/pubspec.lock:
17 | cd taskc && dart pub get
18 |
19 | taskj/pubspec.lock:
20 | cd taskj && dart pub get
21 |
22 | taskw/pubspec.lock:
23 | cd taskw && dart pub get
24 |
25 | task/.packages:
26 | cd task && dart pub get
27 |
28 | docs: get
29 | cd taskw && dart doc .
30 | cd taskc && dart doc .
31 | cd taskj && dart doc .
32 |
33 | format:
34 | dart format --fix --output none --set-exit-if-changed --summary none taskc
35 | dart format --fix --output none --set-exit-if-changed --summary none `find taskj -name '*.dart' ! -name '*.g.dart'`
36 | dart format --fix --output none --set-exit-if-changed --summary none taskw
37 |
38 | install:
39 | dart pub global activate -spath taskc
40 |
41 | test: get
42 | cd taskj && dart test
43 | cd taskc && dart test -j 1
44 | cd taskw && dart test
45 |
46 | built_value:
47 | cd taskc && dart run build_runner build
48 | cd taskj && dart run build_runner build
49 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # What is it?
2 |
3 | `task` is a todo app for Android and iOS, inspired by
4 | [Taskwarrior](https://taskwarrior.org) and
5 | [TaskwarriorC2](https://bitbucket.org/kvorobyev/taskwarriorc2/).
6 |
7 | Features:
8 |
9 | - Add, edit, list, sort, filter your tasks.
10 | - Sync tasks with a Taskserver.
11 | - Export tasks in a format similar to cli task's export command.
12 |
13 | # How to get it
14 |
15 | - Android
16 | - [F-Droid](https://f-droid.org/en/packages/info.tangential.task/)
17 | - [Play Store](https://play.google.com/store/apps/details?id=info.tangential.task)
18 | - iOS
19 | - [App Store](https://apps.apple.com/app/task-add/id1553253179?platform=iphone)
20 |
21 | To install or run from source code, see
22 | [task/README.md](task/README.md).
23 |
--------------------------------------------------------------------------------
/docker-dart-task/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM dart:stable
2 |
3 | RUN dart --disable-analytics
4 |
5 | RUN apt-get update && apt-get install -y \
6 | cmake \
7 | g++ \
8 | libgnutls28-dev \
9 | uuid-dev
10 |
11 | # toc: https://taskwarrior.org/docs/taskserver/setup.html
12 |
13 | # 2.1: Installation;
14 | # https://taskwarrior.org/docs/taskserver/git.html
15 |
16 | RUN curl -O https://taskwarrior.org/download/taskd-1.1.0.tar.gz \
17 | && tar xzf taskd-1.1.0.tar.gz \
18 | && cd taskd-1.1.0 \
19 | && cmake . \
20 | && make \
21 | && make install \
22 | && cd .. \
23 | && rm -r taskd-1.1.0
24 |
25 | RUN curl -O https://taskwarrior.org/download/task-2.6.2.tar.gz \
26 | && tar xzf task-2.6.2.tar.gz \
27 | && cd task-2.6.2 \
28 | && cmake -DCMAKE_BUILD_TYPE=release . \
29 | && make \
30 | && make install \
31 | && cd .. \
32 | && rm -r task-2.6.2
33 |
34 | RUN apt-get install lcov -y
35 |
36 | ADD taskc/pubspec.yaml taskc/pubspec.yaml
37 | ADD taskj/pubspec.yaml taskj/pubspec.yaml
38 | ADD taskw/pubspec.yaml taskw/pubspec.yaml
39 |
40 | RUN dart pub get -C taskc
41 | RUN dart pub get -C taskj
42 | RUN dart pub get -C taskw
43 |
44 | RUN dart pub global activate dlcov
45 |
--------------------------------------------------------------------------------
/docker-dart-task/Makefile:
--------------------------------------------------------------------------------
1 | run:
2 | docker build .. -t this \
3 | -f Dockerfile && \
4 | docker run --rm \
5 | -it \
6 | this
7 |
8 | local:
9 | docker build -t bradyt/dart-task .. \
10 | -f Dockerfile
11 |
12 | push: local
13 | docker push bradyt/dart-task
14 |
--------------------------------------------------------------------------------
/docker/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM bradyt/dart-task
2 |
3 | EXPOSE 53589
4 |
5 | COPY entrypoint.sh /bin/
6 |
7 | ENTRYPOINT ["/bin/entrypoint.sh"]
8 | CMD taskd server --data /opt/fixture/var/taskd --debug
9 |
--------------------------------------------------------------------------------
/docker/Makefile:
--------------------------------------------------------------------------------
1 | run:
2 | docker build . -t this && \
3 | docker run --rm \
4 | -it \
5 | -p 53589:53589 \
6 | --mount type=bind,source="`dirname \`pwd\``/fixture",dst=/opt/fixture \
7 | --mount type=bind,source="`dirname \`pwd\``/taskc",dst=/opt/taskc \
8 | --mount type=bind,source="`dirname \`pwd\``/taskw",dst=/opt/taskw \
9 | --mount type=bind,source="`dirname \`pwd\``/task/assets",dst=/opt/assets \
10 | this
11 |
12 | bash:
13 | docker build . -t this && \
14 | docker run --rm \
15 | -it \
16 | -p 53589:53589 \
17 | --mount type=bind,source="`dirname \`pwd\``/fixture",dst=/opt/fixture \
18 | --mount type=bind,source="`dirname \`pwd\``/taskc",dst=/opt/taskc \
19 | --mount type=bind,source="`dirname \`pwd\``/taskw",dst=/opt/taskw \
20 | --mount type=bind,source="`dirname \`pwd\``/task/assets",dst=/opt/assets \
21 | this bash
22 |
--------------------------------------------------------------------------------
/docker/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | dart --disable-analytics
4 |
5 | # toc: https://taskwarrior.org/docs/taskserver/setup.html
6 | cd /opt/fixture
7 | dart pub global activate -spath /opt/taskc
8 | taskd-setup \
9 | -t /opt/fixture/var/taskd \
10 | -H /opt/assets \
11 | -b 0.0.0.0
12 |
13 | exec "$@"
14 |
--------------------------------------------------------------------------------
/fixture/.gitignore:
--------------------------------------------------------------------------------
1 | /.task/*.data
2 | /.task/*.pem
3 | /.taskrc
4 | /android/var/taskd/config
5 | /android/var/taskd/orgs/Public/users/*/config
6 | /android/var/taskd/orgs/Public/users/*/tx.data
7 | /android/var/taskd/taskd.log
8 | /var/taskd/config
9 | /var/taskd/orgs/Public/users/*/config
10 | /var/taskd/orgs/Public/users/*/tx.data
11 | /var/taskd/taskd.log
12 | /var/taskd/taskd.pid
13 |
--------------------------------------------------------------------------------
/fixture/Makefile:
--------------------------------------------------------------------------------
1 | .PHONY: android
2 |
3 | run:
4 | TASKDDATA=./var/taskd taskd server --debug
5 |
6 | android:
7 | TASKDDATA=./android/var/taskd taskd server --debug
8 |
9 | setup:
10 | (cd .. && make get)
11 | taskd-setup -t $(PWD)/var/taskd -H $(PWD)/../task/assets
12 |
13 | setup-android:
14 | taskd-setup -t $(PWD)/android/var/taskd -H $(PWD)/../task/assets --binding-address=127.0.0.1 --client-address=10.0.2.2
15 |
16 | install:
17 | dart pub global activate -spath ../taskc
18 |
--------------------------------------------------------------------------------
/fixture/android/var/taskd/ca.cert.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN CERTIFICATE-----
2 | MIIFsTCCA5mgAwIBAgIUFbWKp8xeNIhlYO+0Mc2s8HTLhQcwDQYJKoZIhvcNAQEM
3 | BQAwcDERMA8GA1UEAxMIMTAuMC4yLjIxHjAcBgNVBAoMFUfDtnRlYm9yZyBCaXQg
4 | RmFjdG9yeTESMBAGA1UEBwwJR8O2dGVib3JnMRowGAYDVQQIDBFWw6RzdHJhIEfD
5 | tnRhbGFuZDELMAkGA1UEBhMCU0UwHhcNMjEwNzA2MTgyNTE5WhcNMjIwNzA2MTgy
6 | NTE5WjBwMREwDwYDVQQDEwgxMC4wLjIuMjEeMBwGA1UECgwVR8O2dGVib3JnIEJp
7 | dCBGYWN0b3J5M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 | qHOSpl1wiC706RfGlVqVDs9bvnufkuloSgCsj8sjqlDbjMlgnjwr7O31ZG9qfXgT
24 | fWuX+SlyJ+8bX6yvcuTIhK8E6rlNoOCnYerKXWZbXWpttWI1f39kFHSylEcgiMra
25 | NKg05FL9RgQFjQ9NkTIQACbSGvdaqydfN+nl/ztWiPnjI+9rHfRZbdo0hDOtmdTo
26 | Q+MilHzG0i0GrAYpUQPOLewG+BXIirtwe0Tynr8bfjjMPHVQuublRcXjx9GdIJJ/
27 | 3R10SplU12296oLBn3K/hGR81zamBg3iWBLDDqMlU10qpkZRPEF0PX6tQIp73ggd
28 | MmMgBc2pTtu4r7jL2eh9Ghk9s3oyJ9n2S0awcogLMIB/jLKsfLbzm65eLL94KziG
29 | xA365wC4ENfV5Qg5iyUH5kq66fh+AXp3AH9fVH3v9X/mkIgehDwi/jvC10o9Kedx
30 | c4/bx/6bVThVrce2IFkW3bGWsqapYyl18cqeB9HGt4hKXbEOLynGkd/NKBjf8aRD
31 | I58+EXefr3pSvrcmnYhktxDjeOCACLt6EqlK9Tyftscdq1v0fNXwaWC2Qm/RiuZb
32 | qLwNXjeWvd1l3Hg2lx7XUkrNQ8cl
33 | -----END CERTIFICATE-----
34 |
--------------------------------------------------------------------------------
/fixture/android/var/taskd/client.cert.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN CERTIFICATE-----
2 | MIIFpzCCA4+gAwIBAgIUNaFKZZc5mBtB+1sHRMVAkWIdw9YwDQYJKoZIhvcNAQEM
3 | BQAwcDERMA8GA1UEAxMIMTAuMC4yLjIxHjAcBgNVBAoMFUfDtnRlYm9yZyBCaXQg
4 | RmFjdG9yeTESMBAGA1UEBwwJR8O2dGVib3JnMRowGAYDVQQIDBFWw6RzdHJhIEfD
5 | tnRhbGFuZDELMAkGA1UEBhMCU0UwHhcNMjEwNzA2MTgyNTIwWhcNMjIwNzA2MTgy
6 | NTIwWjAzMREwDwYDVQQDEwgxMC4wLjIuMjEeMBwGA1UECgwVR8O2dG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PjV3/oGXt8qSykLZYE0jhBpMjiaa1HQOVL4xZKmf
23 | srXHSdjfetY++fbSomYpu5D2Iypj4AcNY+h1hyVBSiNiqKH22Nkdpqd+iNuzD+4j
24 | D7MBMLMa1WebxPgUIqrQq6O56CmhhSRyja4HYRILKf7aAWPlKgROYZXJHCfPR8Zz
25 | Y8/J1+XPJOqV230ZNkkmknFDYFqgXAyP/nS5BqOAtKeGbNSIACW7dpEv7bvwQkoj
26 | 5UYzuWjvJN3xbAIDWYhmN09hLLJ7M3OOLiyGD5yNZ3suXb56ZUn+7MYlPTKfKein
27 | RcrD+zfPa5HrxqcUFcMYq47MF2vdMaXpBANAEldFges0jlm/0BJK0RdGifzkCZ0S
28 | 3Qbgsy/hAbbhciI87GQZ3ZkYcg3WGckXB2rxcfYJ307I52N0iuQKaqQTgHoK97uN
29 | Yo4N1/JwsR3SuKDSsMhfH63gpXx2txaY5y2JgzabkD6pa5y2MA99uVKHHiuvbaIr
30 | YpDFsKsFPX6pmTRaNif2Li6iLTnHpBT585sSH1TE3COUi/i+boW3jdrf3EvSrBzm
31 | PTnBJCz3tv/Nz7mp0EuVsfb+7WVTSdvBdd2QUiUhHaV/jD/nNrje5dznj71qyhHj
32 | Yls4QnVesUvV4XM=
33 | -----END CERTIFICATE-----
34 |
--------------------------------------------------------------------------------
/fixture/android/var/taskd/pki/ca.cert.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN CERTIFICATE-----
2 | MIIFsTCCA5mgAwIBAgIUFbWKp8xeNIhlYO+0Mc2s8HTLhQcwDQYJKoZIhvcNAQEM
3 | BQAwcDERMA8GA1UEAxMIMTAuMC4yLjIxHjAcBgNVBAoMFUfDtnRlYm9yZyBCaXQg
4 | RmFjdG9yeTESMBAGA1UEBwwJR8O2dGVib3JnMRowGAYDVQQIDBFWw6RzdHJhIEfD
5 | tnRhbGFuZDELMAkGA1UEBhMCU0UwHhcNMjEwNzA2MTgyNTE5WhcNMjIwNzA2MTgy
6 | NTE5WjBwMREwD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 | CCFwXR7GAjyRzaosw1+qflFEE14nWTM1+6HmNwMeJHHLjTxRRZ06PEq+RhKXD8Kz
23 | qHOSpl1wiC706RfGlVqVDs9bvnufkuloSgCsj8sjqlDbjMlgnjwr7O31ZG9qfXgT
24 | fWuX+SlyJ+8bX6yvcuTIhK8E6rlNoOCnYerKXWZbXWpttWI1f39kFHSylEcgiMra
25 | NKg05FL9RgQFjQ9NkTIQACbSGvdaqydfN+nl/ztWiPnjI+9rHfRZbdo0hDOtmdTo
26 | Q+MilHzG0i0GrAYpUQPOLewG+BXIirtwe0Tynr8bfjjMPHVQuublRcXjx9GdIJJ/
27 | 3R10SplU12296oLBn3K/hGR81zamBg3iWBLDDqMlU10qpkZRPEF0PX6tQIp73ggd
28 | MmMgBc2pTtu4r7jL2eh9Ghk9s3oyJ9n2S0awcogLMIB/jLKsfLbzm65eLL94KziG
29 | xA365wC4ENfV5Qg5iyUH5kq66fh+AXp3AH9fVH3v9X/mkIgehDwi/jvC10o9Kedx
30 | c4/bx/6bVThVrce2IFkW3bGWsqapYyl18cqeB9HGt4hKXbEOLynGkd/NKBjf8aRD
31 | I58+EXefr3pSvrcmnYhktxDjeOCACLt6EqlK9Tyftscdq1v0fNXwaWC2Qm/RiuZb
32 | qLwNXjeWvd1l3Hg2lx7XUkrNQ8cl
33 | -----END CERTIFICATE-----
34 |
--------------------------------------------------------------------------------
/fixture/android/var/taskd/pki/first_last.cert.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN CERTIFICATE-----
2 | MIIFpzCCA4+gAwIBAgIUJhK/JD5os0UsHpa938TPB9ZmhsQwDQYJKoZIhvcNAQEM
3 | BQAwcDERMA8GA1UEAxMIMTAuMC4yLjIxHjAcBgNVBAoMFUfDtnRlYm9yZyBCaXQg
4 | RmFjdG9yeTESMBAGA1UEBwwJR8O2dGVib3JnMRowGAYDVQQIDBFWw6RzdHJhIEfD
5 | tnRhbGFuZDELMAkGA1UEBhMCU0UwHhcNMjEwNzA2MTgyNTI5Whc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QwFAAOCAgEACQZG88HWhdJeqYCdWLRqDHWf9nhD
22 | 4CWFXFAal9xH1/sqG+L3nohcMYUECRjdEmv7e8+98W3onokEXOR5lGU37oyLwPMZ
23 | RkmacFGbpnq+HcWvweKUWCLbxjTDgYYx1QGogH122vPpyePgX1kc/BEawOMD4+MO
24 | +qvMLkbL6cKspJdPguUG/2NY4afKkIMA3jIHqrppYCenlSXdHEjJPRKts+x5KvDZ
25 | A+GEsRvsm6YuQYKMvW3mFOnaINXU+KlsGQecRQmzPcuNFMW/g6u2tAei8ZTV6Mb9
26 | sWkaCZpNUgU+o6Tol3irbwc0w5SSuE5ozbhak+D3NGycfuqb/re9PKRd/KKYAyNt
27 | eCiv9XcTW7UYl5bNNkN6B8Db8pZBu2vJNjkjxbbmbP7EWzTRu4vJkubNBF67ZEab
28 | oJvFNLmdrDxh8DoOir2JLH+aXafi2ikMw5+NfTkp6r+t6YiEVJmCHcIVYr/qYez7
29 | bcawXx+p0geQJ647kl8hZxYZRM19+50lSKhHjw1d41dplIgsI7H55yXts0UWplhr
30 | 7scvwrBj3DcDE3deEt7ufVEzKeJZacf5dkFn4jJKn0gA6pxTHVlzgqE14GZYGzDC
31 | Bwg2zH2ckWWm56DpZYeovaYDYXSkpzZ3R0a+jzepPKJakgn7ck1v/f6uzoQWrHc0
32 | F/AOsMpwp0YUYNI=
33 | -----END CERTIFICATE-----
34 |
--------------------------------------------------------------------------------
/fixture/android/var/taskd/server.cert.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN CERTIFICATE-----
2 | MIIFpzCCA4+gAwIBAgIUFUbzWoBMD9fAZRTl59CZdPlCs9QwDQYJKoZIhvcNAQEM
3 | BQAwcDERMA8GA1UEAxMIMTAuMC4yLjIxHjAcBgNVBAoMFUfDtnRlYm9yZyBCaXQg
4 | RmFjdG9yeTESMBAGA1UEBwwJR8O2dGVib3JnMRowGAYDVQQIDBFWw6RzdHJhIEfD
5 | tnRhbGFuZDELMAkGA1UEBhMCU0UwHhcNM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yzZ7CjMX
21 | jpij+WVY9TANBgkqhkiG9w0BAQwFAAOCAgEArzlU8I14Pmhz8Pa07oeLNpN6lLEh
22 | zwjj551cRkH2IHVxLuh19mJh6RbWlal+lNEPOakAc4PIVuKeSuoZGtlJRso2tMeY
23 | ACbysAqzMkxkAIEhdrXnKqJC+kFTK0G3x+avVFl3ySDTWuNL0xYB9oOZlDKlywAO
24 | JvO9y7aYZ+DtMISdMlcIHzZezLDEVeSotNL00uilnOPTWiHAiukAvKWTc4kU9QWQ
25 | PhNGxeVIKOttrGkXZPyVT2J9MC98lWpyOwljvSG3FXhnP7heHeqHHMdgmGkOo9ei
26 | UJv1svlFiYz7l9i7SsBIy/GmcNWxedRn2P7TFSP7Si9gSjdcDRjqsDhT5xE7BnzY
27 | /2NUWWz2bVj+noh19S9+qWgyegxSN5NuOmv3guHBn8ogmMnyalvegfKfwvv1C4N7
28 | dtbSbU3MRyrNL2PBKa+jsXQ+oAJM2KG8Cau0H9AFihVY0IN40/MghnZcFtoIXzLh
29 | H/lTna+Ky5cpZ/5+mdcZuX90wsT3yERvfuI1yqxRalxgjD72aEZe9Awut5jbupwV
30 | 7SghxyO/D9ILLOQK7OROkxVF+nSHJlH2R0tFnktvcNWZMr8PWPe4UN2Fmaz9s08y
31 | TTqvjMsU1YLK7k5ytpPAVSekRvRUn8JtEtcLrxtG4FoYTIdlix1X8cYzzrR9CScz
32 | SIBdXt5AKRPUS7s=
33 | -----END CERTIFICATE-----
34 |
--------------------------------------------------------------------------------
/fixture/android/var/taskd/server.crl.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN X509 CRL-----
2 | MIIC/jCB5wIBATANBgkqhkiG9w0BAQwFADBwMREwDwYDVQQDEwgxMC4wLjIuMjEe
3 | MBwGA1UECgwVR8O2dGVib3JnIEJpdCBGYWN0b3J5MRIwEAYDVQQHDAlHw7Z0ZWJv
4 | cmcxGjAYBgNVBAgMEVbDpHN0cmEgR8O2dGFsYW5kMQswCQYDVQQGEwJTRRcNMjEw
5 | NzA2MTgyNTIwWhcNMjIwNzA2MTgyNTIwWjAAoEEwPzAfBgNVHSMEGDAWgBTJaX9m
6 | luvHyzZ7CjMXjpij+WVY9TAcBgNVHRQEFQITYOSgEBEkv4gixHbFJ5XoOEPr6DAN
7 | BgkqhkiG9w0BAQwFAAOCAgEAnA1NzEji6tF3J6CMHiNiTyWJfpBIs7EISleKWSn1
8 | LI0u6Yy3j9miHJWk4bzqV6TfJQHGuF4uEbXfH4q+IxgC7kClIQXV5eUEt4yoobGy
9 | pyDDqhqPuAE3bb09sa+VzELBKsQy7qEeSbDs+790mBcpQyvJU1yAWKg5JruF5fwZ
10 | /0dhYh3p/YDD/5e/U+M8tHlnxJ9HT+XJxkkKeiXJCvom/KuK4Sk3aSHgojLRakgv
11 | DsWkiqPfMLhk4sAsQbTtuwzPbclvqI8MsnDsox6gXOYKJmjf8NqaXv/rs7SDb3iA
12 | tK+TOo30SOkpQWnbWhL4jvFs8W/7gYcGM/eI38RtbYi7x0tQNwxkvdTaxP2kGjx8
13 | 2fSEU7YVSHjCsBvLfidfFqX86fCtrJUtrJn+ghTjbSFj2Lcck966oTPyrE6uBq//
14 | 12MfkWFBkxuxynH9PvgSwcp7w3n8SW4AsOR6rjtBnOvdY5dboHAO/STf2egmP72H
15 | 1h0XeWwb80pwxFHY9cTjX+qT+Kd0pomfb3wZ8eQ6rprPazNRs51qighmo3H6PoOW
16 | B8u8wi1QnLVZcfyYneu9iElqosiuu1sOEe4hw9DCjjsN83jKsz2N2Yp0RXCqw0os
17 | KE6bYHj6MGm03ayQvK6tSxiYDlcLZK5NQO288fe2xqs4FlBQm96R8rYmGhxptkuh
18 | 6Co=
19 | -----END X509 CRL-----
20 |
--------------------------------------------------------------------------------
/fixture/var/taskd/api.cert.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN CERTIFICATE-----
2 | MIIErjCCAxagAwIBAgIUexgLCKBfy9JoJ9hyzsgrOO4GEMIwDQYJKoZIhvcNAQEL
3 | BQAw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VSY+KGqu0MA0GCSqGSIb3DQEBCwUAA4IB
19 | gQABXFiS7G2KsNleHEdz/hu2RcDjzYuvc20xdcKelJdjfb8qhOqGfkbzlzhoJWNg
20 | bYTgildKUWyfcpUrZfv2VlBrEr5J6QGsMy3sqOqLoROKy+mVNOu5u+g6dFTXKAY9
21 | hEvKeKklqDHH74ngRpP/h3TQChogx1Zw9saX7dpoCIYerf5lTG3Kq1IXskOhv3rB
22 | M/eWY2JjifruYrQhSqguZFSJtTbF4RZTe68qOJdx4AxzR/vOZlQ8bC1Cf2q1bIKT
23 | /b1kE1glaL8dW6cjACz6bH11PIsebqOkn6beFspAmfNOdY4pGIK5eS0STq/oIc8i
24 | RewdqccFHwoGOVgwUwF5en6fuajZTlMGAKOCVnk/XOIW+9MVp0x6Kx/qtOW92Ynm
25 | lKGDurAmfjdGCpXBtCRfDIqzJPKsJdKYO9sIwVdu9kE/99tm2fhThLuG1kQNfbN4
26 | fUhAV1grBCWtYqZdDlCTi7Yo2ItgtTweU3Og79Ww62m/zHnPHlatlNv6p3IUPf/G
27 | FAI=
28 | -----END CERTIFICATE-----
29 |
--------------------------------------------------------------------------------
/fixture/var/taskd/ca.cert.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN CERTIFICATE-----
2 | MIIEqjCCAxKgAwIBAgIUV28l08rivwOfEo9NNkawk7VFkHAwDQYJKoZIhvcNAQEL
3 | BQAwdDEVMBMGA1UEAxMMbG9jYWxob3N0IENBMR4wHAYDVQQKDBVHw7Z0ZWJvcmcg
4 | Qml0IEZhY3RvcnkxEjAQBgNVBAcMCUfDtnRlYm9yZzEaMBgGA1UECAwRVsOkc3Ry
5 | YSBHw7Z0YWxhbmQxCzAJBgNVBAYTAlNFMCAXDTUwMDEwMTAwMDAwMVoYDzk5OTkx
6 | MjMxMjM1OTU5WjB0MRUwEwYDVQQDEwxsb2NhbGhvc3QgQ0ExHjAcBgNVBAoMFUfD
7 | tnRlYm9yZyBCaXQgRmFjdG9yeTESMBAGA1U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B54JKhqFNKzU7Bcg91mlYf87usgUE/PFVRoLB
24 | RrwcXMxuKoJf0LFNBoV8v3JcDQwn3uk3xuvrCjWbp4gqvcbzTmna89c9tat3J4X4
25 | ztgxeznMlK+EqSjNeTDDz7y+ewsZiChWFobz961V4xUEU1GzYYnv7GmrIFZkPG1N
26 | 3v+bLKs+kwwjeMhTlbjXPyOwiUMGU8yoh2XH+9SjQbv5QUirazU3XdDMxW5j1Q==
27 | -----END CERTIFICATE-----
28 |
--------------------------------------------------------------------------------
/fixture/var/taskd/orgs/Public/users/.keep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/fixture/var/taskd/orgs/Public/users/.keep
--------------------------------------------------------------------------------
/fixture/var/taskd/pki/ca.cert.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN CERTIFICATE-----
2 | MIIEqjCCAxKgAwIBAgIUV28l08rivwOfEo9NNkawk7VFkHAwDQYJKoZIhvcNAQEL
3 | BQAwdDEVMBMGA1UEAxMMbG9jYWxob3N0IENBMR4wHAYDVQQKDBVHw7Z0ZWJvcmcg
4 | Qml0IEZhY3RvcnkxEjAQBgNVBAcMCUfDtnRlYm9yZzEaMBgGA1UECAwRVsOkc3Ry
5 | YSBHw7Z0YWxhbmQxCzAJBgNVBAYTAlNFMCAXDTUwMDEwMTAwMDAwMVoYDzk5OTkx
6 | MjMxMjM1OTU5WjB0MRUwEwYDVQQDEwxsb2NhbGhvc3QgQ0ExHjAcBgNVBAoMFUfD
7 | tnRlYm9yZyBCaXQgRmFjdG9yeTESMBAGA1UEBwwJR8O2dGVib3JnMRowGAYDVQQI
8 | DBFWw6RzdHJhIEfDtnRhbGFuZDELMAkGA1UEBhMCU0UwggGiMA0GCSqGSIb3DQEB
9 | AQUAA4IBjwAwggGKAoIBgQDSzpQ1Sq/3XjLReyveb5dFJ+1WGlgERRIQ91jmziOp
10 | n1wkCv35zOtT0pGrTPl2OkqxvRWDwD0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GU8yoh2XH+9SjQbv5QUirazU3XdDMxW5j1Q==
27 | -----END CERTIFICATE-----
28 |
--------------------------------------------------------------------------------
/fixture/var/taskd/pki/first_last.cert.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN CERTIFICATE-----
2 | MIIErjCCAxagAwIBAgIUKKDnmmQKs2FUwUzTuGwhq1xNe0swDQYJKoZIhvcNAQEL
3 | BQAwdDEVMBMGA1UEAxMMbG9jYWxob3N0IENBMR4wHAYDVQQKDBVHw7Z0ZWJvcmcg
4 | Qml0IEZhY3RvcnkxEjAQBgNVBAcMCUfDtnRlYm9yZzEaMBgGA1UECAwRVsOkc3Ry
5 | YSBHw7Z0YWxhbmQxCzAJBgNVBAYTAlNFMCAXDTUwMDEwMTAwMDAwMVoYDzk5OTkx
6 | MjMxMjM1OTU5WjA0MRIwEAYDVQQDEwlsb2NhbGhvc3QxHjAcBgNVBAoMFUfDtnRl
7 | Ym9yZyBCaXQgRmFjdG9yeTCCAaIwDQYJKoZIhvcNAQEBBQADggGPADCCAYoCggGB
8 | AK1tHjtPda319Q9VogYUvKNHNBj+fV1JSAygGMrwhG0MUjJXxKuvq9a2Zc3Deilm
9 | u1De7yBX5tLWXB3LkcYF/i8YRvXuBs1khYKjynPU83Lmeq3d6xOcLfZNZ6u4Ivht
10 | LC6hnv/juClwQ853sCc9SrSF0E8vgnN5mHb9GB4j9PPAqkRnWXl8Kyx6hul5z9Eg
11 | 2P38pvKLOufxBtBUJ5ndhmx/56VIQ+41BxLhIrrFO4jimg92zOl1wwQC/eKPnyGz
12 | j9lhTrw+IwXR+69mJ4tD+G9EN3CAzvAVLKWRZmUA4GKXXUHXIU+3XV6CLdKhb7Ji
13 | /9oT0PiObp7OO20EwnSjbfgN3GXUncuBySG82mDrerRqJ/nSoMdGMWpNnGOyHtrJ
14 | izkHaPvgvdvWyf6fYQpqDUCqRh1nMFaWkbY9+C9tq4fK8pwl47zbxfBAFNMgxUlw
15 | ybsCGR5Iaii5094Po9c2zhifKKvF7m7opDG0+518V++CRHzxWTFV3usWk/JV9Oww
16 | LQIDAQABo3YwdDAMBgNVHRMBAf8EAjAAMBMGA1UdJQQMMAoGCCsGAQUFBwMCMA8G
17 | A1UdDwEB/wQFAwMHoAAwHQYDVR0OBBYEFCmv8Qv4+aR/JN3YYs3+j5xQzt6LMB8G
18 | A1UdIwQYMBaAFMy1CRCh0pXGrcb+If5VSY+KGqu0MA0GCSqGSIb3DQEBCwUAA4IB
19 | gQBBkfeQc8vCuFS62b1Pla14aCnCEIeJmdHzVK5EuCvFI8zuqiCQ8nvBhC+mi17F
20 | 6YZIdp13i9f8wZx9iM7K1jfuO6jzxatEolh+xioNxNwGVnvo+Of0uYy6jjothKL2
21 | MRd4jvbYnstx6uuui57KQloEXtXANY020hHPBjy0fc/TRiJ16dI0GwDwXo3rWj15
22 | XDClFVq5EHQU7BWGfr4wm38v4aZe1RqXhryXSMRzFVFMBHCtqd23xN5cHZ4aZD6s
23 | eDS3lNEruptj5mSTtPQ63nkRFcN68E5N9kk0ehw9r79VCangbAvCHna4LYuWUM2k
24 | h+nK0xz7zucDLIqlAuzI3XTxW1Y6EcU1ueE6r0LDFhdD9/J0LrcK+uvNmzxSJU3R
25 | XI+fwXEvYPeUFk2Of6dwh43+KDcqzp+e1zN2uSEQnKWcSgN0E48fD5WAb7Hu5u9W
26 | 4UeSnMT1rzl/rrAXcA8FUsYauz4T6L0Mf0GFBJN47Po6XOGt2oDsFL8RQeDmdF1H
27 | q6Q=
28 | -----END CERTIFICATE-----
29 |
--------------------------------------------------------------------------------
/fixture/var/taskd/server.cert.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN CERTIFICATE-----
2 | MIIErjCCAxagAwIBAgIUH6VL9klyCyBf/+eFqasXQYLNhlEwDQYJKoZIhvcNAQEL
3 | BQAwdDEVMBMGA1UEAxMMbG9jYWxob3N0IENBMR4wHAYDVQQKDBVHw7Z0ZWJvcmcg
4 | Qml0IEZhY3RvcnkxEjAQBgNVBAcMCUfDtnR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awxb6LNaIBICEe0OZ0dZOwCc0MuSzzCkLm9rBEgkRmvU8yZrqw7+Dmc
21 | JJSVNxzrRM5o6gC+l+JggtoVtNY/aQWOWcRdZ3ycKgzeZnRWodlTFGB/nY4O4Q+z
22 | fkRy5iSlj6/edSuxnP8Ngx5Wwfx9GkWsFOVSQ0sMtr3PFZdfJHXk1K4LNz5eDwbC
23 | 91UGliCLf4E+ps46vZb/jt5hMr708wLJS+UgDsYt5X6KZkjw5f1WI0w5hAKbjRsO
24 | 5CeW6vm+KEmVDxP2RlDxvskhANN/9ixURCWpXkRGB+Q3rVEd9Usvq6+4J0Yt90eb
25 | nFfHqSlFwaCB+3KDHwbv4tIk5TyleM4CjCTW3LeHLJsv32IVU5uJepDrzLaQbJMC
26 | oDAZYBUqJlqkoc1tcP0QBNmhSiLBPnkozkpIPlV30s8lbGsNvyhq9EiZPisUaqoL
27 | 758=
28 | -----END CERTIFICATE-----
29 |
--------------------------------------------------------------------------------
/fixture/var/taskd/server.crl.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN X509 CRL-----
2 | MIICgzCB7AIBATANBgkqhkiG9w0BAQsFADB0MRUwEwYDVQQDEwxsb2NhbGhvc3Qg
3 | Q0ExHjAcBgNVBAoMFUfDtnRlYm9yZyBCaXQgRmFjdG9yeTESMBAGA1UEBwwJR8O2
4 | dGVib3JnMRowGAYDVQQIDBFWw6RzdHJhIEfDtnRhbGFuZDELMAkGA1UEBhMCU0UX
5 | DTUwMDEwMTAwMDAwMVoXDTUxMDEwMTAwMDAwMVowAKBCMEAwHwYDVR0jBBgwFoAU
6 | zLUJEKHSlcatxv4h/lVJj4oaq7QwHQYDVR0UBBYCFH/aYWKBOC7YgTD/G1U3+Ji7
7 | sj5iMA0GCSqGSIb3DQEBCwUAA4IBgQC1ojKKATaZnAj/JmTKK7/zInv0FE0ZyTk0
8 | Ggnt2HhwMLXFQuxHZVu3aDbfQ2ZoHdmI0/jv0u4p6JvP/IHaJDR8NQs50QmrM8yR
9 | 3iVLkwYv4tu90msyFP5gRMQbMMB76zjjjqsXxSk7tW2kI3UMUZZXQmmITa8sswlD
10 | tezXAHMTH5UmMxOK3gqbGHVTXmGs75ku7b3rblNpnggpGbeJ63etTTtP1us7Y8PS
11 | fTU71Ht5OgMEzQNKngrOJ+CshS4qDqvI1lQCu4rzuj2tYu6eBDQVC/UV8jcpQhum
12 | NwUPFsr8b56UNlQjhSkMVzoHWrUJ9jSu44eEAjpPstkbGlsxjiKInEj2NMOKJz5r
13 | BDKtyCeVyYF4AQT+eHZcmi/0XD/cnS4n1UkWvE/f5bqbYJVKSAyeiF25uWvEYAqF
14 | FQGZ5f5zmy64uHgRoF+jtYwrqTgGEgUSEAetfibDIkvU/qpYd+SAbhXKqetal5jK
15 | fucf2Wz4+p+FoD5buFB2FlJFdD22Tgk=
16 | -----END X509 CRL-----
17 |
--------------------------------------------------------------------------------
/task/.gitignore:
--------------------------------------------------------------------------------
1 | # Miscellaneous
2 | *.class
3 | *.log
4 | *.pyc
5 | *.swp
6 | .DS_Store
7 | .atom/
8 | .buildlog/
9 | .history
10 | .svn/
11 |
12 | # IntelliJ related
13 | *.iml
14 | *.ipr
15 | *.iws
16 | .idea/
17 |
18 | # The .vscode folder contains launch configuration and tasks you configure in
19 | # VS Code which you may wish to be included in version control, so this line
20 | # is commented out by default.
21 | #.vscode/
22 |
23 | # Flutter/Dart/Pub related
24 | **/doc/api/
25 | **/ios/Flutter/.last_build_id
26 | .dart_tool/
27 | .flutter-plugins
28 | .flutter-plugins-dependencies
29 | .packages
30 | .pub-cache/
31 | .pub/
32 | /build/
33 |
34 | # Web related
35 | lib/generated_plugin_registrant.dart
36 |
37 | # Symbolication related
38 | app.*.symbols
39 |
40 | # Obfuscation related
41 | app.*.map.json
42 |
43 | # Android Studio will place build artifacts here
44 | /android/app/debug
45 | /android/app/profile
46 | /android/app/release
47 |
48 | /vendor/bundle/
49 | /Gemfile.lock
50 |
51 | coverage/
52 |
--------------------------------------------------------------------------------
/task/.metadata:
--------------------------------------------------------------------------------
1 | # This file tracks properties of this Flutter project.
2 | # Used by Flutter tool to assess capabilities and perform upgrades etc.
3 | #
4 | # This file should be version controlled and should not be manually edited.
5 |
6 | version:
7 | revision: 9b2d32b605630f28625709ebd9d78ab3016b2bf6
8 | channel: stable
9 |
10 | project_type: app
11 |
--------------------------------------------------------------------------------
/task/Makefile:
--------------------------------------------------------------------------------
1 | .PHONY: screenshots
2 |
3 | watch:
4 | flutter analyze --watch
5 |
6 | screenshots:
7 | flutter drive --target=test_driver/screenshots.dart
8 |
9 | widget:
10 | find .. -name '*.dart' | entr -sc 'flutter test --coverage && genhtml -o coverage coverage/lcov.info'
11 |
--------------------------------------------------------------------------------
/task/PRIVACY_POLICY.md:
--------------------------------------------------------------------------------
1 | Privacy policy:
2 |
3 | This app does not collect data.
4 |
5 | The app name is "task add" or "info.tangential.task" or simply "task".
6 |
--------------------------------------------------------------------------------
/task/README.md:
--------------------------------------------------------------------------------
1 | # Install or run app from source code
2 |
3 | Make sure you have Flutter
4 | [installed](https://flutter.dev/docs/get-started/install), and check
5 | `flutter doctor`.
6 |
7 | To run the app in an open emulator or connected device, try `flutter
8 | run`.
9 |
10 | To install to your Android or iOS device, run `flutter build apk` or
11 | `flutter build ios`, then `flutter install`.
12 |
13 | To run the app on Linux, Windows or macOS, check `flutter config`,
14 | `flutter doctor` and try `flutter run`.
15 |
--------------------------------------------------------------------------------
/task/android/.bundle/config:
--------------------------------------------------------------------------------
1 | ---
2 | BUNDLE_PATH: "vendor/bundle"
3 |
--------------------------------------------------------------------------------
/task/android/.gitignore:
--------------------------------------------------------------------------------
1 | gradle-wrapper.jar
2 | /.gradle
3 | /captures/
4 | /gradlew
5 | /gradlew.bat
6 | /local.properties
7 | GeneratedPluginRegistrant.java
8 |
9 | # Remember to never publicly share your keystore.
10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
11 | key.properties
12 | **/*.keystore
13 | **/*.jks
14 |
15 | /Gemfile.lock
16 | /vendor/bundle/
17 |
--------------------------------------------------------------------------------
/task/android/Gemfile:
--------------------------------------------------------------------------------
1 | source "https://rubygems.org"
2 |
3 | gem "fastlane"
4 |
--------------------------------------------------------------------------------
/task/android/Makefile:
--------------------------------------------------------------------------------
1 | vendor:
2 | bundle install
3 |
4 | build:
5 | cd ..; flutter build appbundle
6 |
7 | validate: vendor
8 | bundle exec fastlane run validate_play_store_json_key
9 |
10 | upload: vendor
11 | bundle exec fastlane run supply \
12 | track:"internal" \
13 | package_name:"info.tangential.task" \
14 | aab:"../build/app/outputs/bundle/release/app-release.aab" \
15 | skip_upload_aab:"false" \
16 | skip_upload_apk:"true" \
17 | skip_upload_changelogs:"true" \
18 | skip_upload_images:"true" \
19 | skip_upload_metadata:"true" \
20 | skip_upload_screenshots:"true" \
21 |
--------------------------------------------------------------------------------
/task/android/app/build.gradle:
--------------------------------------------------------------------------------
1 | def localProperties = new Properties()
2 | def localPropertiesFile = rootProject.file('local.properties')
3 | if (localPropertiesFile.exists()) {
4 | localPropertiesFile.withReader('UTF-8') { reader ->
5 | localProperties.load(reader)
6 | }
7 | }
8 |
9 | def flutterRoot = localProperties.getProperty('flutter.sdk')
10 | if (flutterRoot == null) {
11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
12 | }
13 |
14 | def flutterVersionCode = '27'
15 | def flutterVersionName = localProperties.getProperty('flutter.versionName')
16 |
17 | apply plugin: 'com.android.application'
18 | apply plugin: 'kotlin-android'
19 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
20 |
21 | def keystoreProperties = new Properties()
22 | def keystorePropertiesFile = rootProject.file('key.properties')
23 | if (keystorePropertiesFile.exists()) {
24 | keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
25 | }
26 |
27 | android {
28 | compileSdkVersion 31
29 |
30 | compileOptions {
31 | sourceCompatibility JavaVersion.VERSION_1_8
32 | targetCompatibility JavaVersion.VERSION_1_8
33 | }
34 |
35 | kotlinOptions {
36 | jvmTarget = '1.8'
37 | }
38 |
39 | sourceSets {
40 | main.java.srcDirs += 'src/main/kotlin'
41 | }
42 |
43 | defaultConfig {
44 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
45 | applicationId "info.tangential.task"
46 | minSdkVersion 19
47 | targetSdkVersion 30
48 | versionCode flutterVersionCode.toInteger()
49 | versionName flutterVersionName
50 | }
51 |
52 | signingConfigs {
53 | release {
54 | keyAlias keystoreProperties['keyAlias']
55 | keyPassword keystoreProperties['keyPassword']
56 | storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
57 | storePassword keystoreProperties['storePassword']
58 | }
59 | }
60 |
61 | buildTypes {
62 | release {
63 | // TODO: Add your own signing config for the release build.
64 | // Signing with the debug keys for now, so `flutter run --release` works.
65 | signingConfig signingConfigs.debug
66 | }
67 | }
68 | }
69 |
70 | flutter {
71 | source '../..'
72 | }
73 |
74 | dependencies {
75 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
76 | }
77 |
--------------------------------------------------------------------------------
/task/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/task/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
9 |
16 |
20 |
24 |
29 |
33 |
34 |
35 |
36 |
37 |
38 |
40 |
43 |
44 |
45 |
--------------------------------------------------------------------------------
/task/android/app/src/main/ic_launcher-playstore.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/android/app/src/main/ic_launcher-playstore.png
--------------------------------------------------------------------------------
/task/android/app/src/main/kotlin/info/tangential/task/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package info.tangential.task
2 |
3 | import io.flutter.embedding.android.FlutterActivity
4 |
5 | class MainActivity: FlutterActivity() {
6 | }
7 |
--------------------------------------------------------------------------------
/task/android/app/src/main/res/drawable/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/task/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/task/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/task/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/task/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/task/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/task/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/task/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/task/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/task/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/task/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/task/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/task/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/task/android/app/src/main/res/values/ic_launcher_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #FFFFFF
4 |
--------------------------------------------------------------------------------
/task/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/task/android/app/src/profile/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/task/android/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | ext.kotlin_version = '1.6.10'
3 | repositories {
4 | google()
5 | mavenCentral()
6 | }
7 |
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:4.1.0'
10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11 | }
12 | }
13 |
14 | allprojects {
15 | repositories {
16 | google()
17 | mavenCentral()
18 | }
19 | }
20 |
21 | rootProject.buildDir = '../build'
22 | subprojects {
23 | project.buildDir = "${rootProject.buildDir}/${project.name}"
24 | project.evaluationDependsOn(':app')
25 | }
26 |
27 | task clean(type: Delete) {
28 | delete rootProject.buildDir
29 | }
30 |
--------------------------------------------------------------------------------
/task/android/fastlane/metadata/android/en-US/full_description.txt:
--------------------------------------------------------------------------------
1 | "task add", or simply, "task", is an unofficial mobile client to Taskserver.
2 |
3 | In other words, "task add" is a todo app, for Android and iOS.
4 |
5 | The interface is inspired by Taskwarrior and TaskwarriorC2.
6 |
7 | This app is an amateur/hobby project, useful to at least me. I expect the target audience may be limited to somewhere between 10 and 1000 people on the planet.
8 |
9 | Features:
10 |
11 | - Add, edit, list, sort, filter your tasks.
12 | - Sync tasks with a Taskserver.
13 | - Export tasks in a format similar to cli task's export command.
14 |
15 | Quirks:
16 |
17 | - To remove a due date, long-press the button.
18 |
19 | If you want to use a Taskserver to sync your tasks, I recommend you use a self-hosted instance so that you have full access to server logs and data.
20 |
--------------------------------------------------------------------------------
/task/android/fastlane/metadata/android/en-US/short_description.txt:
--------------------------------------------------------------------------------
1 | A todo app partially compatible with Taskwarrior.
2 |
--------------------------------------------------------------------------------
/task/android/fastlane/metadata/android/en-US/title.txt:
--------------------------------------------------------------------------------
1 | task add
2 |
--------------------------------------------------------------------------------
/task/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 | android.useAndroidX=true
3 | android.enableJetifier=true
4 | android.enableR8=true
5 |
--------------------------------------------------------------------------------
/task/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Fri Jun 23 08:50:38 CEST 2017
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip
7 |
--------------------------------------------------------------------------------
/task/android/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
3 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
4 | def properties = new Properties()
5 |
6 | assert localPropertiesFile.exists()
7 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
8 |
9 | def flutterSdkPath = properties.getProperty("flutter.sdk")
10 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
11 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
12 |
--------------------------------------------------------------------------------
/task/assets/.gitignore:
--------------------------------------------------------------------------------
1 | .task/*.data
2 | .task/*.pem
3 | .taskrc
4 |
--------------------------------------------------------------------------------
/task/assets/.task/.keep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/assets/.task/.keep
--------------------------------------------------------------------------------
/task/google_fonts/FiraMono-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/google_fonts/FiraMono-Bold.ttf
--------------------------------------------------------------------------------
/task/google_fonts/FiraMono-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/google_fonts/FiraMono-Regular.ttf
--------------------------------------------------------------------------------
/task/ios/.bundle/config:
--------------------------------------------------------------------------------
1 | ---
2 | BUNDLE_PATH: "vendor/bundle"
3 |
--------------------------------------------------------------------------------
/task/ios/.gitignore:
--------------------------------------------------------------------------------
1 | **/dgph
2 | *.mode1v3
3 | *.mode2v3
4 | *.moved-aside
5 | *.pbxuser
6 | *.perspectivev3
7 | **/*sync/
8 | .sconsign.dblite
9 | .tags*
10 | **/.vagrant/
11 | **/DerivedData/
12 | Icon?
13 | **/Pods/
14 | **/.symlinks/
15 | profile
16 | xcuserdata
17 | **/.generated/
18 | Flutter/App.framework
19 | Flutter/Flutter.framework
20 | Flutter/Flutter.podspec
21 | Flutter/Generated.xcconfig
22 | Flutter/ephemeral/
23 | Flutter/app.flx
24 | Flutter/app.zip
25 | Flutter/flutter_assets/
26 | Flutter/flutter_export_environment.sh
27 | ServiceDefinitions.json
28 | Runner/GeneratedPluginRegistrant.*
29 |
30 | # Exceptions to above rules.
31 | !default.mode1v3
32 | !default.mode2v3
33 | !default.pbxuser
34 | !default.perspectivev3
35 |
36 | /Gemfile.lock
37 | /vendor/bundle/
38 |
--------------------------------------------------------------------------------
/task/ios/Flutter/AppFrameworkInfo.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | App
9 | CFBundleIdentifier
10 | io.flutter.flutter.app
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | App
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1.0
23 | MinimumOSVersion
24 | 9.0
25 |
26 |
27 |
--------------------------------------------------------------------------------
/task/ios/Flutter/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
2 | #include "Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/task/ios/Flutter/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
2 | #include "Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/task/ios/Gemfile:
--------------------------------------------------------------------------------
1 | source "https://rubygems.org"
2 |
3 | gem "fastlane"
4 |
--------------------------------------------------------------------------------
/task/ios/Makefile:
--------------------------------------------------------------------------------
1 | vendor:
2 | bundle install
3 |
4 | stable: vendor
5 | cd ..; flutter build ios --no-codesign --flavor stable
6 | bundle exec fastlane gym --scheme stable
7 |
8 | beta: vendor
9 | cd ..; flutter build ios --no-codesign --flavor beta
10 | bundle exec fastlane gym --scheme beta
11 |
12 | upload:
13 | bundle exec fastlane pilot upload \
14 | --skip_submission \
15 | --skip_waiting_for_build_processing
16 |
--------------------------------------------------------------------------------
/task/ios/Podfile:
--------------------------------------------------------------------------------
1 | # Uncomment this line to define a global platform for your project
2 | # platform :ios, '9.0'
3 |
4 | # CocoaPods analytics sends network stats synchronously affecting flutter build latency.
5 | ENV['COCOAPODS_DISABLE_STATS'] = 'true'
6 |
7 | project 'Runner', {
8 | 'Debug' => :debug,
9 | 'Profile' => :release,
10 | 'Release' => :release,
11 | }
12 |
13 | def flutter_root
14 | generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
15 | unless File.exist?(generated_xcode_build_settings_path)
16 | raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
17 | end
18 |
19 | File.foreach(generated_xcode_build_settings_path) do |line|
20 | matches = line.match(/FLUTTER_ROOT\=(.*)/)
21 | return matches[1].strip if matches
22 | end
23 | raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
24 | end
25 |
26 | require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
27 |
28 | flutter_ios_podfile_setup
29 |
30 | target 'Runner' do
31 | use_frameworks!
32 | use_modular_headers!
33 |
34 | flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
35 | end
36 |
37 | post_install do |installer|
38 | installer.pods_project.targets.each do |target|
39 | flutter_additional_ios_build_settings(target)
40 | end
41 | end
42 |
--------------------------------------------------------------------------------
/task/ios/Podfile.lock:
--------------------------------------------------------------------------------
1 | PODS:
2 | - file_picker_writable (0.0.1):
3 | - Flutter
4 | - Flutter (1.0.0)
5 | - package_info_plus (0.4.5):
6 | - Flutter
7 | - path_provider_ios (0.0.1):
8 | - Flutter
9 | - url_launcher_ios (0.0.1):
10 | - Flutter
11 |
12 | DEPENDENCIES:
13 | - file_picker_writable (from `.symlinks/plugins/file_picker_writable/ios`)
14 | - Flutter (from `Flutter`)
15 | - package_info_plus (from `.symlinks/plugins/package_info_plus/ios`)
16 | - path_provider_ios (from `.symlinks/plugins/path_provider_ios/ios`)
17 | - url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)
18 |
19 | EXTERNAL SOURCES:
20 | file_picker_writable:
21 | :path: ".symlinks/plugins/file_picker_writable/ios"
22 | Flutter:
23 | :path: Flutter
24 | package_info_plus:
25 | :path: ".symlinks/plugins/package_info_plus/ios"
26 | path_provider_ios:
27 | :path: ".symlinks/plugins/path_provider_ios/ios"
28 | url_launcher_ios:
29 | :path: ".symlinks/plugins/url_launcher_ios/ios"
30 |
31 | SPEC CHECKSUMS:
32 | file_picker_writable: 67959f5c516feb5121693a14eda63fcbe6cbb6dc
33 | Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a
34 | package_info_plus: 6c92f08e1f853dc01228d6f553146438dafcd14e
35 | path_provider_ios: 14f3d2fd28c4fdb42f44e0f751d12861c43cee02
36 | url_launcher_ios: 839c58cdb4279282219f5e248c3321761ff3c4de
37 |
38 | PODFILE CHECKSUM: aafe91acc616949ddb318b77800a7f51bffa2a4c
39 |
40 | COCOAPODS: 1.10.1
41 |
--------------------------------------------------------------------------------
/task/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/task/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/task/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/task/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/task/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/task/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/task/ios/Runner/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | import UIKit
2 | import Flutter
3 |
4 | @UIApplicationMain
5 | @objc class AppDelegate: FlutterAppDelegate {
6 | override func application(
7 | _ application: UIApplication,
8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
9 | ) -> Bool {
10 | GeneratedPluginRegistrant.register(with: self)
11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions)
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/task/ios/Runner/Assets.xcassets/AppIcon-beta.appiconset/Icon-App-1024x1024@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/ios/Runner/Assets.xcassets/AppIcon-beta.appiconset/Icon-App-1024x1024@1x.png
--------------------------------------------------------------------------------
/task/ios/Runner/Assets.xcassets/AppIcon-beta.appiconset/Icon-App-20x20@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/ios/Runner/Assets.xcassets/AppIcon-beta.appiconset/Icon-App-20x20@1x.png
--------------------------------------------------------------------------------
/task/ios/Runner/Assets.xcassets/AppIcon-beta.appiconset/Icon-App-20x20@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/ios/Runner/Assets.xcassets/AppIcon-beta.appiconset/Icon-App-20x20@2x.png
--------------------------------------------------------------------------------
/task/ios/Runner/Assets.xcassets/AppIcon-beta.appiconset/Icon-App-20x20@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/ios/Runner/Assets.xcassets/AppIcon-beta.appiconset/Icon-App-20x20@3x.png
--------------------------------------------------------------------------------
/task/ios/Runner/Assets.xcassets/AppIcon-beta.appiconset/Icon-App-29x29@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/ios/Runner/Assets.xcassets/AppIcon-beta.appiconset/Icon-App-29x29@1x.png
--------------------------------------------------------------------------------
/task/ios/Runner/Assets.xcassets/AppIcon-beta.appiconset/Icon-App-29x29@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/ios/Runner/Assets.xcassets/AppIcon-beta.appiconset/Icon-App-29x29@2x.png
--------------------------------------------------------------------------------
/task/ios/Runner/Assets.xcassets/AppIcon-beta.appiconset/Icon-App-29x29@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/ios/Runner/Assets.xcassets/AppIcon-beta.appiconset/Icon-App-29x29@3x.png
--------------------------------------------------------------------------------
/task/ios/Runner/Assets.xcassets/AppIcon-beta.appiconset/Icon-App-40x40@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/ios/Runner/Assets.xcassets/AppIcon-beta.appiconset/Icon-App-40x40@1x.png
--------------------------------------------------------------------------------
/task/ios/Runner/Assets.xcassets/AppIcon-beta.appiconset/Icon-App-40x40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/ios/Runner/Assets.xcassets/AppIcon-beta.appiconset/Icon-App-40x40@2x.png
--------------------------------------------------------------------------------
/task/ios/Runner/Assets.xcassets/AppIcon-beta.appiconset/Icon-App-40x40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/ios/Runner/Assets.xcassets/AppIcon-beta.appiconset/Icon-App-40x40@3x.png
--------------------------------------------------------------------------------
/task/ios/Runner/Assets.xcassets/AppIcon-beta.appiconset/Icon-App-60x60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/ios/Runner/Assets.xcassets/AppIcon-beta.appiconset/Icon-App-60x60@2x.png
--------------------------------------------------------------------------------
/task/ios/Runner/Assets.xcassets/AppIcon-beta.appiconset/Icon-App-60x60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/ios/Runner/Assets.xcassets/AppIcon-beta.appiconset/Icon-App-60x60@3x.png
--------------------------------------------------------------------------------
/task/ios/Runner/Assets.xcassets/AppIcon-beta.appiconset/Icon-App-76x76@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/ios/Runner/Assets.xcassets/AppIcon-beta.appiconset/Icon-App-76x76@1x.png
--------------------------------------------------------------------------------
/task/ios/Runner/Assets.xcassets/AppIcon-beta.appiconset/Icon-App-76x76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/ios/Runner/Assets.xcassets/AppIcon-beta.appiconset/Icon-App-76x76@2x.png
--------------------------------------------------------------------------------
/task/ios/Runner/Assets.xcassets/AppIcon-beta.appiconset/Icon-App-83.5x83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/ios/Runner/Assets.xcassets/AppIcon-beta.appiconset/Icon-App-83.5x83.5@2x.png
--------------------------------------------------------------------------------
/task/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
--------------------------------------------------------------------------------
/task/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
--------------------------------------------------------------------------------
/task/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
--------------------------------------------------------------------------------
/task/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
--------------------------------------------------------------------------------
/task/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
--------------------------------------------------------------------------------
/task/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
--------------------------------------------------------------------------------
/task/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
--------------------------------------------------------------------------------
/task/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
--------------------------------------------------------------------------------
/task/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
--------------------------------------------------------------------------------
/task/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
--------------------------------------------------------------------------------
/task/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
--------------------------------------------------------------------------------
/task/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
--------------------------------------------------------------------------------
/task/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
--------------------------------------------------------------------------------
/task/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
--------------------------------------------------------------------------------
/task/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
--------------------------------------------------------------------------------
/task/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "LaunchImage.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "LaunchImage@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "LaunchImage@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/task/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/task/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/task/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
--------------------------------------------------------------------------------
/task/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md:
--------------------------------------------------------------------------------
1 | # Launch Screen Assets
2 |
3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory.
4 |
5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
--------------------------------------------------------------------------------
/task/ios/Runner/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/task/ios/Runner/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(BUNDLE_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | $(FLUTTER_BUILD_NAME)
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | $(FLUTTER_BUILD_NUMBER)
23 | ITSAppUsesNonExemptEncryption
24 |
25 | LSRequiresIPhoneOS
26 |
27 | UILaunchStoryboardName
28 | LaunchScreen
29 | UIMainStoryboardFile
30 | Main
31 | UISupportedInterfaceOrientations
32 |
33 | UIInterfaceOrientationPortrait
34 | UIInterfaceOrientationLandscapeLeft
35 | UIInterfaceOrientationLandscapeRight
36 |
37 | UISupportedInterfaceOrientations~ipad
38 |
39 | UIInterfaceOrientationPortrait
40 | UIInterfaceOrientationPortraitUpsideDown
41 | UIInterfaceOrientationLandscapeLeft
42 | UIInterfaceOrientationLandscapeRight
43 |
44 | UIViewControllerBasedStatusBarAppearance
45 |
46 | CADisableMinimumFrameDurationOnPhone
47 |
48 |
49 |
50 |
--------------------------------------------------------------------------------
/task/ios/Runner/Runner-Bridging-Header.h:
--------------------------------------------------------------------------------
1 | #import "GeneratedPluginRegistrant.h"
2 |
--------------------------------------------------------------------------------
/task/lib/main.dart:
--------------------------------------------------------------------------------
1 | import 'dart:io';
2 |
3 | import 'package:flutter/foundation.dart';
4 | import 'package:flutter/material.dart';
5 | import 'package:flutter/services.dart';
6 |
7 | import 'package:uuid/uuid.dart';
8 | import 'package:path_provider/path_provider.dart';
9 |
10 | import 'package:google_fonts/google_fonts.dart';
11 |
12 | import 'package:task/task.dart';
13 |
14 | void main([List args = const []]) {
15 | GoogleFonts.config.allowRuntimeFetching = false;
16 |
17 | LicenseRegistry.addLicense(() async* {
18 | var license = await rootBundle.loadString('google_fonts/OFL.txt');
19 | yield LicenseEntryWithLineBreaks(['google_fonts'], license);
20 | });
21 |
22 | WidgetsFlutterBinding.ensureInitialized();
23 |
24 | Directory? testingDirectory;
25 | if (args.contains('flutter_driver_test')) {
26 | testingDirectory = Directory(
27 | '${Directory.systemTemp.path}/flutter_driver_test/${const Uuid().v1()}',
28 | )..createSync(recursive: true);
29 | stdout.writeln(testingDirectory);
30 | Directory(
31 | '${testingDirectory.path}/profiles/acae0462-6a34-11e4-8001-002590720087',
32 | ).createSync(recursive: true);
33 | }
34 |
35 | runApp(
36 | FutureBuilder(
37 | future: getApplicationDocumentsDirectory(),
38 | builder: (context, snapshot) => (snapshot.hasData)
39 | ? ProfilesWidget(
40 | baseDirectory: testingDirectory ?? snapshot.data!,
41 | child: const TaskApp(),
42 | )
43 | : const Placeholder(),
44 | ),
45 | );
46 | }
47 |
48 | class TaskApp extends StatelessWidget {
49 | const TaskApp({super.key});
50 |
51 | @override
52 | Widget build(BuildContext context) {
53 | return MaterialApp(
54 | debugShowCheckedModeBanner: false,
55 | title: 'task',
56 | theme: ThemeData(
57 | primarySwatch: Colors.blueGrey,
58 | visualDensity: VisualDensity.adaptivePlatformDensity,
59 | ),
60 | darkTheme: ThemeData.dark(),
61 | home: const TaskListRoute(),
62 | );
63 | }
64 | }
65 |
--------------------------------------------------------------------------------
/task/lib/src/functions/client.dart:
--------------------------------------------------------------------------------
1 | import 'package:package_info_plus/package_info_plus.dart';
2 |
3 | Future client() async {
4 | var packageInfo = await PackageInfo.fromPlatform();
5 | return '${packageInfo.packageName} ${packageInfo.version}';
6 | }
7 |
--------------------------------------------------------------------------------
/task/lib/src/functions/save_file.dart:
--------------------------------------------------------------------------------
1 | import 'dart:io';
2 | import 'dart:typed_data';
3 |
4 | import 'package:file_picker_writable/file_picker_writable.dart';
5 | import 'package:file_selector/file_selector.dart';
6 |
7 | Future saveServerCert(String contents) async {
8 | if (Platform.isLinux || Platform.isMacOS || Platform.isWindows) {
9 | var path = await getSavePath(
10 | suggestedName: 'server.cert.pem',
11 | );
12 | var data = Uint8List.fromList(contents.codeUnits);
13 | var file = XFile.fromData(
14 | data,
15 | );
16 | await file.saveTo(path!);
17 | } else {
18 | await FilePickerWritable().openFileForCreate(
19 | fileName: 'server.cert.pem',
20 | writer: (tempFile) => tempFile.writeAsString(contents),
21 | );
22 | }
23 | }
24 |
25 | Future exportTasks({
26 | required String contents,
27 | required String suggestedName,
28 | }) async {
29 | if (Platform.isLinux || Platform.isMacOS || Platform.isWindows) {
30 | var path = await getSavePath(
31 | suggestedName: suggestedName,
32 | );
33 | var data = Uint8List.fromList(contents.codeUnits);
34 | var file = XFile.fromData(
35 | data,
36 | );
37 | await file.saveTo(path!);
38 | } else {
39 | await FilePickerWritable().openFileForCreate(
40 | fileName: suggestedName,
41 | writer: (tempFile) => tempFile.writeAsString(contents),
42 | );
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/task/lib/src/functions/set_config.dart:
--------------------------------------------------------------------------------
1 | import 'dart:io';
2 |
3 | import 'package:file_picker_writable/file_picker_writable.dart';
4 | import 'package:file_selector/file_selector.dart';
5 |
6 | import 'package:taskc/storage.dart';
7 |
8 | Future setConfig({required Storage storage, required String key}) async {
9 | String? contents;
10 | String? name;
11 | if (Platform.isLinux || Platform.isMacOS || Platform.isWindows) {
12 | var typeGroup = XTypeGroup(label: key, extensions: []);
13 | var file = await openFile(acceptedTypeGroups: [typeGroup]);
14 | if (file != null) {
15 | contents = await file.readAsString();
16 | name = file.name;
17 | }
18 | } else {
19 | await FilePickerWritable().openFile((fileInfo, file) async {
20 | contents = file.readAsStringSync();
21 | name = fileInfo.fileName ?? Uri.parse(fileInfo.uri).pathSegments.last;
22 | });
23 | }
24 | if (contents != null) {
25 | if (key == 'TASKRC') {
26 | storage.taskrc.addTaskrc(contents!);
27 | } else {
28 | storage.guiPemFiles.addPemFile(
29 | key: key,
30 | contents: contents!,
31 | name: name,
32 | );
33 | }
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/task/lib/src/widgets/delete_profile_dialog.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import 'package:task/task.dart';
4 |
5 | class DeleteProfileDialog extends StatelessWidget {
6 | const DeleteProfileDialog({
7 | required this.profile,
8 | required this.context,
9 | super.key,
10 | });
11 |
12 | final String profile;
13 | final BuildContext context;
14 |
15 | @override
16 | Widget build(BuildContext context) {
17 | return AlertDialog(
18 | scrollable: true,
19 | content: const Text('Delete profile?'),
20 | actions: [
21 | TextButton(
22 | onPressed: () {
23 | Navigator.of(context).pop();
24 | },
25 | child: const Text('Cancel'),
26 | ),
27 | ElevatedButton(
28 | onPressed: () {
29 | ProfilesWidget.of(context).deleteProfile(profile);
30 | Navigator.of(context).pop();
31 | },
32 | child: const Text('Confirm'),
33 | ),
34 | ],
35 | );
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/task/lib/src/widgets/filter_drawer.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import 'package:google_fonts/google_fonts.dart';
4 |
5 | import 'package:task/task.dart';
6 |
7 | class FilterDrawer extends StatelessWidget {
8 | const FilterDrawer(this.filters, {super.key});
9 |
10 | final Filters filters;
11 |
12 | @override
13 | Widget build(BuildContext context) {
14 | return Drawer(
15 | child: SafeArea(
16 | child: Padding(
17 | padding: const EdgeInsets.all(8),
18 | child: ListView(
19 | primary: false,
20 | key: const PageStorageKey('tags-filter'),
21 | children: [
22 | Card(
23 | child: ListTile(
24 | title: Text(
25 | 'filter:${filters.pendingFilter ? 'status:pending' : ''}',
26 | style: GoogleFonts.firaMono(),
27 | ),
28 | onTap: filters.togglePendingFilter,
29 | ),
30 | ),
31 | const Divider(),
32 | ProjectsColumn(
33 | filters.projects,
34 | filters.projectFilter,
35 | filters.toggleProjectFilter,
36 | ),
37 | const Divider(),
38 | TagFiltersWrap(filters.tagFilters),
39 | ],
40 | ),
41 | ),
42 | ),
43 | );
44 | }
45 | }
46 |
47 | class TagFilterMetadata {
48 | const TagFilterMetadata({
49 | required this.display,
50 | required this.selected,
51 | });
52 |
53 | final String display;
54 | final bool selected;
55 | }
56 |
57 | class TagFilters {
58 | const TagFilters({
59 | required this.tagUnion,
60 | required this.toggleTagUnion,
61 | required this.tags,
62 | required this.toggleTagFilter,
63 | });
64 |
65 | final bool tagUnion;
66 | final void Function() toggleTagUnion;
67 | final Map tags;
68 | final void Function(String) toggleTagFilter;
69 | }
70 |
71 | class TagFiltersWrap extends StatelessWidget {
72 | const TagFiltersWrap(this.filters, {super.key});
73 |
74 | final TagFilters filters;
75 |
76 | @override
77 | Widget build(BuildContext context) {
78 | return Wrap(
79 | spacing: 4,
80 | children: [
81 | FilterChip(
82 | onSelected: (_) => filters.toggleTagUnion(),
83 | label: Text(filters.tagUnion ? 'OR' : 'AND',
84 | style: GoogleFonts.firaMono())),
85 | for (var entry in filters.tags.entries)
86 | FilterChip(
87 | onSelected: (_) => filters.toggleTagFilter(entry.key),
88 | label: Text(
89 | entry.value.display,
90 | style: GoogleFonts.firaMono(
91 | fontWeight: entry.value.selected ? FontWeight.w700 : null,
92 | ),
93 | ),
94 | ),
95 | ],
96 | );
97 | }
98 | }
99 |
--------------------------------------------------------------------------------
/task/lib/src/widgets/rename_profile_dialog.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import 'package:task/task.dart';
4 |
5 | class RenameProfileDialog extends StatelessWidget {
6 | const RenameProfileDialog({
7 | required this.profile,
8 | required this.alias,
9 | required this.context,
10 | super.key,
11 | });
12 |
13 | final String profile;
14 | final String? alias;
15 | final BuildContext context;
16 |
17 | @override
18 | Widget build(BuildContext context) {
19 | var controller = TextEditingController(text: alias);
20 |
21 | return AlertDialog(
22 | scrollable: true,
23 | title: const Text('Rename profile'),
24 | content: TextField(controller: controller),
25 | actions: [
26 | TextButton(
27 | onPressed: () {
28 | Navigator.of(context).pop();
29 | },
30 | child: const Text('Cancel'),
31 | ),
32 | ElevatedButton(
33 | onPressed: () {
34 | ProfilesWidget.of(context).renameProfile(
35 | profile: profile,
36 | alias: controller.text,
37 | );
38 | Navigator.of(context).pop();
39 | },
40 | child: const Text('Submit'),
41 | ),
42 | ],
43 | );
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/task/lib/src/widgets/rename_tab_dialog.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import 'package:task/task.dart';
4 |
5 | class RenameTabDialog extends StatelessWidget {
6 | const RenameTabDialog({
7 | required this.tab,
8 | required this.alias,
9 | required this.context,
10 | super.key,
11 | });
12 |
13 | final String tab;
14 | final String? alias;
15 | final BuildContext context;
16 |
17 | @override
18 | Widget build(BuildContext context) {
19 | var controller = TextEditingController(text: alias);
20 |
21 | return AlertDialog(
22 | scrollable: true,
23 | title: const Text('Rename tab'),
24 | content: TextField(controller: controller),
25 | actions: [
26 | TextButton(
27 | onPressed: () {
28 | Navigator.of(context).pop();
29 | },
30 | child: const Text('Cancel'),
31 | ),
32 | ElevatedButton(
33 | onPressed: () {
34 | StorageWidget.of(context).renameTab(
35 | tab: tab,
36 | name: controller.text,
37 | );
38 | Navigator.of(context).pop();
39 | },
40 | child: const Text('Submit'),
41 | ),
42 | ],
43 | );
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/task/lib/src/widgets/task_list_item.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import 'package:google_fonts/google_fonts.dart';
4 |
5 | import 'package:taskj/json.dart';
6 | import 'package:taskw/taskw.dart';
7 |
8 | class TaskListItem extends StatelessWidget {
9 | const TaskListItem(this.task, {this.pendingFilter = false, super.key});
10 |
11 | final Task task;
12 | final bool pendingFilter;
13 |
14 | @override
15 | Widget build(BuildContext context) {
16 | return ListTile(
17 | title: Row(
18 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
19 | children: [
20 | Flexible(
21 | child: SingleChildScrollView(
22 | scrollDirection: Axis.horizontal,
23 | child: Text(
24 | task.description,
25 | style: GoogleFonts.firaMono(),
26 | ),
27 | ),
28 | ),
29 | Text(
30 | (task.annotations != null) ? ' [${task.annotations!.length}]' : '',
31 | style: GoogleFonts.firaMono(),
32 | ),
33 | ],
34 | ),
35 | subtitle: Row(
36 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
37 | children: [
38 | Flexible(
39 | child: SingleChildScrollView(
40 | scrollDirection: Axis.horizontal,
41 | child: Text(
42 | '${(task.id == 0) ? '-' : task.id} '
43 | '${pendingFilter ? '' : '${task.status[0].toUpperCase()} '}'
44 | '${age(task.entry)} '
45 | '${(task.modified != null) ? 'm:${age(task.modified!)}' : ''} '
46 | '${(task.start != null) ? 'st:${age(task.start!)}' : ''} '
47 | '${(task.due != null) ? 'd:${when(task.due!)}' : ''} '
48 | '${task.priority ?? ''} '
49 | '${task.project ?? ''} '
50 | '[${task.tags?.join(',') ?? ''}]'
51 | .replaceFirst(RegExp(r' \[\]$'), '')
52 | .replaceAll(RegExp(r' +'), ' '),
53 | style: GoogleFonts.firaMono(),
54 | ),
55 | ),
56 | ),
57 | Text(
58 | formatUrgency(urgency(task)),
59 | style: GoogleFonts.firaMono(),
60 | ),
61 | ],
62 | ),
63 | );
64 | }
65 | }
66 |
--------------------------------------------------------------------------------
/task/lib/src/widgets/task_list_view.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import 'package:taskj/json.dart';
4 |
5 | import 'package:task/task.dart';
6 |
7 | class TaskListView extends StatelessWidget {
8 | const TaskListView({
9 | required this.taskData,
10 | required this.pendingFilter,
11 | super.key,
12 | });
13 |
14 | final List taskData;
15 | final bool pendingFilter;
16 |
17 | @override
18 | Widget build(BuildContext context) {
19 | return ListView(
20 | padding: const EdgeInsets.symmetric(vertical: 4, horizontal: 2),
21 | children: [
22 | for (var task in taskData)
23 | Card(
24 | child: InkWell(
25 | onTap: () => Navigator.push(
26 | context,
27 | MaterialPageRoute(
28 | builder: (context) => DetailRoute(task.uuid),
29 | ),
30 | ),
31 | child: TaskListItem(task, pendingFilter: pendingFilter),
32 | ),
33 | ),
34 | ],
35 | );
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/task/lib/task.dart:
--------------------------------------------------------------------------------
1 | export 'package:task/src/functions/client.dart';
2 | export 'package:task/src/functions/save_file.dart';
3 | export 'package:task/src/functions/set_config.dart';
4 | export 'package:task/src/functions/show_exception_dialog.dart';
5 | export 'package:task/src/routes/annotations_route.dart';
6 | export 'package:task/src/routes/configure_taskserver_route.dart';
7 | export 'package:task/src/routes/detail_route.dart';
8 | export 'package:task/src/routes/tags_route.dart';
9 | export 'package:task/src/routes/task_list_route.dart';
10 | export 'package:task/src/widgets/add_task_bottom_sheet.dart';
11 | export 'package:task/src/widgets/delete_profile_dialog.dart';
12 | export 'package:task/src/widgets/filter_drawer.dart';
13 | export 'package:task/src/widgets/profiles_widget.dart';
14 | export 'package:task/src/widgets/profiles_column.dart';
15 | export 'package:task/src/widgets/project_filter.dart';
16 | export 'package:task/src/widgets/rename_profile_dialog.dart';
17 | export 'package:task/src/widgets/rename_tab_dialog.dart';
18 | export 'package:task/src/widgets/storage_widget.dart';
19 | export 'package:task/src/widgets/task_list_item.dart';
20 | export 'package:task/src/widgets/task_list_view.dart';
21 |
--------------------------------------------------------------------------------
/task/linux/.gitignore:
--------------------------------------------------------------------------------
1 | flutter/ephemeral
2 |
--------------------------------------------------------------------------------
/task/linux/flutter/generated_plugin_registrant.cc:
--------------------------------------------------------------------------------
1 | //
2 | // Generated file. Do not edit.
3 | //
4 |
5 | // clang-format off
6 |
7 | #include "generated_plugin_registrant.h"
8 |
9 | #include
10 | #include
11 |
12 | void fl_register_plugins(FlPluginRegistry* registry) {
13 | g_autoptr(FlPluginRegistrar) file_selector_linux_registrar =
14 | fl_plugin_registry_get_registrar_for_plugin(registry, "FileSelectorPlugin");
15 | file_selector_plugin_register_with_registrar(file_selector_linux_registrar);
16 | g_autoptr(FlPluginRegistrar) url_launcher_linux_registrar =
17 | fl_plugin_registry_get_registrar_for_plugin(registry, "UrlLauncherPlugin");
18 | url_launcher_plugin_register_with_registrar(url_launcher_linux_registrar);
19 | }
20 |
--------------------------------------------------------------------------------
/task/linux/flutter/generated_plugin_registrant.h:
--------------------------------------------------------------------------------
1 | //
2 | // Generated file. Do not edit.
3 | //
4 |
5 | // clang-format off
6 |
7 | #ifndef GENERATED_PLUGIN_REGISTRANT_
8 | #define GENERATED_PLUGIN_REGISTRANT_
9 |
10 | #include
11 |
12 | // Registers Flutter plugins.
13 | void fl_register_plugins(FlPluginRegistry* registry);
14 |
15 | #endif // GENERATED_PLUGIN_REGISTRANT_
16 |
--------------------------------------------------------------------------------
/task/linux/flutter/generated_plugins.cmake:
--------------------------------------------------------------------------------
1 | #
2 | # Generated file, do not edit.
3 | #
4 |
5 | list(APPEND FLUTTER_PLUGIN_LIST
6 | file_selector_linux
7 | url_launcher_linux
8 | )
9 |
10 | list(APPEND FLUTTER_FFI_PLUGIN_LIST
11 | )
12 |
13 | set(PLUGIN_BUNDLED_LIBRARIES)
14 |
15 | foreach(plugin ${FLUTTER_PLUGIN_LIST})
16 | add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/linux plugins/${plugin})
17 | target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin)
18 | list(APPEND PLUGIN_BUNDLED_LIBRARIES $)
19 | list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries})
20 | endforeach(plugin)
21 |
22 | foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST})
23 | add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/linux plugins/${ffi_plugin})
24 | list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries})
25 | endforeach(ffi_plugin)
26 |
--------------------------------------------------------------------------------
/task/linux/main.cc:
--------------------------------------------------------------------------------
1 | #include "my_application.h"
2 |
3 | int main(int argc, char** argv) {
4 | g_autoptr(MyApplication) app = my_application_new();
5 | return g_application_run(G_APPLICATION(app), argc, argv);
6 | }
7 |
--------------------------------------------------------------------------------
/task/linux/my_application.h:
--------------------------------------------------------------------------------
1 | #ifndef FLUTTER_MY_APPLICATION_H_
2 | #define FLUTTER_MY_APPLICATION_H_
3 |
4 | #include
5 |
6 | G_DECLARE_FINAL_TYPE(MyApplication, my_application, MY, APPLICATION,
7 | GtkApplication)
8 |
9 | /**
10 | * my_application_new:
11 | *
12 | * Creates a new Flutter-based application.
13 | *
14 | * Returns: a new #MyApplication.
15 | */
16 | MyApplication* my_application_new();
17 |
18 | #endif // FLUTTER_MY_APPLICATION_H_
19 |
--------------------------------------------------------------------------------
/task/macos/.gitignore:
--------------------------------------------------------------------------------
1 | # Flutter-related
2 | **/Flutter/ephemeral/
3 | **/Pods/
4 |
5 | # Xcode-related
6 | **/dgph
7 | **/xcuserdata/
8 |
--------------------------------------------------------------------------------
/task/macos/Flutter/Flutter-Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
2 | #include "ephemeral/Flutter-Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/task/macos/Flutter/Flutter-Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
2 | #include "ephemeral/Flutter-Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/task/macos/Flutter/GeneratedPluginRegistrant.swift:
--------------------------------------------------------------------------------
1 | //
2 | // Generated file. Do not edit.
3 | //
4 |
5 | import FlutterMacOS
6 | import Foundation
7 |
8 | import file_picker_writable
9 | import file_selector_macos
10 | import package_info_plus_macos
11 | import path_provider_macos
12 | import url_launcher_macos
13 |
14 | func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
15 | FilePickerWritablePlugin.register(with: registry.registrar(forPlugin: "FilePickerWritablePlugin"))
16 | FileSelectorPlugin.register(with: registry.registrar(forPlugin: "FileSelectorPlugin"))
17 | FLTPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FLTPackageInfoPlusPlugin"))
18 | PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
19 | UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
20 | }
21 |
--------------------------------------------------------------------------------
/task/macos/Podfile:
--------------------------------------------------------------------------------
1 | platform :osx, '10.11'
2 |
3 | # CocoaPods analytics sends network stats synchronously affecting flutter build latency.
4 | ENV['COCOAPODS_DISABLE_STATS'] = 'true'
5 |
6 | project 'Runner', {
7 | 'Debug' => :debug,
8 | 'Profile' => :release,
9 | 'Release' => :release,
10 | }
11 |
12 | def flutter_root
13 | generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'ephemeral', 'Flutter-Generated.xcconfig'), __FILE__)
14 | unless File.exist?(generated_xcode_build_settings_path)
15 | raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure \"flutter pub get\" is executed first"
16 | end
17 |
18 | File.foreach(generated_xcode_build_settings_path) do |line|
19 | matches = line.match(/FLUTTER_ROOT\=(.*)/)
20 | return matches[1].strip if matches
21 | end
22 | raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Flutter-Generated.xcconfig, then run \"flutter pub get\""
23 | end
24 |
25 | require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
26 |
27 | flutter_macos_podfile_setup
28 |
29 | target 'Runner' do
30 | use_frameworks!
31 | use_modular_headers!
32 |
33 | flutter_install_all_macos_pods File.dirname(File.realpath(__FILE__))
34 | end
35 |
36 | post_install do |installer|
37 | installer.pods_project.targets.each do |target|
38 | flutter_additional_macos_build_settings(target)
39 | end
40 | end
41 |
--------------------------------------------------------------------------------
/task/macos/Podfile.lock:
--------------------------------------------------------------------------------
1 | PODS:
2 | - file_picker_writable (0.0.1):
3 | - FlutterMacOS
4 | - file_selector_macos (0.0.1):
5 | - FlutterMacOS
6 | - FlutterMacOS (1.0.0)
7 | - package_info_plus_macos (0.0.1):
8 | - FlutterMacOS
9 | - path_provider_macos (0.0.1):
10 | - FlutterMacOS
11 | - url_launcher_macos (0.0.1):
12 | - FlutterMacOS
13 |
14 | DEPENDENCIES:
15 | - file_picker_writable (from `Flutter/ephemeral/.symlinks/plugins/file_picker_writable/macos`)
16 | - file_selector_macos (from `Flutter/ephemeral/.symlinks/plugins/file_selector_macos/macos`)
17 | - FlutterMacOS (from `Flutter/ephemeral`)
18 | - package_info_plus_macos (from `Flutter/ephemeral/.symlinks/plugins/package_info_plus_macos/macos`)
19 | - path_provider_macos (from `Flutter/ephemeral/.symlinks/plugins/path_provider_macos/macos`)
20 | - url_launcher_macos (from `Flutter/ephemeral/.symlinks/plugins/url_launcher_macos/macos`)
21 |
22 | EXTERNAL SOURCES:
23 | file_picker_writable:
24 | :path: Flutter/ephemeral/.symlinks/plugins/file_picker_writable/macos
25 | file_selector_macos:
26 | :path: Flutter/ephemeral/.symlinks/plugins/file_selector_macos/macos
27 | FlutterMacOS:
28 | :path: Flutter/ephemeral
29 | package_info_plus_macos:
30 | :path: Flutter/ephemeral/.symlinks/plugins/package_info_plus_macos/macos
31 | path_provider_macos:
32 | :path: Flutter/ephemeral/.symlinks/plugins/path_provider_macos/macos
33 | url_launcher_macos:
34 | :path: Flutter/ephemeral/.symlinks/plugins/url_launcher_macos/macos
35 |
36 | SPEC CHECKSUMS:
37 | file_picker_writable: 91694d55c22f8430d4be119f0afb49755e65cd0c
38 | file_selector_macos: f1b08a781e66103e3ba279fd5d4024a2478b3af6
39 | FlutterMacOS: 57701585bf7de1b3fc2bb61f6378d73bbdea8424
40 | package_info_plus_macos: f010621b07802a241d96d01876d6705f15e77c1c
41 | path_provider_macos: 3c0c3b4b0d4a76d2bf989a913c2de869c5641a19
42 | url_launcher_macos: 597e05b8e514239626bcf4a850fcf9ef5c856ec3
43 |
44 | PODFILE CHECKSUM: 6eac6b3292e5142cfc23bdeb71848a40ec51c14c
45 |
46 | COCOAPODS: 1.10.1
47 |
--------------------------------------------------------------------------------
/task/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/task/macos/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/task/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/task/macos/Runner/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | import Cocoa
2 | import FlutterMacOS
3 |
4 | @NSApplicationMain
5 | class AppDelegate: FlutterAppDelegate {
6 | override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
7 | return true
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/task/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "size" : "16x16",
5 | "idiom" : "mac",
6 | "filename" : "app_icon_16.png",
7 | "scale" : "1x"
8 | },
9 | {
10 | "size" : "16x16",
11 | "idiom" : "mac",
12 | "filename" : "app_icon_32.png",
13 | "scale" : "2x"
14 | },
15 | {
16 | "size" : "32x32",
17 | "idiom" : "mac",
18 | "filename" : "app_icon_32.png",
19 | "scale" : "1x"
20 | },
21 | {
22 | "size" : "32x32",
23 | "idiom" : "mac",
24 | "filename" : "app_icon_64.png",
25 | "scale" : "2x"
26 | },
27 | {
28 | "size" : "128x128",
29 | "idiom" : "mac",
30 | "filename" : "app_icon_128.png",
31 | "scale" : "1x"
32 | },
33 | {
34 | "size" : "128x128",
35 | "idiom" : "mac",
36 | "filename" : "app_icon_256.png",
37 | "scale" : "2x"
38 | },
39 | {
40 | "size" : "256x256",
41 | "idiom" : "mac",
42 | "filename" : "app_icon_256.png",
43 | "scale" : "1x"
44 | },
45 | {
46 | "size" : "256x256",
47 | "idiom" : "mac",
48 | "filename" : "app_icon_512.png",
49 | "scale" : "2x"
50 | },
51 | {
52 | "size" : "512x512",
53 | "idiom" : "mac",
54 | "filename" : "app_icon_512.png",
55 | "scale" : "1x"
56 | },
57 | {
58 | "size" : "512x512",
59 | "idiom" : "mac",
60 | "filename" : "app_icon_1024.png",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
69 |
--------------------------------------------------------------------------------
/task/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png
--------------------------------------------------------------------------------
/task/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png
--------------------------------------------------------------------------------
/task/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png
--------------------------------------------------------------------------------
/task/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png
--------------------------------------------------------------------------------
/task/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png
--------------------------------------------------------------------------------
/task/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png
--------------------------------------------------------------------------------
/task/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png
--------------------------------------------------------------------------------
/task/macos/Runner/Configs/AppInfo.xcconfig:
--------------------------------------------------------------------------------
1 | // Application-level settings for the Runner target.
2 | //
3 | // This may be replaced with something auto-generated from metadata (e.g., pubspec.yaml) in the
4 | // future. If not, the values below would default to using the project name when this becomes a
5 | // 'flutter create' template.
6 |
7 | // The application's name. By default this is also the title of the Flutter window.
8 | PRODUCT_NAME = task
9 |
10 | // The application's bundle identifier
11 | PRODUCT_BUNDLE_IDENTIFIER = info.tangential.task
12 |
13 | // The copyright displayed in application information
14 | PRODUCT_COPYRIGHT = Copyright © 2021 info.tangential. All rights reserved.
15 |
--------------------------------------------------------------------------------
/task/macos/Runner/Configs/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include "../../Flutter/Flutter-Debug.xcconfig"
2 | #include "Warnings.xcconfig"
3 |
--------------------------------------------------------------------------------
/task/macos/Runner/Configs/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include "../../Flutter/Flutter-Release.xcconfig"
2 | #include "Warnings.xcconfig"
3 |
--------------------------------------------------------------------------------
/task/macos/Runner/Configs/Warnings.xcconfig:
--------------------------------------------------------------------------------
1 | WARNING_CFLAGS = -Wall -Wconditional-uninitialized -Wnullable-to-nonnull-conversion -Wmissing-method-return-type -Woverlength-strings
2 | GCC_WARN_UNDECLARED_SELECTOR = YES
3 | CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULLABILITY = YES
4 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE
5 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES
6 | CLANG_WARN_PRAGMA_PACK = YES
7 | CLANG_WARN_STRICT_PROTOTYPES = YES
8 | CLANG_WARN_COMMA = YES
9 | GCC_WARN_STRICT_SELECTOR_MATCH = YES
10 | CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = YES
11 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES
12 | GCC_WARN_SHADOW = YES
13 | CLANG_WARN_UNREACHABLE_CODE = YES
14 |
--------------------------------------------------------------------------------
/task/macos/Runner/DebugProfile.entitlements:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | com.apple.security.app-sandbox
6 |
7 | com.apple.security.cs.allow-jit
8 |
9 | com.apple.security.network.client
10 |
11 | com.apple.security.network.server
12 |
13 | com.apple.security.files.user-selected.read-write
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/task/macos/Runner/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIconFile
10 |
11 | CFBundleIdentifier
12 | $(PRODUCT_BUNDLE_IDENTIFIER)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | $(PRODUCT_NAME)
17 | CFBundlePackageType
18 | APPL
19 | CFBundleShortVersionString
20 | $(FLUTTER_BUILD_NAME)
21 | CFBundleVersion
22 | $(FLUTTER_BUILD_NUMBER)
23 | LSMinimumSystemVersion
24 | $(MACOSX_DEPLOYMENT_TARGET)
25 | NSHumanReadableCopyright
26 | $(PRODUCT_COPYRIGHT)
27 | NSMainNibFile
28 | MainMenu
29 | NSPrincipalClass
30 | NSApplication
31 |
32 |
33 |
--------------------------------------------------------------------------------
/task/macos/Runner/MainFlutterWindow.swift:
--------------------------------------------------------------------------------
1 | import Cocoa
2 | import FlutterMacOS
3 |
4 | class MainFlutterWindow: NSWindow {
5 | override func awakeFromNib() {
6 | let flutterViewController = FlutterViewController.init()
7 | let windowFrame = self.frame
8 | self.contentViewController = flutterViewController
9 | self.setFrame(windowFrame, display: true)
10 |
11 | RegisterGeneratedPlugins(registry: flutterViewController)
12 |
13 | super.awakeFromNib()
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/task/macos/Runner/Release.entitlements:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | com.apple.security.app-sandbox
6 |
7 | com.apple.security.network.client
8 |
9 | com.apple.security.files.user-selected.read-write
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/task/pubspec.yaml:
--------------------------------------------------------------------------------
1 | name: task
2 | description: A new Flutter project.
3 |
4 | publish_to: 'none'
5 |
6 | version: 0.2.7+0.0.0
7 |
8 | environment:
9 | sdk: ^2.17.0
10 | flutter: ^3.0.0
11 |
12 | dependencies:
13 | built_collection:
14 | cupertino_icons:
15 | file_picker_writable:
16 | file_selector:
17 | file_selector_linux:
18 | file_selector_macos:
19 | file_selector_windows:
20 | flutter:
21 | sdk: flutter
22 | flutter_linkify:
23 | google_fonts:
24 | linkify:
25 | package_info_plus: '>0.0.1'
26 | path_provider:
27 | taskc:
28 | path: ../taskc
29 | taskj:
30 | path: ../taskj
31 | taskw:
32 | path: ../taskw
33 | tuple:
34 | url_launcher:
35 | uuid:
36 |
37 | dependency_overrides:
38 | win32: '>2.3.1'
39 |
40 | dev_dependencies:
41 | flutter_test:
42 | sdk: flutter
43 | lints:
44 | test:
45 |
46 | flutter:
47 | uses-material-design: true
48 |
49 | assets:
50 | - assets/
51 | - assets/.task/
52 | - google_fonts/
53 |
--------------------------------------------------------------------------------
/task/test/.gitignore:
--------------------------------------------------------------------------------
1 | profiles/
2 |
--------------------------------------------------------------------------------
/task/test_driver/screenshots.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter_driver/driver_extension.dart';
2 | import 'package:task/main.dart' as task;
3 |
4 | void main() {
5 | enableFlutterDriverExtension();
6 |
7 | task.main(['flutter_driver_test']);
8 | }
9 |
--------------------------------------------------------------------------------
/task/test_driver/screenshots_test.dart:
--------------------------------------------------------------------------------
1 | import 'dart:io';
2 |
3 | import 'package:flutter_driver/flutter_driver.dart';
4 | import 'package:test/test.dart';
5 |
6 | void main() {
7 | group('Counter App', () {
8 | var drawerFinder = find.byTooltip('Open navigation menu');
9 |
10 | late FlutterDriver driver;
11 |
12 | setUpAll(() async {
13 | driver = await FlutterDriver.connect();
14 | });
15 |
16 | tearDownAll(() async {
17 | await driver.close();
18 | });
19 |
20 | test('take a screenshot', () async {
21 | await driver.waitFor(drawerFinder);
22 | Directory('screenshots').createSync(recursive: true);
23 | File('screenshots/1.png').writeAsBytesSync(
24 | await driver.screenshot(),
25 | );
26 | });
27 | });
28 | }
29 |
--------------------------------------------------------------------------------
/task/tools/icons.dart:
--------------------------------------------------------------------------------
1 | import 'dart:io';
2 |
3 | class Size {
4 | Size(this.platform, this.filename, this.dimensions);
5 |
6 | String platform;
7 | String dimensions;
8 | String filename;
9 | }
10 |
11 | void main() {
12 | var sizes = [
13 | Size('ios', 'Icon-App-1024x1024@1x.png', '1024x1024'),
14 | Size('ios', 'Icon-App-20x20@1x.png', '20x20'),
15 | Size('ios', 'Icon-App-20x20@2x.png', '40x40'),
16 | Size('ios', 'Icon-App-20x20@3x.png', '60x60'),
17 | Size('ios', 'Icon-App-29x29@1x.png', '29x29'),
18 | Size('ios', 'Icon-App-29x29@2x.png', '58x58'),
19 | Size('ios', 'Icon-App-29x29@3x.png', '87x87'),
20 | Size('ios', 'Icon-App-40x40@1x.png', '40x40'),
21 | Size('ios', 'Icon-App-40x40@2x.png', '80x80'),
22 | Size('ios', 'Icon-App-40x40@3x.png', '120x120'),
23 | Size('ios', 'Icon-App-60x60@2x.png', '120x120'),
24 | Size('ios', 'Icon-App-60x60@3x.png', '180x180'),
25 | Size('ios', 'Icon-App-76x76@1x.png', '76x76'),
26 | Size('ios', 'Icon-App-76x76@2x.png', '152x152'),
27 | Size('ios', 'Icon-App-83.5x83.5@2x.png', '167x167'),
28 | Size('macos', 'app_icon_1024.png', '1024x1024'),
29 | Size('macos', 'app_icon_128.png', '128x128'),
30 | Size('macos', 'app_icon_16.png', '16x16'),
31 | Size('macos', 'app_icon_256.png', '256x256'),
32 | Size('macos', 'app_icon_32.png', '32x32'),
33 | Size('macos', 'app_icon_512.png', '512x512'),
34 | Size('macos', 'app_icon_64.png', '64x64'),
35 | ];
36 |
37 | for (var size in sizes) {
38 | Process.run(
39 | 'convert',
40 | [
41 | '-density',
42 | '1200',
43 | '-resize',
44 | size.dimensions,
45 | 'noun_checkmark_1763484.svg',
46 | '../${size.platform}/Runner/Assets.xcassets/AppIcon.appiconset/${size.filename}',
47 | ],
48 | );
49 | Process.run(
50 | 'convert',
51 | [
52 | '-density',
53 | '1200',
54 | '-resize',
55 | size.dimensions,
56 | 'noun_checkmark_violet.svg',
57 | '../${size.platform}/Runner/Assets.xcassets/AppIcon-beta.appiconset/${size.filename}',
58 | ],
59 | );
60 | }
61 | }
62 |
--------------------------------------------------------------------------------
/task/windows/.gitignore:
--------------------------------------------------------------------------------
1 | flutter/ephemeral/
2 |
3 | # Visual Studio user-specific files.
4 | *.suo
5 | *.user
6 | *.userosscache
7 | *.sln.docstates
8 |
9 | # Visual Studio build-related files.
10 | x64/
11 | x86/
12 |
13 | # Visual Studio cache files
14 | # files ending in .cache can be ignored
15 | *.[Cc]ache
16 | # but keep track of directories ending in .cache
17 | !*.[Cc]ache/
18 |
--------------------------------------------------------------------------------
/task/windows/flutter/generated_plugin_registrant.cc:
--------------------------------------------------------------------------------
1 | //
2 | // Generated file. Do not edit.
3 | //
4 |
5 | // clang-format off
6 |
7 | #include "generated_plugin_registrant.h"
8 |
9 | #include
10 | #include
11 |
12 | void RegisterPlugins(flutter::PluginRegistry* registry) {
13 | FileSelectorWindowsRegisterWithRegistrar(
14 | registry->GetRegistrarForPlugin("FileSelectorWindows"));
15 | UrlLauncherWindowsRegisterWithRegistrar(
16 | registry->GetRegistrarForPlugin("UrlLauncherWindows"));
17 | }
18 |
--------------------------------------------------------------------------------
/task/windows/flutter/generated_plugin_registrant.h:
--------------------------------------------------------------------------------
1 | //
2 | // Generated file. Do not edit.
3 | //
4 |
5 | // clang-format off
6 |
7 | #ifndef GENERATED_PLUGIN_REGISTRANT_
8 | #define GENERATED_PLUGIN_REGISTRANT_
9 |
10 | #include
11 |
12 | // Registers Flutter plugins.
13 | void RegisterPlugins(flutter::PluginRegistry* registry);
14 |
15 | #endif // GENERATED_PLUGIN_REGISTRANT_
16 |
--------------------------------------------------------------------------------
/task/windows/flutter/generated_plugins.cmake:
--------------------------------------------------------------------------------
1 | #
2 | # Generated file, do not edit.
3 | #
4 |
5 | list(APPEND FLUTTER_PLUGIN_LIST
6 | file_selector_windows
7 | url_launcher_windows
8 | )
9 |
10 | list(APPEND FLUTTER_FFI_PLUGIN_LIST
11 | )
12 |
13 | set(PLUGIN_BUNDLED_LIBRARIES)
14 |
15 | foreach(plugin ${FLUTTER_PLUGIN_LIST})
16 | add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/windows plugins/${plugin})
17 | target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin)
18 | list(APPEND PLUGIN_BUNDLED_LIBRARIES $)
19 | list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries})
20 | endforeach(plugin)
21 |
22 | foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST})
23 | add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/windows plugins/${ffi_plugin})
24 | list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries})
25 | endforeach(ffi_plugin)
26 |
--------------------------------------------------------------------------------
/task/windows/runner/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | cmake_minimum_required(VERSION 3.14)
2 | project(runner LANGUAGES CXX)
3 |
4 | add_executable(${BINARY_NAME} WIN32
5 | "flutter_window.cpp"
6 | "main.cpp"
7 | "utils.cpp"
8 | "win32_window.cpp"
9 | "${FLUTTER_MANAGED_DIR}/generated_plugin_registrant.cc"
10 | "Runner.rc"
11 | "runner.exe.manifest"
12 | )
13 | apply_standard_settings(${BINARY_NAME})
14 | target_compile_definitions(${BINARY_NAME} PRIVATE "NOMINMAX")
15 | target_link_libraries(${BINARY_NAME} PRIVATE flutter flutter_wrapper_app)
16 | target_include_directories(${BINARY_NAME} PRIVATE "${CMAKE_SOURCE_DIR}")
17 | add_dependencies(${BINARY_NAME} flutter_assemble)
18 |
--------------------------------------------------------------------------------
/task/windows/runner/flutter_window.cpp:
--------------------------------------------------------------------------------
1 | #include "flutter_window.h"
2 |
3 | #include
4 |
5 | #include "flutter/generated_plugin_registrant.h"
6 |
7 | FlutterWindow::FlutterWindow(const flutter::DartProject& project)
8 | : project_(project) {}
9 |
10 | FlutterWindow::~FlutterWindow() {}
11 |
12 | bool FlutterWindow::OnCreate() {
13 | if (!Win32Window::OnCreate()) {
14 | return false;
15 | }
16 |
17 | RECT frame = GetClientArea();
18 |
19 | // The size here must match the window dimensions to avoid unnecessary surface
20 | // creation / destruction in the startup path.
21 | flutter_controller_ = std::make_unique(
22 | frame.right - frame.left, frame.bottom - frame.top, project_);
23 | // Ensure that basic setup of the controller was successful.
24 | if (!flutter_controller_->engine() || !flutter_controller_->view()) {
25 | return false;
26 | }
27 | RegisterPlugins(flutter_controller_->engine());
28 | SetChildContent(flutter_controller_->view()->GetNativeWindow());
29 | return true;
30 | }
31 |
32 | void FlutterWindow::OnDestroy() {
33 | if (flutter_controller_) {
34 | flutter_controller_ = nullptr;
35 | }
36 |
37 | Win32Window::OnDestroy();
38 | }
39 |
40 | LRESULT
41 | FlutterWindow::MessageHandler(HWND hwnd, UINT const message,
42 | WPARAM const wparam,
43 | LPARAM const lparam) noexcept {
44 | // Give Flutter, including plugins, an opportunity to handle window messages.
45 | if (flutter_controller_) {
46 | std::optional result =
47 | flutter_controller_->HandleTopLevelWindowProc(hwnd, message, wparam,
48 | lparam);
49 | if (result) {
50 | return *result;
51 | }
52 | }
53 |
54 | switch (message) {
55 | case WM_FONTCHANGE:
56 | flutter_controller_->engine()->ReloadSystemFonts();
57 | break;
58 | }
59 |
60 | return Win32Window::MessageHandler(hwnd, message, wparam, lparam);
61 | }
62 |
--------------------------------------------------------------------------------
/task/windows/runner/flutter_window.h:
--------------------------------------------------------------------------------
1 | #ifndef RUNNER_FLUTTER_WINDOW_H_
2 | #define RUNNER_FLUTTER_WINDOW_H_
3 |
4 | #include
5 | #include
6 |
7 | #include
8 |
9 | #include "win32_window.h"
10 |
11 | // A window that does nothing but host a Flutter view.
12 | class FlutterWindow : public Win32Window {
13 | public:
14 | // Creates a new FlutterWindow hosting a Flutter view running |project|.
15 | explicit FlutterWindow(const flutter::DartProject& project);
16 | virtual ~FlutterWindow();
17 |
18 | protected:
19 | // Win32Window:
20 | bool OnCreate() override;
21 | void OnDestroy() override;
22 | LRESULT MessageHandler(HWND window, UINT const message, WPARAM const wparam,
23 | LPARAM const lparam) noexcept override;
24 |
25 | private:
26 | // The project to run.
27 | flutter::DartProject project_;
28 |
29 | // The Flutter instance hosted by this window.
30 | std::unique_ptr flutter_controller_;
31 | };
32 |
33 | #endif // RUNNER_FLUTTER_WINDOW_H_
34 |
--------------------------------------------------------------------------------
/task/windows/runner/main.cpp:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 | #include
4 |
5 | #include "flutter_window.h"
6 | #include "utils.h"
7 |
8 | int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
9 | _In_ wchar_t *command_line, _In_ int show_command) {
10 | // Attach to console when present (e.g., 'flutter run') or create a
11 | // new console when running with a debugger.
12 | if (!::AttachConsole(ATTACH_PARENT_PROCESS) && ::IsDebuggerPresent()) {
13 | CreateAndAttachConsole();
14 | }
15 |
16 | // Initialize COM, so that it is available for use in the library and/or
17 | // plugins.
18 | ::CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED);
19 |
20 | flutter::DartProject project(L"data");
21 |
22 | std::vector command_line_arguments =
23 | GetCommandLineArguments();
24 |
25 | project.set_dart_entrypoint_arguments(std::move(command_line_arguments));
26 |
27 | FlutterWindow window(project);
28 | Win32Window::Point origin(10, 10);
29 | Win32Window::Size size(1280, 720);
30 | if (!window.CreateAndShow(L"task", origin, size)) {
31 | return EXIT_FAILURE;
32 | }
33 | window.SetQuitOnClose(true);
34 |
35 | ::MSG msg;
36 | while (::GetMessage(&msg, nullptr, 0, 0)) {
37 | ::TranslateMessage(&msg);
38 | ::DispatchMessage(&msg);
39 | }
40 |
41 | ::CoUninitialize();
42 | return EXIT_SUCCESS;
43 | }
44 |
--------------------------------------------------------------------------------
/task/windows/runner/resource.h:
--------------------------------------------------------------------------------
1 | //{{NO_DEPENDENCIES}}
2 | // Microsoft Visual C++ generated include file.
3 | // Used by Runner.rc
4 | //
5 | #define IDI_APP_ICON 101
6 |
7 | // Next default values for new objects
8 | //
9 | #ifdef APSTUDIO_INVOKED
10 | #ifndef APSTUDIO_READONLY_SYMBOLS
11 | #define _APS_NEXT_RESOURCE_VALUE 102
12 | #define _APS_NEXT_COMMAND_VALUE 40001
13 | #define _APS_NEXT_CONTROL_VALUE 1001
14 | #define _APS_NEXT_SYMED_VALUE 101
15 | #endif
16 | #endif
17 |
--------------------------------------------------------------------------------
/task/windows/runner/resources/app_icon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bradyt/taskw-dart/781bf539037698a6af279f962ebeb89fdf797ba4/task/windows/runner/resources/app_icon.ico
--------------------------------------------------------------------------------
/task/windows/runner/runner.exe.manifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PerMonitorV2
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/task/windows/runner/utils.cpp:
--------------------------------------------------------------------------------
1 | #include "utils.h"
2 |
3 | #include
4 | #include
5 | #include
6 | #include
7 |
8 | #include
9 |
10 | void CreateAndAttachConsole() {
11 | if (::AllocConsole()) {
12 | FILE *unused;
13 | if (freopen_s(&unused, "CONOUT$", "w", stdout)) {
14 | _dup2(_fileno(stdout), 1);
15 | }
16 | if (freopen_s(&unused, "CONOUT$", "w", stderr)) {
17 | _dup2(_fileno(stdout), 2);
18 | }
19 | std::ios::sync_with_stdio();
20 | FlutterDesktopResyncOutputStreams();
21 | }
22 | }
23 |
24 | std::vector GetCommandLineArguments() {
25 | // Convert the UTF-16 command line arguments to UTF-8 for the Engine to use.
26 | int argc;
27 | wchar_t** argv = ::CommandLineToArgvW(::GetCommandLineW(), &argc);
28 | if (argv == nullptr) {
29 | return std::vector();
30 | }
31 |
32 | std::vector command_line_arguments;
33 |
34 | // Skip the first argument as it's the binary name.
35 | for (int i = 1; i < argc; i++) {
36 | command_line_arguments.push_back(Utf8FromUtf16(argv[i]));
37 | }
38 |
39 | ::LocalFree(argv);
40 |
41 | return command_line_arguments;
42 | }
43 |
44 | std::string Utf8FromUtf16(const wchar_t* utf16_string) {
45 | if (utf16_string == nullptr) {
46 | return std::string();
47 | }
48 | int target_length = ::WideCharToMultiByte(
49 | CP_UTF8, WC_ERR_INVALID_CHARS, utf16_string,
50 | -1, nullptr, 0, nullptr, nullptr);
51 | if (target_length == 0) {
52 | return std::string();
53 | }
54 | std::string utf8_string;
55 | utf8_string.resize(target_length);
56 | int converted_length = ::WideCharToMultiByte(
57 | CP_UTF8, WC_ERR_INVALID_CHARS, utf16_string,
58 | -1, utf8_string.data(),
59 | target_length, nullptr, nullptr);
60 | if (converted_length == 0) {
61 | return std::string();
62 | }
63 | return utf8_string;
64 | }
65 |
--------------------------------------------------------------------------------
/task/windows/runner/utils.h:
--------------------------------------------------------------------------------
1 | #ifndef RUNNER_UTILS_H_
2 | #define RUNNER_UTILS_H_
3 |
4 | #include
5 | #include
6 |
7 | // Creates a console for the process, and redirects stdout and stderr to
8 | // it for both the runner and the Flutter library.
9 | void CreateAndAttachConsole();
10 |
11 | // Takes a null-terminated wchar_t* encoded in UTF-16 and returns a std::string
12 | // encoded in UTF-8. Returns an empty std::string on failure.
13 | std::string Utf8FromUtf16(const wchar_t* utf16_string);
14 |
15 | // Gets the command line arguments passed in as a std::vector,
16 | // encoded in UTF-8. Returns an empty std::vector on failure.
17 | std::vector GetCommandLineArguments();
18 |
19 | #endif // RUNNER_UTILS_H_
20 |
--------------------------------------------------------------------------------
/taskc/.gitignore:
--------------------------------------------------------------------------------
1 | # Files and directories created by pub
2 | .dart_tool/
3 | .packages
4 |
5 | # Omit commiting pubspec.lock for library packages:
6 | # https://dart.dev/guides/libraries/private-files#pubspeclock
7 | pubspec.lock
8 |
9 | # Conventional directory for build outputs
10 | build/
11 |
12 | # Directory created by dartdoc
13 | doc/api/
14 |
15 | /coverage/
16 | /test/.test_coverage.dart
17 |
--------------------------------------------------------------------------------
/taskc/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # 0.0.0-alpha.0
2 |
3 | - Merge libraries taskd-client and taskd-setup into the taskw-dart
4 | repo.
5 |
--------------------------------------------------------------------------------
/taskc/Makefile:
--------------------------------------------------------------------------------
1 | .PHONY: test coverage
2 |
3 | analyze: pubspec.lock
4 | find . -name '*.dart' -o -name '*.yaml' | entr -cs 'dart analyze'
5 |
6 | test: pubspec.lock
7 | find . -name '*.dart' -o -name '*.yaml' | entr -cs 'dart test'
8 |
9 | pubspec.lock:
10 | dart pub get
11 |
12 | watch:
13 | dart run build_runner watch
14 |
15 | coverage:
16 | find . -name '*.dart' -o -name '*.yaml' | entr -cs 'dart run test_coverage --no-badge --min-coverage=99; genhtml -o coverage coverage/lcov.info'
17 |
18 | install:
19 | dart pub global activate -spath .
20 |
21 | docs: pubspec.lock
22 | find . -name '*.dart' | entr -cs 'dartdoc'
23 |
--------------------------------------------------------------------------------
/taskc/bin/taskd_setup.dart:
--------------------------------------------------------------------------------
1 | // ignore_for_file: avoid_print
2 |
3 | import 'package:args/args.dart';
4 |
5 | import 'package:taskc/taskd.dart';
6 |
7 | Future main(List args) async {
8 | var parser = ArgParser()
9 | ..addFlag('help',
10 | abbr: 'h', negatable: false, help: 'Displays this help information.')
11 | ..addOption('binding-address', abbr: 'b', defaultsTo: 'localhost')
12 | ..addOption('client-address', abbr: 'a', defaultsTo: 'localhost')
13 | ..addOption('TASKDDATA', abbr: 't')
14 | ..addOption('HOME', abbr: 'H');
15 |
16 | var results = parser.parse(args);
17 |
18 | if (results['help']) {
19 | print(parser.usage);
20 | } else {
21 | print('running setup script...');
22 |
23 | var taskd = Taskd(results['TASKDDATA']);
24 | await taskd.initialize();
25 | await taskd.setAddressAndPort(
26 | address: results['binding-address'],
27 | port: 53589,
28 | );
29 | var userKey = await taskd.addUser('First Last');
30 | await taskd.initializeClient(
31 | home: results['HOME'],
32 | address: results['client-address'],
33 | port: 53589,
34 | userKey: userKey,
35 | fileName: 'first_last',
36 | fullName: 'First Last',
37 | );
38 |
39 | print('done');
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/taskc/lib/fingerprint.dart:
--------------------------------------------------------------------------------
1 | /// This library attempts to calculate fingerprint for PEM certificate files.
2 |
3 | library fingerprint;
4 |
5 | export 'src/fingerprint/fingerprint.dart';
6 |
--------------------------------------------------------------------------------
/taskc/lib/home.dart:
--------------------------------------------------------------------------------
1 | /// This library acts as a small wrapper around the [taskc] library, to
2 | /// implement a notion of storage of tasks consistent with a method to
3 | /// synchronize tasks with a
4 | /// [Taskserver](https://github.com/GothenburgBitFactory/taskserver).
5 |
6 | library home;
7 |
8 | export 'src/home/home.dart';
9 |
--------------------------------------------------------------------------------
/taskc/lib/home_impl.dart:
--------------------------------------------------------------------------------
1 | /// Implementation details for [home] library.
2 |
3 | library home_impl;
4 |
5 | export 'src/home/impl/data.dart';
6 | export 'src/home/impl/gui_pem_file_paths.dart';
7 | export 'src/home/impl/taskd_client.dart';
8 | export 'src/home/impl/taskrc.dart';
9 |
--------------------------------------------------------------------------------
/taskc/lib/src/fingerprint/fingerprint.dart:
--------------------------------------------------------------------------------
1 | import 'package:crypto/crypto.dart';
2 | import 'package:pem/pem.dart';
3 |
4 | String fingerprint(String pemContents) {
5 | var firstCertificateBlock = decodePemBlocks(
6 | PemLabel.certificate,
7 | pemContents,
8 | ).first;
9 |
10 | return '${sha1.convert(firstCertificateBlock)}';
11 | }
12 |
--------------------------------------------------------------------------------
/taskc/lib/src/home/home.dart:
--------------------------------------------------------------------------------
1 | import 'dart:io';
2 |
3 | import 'package:taskc/home_impl.dart';
4 | import 'package:taskc/storage.dart';
5 | import 'package:taskc/taskrc.dart' as rc;
6 |
7 | class Home {
8 | const Home({
9 | required this.home,
10 | this.pemFilePaths,
11 | this.onBadCertificate,
12 | });
13 |
14 | final Directory home;
15 | final rc.PemFilePaths? pemFilePaths;
16 | final bool Function(X509Certificate)? onBadCertificate;
17 |
18 | Data get _data => Data(home);
19 | File get _taskrc => File('${home.path}/.taskrc');
20 |
21 | TaskdClient _taskdClient(client) {
22 | return TaskdClient(
23 | taskrc: (!_taskrc.existsSync())
24 | ? null
25 | : rc.Taskrc.fromString(_taskrc.readAsStringSync()),
26 | client: client,
27 | pemFilePaths: pemFilePaths,
28 | throwOnBadCertificate: (badCertificate) => throw BadCertificateException(
29 | home: home,
30 | certificate: badCertificate,
31 | ),
32 | );
33 | }
34 |
35 | Future