Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve project #79

Merged
merged 10 commits into from
Apr 2, 2021
Merged

Conversation

Progi1984
Copy link
Contributor

@Progi1984 Progi1984 commented Apr 2, 2021

Questions Answers
Description? Improve project (Renamed Readme.md / Added dependabot / Added template for PR / Added PHP Workflow & Build Release) & Removed Travis CI
Type? improvement
BC breaks? no
Deprecations? no
Fixed ticket? N/A
How to test? Github Actions are 🟢 https://github.com/Progi1984/gamification/actions

@Progi1984 Progi1984 force-pushed the improveProject branch 14 times, most recently from 7fd8377 to 4f56ea2 Compare April 2, 2021 12:42
@PierreRambaud PierreRambaud merged commit 643c0d5 into PrestaShopCorp:dev Apr 2, 2021
@PierreRambaud
Copy link
Contributor

Thank you @Progi1984

@Progi1984 Progi1984 deleted the improveProject branch April 8, 2021 14:36
@eternoendless eternoendless modified the milestones: 2.3.3, 2.4.0 Jul 2, 2021
Comment on lines +312 to +321
$public_key = file_get_contents(__DIR__ . '/prestashop.pub');
$signature = isset($data->signature) ? base64_decode($data->signature) : '';

if (isset($data->conditions)) {
if (
function_exists('openssl_verify')
&& self::TEST_MODE === false
&& isset($data->advices_lang)
&& !openssl_verify(json_encode([$data->conditions, $data->advices_lang]), $signature, $public_key)
) {
Copy link
Contributor

Choose a reason for hiding this comment

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

These changes haven't been accounted for?

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

Successfully merging this pull request may close these issues.

3 participants