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

458 Коммитов

Автор SHA1 Сообщение Дата
Christian Wolf fe4ffa5f78 Update the changelog to prepare a new release
Signed-off-by: Christian Wolf <github@christianwolf.email>
2023-03-24 14:48:30 +01:00
Christian Wolf 1fd2668f0c Fix php code styles
Signed-off-by: Christian Wolf <git@christianwolf.email>
2023-03-17 19:24:15 +01:00
Nikolas Rimikis e8d2926738 Implement filter to ensure string representation of id in returned values
Signed-off-by: Christian Wolf <git@christianwolf.email>
2023-03-17 18:55:36 +01:00
Marcel Robitaille 8e7124fa51 Run PHP style fixer
Signed-off-by: Marcel Robitaille <mail@marcelrobitaille.me>
2023-03-15 19:34:39 +01:00
Marcel Robitaille a12586047c Save visible info blocks to database
And connect to UI elements

Signed-off-by: Marcel Robitaille <mail@marcelrobitaille.me>
2023-03-15 19:34:39 +01:00
Github actions bot 2c502a5dde Bump to version 0.10.1
Signed-off-by: Github actions bot <bot@noreply.github.com>
2022-11-09 16:50:23 +00:00
Christian Wolf 52bfe68170
Removed old Application code
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-11-07 15:09:51 +01:00
Github actions bot e2c954e862 Bump to version 0.10.0
Signed-off-by: Github actions bot <bot@noreply.github.com>
2022-11-06 17:55:21 +00:00
Github actions bot 60a2138bea Bump to version 0.10.0-rc1
Signed-off-by: Github actions bot <bot@noreply.github.com>
2022-11-01 13:08:02 +00:00
Christian Wolf 9c46cc4745
Make tests run again also with older PHP versions
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-10-31 15:50:00 +01:00
Github actions bot 9abd742883 Bump to version 0.9.17
Signed-off-by: Github actions bot <bot@noreply.github.com>
2022-10-31 12:19:43 +00:00
Christian Wolf 2ba0880552
Fix issues with tests
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-10-31 12:53:48 +01:00
Christian Wolf ca595700aa
Fix the filter to allow Instruction sections
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-10-31 12:16:26 +01:00
Github actions bot 1ebdc67fc9 Bump to version 0.9.16
Signed-off-by: Github actions bot <bot@noreply.github.com>
2022-10-26 02:20:35 +00:00
Github actions bot 435f2d22f6 Bump to version 0.9.16-rc1
Signed-off-by: Github actions bot <bot@noreply.github.com>
2022-10-25 15:22:11 +00:00
Christian Wolf 6c9ce57234
Fix script to publish to the appstore
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-10-24 17:04:45 +02:00
Christian Wolf 95b84c0366
Remove unneeded test from code
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-10-24 15:30:03 +02:00
Christian Wolf 341762c5ac
Make parser more generic to handle more websites
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-10-24 11:05:40 +02:00
Christian Wolf d0ee7a91d7
Activate filter for folder renaming
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-10-20 22:26:52 +02:00
Christian Wolf 9771a55837
Create filter for folder name
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-10-20 22:26:24 +02:00
Christian Wolf 296604c8df
Quick fix to store imported HTML file as a backup for future use
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-10-20 20:40:32 +02:00
Christian Wolf f995831034
Removed obviously unneeded part from service class
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-09-28 18:03:10 +02:00
Christian Wolf 56278ce9bf
Fix naming of entry in recipe filter from tools to tool
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-09-23 09:40:59 +02:00
Christian Wolf 6167eb35e1
Fix issue #1210 by fixing the filters
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-09-23 09:37:49 +02:00
Christian Wolf 14a21ec14d
Only use descendants in XPath queries
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-09-22 16:33:47 +02:00
Christian Wolf db437b2a01
Removed Polyfilling as the old versions of the server core
This removed support for End-of-life core versions

Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-09-07 19:14:16 +02:00
Christian Wolf 3b7b3f7c05
Fix PostgreSQL errors
Closes #1183

Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-09-07 18:34:54 +02:00
Christian Wolf adf093b46f
Fix some minor issues in the current implementation
This was showing itself during the tests of the tests

Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-09-07 18:13:07 +02:00
Miles Liu 73a834028e
Migrate ILogger to LoggerInterface
Signed-off-by: Junyi Liu <miles@bung.cc>
2022-09-02 22:29:58 +08:00
Christian Wolf 05f7829773
Remove CSRF requirement on loading images
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-09-02 15:36:38 +02:00
Christian Wolf edd80fdd2e
Iron out some wrinkels
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-09-02 12:03:43 +02:00
Christian Wolf aa930fb073
Migrate all Controllers to new structure
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-09-02 09:51:10 +02:00
Christian Wolf da73a4fe2d
Added API routes and Controllers
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-08-31 19:53:54 +02:00
Github actions bot bced648308 Bump to version 0.9.14
Signed-off-by: Github actions bot <bot@noreply.github.com>
2022-08-29 05:16:48 +00:00
Github actions bot 5425adeba2 Bump to version 0.9.14-beta2
Signed-off-by: Github actions bot <bot@noreply.github.com>
2022-08-24 16:29:53 +00:00
Christian Wolf 8703b1d226
Fix the code to allow for pre-releases to not break code base
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-08-24 17:07:48 +02:00
Github actions bot a003199cbd Bump to version 0.9.14-beta1
Signed-off-by: Github actions bot <bot@noreply.github.com>
2022-08-23 18:32:04 +00:00
Christian Wolf 543537c03b
Accept recipe instructions with HowToStep objects
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-08-22 19:37:21 +02:00
Christian Wolf 485cff12f2
Create output filter
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-08-22 17:18:29 +02:00
Christian Wolf 9c212f6eec
Fix filters to allow for multi-line text in some fields
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-08-22 07:40:24 +02:00
Christian Wolf 54b6b5a393
Merge pull request #1137 from nextcloud/dev/run-locally-rework
Rework script to run automated tests
2022-08-04 22:10:01 +02:00
Christian Wolf bab7b811d7
Fix PHP exceptions and incompatibilities
Increased speed of integration tests

