Граф коммитов

458 Коммитов

Автор SHA1 Сообщение Дата
Christian Wolf a68bdf6bfa Fix the access to the array entry if not existing
Signed-off-by: Christian Wolf <git@christianwolf.email>
2024-09-15 22:46:07 +02:00
Christian Wolf e31ccbcb55 Bump to version 0.11.2
Signed-off-by: Christian Wolf <github@christianwolf.email>
2024-09-13 10:02:17 +02:00
Christian Wolf 9d6f8432fa Update code styling
Signed-off-by: Christian Wolf <github@christianwolf.email>
2024-08-26 19:04:35 +02:00
Christian Wolf fc29da7eea
Prevent return type bug
Reported by psalm upon pushing

Signed-off-by: Christian Wolf <github@christianwolf.email>
2024-06-26 11:43:56 +02:00
Christian Wolf 6570d34902
Make Code style checker happy
Signed-off-by: Christian Wolf <github@christianwolf.email>
2024-06-26 11:39:51 +02:00
Nathaniel ae5d8a2d25
Fix recipe import from some WordPress sites
I want to import recipes from a site that uses WordPress Recipe Maker

At least on this site, the schema is structured like so:

{
  "@schema": "https://schema.org/",
  "@graph": [
    { /* blah */ },
    { /* blah */ },
    { "@type": "Recipe", "otherStuff": True }
  ]
}

Notably missing is the @schema on the Recipe object. It's intended
to be inherited from the parent, but HttpJsonLdParser didn't support
this kind of inheritance.

Well, now it does! =)

Signed-off-by: Nathaniel <I@nathaniel.land>
2024-06-23 12:08:10 -05:00
Christian Wolf 88e46fbc9d Bump to version 0.11.1-rc1
Signed-off-by: Christian Wolf <github@christianwolf.email>
2024-05-31 11:52:02 +02:00
Christian Wolf 0ae75eb9e7 Allow for UTF chars in the file name without breaking the backend
Signed-off-by: Christian Wolf <github@christianwolf.email>
2024-05-31 10:22:18 +02:00
Christian Wolf 502f813d26 Create hotfix to avoid parsing of &quot; in JSON strings
Signed-off-by: Christian Wolf <github@christianwolf.email>
2024-05-31 09:27:02 +02:00
Christian Wolf 1a8d7219e4 Use underscores to prevent trailing dot in folder names
Signed-off-by: Christian Wolf <github@christianwolf.email>
2024-05-30 12:42:32 +02:00
Christian Wolf 49633ab31b Use default server time zone if non provided
Signed-off-by: Christian Wolf <github@christianwolf.email>
2024-05-30 10:15:06 +02:00
Christian Wolf a7e991eb4e
Merge pull request #2329 from nextcloud/fix/1463-quick-fix-special-chars
Do no longer cut slashes and backslashes from recipe names
2024-05-21 19:12:57 +02:00
Christian Wolf e13b66e1fe Add more logging to debug easier any issues
Signed-off-by: Christian Wolf <github@christianwolf.email>
2024-05-21 18:22:48 +02:00
Christian Wolf b031159230 Do no longer cut slashes and backslashes from recipe names
Signed-off-by: Christian Wolf <github@christianwolf.email>
2024-05-21 17:05:24 +02:00
Christian Wolf 850e7ee9fd Make online linters happy
Signed-off-by: Christian Wolf <github@christianwolf.email>
2024-05-20 21:31:42 +02:00
Christian Wolf 78f3c3328b Truncate the name in the DB to match the column length
Signed-off-by: Christian Wolf <github@christianwolf.email>
2024-05-20 21:31:42 +02:00
Christian Wolf 86bb94b63f Fix integration tests
Signed-off-by: Christian Wolf <github@christianwolf.email>
2024-05-20 21:30:59 +02:00
Christian Wolf 4386784878 Use CURL for download of images
Signed-off-by: Christian Wolf <github@christianwolf.email>
2024-05-20 18:53:53 +02:00
Christian Wolf 23f6a08d47 Fix the issue of wrong times in backend answers
Signed-off-by: Christian Wolf <github@christianwolf.email>
2024-05-20 16:41:54 +02:00
Christian Wolf 073c9ea24b Only download recipe if change in URL was detected
Signed-off-by: Christian Wolf <github@christianwolf.email>
2024-05-20 14:05:14 +02:00
Christian Wolf 672db7b133 Fix bug #2269
Signed-off-by: Christian Wolf <github@christianwolf.email>
2024-04-24 08:47:29 +02:00
Christian Wolf 446cc80277 Make PHP code linter happz again
Signed-off-by: Christian Wolf <github@christianwolf.email>
2024-02-13 10:21:56 +01:00
Sebastian Fey 4d5a5bc0ed style: Run PHP fixer
Signed-off-by: Sebastian Fey <info@sebastianfey.de>
2024-01-16 13:53:07 +01:00
Christian Wolf 7d1b9cb629 Bump to version 0.11.0-rc1
Signed-off-by: Christian Wolf <github@christianwolf.email>
2023-12-10 15:02:09 +01:00
Christian Wolf 7f74e9e07a Fix API version in controller
Signed-off-by: Christian Wolf <github@christianwolf.email>
2023-12-10 15:00:33 +01:00
Christian Wolf 230c84bc3f Fix PHP 7.4 code syntax issues
Signed-off-by: Christian Wolf <github@christianwolf.email>
2023-12-05 15:35:45 +01:00
Christian Wolf 0ba4979513 Bump to version 0.10.3
Signed-off-by: Christian Wolf <github@christianwolf.email>
2023-12-04 15:34:29 +01:00
Christian Wolf 87cae41aa5 Make psalm happy
Signed-off-by: Christian Wolf <github@christianwolf.email>
2023-12-04 08:46:02 +01:00
Sebastian Fey 9872188c2a feat: Add filter to canonicalize the format of timestamps and helper for timestamp conversion.
Signed-off-by: Sebastian Fey <info@sebastianfey.de>
2023-12-04 08:41:58 +01:00
Christian Wolf a77e03228c Register output filters for stubs as well
Signed-off-by: Christian Wolf <github@christianwolf.email>
2023-12-03 21:15:59 +01:00
Christian Wolf 7051868bb4 Fix some psalm issues
Signed-off-by: Christian Wolf <github@christianwolf.email>
2023-12-03 20:57:18 +01:00
Christian Wolf 703ed9d8d3 Clean up code a bit
Signed-off-by: Christian Wolf <github@christianwolf.email>
2023-12-03 20:57:18 +01:00
Christian Wolf 140d87437e Merge remote-tracking branch 'origin/master' into fix/single-tool-import-support
# Conflicts:
#	CHANGELOG.md
2023-11-15 18:01:59 +01:00
Sebastian Fey 540e378df6 fix: Support wider range of ISO 8601 period strings
Signed-off-by: Sebastian Fey <info@sebastianfey.de>
2023-10-30 21:46:44 +01:00
Sebastian Fey 75e69073b1 test: Deleted wrong test, add PR no to CHANGELOG
Signed-off-by: Sebastian Fey <info@sebastianfey.de>
2023-10-29 18:31:43 +01:00
Sebastian Fey c435f808ed Fix: Handle empty string as tool field value
Signed-off-by: Sebastian Fey <info@sebastianfey.de>
2023-10-29 14:37:27 +01:00
Sebastian Fey 48ac10b00c style: Fix code style
Signed-off-by: Sebastian Fey <info@sebastianfey.de>
2023-10-29 14:26:58 +01:00
Sebastian Fey 2565266dd7 fix: Allow single tool in JSON+LD import
Previously an array of tools was required.

Closes #1641

Signed-off-by: Sebastian Fey <info@sebastianfey.de>
2023-10-29 14:08:10 +01:00
Sebastian Fey 2c6ab53aee refactor: Change variable name for description filter key
Signed-off-by: Sebastian Fey <info@sebastianfey.de>
2023-10-29 14:08:10 +01:00
Christian Wolf 1f196d4cba Dropped old polyfill code
Signed-off-by: Christian Wolf <github@christianwolf.email>
2023-10-12 19:30:56 +02:00
Christian Wolf eadf339e9b Fix php code styling
Signed-off-by: Christian Wolf <github@christianwolf.email>
2023-10-09 23:41:13 +02:00
Christian Wolf a4d7138fd7 Add id of recipe on the fly
Signed-off-by: Christian Wolf <github@christianwolf.email>
2023-10-09 23:36:58 +02:00
Seth Falco 31db708794 fix: display error message on conflicting recipe name
Signed-off-by: Seth Falco <seth@falco.fun>
2023-08-31 10:43:49 +02:00
Christian Wolf 7113dd48d0 Fixed some psalm issues in code
Signed-off-by: Christian Wolf <github@christianwolf.email>
2023-06-04 14:26:17 +02:00
Christian Wolf 81a60d5887 Fix introduced bug
Signed-off-by: Christian Wolf <github@christianwolf.email>
2023-06-04 14:25:53 +02:00
Christian Wolf e058d2ef82 Make Psalm partially happy
Some old issues were solved but not all.

Signed-off-by: Christian Wolf <github@christianwolf.email>
2023-06-04 14:25:53 +02:00
Christian Wolf 4390423e8f Manual fixes to make PR mergable
Signed-off-by: Christian Wolf <github@christianwolf.email>
2023-06-04 12:09:00 +02:00
Christian Wolf 6e98f9d4f9 Update baseline to avoid additional errors
Signed-off-by: Christian Wolf <github@christianwolf.email>
2023-05-29 07:36:59 +02:00
Christian Wolf afbbd5dfc7 Fix alphabetic ordering of imports in all PHP files
Signed-off-by: Christian Wolf <github@christianwolf.email>
2023-05-16 17:38:37 +02:00
Github actions bot a75d33b72c Bump to version 0.10.2
Signed-off-by: Github actions bot <bot@noreply.github.com>
2023-03-24 14:05:31 +00:00