Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
ac46bf2
setup karma and rollup
lenadax Aug 16, 2021
735a884
Basic ES6 refactoring
rnixx Oct 2, 2021
17cbe2e
Include bundles. minor fices
rnixx Oct 2, 2021
f378acb
rollup and karma conf
lenadax Jan 21, 2022
f3a51a5
housekeeping
lenadax Mar 14, 2022
537d270
update gitignore
lenadax Mar 15, 2022
c45a72f
update autoWatch config
lenadax Mar 17, 2022
252073b
rudimentary test setup
lenadax May 2, 2022
7626b2a
switch to scss. use global vars
lenadax May 4, 2022
cb1dc77
housekeeping
lenadax May 5, 2022
cf7d327
Merge pull request #3 from conestack/lenadax/scss
rnixx May 6, 2022
2cc9a43
remove css sourcemaps
lenadax May 6, 2022
445ced1
add github tests
lenadax May 6, 2022
4f56acd
add js action
lenadax May 10, 2022
9617f1d
Merge pull request #4 from conestack/js_action
rnixx May 11, 2022
998c510
ensure correct location of node_modules
lenadax May 12, 2022
4c29e9f
"Restore bdajax compat"
rnixx May 20, 2022
e5374fa
"Simplify IIFE bundle outro"
rnixx May 20, 2022
125ce41
"Karma coverage validation script formatting"
rnixx May 20, 2022
b9892d2
"Consistent naming when attaching yafowil widget instance to DOM elem"
rnixx May 20, 2022
0cb8e83
"Register resources with webresource"
rnixx May 20, 2022
8b24e3f
Update bundle
rnixx May 23, 2022
5599b5b
"Update webresource registration"
rnixx May 25, 2022
11e51e2
"Add path to webresource groups"
rnixx May 25, 2022
5312e41
"Adopt webresource registrations"
rnixx May 28, 2022
f74e8f6
"Test housekeeping"
rnixx May 29, 2022
be6a850
"Install webresource from repo for tests"
rnixx May 29, 2022
176498c
"Add resource tests"
rnixx May 30, 2022
84ca119
"dedicated widget import in tests"
rnixx May 30, 2022
955d217
Resource group name is widget name.
rnixx May 30, 2022
36256ad
Move i18n script to scripts folder
rnixx May 30, 2022
ca6959d
add yafowil_array subscribers
lenadax Dec 22, 2022
175809f
Use yafowil_array.inside_template API to check whether widget gets in…
lenadax Mar 9, 2023
02a7677
compiled js
lenadax Mar 9, 2023
834a582
Use yafowil_array.inside_template in all relevant places
rnixx Mar 9, 2023
010f63b
Merge pull request #5 from conestack/array_hooks
rnixx Mar 9, 2023
0283319
Changelog
rnixx May 15, 2023
ab0d4e6
Preparing release 2.0a1
rnixx May 15, 2023
726ebf8
Back to development: 2.0a2
rnixx May 15, 2023
f4e79c7
crontab bs5 variant WIP
lenadax Oct 15, 2024
649be35
mxmake setup
lenadax Oct 29, 2024
4126591
mxmake setup
lenadax Oct 29, 2024
97d2e12
cleanup
lenadax Nov 4, 2024
f3a9581
more cleanup
lenadax Nov 4, 2024
93e1108
documentation
lenadax Nov 5, 2024
6745524
some docs formatting - remove button active state if pressed twice
lenadax Nov 7, 2024
2acb945
fix corepack issue in CI
lenadax Feb 24, 2025
4e08130
update readme
lenadax Mar 6, 2025
35e02c5
Add lingua to makefile. update translations
lenadax Mar 21, 2025
320a718
add display mode example to docs. Consider display_class attribute in…
lenadax Mar 24, 2025
1c2d1e0
Refactor package layout to modern Python packaging
rnixx Oct 21, 2025
e46e76b
Use hatchling instead of setuptools
rnixx Oct 21, 2025
5fa510e
add tool.hatch.build.targets.wheel sections
rnixx Oct 21, 2025
19bafe0
Remove MANIFEST.in and update to Python 3.10-3.14
rnixx Oct 22, 2025
454ef45
Add pytest configuration for namespace packages
rnixx Oct 22, 2025
6c6604f
Fix section spacing in pyproject.toml
rnixx Oct 22, 2025
5997cd1
show msg if no times selected. Change summary structure
lenadax Oct 23, 2025
221cf09
Merge pull request #6 from conestack/bs5
rnixx Oct 23, 2025
b5b47f3
Merge branch '2.0' into refactor-package-layout
rnixx Oct 23, 2025
0e00219
Update package versions.
rnixx Nov 3, 2025
a2dd70c
Remove __init__ file from tests folder
rnixx Nov 4, 2025
0050de5
pin versions in pyproject.toml
lenadax Nov 4, 2025
78b112d
include hatch-fancy-pypi-readme. update makefile, mx.ini and github a…
lenadax Nov 13, 2025
328a909
remove unnecessary files from build
lenadax Nov 25, 2025
d600a11
define fancy-pypi-readme fragments as regular array
lenadax Nov 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/test_js.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: JS tests

