Commit Graph

22694 Commits

Author SHA1 Message Date
Jan Lysý
c5c89c400a Add comment to Circle config
[MAILPOET-6159]
2024-08-06 10:17:36 +02:00
Jan Lysý
644a963b01 Update PHP script updating used WordPress
[MAILPOET-6159]
2024-08-06 10:17:36 +02:00
Jan Lysý
5c16babf7b Add closing notice on Settings page in acceptance tests
[MAILPOET-6159]
2024-08-06 10:17:36 +02:00
Jan Lysý
4e8b7b7f34 Add command updating WP database to docker-entrypoint.sh
[MAILPOET-6159]
2024-08-06 10:17:36 +02:00
Jan Lysý
f86687ae1c Use WordPress image with oldest PHP and install specific WP version
Because required WordPress version does not have official images we need to install specific version via CLI.
[MAILPOET-6159]
2024-08-06 10:17:36 +02:00
Jan Jakes
c8e6c02851 Fix "Return value must be of type int, null returned" in Action Scheduler wrappers
[MAILPOET-6179]
2024-08-05 20:35:32 +03:00
Jan Lysý
1a80227b03 Fix button width when parent column is smaller
[MAILPOET-5732]
2024-08-05 14:09:31 +02:00
Jan Lysý
61e596e9d2 Fix width of button wrapping table
[MAILPOET-5732]
2024-08-05 14:09:31 +02:00
Jan Lysý
3a2d18308b Update integration tests
[MAILPOET-5732]
2024-08-05 14:09:31 +02:00
Jan Lysý
557e73e4cc Wrap email button to table for compatibility with Outlook 2023
[MAILPOET-5732]
2024-08-05 14:09:31 +02:00
Jan Jakes
a664186108 Unify setting no-cache headers, use only relevant headers
See also: https://stackoverflow.com/questions/49547/how-do-we-control-web-page-caching-across-all-browsers

[MAILPOET-6038]
2024-08-05 13:28:52 +02:00
Jan Jakes
ee6e22efa3 Regenerate CAPTCHA phrase using a custom request with cachebust to avoid caching
[MAILPOET-6038]
2024-08-05 13:28:52 +02:00
Jan Jakes
758cb09a77 Check for audio file existence before sending headers
[MAILPOET-6038]
2024-08-05 13:28:52 +02:00
Jan Jakes
975f42c56c Remove unnecessary check (it checks for image requirements, not audio)
[MAILPOET-6038]
2024-08-05 13:28:52 +02:00
Jan Jakes
38f7d97283 Compress captcha audio files more aggressively
This reduces the size of the files combined from 224KB to 64KB.

The command used was:

for f in originals/*.mp3; do ffmpeg -i "$f" -c:a libmp3lame -af "highpass=f=200, lowpass=f=15000, afftdn=nf=-30, anlmdn=s=1, rubberband=pitch=1.05, volume=1.5" -b:a 8k -ac 1 -ar 8000 "${f##*/}"; done

[MAILPOET-6038]
2024-08-05 13:28:52 +02:00
Jan Jakes
fad5e629af Simplify renderAudio and renderImage
[MAILPOET-6038]
2024-08-05 13:28:52 +02:00
Jan Jakes
71d7f46718 Make captcha session stateless
[MAILPOET-6038]
2024-08-05 13:28:52 +02:00
Jan Jakes
e8cf3d61ef Make captcha phrase stateless
[MAILPOET-6038]
2024-08-05 13:28:52 +02:00
Jan Jakes
10ef9ffce5 Initialize CAPTCHA session and phrase on page load
Previously, a new CAPTCHA phrase was generated when the CAPTCHA image
or audio was requested "again". For that, a counter needed to be stored in the
session, and since image and audio were fetched in parallel, any of them could
initialize the new CAPTCHA phrase. The problem appeared when they both
generated a new phrase at the same time. This resulted in a race condition,
where the image and audio had different CAPTCHA phrases and some users
weren't able to pass the CAPTCHA at all. This was occuring especially in Safari,
(maybe somehow due the type dectection range "preflight" request).

Now, the phrase is initialized on the CAPTCHA page load (and reloaded via AJAX),
so we don't need to store any additional metadata, apart from the phrase itself.

[MAILPOET-6038]x
2024-08-05 13:28:52 +02:00
Veljko
3b0dd085bd Update Create an account label 2024-08-05 13:07:49 +02:00
Jan Lysý
784d7c1189 Move building Newsletter tests to their job
[MAILPOET-6178]
2024-08-05 12:31:08 +02:00
Jan Lysý
e2e1346649 Use skipping test in build all command
[MAILPOET-6178]
2024-08-05 12:31:08 +02:00
 Ján Mikláš
