00f05f3cf6
prepare release 1.1.0
2020-05-02 18:03:53 +02:00
0d26b15afc
use colon instead of dot for hour/minute separation
2020-05-01 15:18:54 +02:00
ee60444932
expose ticks through REST API ( #7 )
...
Tickers are already exposed for JS integration in Gutenberg. Now ticks
themselves are also available for use with external systems.
2020-04-28 18:21:16 +02:00
cb8cbbf761
use time() instead of current_datetime() for WP 4.x compatibility ( #6 )
...
The function current_datetime() has been introduced in WP 5.3, but
the Plugin should maintain compatibility with 4.x for now.
2020-04-28 17:36:57 +02:00
4463fa7f1f
raise required PHP version to 5.6
2020-04-09 16:38:44 +02:00
ca5c81356b
respect "enable_css" option and do not enqueue stylesheet if disabled
2020-04-09 12:27:02 +02:00
f0bf1c3542
enqueue styles and scripts if only Gutenberg block is present
...
Resources have only been added if shortcode or widget hooks have been
triggered before. If we switch to native Gutenberg block, none of the
checks is true and no scripts are available.
2020-04-09 12:27:02 +02:00
df1de841e8
expose ticker taxonomy to API and add select element to Gutenberg block
...
This is more handy than entering the ticker slug manually.
2019-11-24 18:09:21 +01:00
fc4783d07a
bump version to 1.1.0-alpha and update dev-dependencies
2019-11-24 18:09:21 +01:00
9ddcc41c6b
implement Gutenberg block to add liveticker without legacy shortcode
...
* implement react-based JS block
* refactor shortcode and widget to use the same syntax and classes
2019-11-24 18:09:21 +01:00
e201d7c02f
use GMT timestamp for dynamic update
...
Use real unix timestamps and do not rely on the system timezone. We now
query the "post_date_gmt" field and use timestamps without zone bias.
2019-11-24 17:53:08 +01:00
18c55f6c4c
remove underscore prefix from $_options field
2019-08-27 19:12:00 +02:00
0d23a27acc
Fixed settings validation for boolean flags
2018-11-02 10:07:06 +01:00
3eecaaf8fe
Changed time() to current_time( ) all to fix timezone issues
...
The UTC offset was omitted by the WP date query, so the UTC timestamp
returned by time() was compared to a local timestamp.
2018-11-02 09:48:11 +01:00
65eafd2524
Renamed Plugin and changed slug to stklcode-liveticker
...
Due to naming conflicts with the original wp-liveticker plugin this one
is now renamed to a unique identifier.
2018-11-02 09:01:29 +01:00
9d64f9f415
Add uninstall hook to remove ticks and tickers
2018-11-01 15:39:58 +01:00
811bd94fa5
Removed last TODO flag and bumped version to 1.0.0
2018-11-01 14:51:02 +01:00
176e6897df
Cleaned up settigs and added label attributes
2018-11-01 14:36:55 +01:00
d49336dee5
Minor code style adjustments
2018-11-01 14:26:16 +01:00
bd92338d85
Removed no longer required jQuery dependency
2018-10-17 20:55:21 +02:00
6f1cac5404
Renamed AJAX variable, JS code style, added ESLint config
2018-10-17 20:42:10 +02:00
358602bf48
Minification of JS/CSS with Composer for compatibility
2018-06-14 17:56:03 +02:00
2d5dde9664
Enabled AJAX update for widgets
2017-12-10 21:15:55 +01:00
7b0a512c2b
Feed re-enabled
...
Removed custom feed generation in favor of WPs integrated post_type/taxonomy feed functionality.
2017-12-10 15:20:11 +01:00
f10e9c63e0
AJAX nonce verification enabled
2017-12-09 16:05:09 +01:00
de347e1f81
Only send new Ticks on AJAX update
...
THis reduces the overhead of re-sending huge amounts of HTML code to the frontend without any new data to display.
2017-12-09 11:48:23 +01:00
5158b8fdb7
Code style corrections
2017-12-09 11:19:53 +01:00
c42dd6c8d2
Ticker HTML and CSS classes harmonized
2017-12-09 10:31:16 +01:00
8100d07eed
Implemented AJAX skeleton with configurable poll interval
2017-12-07 21:15:40 +01:00
32e6db17a0
Settings page restored, AJAX hook bundled in main class
2017-12-07 18:22:21 +01:00
15f02cbe83
Gulp task refactored for in-place CSS minification
2017-12-05 19:39:17 +01:00
acb896e2f3
Settings pages moved into separate view files
2017-12-05 19:29:16 +01:00
01f8b1f29f
Stylesheet with lazy loading included in main class
2017-11-12 20:32:06 +01:00
e164efcd3a
Settings page moved into admin class
2017-11-12 14:15:20 +01:00
c5d945fba9
Overhauled Widget class
2017-11-12 11:33:23 +01:00
f831027aec
Begin transformation into classes
...
Grouped single PHP files with various funcitons into classes for basic, admin and system scope.
2017-11-11 21:44:08 +01:00
85ca371fa5
CSS moved to styles; Language removed
2017-11-11 15:28:58 +01:00
014e6ec918
UTF8 encoding fix
2017-07-18 11:01:06 +02:00
79ded75db4
CSS loading moved from init to enqueue_scripts
...
Stylesheet compressed, obsolete scripts removed
2017-07-18 11:00:52 +02:00
b39a577faf
CSS only loaded when shortcode present.
2017-07-18 11:00:43 +02:00
2692f2bd0c
Initial Git import
2017-07-18 09:20:44 +02:00