on: [push]

jobs:
test:
name: Test

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Corepack
run: |
npm install --global corepack@latest
corepack enable

- name: Install
run: |
corepack enable
make nodejs

- name: Run tests
run: make wtr
30 changes: 30 additions & 0 deletions .github/workflows/test_py.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Test yafowil.widget.cron

on: [push]

jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
python-version:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
- "3.14"

steps:
- uses: actions/checkout@v5

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Show Python version
run: python -c "import sys; print(sys.version)"

- name: Run tests an collect code coverage
run: make coverage
36 changes: 16 additions & 20 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
*~
*#*
*.egg-info
*.pyc
*.pyo
*.egg-info
/develop-eggs/
/parts/
/bin/
/eggs/
/downloads/
/var/
/dist/
/.coverage
/.mxmake/
/build
/constraints-mxdev.txt
/coverage/
/devsrc/
/include/
/lib/
/local/
/share/
/.installed.cfg
/.pydevproject
/.project
/.DS_Store
/.mr.developer.cfg
/dist/
/htmlcov/
/node_modules/
/package-lock.json
/pnpm-lock.yaml
/py2/
/py3/
/pypy3/
/requirements-mxdev.txt
/sources/
/venv/
41 changes: 38 additions & 3 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,45 @@
Changes
=======

1.3 (unreleased)
----------------
2.0.0 (unreleased)
------------------

- Update jQuery to version ``4.0.0-beta.2``.
[lenadax]

- Add new widget options and defaults for easier styling and customization:
``edit_container_class``
``options_container_class``
``options_header_class``
``edit_btn_class``
``editarea_class``
[lenadax]

- Use rollup for bundling scss. Use ``make rollup`` to compile js and scss.
[lenadax]

- Use ``webtestrunner`` instead of ``karma`` for js tests. Use ``make wtr`` to run tests.
[lenadax]

- Use ``pnpm`` as package manager.
[lenadax]

- Create Bootstrap5 widget version.
[lenadax]

- No changes yet.

2.0a1 (2023-05-15)
------------------

- Add ``webresource`` support.
[rnix]

- Extend JS by ``cron_on_array_add`` and ``register_array_subscribers``
functions to enable usage in ``yafowil.widget.array``.
[lenadax]

- Rewrite JavaScript using ES6.
[rnix]


1.2 (2020-05-30)
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ License
=======

Copyright (c) 2010-2021, BlueDynamics Alliance, Austria, Germany, Switzerland
Copyright (c) 2021, Yafowil Contributors
Copyright (c) 2021-2024, Yafowil Contributors
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
3 changes: 0 additions & 3 deletions MANIFEST.in

This file was deleted.

Loading
Loading