d12f88e80c Fix typo in filename, which prevents removing the file on case sensitive file systems
[MAILPOET-6172]
2024-08-02 12:03:45 +02:00
 Ján Mikláš
f2e048282a Reset terminal color
This caused that all output below this was in red color, even if it's unrelated to this script

[MAILPOET-6172]
2024-08-02 12:03:45 +02:00
 Ján Mikláš
e28faf837d Fix flaky ReceiveScheduledEmailCest test
[MAILPOET-6172]
2024-08-02 12:03:45 +02:00
 Ján Mikláš
d7330a1f65 Fix flaky ScheduleNewsletterCest test
[MAILPOET-6172]
2024-08-02 12:03:45 +02:00
 Ján Mikláš
83da3ada72 Fix typo causing all options to have the same key
Console Warning: Encountered two children with the same key, `option-8:00 am`.

[MAILPOET-6172]
2024-08-02 12:03:45 +02:00
Jan Lysý
b36b857891 Fix passing version to verify command
[MAILPOET-5678]
2024-08-02 08:58:56 +02:00
Jan Lysý
685b5f835c Use verify and delete zip in publish command
[MAILPOET-5678]
2024-08-02 08:58:56 +02:00
Jan Lysý
d9b524f08f Add new command verifying release zip
The command should verify containing the required version in the ZIP file.
[MAILPOET-5678]
2024-08-02 08:58:56 +02:00
Jan Lysý
e781843c6b Add new command for deleting old release zip
[MAILPOET-5678]
2024-08-02 08:58:56 +02:00
Jan Lysý
ccc922548b Rename test parameter from LATEST_BETA to WORDPRESS_VERSION
[PREMIUM-230]
2024-08-01 11:48:13 +03:00
Jan Lysý
a2f35526fa Remove forgotten calling debug function
[PREMIUM-230]
2024-08-01 11:48:13 +03:00
Jan Lysý
870008123c Make the test environment compatible with the premium plugin
[PREMIUM-230]
2024-08-01 11:48:13 +03:00
Jan Lysý
22584747a0 Move tests docker configuration
Because we want to unify tests environment in the premium plugin. This step should allow us to reuse it easier.
[PREMIUM-230]
2024-08-01 11:48:13 +03:00
Rostislav Wolny
6805d68ede Add label check-versions to link PRs with the job that created them
[MAILPOET-6171]
2024-07-31 12:28:20 +02:00
Rostislav Wolny
9c8aa381f0 Add info for local testing for check
[MAILPOET-6171]
2024-07-31 12:28:20 +02:00
Rostislav Wolny
d0be17e0d3 Force push changes to update existing PRs in Check Updates GH Workflow
[MAILPOET-6171]
2024-07-31 12:28:20 +02:00
Rostislav Wolny
0d14b58c91 Update PR title, label and content of PR with plugin and WP imaged updates
[MAILPOET-6171]
2024-07-31 12:28:20 +02:00
github-actions[bot]
62ba5a4a1c Update used Automate Woo plugin in Circle CI
- latest version: 6.0.30
 - previous version: 5.8.5
2024-07-31 12:13:59 +02:00
github-actions[bot]
71b2ee2ad6 Update used WooCommerce plugin in Circle CI
- latest version: 9.1.4
 - previous version: 9.0.2
2024-07-31 12:13:59 +02:00
github-actions[bot]
ee976a13a7 Update used WordPress images in Circle CI
- latest version: 6.6.1-php8.3
 - previous version: 6.5.5-php8.1
2024-07-31 12:13:59 +02:00
Jan Jakes
b22c2d6b6f Release 4.58.0 2024-07-30 16:26:48 +02:00
 Ján Mikláš
7f1320258c Add migration to fix failed automation runs that should have been complete
[MAILPOET-6154]
2024-07-29 15:03:47 +02:00
 Ján Mikláš
7f27d5f850 Add test
[MAILPOET-6154]
2024-07-29 15:03:47 +02:00
 Ján Mikláš
2e13570dd7 Correctly complete automation run when there is an empty branch in if/else
[MAILPOET-6154]
2024-07-29 15:03:47 +02:00
 Ján Mikláš
63c19d2508 Always show Subscribers tabs in Analytics
[MAILPOET-6154]
2024-07-29 15:03:47 +02:00
Rostislav Wolny
682e3424ad Remove comments about deleting checks for BC support
We can't be sure that after a year, all customers will re-save the email.
To avoid future issues, we will keep the check in place.
[MAILPOET-4180]
2024-07-29 14:41:43 +02:00
Rostislav Wolny
8c0af16cf5 Add support for heading font color to Woo transaction email renderer
[MAILPOET-4180]
2024-07-29 14:41:43 +02:00
Rostislav Wolny
24fb78a696 Add heading font color control to Woo email customizer
[MAILPOET-4180]
2024-07-29 14:41:43 +02:00