162 Commits

Author SHA1 Message Date
5d9473eb3f
update test bootstrap script
All checks were successful
continuous-integration/drone/push Build is passing
2024-08-08 16:55:48 +02:00
8b0f89a847
deps: update dev-dependencies
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-18 09:40:34 +02:00
ad8293fa3a
add screen reader text and label to checkboxes in settings
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-24 14:43:12 +01:00
a827536da7
extract settings handling into separate class 2024-03-24 14:17:01 +01:00
d650ae08ee
remove unused parameter from update_options() 2024-03-24 14:17:27 +01:00
14ec07e423
remove some default arguments 2024-03-24 13:50:46 +01:00
e738da4f8f
remove unused method Admin::settings_uninstall_section() 2024-03-24 13:50:24 +01:00
20401382b7
use null coalescing operator where applicable
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-24 13:28:47 +01:00
b1d42dadd8
remove redundante test for has_block as we require WP 5.0 now 2024-03-24 13:27:51 +01:00
fc957fd3b4
test: migrate to Yoast WP test utils and work around incompatibilities 2024-03-24 13:24:37 +01:00
5f1e1a7879
add type hints to PHP methods 2024-03-24 11:17:17 +01:00
ad245ebf43
raise requirements to PHP 7.2 and WordPress 5.0 2024-03-24 11:09:06 +01:00
9d1934a6d7
prepare release of v1.2.2
All checks were successful
continuous-integration/drone/push Build is passing
v1.2.2
2024-03-02 11:14:15 +01:00
167433a80b
ci: update actions, use Node v20, add PHP 8.3 2024-03-02 11:03:35 +01:00
8cb71df6fe
deps: update dev-dependencies 2024-03-02 11:02:08 +01:00
b9491a4260
ci: update Drone CI pipeline
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-09 18:25:01 +01:00
deedcf4a87
update deprecated get_terms() syntax
Some checks reported errors
continuous-integration/drone/push Build was killed
The old-style syntax was deprecated in WP 4.5. We already require 4.7,
so there is no need to keep the deprecated parameter style.
2023-11-09 18:24:33 +01:00
3f8c9acdc0
add more output sanitization 2023-11-09 18:24:24 +01:00
61ba951f0b
update code style to WPCS v3.0 2023-11-09 18:19:42 +01:00
a1a3117141
ci: test against WP 6.4
Some checks failed
continuous-integration/drone/push Build is failing
2023-11-09 18:11:03 +01:00
4311494e4a
declare compatibility with WP 6.2
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-01 18:21:01 +02:00
30ad3e9408
dev-dependency updates 2023-05-01 18:19:08 +02:00
2262eba822
declare compatibility with WP 6.1
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-03 17:36:11 +01:00
1f32adbd72
test: use stub method set_up() in unit tests
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-03 17:34:40 +01:00
8c9f98e80b
update dev-dependencies
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-03 17:12:42 +01:00
01cb47315a
declare compatibility with WP 6.0
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-28 19:00:01 +02:00
5a1320c365
add testbed for WP 5.9 and PHP 8.0, update actions
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-14 18:26:01 +02:00
aa1a49c575
bump version to 1.2.1
All checks were successful
continuous-integration/drone/push Build is passing
v1.2.1
2022-02-01 18:29:29 +01:00
Mahammed Zishan Khan
b7c236376b
fix: cast string to Number when setting attribute (#21)
Co-authored-by: zishan <zishan.khan@roularta.be>
2022-02-01 18:23:37 +01:00
e3a976fe7a
declare compatibility with WordPress 5.9
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-26 18:05:23 +01:00
3679dce1e2
ci: update slug for automatic deployment
All checks were successful
continuous-integration/drone/push Build is passing
v1.2.0
2022-01-23 17:42:42 +01:00
39689dcbcb
ci: use PHP 7.4 for deployment preparation
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-23 17:34:14 +01:00
a2b001a581
bump version to 1.2.0
Some checks failed
continuous-integration/drone/push Build is failing
2022-01-23 17:28:47 +01:00
e007f53e8c
make script evaluation optional
Some checks failed
continuous-integration/drone/push Build is failing
2022-01-23 17:07:37 +01:00
6ac1f85739
add support for embedded script execution in tick content (#14) (#20)
Evaluate embedded SCRIPT-tags in tick content or move them to the
document head for referenced resources.
2022-01-23 16:50:58 +01:00
f50dfe92c7 add optional shortcode support for tick content (#18) (#19)
Some checks failed
continuous-integration/drone/push Build is failing
If the new option is enabled, tick content will be piped through
do_shortcode() to parse nested shortcode content. Disabled by default
as it is not necessary in most cases.
2022-01-23 12:41:29 +01:00
109efd341b
ci: run tests for pull requests, too 2022-01-23 12:37:27 +01:00
fa936d3f54 fix date rendering in API callback
Some checks failed
continuous-integration/drone/push Build is failing
THe callback function gets a prepared data array as input while
get_the_modified_date expects an ID or WP_Post object. We now use
DateTime::parse directly instead of taking another round loading the
post data.
2022-01-22 19:53:16 +01:00
e607ae270f update dev environment
All checks were successful
continuous-integration/drone/push Build is passing
* remove remaining Robo calls from Composer scripts
* update WP test bootstrap
* update dev dependencies
2021-10-18 20:00:49 +02:00
caf471d3bf ci: add WP 5.8 to automated test roster
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-18 19:38:10 +02:00
2cc277638f re-enable default pagination in API if "limit" is not specified
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-22 19:17:17 +02:00
2a228fc39c remove package locks and Robo configuration
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-22 18:27:18 +02:00
2cb4b62df3 start unit test implementation 2021-05-22 18:15:07 +02:00
b054dfaba2 fix typehint for lastPoll field in JavaScript
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-19 19:31:44 +02:00
718dc18c35 use GitHub actions for CI and automate Sonarcloud analysis 2021-05-18 20:22:20 +02:00
c2c7846beb dev-dependency updates 2021-05-18 20:17:32 +02:00
d88b28343b use "stable" branch instead of "master" 2021-05-18 20:01:40 +02:00
944c2dd6c1 rework update schedule, update existing ticks, use insertBefore()
All checks were successful
continuous-integration/drone/push Build is passing
Re-triggering the update is now done globally again with lock on
ticker level to avoid concurrent updates.

If a tick with a known ID is received, the markup is now updated, so no
duplicates should appear.

The prepend() function used to update the markup is replaced by
insertBefore() for Internet Explorer compatibility.
2021-04-12 18:09:03 +02:00
b2058dfe96 add unique IDs to ticker containers and ticks in HTML markup
Ticker containers get a consecutive number unique within a markup.
Ticks will get an ID based on this number and the post ID.
2021-04-12 18:09:03 +02:00
8e22b37b46 raise minimum supported WP version to 4.7 2021-04-12 18:09:03 +02:00