orgwarrior-web 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- orgwarrior_web-0.1.0/.github/workflows/ci.yml +31 -0
- orgwarrior_web-0.1.0/.github/workflows/publish.yml +27 -0
- orgwarrior_web-0.1.0/.gitignore +5 -0
- orgwarrior_web-0.1.0/LICENSE +674 -0
- orgwarrior_web-0.1.0/PKG-INFO +365 -0
- orgwarrior_web-0.1.0/README.md +346 -0
- orgwarrior_web-0.1.0/docs/calendar.md +47 -0
- orgwarrior_web-0.1.0/docs/demo/calendar.org +12 -0
- orgwarrior_web-0.1.0/docs/demo/inbox.org +12 -0
- orgwarrior_web-0.1.0/docs/demo/init.el +49 -0
- orgwarrior_web-0.1.0/docs/demo/projects.org +28 -0
- orgwarrior_web-0.1.0/docs/demo/tasks.org +73 -0
- orgwarrior_web-0.1.0/docs/keys.md +163 -0
- orgwarrior_web-0.1.0/docs/phone.md +78 -0
- orgwarrior_web-0.1.0/docs/screenshots/desktop-keys.png +0 -0
- orgwarrior_web-0.1.0/docs/screenshots/desktop.png +0 -0
- orgwarrior_web-0.1.0/docs/screenshots/phone-add.png +0 -0
- orgwarrior_web-0.1.0/docs/screenshots/phone-task.png +0 -0
- orgwarrior_web-0.1.0/docs/screenshots/phone-today.png +0 -0
- orgwarrior_web-0.1.0/docs/screenshots/phones.png +0 -0
- orgwarrior_web-0.1.0/pyproject.toml +47 -0
- orgwarrior_web-0.1.0/scripts/dev-web +21 -0
- orgwarrior_web-0.1.0/scripts/get-browser +45 -0
- orgwarrior_web-0.1.0/scripts/screenshots +89 -0
- orgwarrior_web-0.1.0/scripts/screenshots-cli.py +51 -0
- orgwarrior_web-0.1.0/scripts/screenshots.js +150 -0
- orgwarrior_web-0.1.0/src/orgwarrior_web/__init__.py +3 -0
- orgwarrior_web-0.1.0/src/orgwarrior_web/auth.py +130 -0
- orgwarrior_web-0.1.0/src/orgwarrior_web/feed.py +140 -0
- orgwarrior_web-0.1.0/src/orgwarrior_web/jsonfile.py +37 -0
- orgwarrior_web-0.1.0/src/orgwarrior_web/keymap.py +321 -0
- orgwarrior_web-0.1.0/src/orgwarrior_web/sanitize.py +66 -0
- orgwarrior_web-0.1.0/src/orgwarrior_web/server.py +676 -0
- orgwarrior_web-0.1.0/src/orgwarrior_web/static/actions.js +867 -0
- orgwarrior_web-0.1.0/src/orgwarrior_web/static/app.js +856 -0
- orgwarrior_web-0.1.0/src/orgwarrior_web/static/apple-touch-icon.png +0 -0
- orgwarrior_web-0.1.0/src/orgwarrior_web/static/draft.js +223 -0
- orgwarrior_web-0.1.0/src/orgwarrior_web/static/forms.js +597 -0
- orgwarrior_web-0.1.0/src/orgwarrior_web/static/icon-192.png +0 -0
- orgwarrior_web-0.1.0/src/orgwarrior_web/static/icon-512.png +0 -0
- orgwarrior_web-0.1.0/src/orgwarrior_web/static/icon-maskable-512.png +0 -0
- orgwarrior_web-0.1.0/src/orgwarrior_web/static/icon-maskable.svg +1 -0
- orgwarrior_web-0.1.0/src/orgwarrior_web/static/icon-monochrome-512.png +0 -0
- orgwarrior_web-0.1.0/src/orgwarrior_web/static/icon-monochrome.svg +1 -0
- orgwarrior_web-0.1.0/src/orgwarrior_web/static/icon.svg +1 -0
- orgwarrior_web-0.1.0/src/orgwarrior_web/static/index.html +79 -0
- orgwarrior_web-0.1.0/src/orgwarrior_web/static/keys.js +745 -0
- orgwarrior_web-0.1.0/src/orgwarrior_web/static/manifest.webmanifest +20 -0
- orgwarrior_web-0.1.0/src/orgwarrior_web/static/prefs.js +100 -0
- orgwarrior_web-0.1.0/src/orgwarrior_web/static/sheets.js +519 -0
- orgwarrior_web-0.1.0/src/orgwarrior_web/static/style.css +713 -0
- orgwarrior_web-0.1.0/src/orgwarrior_web/static/sw.js +7 -0
- orgwarrior_web-0.1.0/src/orgwarrior_web/static/taskpage.js +322 -0
- orgwarrior_web-0.1.0/tests/browser/capture.js +96 -0
- orgwarrior_web-0.1.0/tests/browser/clock.js +95 -0
- orgwarrior_web-0.1.0/tests/browser/history.js +97 -0
- orgwarrior_web-0.1.0/tests/browser/keyboard.js +651 -0
- orgwarrior_web-0.1.0/tests/browser/keymap.js +121 -0
- orgwarrior_web-0.1.0/tests/browser/layout.js +155 -0
- orgwarrior_web-0.1.0/tests/browser/lib.js +150 -0
- orgwarrior_web-0.1.0/tests/browser/outline.js +121 -0
- orgwarrior_web-0.1.0/tests/browser/props.js +86 -0
- orgwarrior_web-0.1.0/tests/browser/render.js +238 -0
- orgwarrior_web-0.1.0/tests/browser/repeat.js +85 -0
- orgwarrior_web-0.1.0/tests/browser/report.js +61 -0
- orgwarrior_web-0.1.0/tests/browser/structure.js +170 -0
- orgwarrior_web-0.1.0/tests/browser/task-page.js +204 -0
- orgwarrior_web-0.1.0/tests/test_browser.py +77 -0
- orgwarrior_web-0.1.0/tests/test_feed.py +110 -0
- orgwarrior_web-0.1.0/tests/test_keymap.py +108 -0
- orgwarrior_web-0.1.0/tests/test_sanitize.py +26 -0
- orgwarrior_web-0.1.0/tests/test_server.py +666 -0
- orgwarrior_web-0.1.0/uv.lock +93 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# The server and feed tests on the oldest Emacs supported and the newest;
|
|
2
|
+
# the browser tests skip themselves without scripts/get-browser's Chrome.
|
|
3
|
+
# orgwarrior is checked out beside this one, as for development.
|
|
4
|
+
name: tests
|
|
5
|
+
|
|
6
|
+
on:
|
|
7
|
+
push:
|
|
8
|
+
pull_request:
|
|
9
|
+
workflow_dispatch:
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
test:
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
strategy:
|
|
15
|
+
fail-fast: false
|
|
16
|
+
matrix:
|
|
17
|
+
emacs: ["29.4", "31.1"]
|
|
18
|
+
steps:
|
|
19
|
+
- uses: actions/checkout@v4
|
|
20
|
+
with:
|
|
21
|
+
path: orgwarrior-web
|
|
22
|
+
- uses: actions/checkout@v4
|
|
23
|
+
with:
|
|
24
|
+
repository: aleksozolins/orgwarrior
|
|
25
|
+
path: orgwarrior
|
|
26
|
+
- uses: purcell/setup-emacs@v8.0
|
|
27
|
+
with:
|
|
28
|
+
version: ${{ matrix.emacs }}
|
|
29
|
+
- uses: astral-sh/setup-uv@v6
|
|
30
|
+
- run: uv run pytest -q
|
|
31
|
+
working-directory: orgwarrior-web
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# On a v* tag: build and publish to PyPI through trusted publishing (PyPI
|
|
2
|
+
# trusts this workflow in the pypi environment; no token is stored).
|
|
3
|
+
name: publish
|
|
4
|
+
|
|
5
|
+
on:
|
|
6
|
+
push:
|
|
7
|
+
tags: ["v*"]
|
|
8
|
+
# By hand on the tag too (gh workflow run publish.yml --ref v0.1.0), should
|
|
9
|
+
# its push not start a run.
|
|
10
|
+
workflow_dispatch:
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
publish:
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
environment: pypi
|
|
16
|
+
permissions:
|
|
17
|
+
id-token: write
|
|
18
|
+
steps:
|
|
19
|
+
- uses: actions/checkout@v4
|
|
20
|
+
- uses: astral-sh/setup-uv@v6
|
|
21
|
+
# A version can't be uploaded twice: the tag must be the one in pyproject.toml.
|
|
22
|
+
- name: Tag matches the version
|
|
23
|
+
run: |
|
|
24
|
+
version=$(python3 -c 'import tomllib; print(tomllib.load(open("pyproject.toml", "rb"))["project"]["version"])')
|
|
25
|
+
test "$GITHUB_REF_NAME" = "v$version" || { echo "tag $GITHUB_REF_NAME, version $version"; exit 1; }
|
|
26
|
+
- run: uv build
|
|
27
|
+
- uses: pypa/gh-action-pypi-publish@release/v1
|