Commit graph

107 commits

Author SHA1 Message Date
jerremyng
53d4a8399f feat(#152): preview polling url
add error handling for preview

fix idx bug and add tests

fix light mode styling and remove transitions

add global styling class
2026-01-10 17:44:51 +01:00
Benjamin Nussbaum
043f683db7 feat(#138): add device model dropdown in preview model
Some checks are pending
tests / ci (push) Waiting to run
2026-01-09 22:37:40 +01:00
Benjamin Nussbaum
e3bb9ad4e2 feat: implement Plugin duplicate action 2026-01-06 20:23:14 +01:00
jerremyng
e176f2828e add checks for comma when importing recipies 2026-01-06 19:38:12 +01:00
jerremyng
164a990dfe add validation for config_modal
Commas are now not allowed in multistring inputs. config_modal was also refactored and extracted as its own file (code was getting messy)
some basic tests were also created
2026-01-06 19:38:12 +01:00
Benjamin Nussbaum
3def60ae3e feat: add Image Webhook plugin 2026-01-05 21:07:13 +01:00
jerremyng
a3f792944c change tests to test model/plugin logic directly
Some checks are pending
tests / ci (push) Waiting to run
Previously it was testing the rendered frontend, now it ensures no malicious xss is saved
2026-01-04 17:18:46 +01:00
jerremyng
46e792bc6d add HTML rendering on config modal with tests
Models/Plugin will now sanitize "description" and "help text" before loading. This allows HTML from these fields to be rendered safely.
Sanitization is done using Purify library for completeness (new dependency).

A test suite of simple xss attacks is also added.
2026-01-04 17:18:46 +01:00
Benjamin Nussbaum
265972ac24 fix(#130): server error on faulty recipes
Some checks are pending
tests / ci (push) Waiting to run
2025-12-30 14:09:31 +01:00
Benjamin Nussbaum
7f97114f6e feat: add trmnl catalog paginator 2025-12-30 10:52:54 +01:00
Benjamin Nussbaum
50853728bc refactor(#120): remove unnecessary js, improve cache handling 2025-12-30 10:22:46 +01:00
Benjamin Nussbaum
1298814521 fix(#136): mac address matching is case senstive 2025-12-29 23:07:21 +01:00
Benjamin Nussbaum
a5cb38421e fix(#131): invalidate cache when updating recipe markup 2025-12-29 22:24:32 +01:00
Benjamin Nussbaum
e6d66af298 fix(#135): use user configured timezone in Playlists 2025-12-29 22:16:29 +01:00
Benjamin Nussbaum
60f2a38169 feat(#129): add iCal response parser 2025-12-09 21:07:48 +01:00
Benjamin Nussbaum
b10bbca774 fix(#124): improve timezone support
Some checks failed
tests / ci (push) Has been cancelled
2025-12-02 16:54:57 +01:00
Benjamin Nussbaum
7c8e55588a fix(#123): normalizes non-named select config options for recipes 2025-12-02 14:58:27 +01:00
Benjamin Nussbaum
568bd69fea feat(#91): add multi color and palette support 2025-11-25 18:56:41 +01:00
Benjamin Nussbaum
7489d85592 fix: tests
Some checks are pending
tests / ci (push) Waiting to run
2025-11-14 19:42:56 +01:00
Benjamin Nussbaum
346f04a7af test: add coverage for ext renderer 2025-11-14 19:42:56 +01:00
Benjamin Nussbaum
a8f3232ccc feat: add TRMNL recipe catalog 2025-11-14 19:42:56 +01:00
kwlo
10b53c3772 Wrapping text in json object with 'data' as key
Some checks failed
tests / ci (push) Has been cancelled
2025-11-04 09:08:25 +01:00
kwlo
52dfe92054 Allow plain text response for plugin data polling 2025-11-04 09:08:25 +01:00
Benjamin Nussbaum
4de32e9d47 feat: add xml support
Some checks failed
tests / ci (push) Has been cancelled
2025-10-23 20:12:41 +02:00
Benjamin Nussbaum
583d8b2440 feat: add support for configuration field multi_string 2025-10-10 16:35:10 +02:00
Benjamin Nussbaum
8aea83703c chore: format
Some checks are pending
tests / ci (push) Waiting to run
2025-10-06 23:48:43 +02:00
Benjamin Nussbaum
c1786dfb6d feat: add Liquid filter ordinalize 2025-10-06 22:33:13 +02:00
Benjamin Nussbaum
91e222f7a6 chore: rector
Some checks failed
tests / ci (push) Has been cancelled
2025-10-02 22:29:46 +02:00
Benjamin Nussbaum
e812f56c11 test: use faker for GenerateDefaultImagesTest, TransformDefaultImagesTest
Some checks are pending
tests / ci (push) Waiting to run
2025-10-01 22:27:23 +02:00
Benjamin Nussbaum
50318b8b9d test: mock firmware endpoint 2025-10-01 22:10:36 +02:00
Benjamin Nussbaum
93dacb0baf feat: add Liquid filters where_exp and map_to_i 2025-10-01 21:57:11 +02:00
Benjamin Nussbaum
3e5ba47a12 fix(#71): device specific sleep and setup images
Some checks failed
tests / ci (push) Has been cancelled
2025-09-26 20:07:34 +02:00
Benjamin Nussbaum
6ae3e023d4 fix: skip view wrapper when importing blade recipes
Some checks are pending
tests / ci (push) Waiting to run
2025-09-25 16:39:56 +02:00
Benjamin Nussbaum
b4b6286172 refactor: apply rector
Some checks are pending
tests / ci (push) Waiting to run
2025-09-24 20:35:48 +02:00
Benjamin Nussbaum
a1a57014b6 test: use TrmnlPipeline::fake() to speed up test suite 2025-09-24 19:24:55 +02:00
Benjamin Nussbaum
42b515e322 test: improve coverage
Some checks are pending
tests / ci (push) Waiting to run
2025-09-24 09:05:22 +02:00
Benjamin Nussbaum
b3b251bae2 ci: fix
Some checks are pending
tests / ci (push) Waiting to run
2025-09-22 09:49:28 +02:00
Benjamin Nussbaum
0c5041a8ca feat(catalog): add support recipes monorepos 2025-09-22 08:41:03 +02:00
Benjamin Nussbaum
29d1838690 refactor: image render pipeline 2025-09-18 20:25:19 +02:00
Benjamin Nussbaum
88e10101b8 fix: pint 2025-09-18 10:48:20 +02:00
Benjamin Nussbaum
770b511290 feat: check recipe compatibility and min_version
Some checks failed
tests / ci (push) Has been cancelled
2025-09-02 17:08:26 +02:00
Benjamin Nussbaum
40ceba267a feat: allow to url_encode array in polling url 2025-09-02 15:08:37 +02:00
Benjamin Nussbaum
6d7968a7b0 feat: initial implementation of recipe catalog
Some checks are pending
tests / ci (push) Waiting to run
2025-09-01 23:56:42 +02:00
Benjamin Nussbaum
7434911275 chore: update dependencies 2025-09-01 19:16:57 +02:00
Benjamin Nussbaum
bcbb1be1da feat: allow liquid filters in for control flow statement
Some checks failed
tests / ci (push) Has been cancelled
2025-08-28 19:21:23 +02:00
Benjamin Nussbaum
f777e850b1 chore: pint
Some checks are pending
tests / ci (push) Waiting to run
2025-08-27 23:03:07 +02:00
Benjamin Nussbaum
14d0fbfa7e feat(test): test_quotes_template_with_modulo_filter 2025-08-27 22:57:28 +02:00
Benjamin Nussbaum
9d1f62c6dd feat: add Liquid filters 'parse_json' 2025-08-27 21:31:21 +02:00
Benjamin Nussbaum
f38ac778f1 feat: add Liquid filters 'sample', 'days_ago' 2025-08-27 21:24:12 +02:00
Benjamin Nussbaum
2eee024b36 chore: refactor PluginInlineTemplatesTest to Pest 2025-08-27 20:38:28 +02:00