Make tests run with syncs as well

Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-08-04 21:50:56 +02:00
Valdnet 739f9996c8
l10n: Change apostrophe
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-08-02 12:18:36 +02:00
Valdnet 5df8b25867
l10n: Correct shortcut
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-08-02 12:12:25 +02:00
Valdnet 1481974d8f
l10n: Remove double spaces
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-08-02 11:45:32 +02:00
Christian Wolf 6f1eafa2ce
Fix some localizations
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-07-25 16:49:51 +02:00
Christian Wolf bbfab376ed
Make recipeYield optional
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-07-24 21:17:55 +02:00
Christian Wolf 7f77bc7989
Merge pull request #1099 from MarcelRobitaille/remove-nextcloud-from-app-name
Rename the app from nextcloud-cookbook to cookbook
2022-07-23 09:24:40 +02:00
Marcel Robitaille 9307214c6a Rename the app from nextcloud-cookbook to cookbook
The old name causes problems when using the webpack `file-loader`. The
URL from this would start `/apps/nextcloud-cookbook` although the proper
install location and the proper URL to load the file is
`/apps/cookbook`.
Besides this `file-loader` issue, this change makes everything more
consistent and more conformal to best practices.

Signed-off-by: Marcel Robitaille <mail@marcelrobitaille.me>
2022-07-23 02:31:38 -04:00
Christian Wolf b4afb676b3
Remove function introduced on PHP8 from code base
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-07-22 12:17:21 +02:00
Christian Wolf 02fc0dbb48
Extract code from RecipeService in set of filter classes
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-07-22 11:46:50 +02:00
Christian Wolf eee3f3a075
Extract text cleanup into helper class
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-07-22 11:46:01 +02:00
Christian Wolf 14218922b1
Add composer lock file to git and fix code styling
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-07-21 22:35:48 +02:00
Christian Wolf 390166f4ee
Fix bug with parsing dated with time zone annottation
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-07-06 16:56:07 +02:00
Christian Wolf 565ca93e38
Correct column name to make it compatible with pgsql
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-07-06 15:41:11 +02:00
Christian Wolf 2d4841e032
Extract business logic from DB connection
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-07-06 13:49:59 +02:00
Christian Wolf 6c6f1465a0
Removed direct access to RecipeDb object from SearchProvider
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-07-06 13:00:21 +02:00
Christian Wolf 2303776c50
Fix PHP code styling
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-07-06 12:43:34 +02:00
Christian Wolf 44e85bf4c8
Created filter for recipe files
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-07-06 12:42:24 +02:00
Christian Wolf d5a7eb0ed0
Enhance DB access to use prepared statements
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-07-06 08:48:43 +02:00
Christian Wolf a43dd01976
Create basic working structure
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-07-06 08:48:43 +02:00
Christian Wolf b615ebfd6b
Added basic migration to add date columns to DB
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-07-06 08:48:43 +02:00
Github actions bot d751ae4670 Bump to version 0.9.13
Signed-off-by: Github actions bot <bot@noreply.github.com>
2022-07-02 21:31:02 +00:00
Christian Wolf 165f115932
Updated version number in Controller
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-07-02 23:14:54 +02:00
Christian Wolf f8ceff2a4f
Pass the url to the parsers of the recipes to allow for domain-specific parsers
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-07-01 11:59:30 +02:00
Christian Wolf c862b15d53
Fix regex and added tests
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-06-24 18:01:28 +02:00
Christian Wolf cc04c09e72
Correct tests
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-06-24 16:52:17 +02:00
Christian Wolf 5eb96fd5c1
Integrate encoding in DOM parser
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-06-24 16:18:31 +02:00
Christian Wolf b6a6590ecd
Integration of new classes into complete system
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-06-24 15:56:14 +02:00
Christian Wolf 6d1d4eff05
Created class for extracting content encoding
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-06-24 15:16:59 +02:00
Christian Wolf 8a38330226
Add some docuemntation
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-06-24 11:58:25 +02:00
Christian Wolf b5c146a3c8
Created basic encoding handling class
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-06-24 11:55:15 +02:00
Christian Wolf 0c1747cab4
Ignore case for Content-Type header name
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-06-24 11:20:09 +02:00
Christian Wolf 45cd6280f7
Removed unneeded logger instance
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-06-24 09:41:21 +02:00
Christian 1ca89000b1
Merge pull request #1055 from nextcloud/fix/979-curl-downloader
Enable downloading using curl
2022-06-23 21:29:22 +02:00
Christian Wolf 58ff14f1e4
Fixed bug from other PR #1049
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-06-23 21:16:28 +02:00
Christian Wolf ca7f322e93
Embed new download class into rest of code
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-06-23 21:00:21 +02:00
Christian Wolf d7c7d96505
Create download class
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-06-23 20:11:04 +02:00
Valdnet fb07efcc69
l10n: Change to uppercase
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-06-23 14:10:22 +02:00
Christian Wolf b5e4162a28
Added translations for certain strings
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-06-22 18:13:25 +02:00
Christian Wolf 212dc201f9
Automatically fix the code styling
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-06-19 09:37:20 +02:00
Christian Wolf d20fbde112
Removed guzzle as it is not installed and plain PHP function is intended
See #619

Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-06-19 08:42:18 +02:00
Christian Wolf 3c1e7d6fd7
Fix the code styling
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-06-19 08:42:01 +02:00
Christian fe66d887af
Merge pull request #1007 from nextcloud/fix/1004-user-folder-helper
Add a helper class to manage the user folders
2022-06-19 08:09:04 +02:00
Christian Wolf bd3a3ca5f3
Corrected typo in translation strings (missing period).
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-05-30 08:07:29 +02:00
Christian Wolf 190ba52c86
Use singular/plural form for translations
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-05-26 11:13:21 +02:00
Christian Wolf dce1e0ddb9
Merge remote-tracking branch 'upstream/master' into fix/1004-user-folder-helper
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-05-24 20:33:39 +02:00
Christian Wolf d008b4f9bc
Fixed test cases
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-05-24 20:02:22 +02:00
Christian Wolf 0f6749f5c5
Fix some manual corrections as suggested in code review
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-05-24 20:02:22 +02:00
Christian aac0600981
Apply suggestions from code review
Co-authored-by: Sebastian Fey <info@sebastianfey.de>
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-05-24 20:02:22 +02:00
Christian c608c49118
Apply suggestions regarding typos and language from code review
Co-authored-by: Sebastian Fey <info@sebastianfey.de>
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-05-24 20:02:22 +02:00
Christian Wolf 7b0a5b18c1
Fixing code style after big rebase
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-05-24 20:02:22 +02:00
Christian Wolf e3a57a712e
Fix #724
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-05-24 20:02:22 +02:00
Christian Wolf 19b6f43657
Corrected code styling
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-05-24 20:02:22 +02:00
Christian Wolf 7b9f60bb47
Adding a download service
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-05-24 20:02:21 +02:00
Christian Wolf 77c78c3125
Added parser for HTML files
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-05-24 20:02:21 +02:00
Christian Wolf 74c9c4b1a7
Typo in filename
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-05-24 20:02:21 +02:00
Christian Wolf 11aad12318
Added test for microdata parser
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-05-24 20:02:21 +02:00
Christian Wolf 0ee3f89cab
Created tests for JSON+LD metadata parser
This has shown one bug that was fixed as a byproduct.

Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-05-24 20:02:20 +02:00
Christian Wolf 0f35d9a53d
Fixed some bugs in the code
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-05-24 20:02:20 +02:00