Skip to content

Updated old twigs, added html tags and style. - #66

Open
OStefan2001 wants to merge 3 commits into
developfrom
issue-47
Open

Updated old twigs, added html tags and style.#66
OStefan2001 wants to merge 3 commits into
developfrom
issue-47

Conversation

@OStefan2001

Copy link
Copy Markdown
Collaborator

No description provided.

@OStefan2001
OStefan2001 requested a review from bidi47 August 4, 2026 14:36
@codecov

codecov Bot commented Aug 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 17.67%. Comparing base (fe5f795) to head (5ffc8e3).

Additional details and impacted files
@@            Coverage Diff             @@
##             develop      #66   +/-   ##
==========================================
  Coverage      17.67%   17.67%           
  Complexity       250      250           
==========================================
  Files             55       55           
  Lines           1058     1058           
==========================================
  Hits             187      187           
  Misses           871      871           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.


$sourceIndex = indexUploadSources($uploadsDir, $ogDir);

if (! is_dir($ogDir) && ! mkdir($ogDir, 0775, true) && ! is_dir($ogDir)) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is this shell file ?
It is supposed to be part of the codebase or is an one-time action to migrate images ?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

before I was using article->id in path, but now it is not usefull to be part of project.

}

if ($baseUrl !== '' && str_starts_with($image, $baseUrl . '/')) {
if (str_starts_with($image, '/uploads/opengraph/article/')) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the path should be: /opengraph/article/ and not /uploads/opengraph/article/

we have some misunderstandinngs here ..

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will fix this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants