Commit Graph

66 Commits

Author SHA1 Message Date
Peter Hedenskog b9456eef6e
Replace intel with sitespeed.io/log (#4381)
* Replace intel with sitespeed.io/log
2025-01-07 08:53:48 +01:00
Peter Hedenskog cd5503d811
Use official Slack plugin (#4360)
* Use official Slack plugin
2024-12-27 08:23:03 +01:00
Peter Hedenskog fc2884fbba
Update all dependencies to latest releases (#3774) 2023-03-03 13:59:14 +01:00
Peter Hedenskog 631271126f
New plugins structure and esmodule (#3769)
* New plugins structure and esmodule
2023-02-25 11:16:58 +01:00
Peter Hedenskog c3f215c312
New scp plugin for copying result to another server (#3691)
* New scp plugin for copying result to another server

* sync up

* use old

* new version
2022-07-10 10:39:05 +02:00
Peter Hedenskog 1e9bea8bf0
Update to latest prettier/eslint setup (#3478) 2021-10-11 18:44:59 +02:00
Peter Hedenskog e660fdba28
Fix the result URL using Slack (#3254)
https://github.com/sitespeedio/sitespeed.io/issues/3244
2021-01-14 08:34:27 +01:00
Peter Hedenskog a17a3b3904
Handle alias correctly (#3222) 2020-12-22 12:51:33 +01:00
soulgalore 536097558d Safe check 2020-12-21 04:26:09 +01:00
Peter Hedenskog 84209b97a4
New Browsertime 11 alpha (#3201) 2020-12-08 19:49:13 +01:00
Peter Hedenskog 9c3afa5fdb
Remove HTML/Slack data on remove.url (#3174) 2020-11-01 17:19:00 +01:00
Peter Hedenskog 34bfaf8476
Fix broken link to screenshots in meta data and Slack. (#3163)
As reported in https://github.com/sitespeedio/compare/issues/108
2020-10-20 04:15:24 +02:00
soulgalore 6d0c87e894 Remove another extra format for Slack messages 2020-08-15 22:03:10 +02:00
soulgalore d981bf827c fix doublee formatting 2020-08-07 22:03:13 +02:00
Peter Hedenskog c329c34b55
Use functions to format output for Slack (#3105)
* Use functions to format output
2020-07-29 09:56:44 +02:00
soulgalore 35bf4734e8 slack: log debug 2020-07-24 23:46:57 +02:00
Lise Bilhaut 594777fa0c
Add unit to slack summary (#3102) 2020-07-24 23:21:56 +02:00
Erick Wilder 4b0c9a7c6b
fix(plugins/slack): correctly send messages on html.finished message (#2971)
* fix(plugins/slack): correctly send messages on html.finished message

Do not rely on `resultBaseUrl` to block messages to be sent to Slack. Instead, check if any
of the supported hosting providers are correctly configured. If that is the case, then
messages are sent _only after the upload is complete_. For all other cases, send the message
anyway

test(plugins/slack): add basic test scenarios

- Check for missing options when calling `slack.open()`
- Ensure that methods supposed to return lists always return them
- Add some sanity checks to the summary, so that missing values would not crash

* Skipping  .nvmrc for now

Co-authored-by: Peter Hedenskog <peter@soulgalore.com>
2020-04-28 11:06:00 +02:00
Peter Hedenskog 50433de063
Handle errors that do not belong to a URL. (#2772) 2019-11-09 21:54:44 +01:00
Peter Hedenskog 6b2f38d6ba
Documentation changes for 11.0 (#2756) 2019-11-07 09:45:39 +01:00
soulgalore 8cc85664ce Adding missing slash, thanks @kevinlacotaco #2705 2019-10-18 14:41:57 +02:00
Peter Hedenskog d79a0e7c42
Add missing index.html to Slack URL #2705 (#2707) 2019-10-18 09:22:14 +02:00
Peter Hedenskog 83013e59d6
Added new metrics for slacking: (#2611)
* firstPaint
* visualComplete85
* lastVisualChange
* fullyLoaded

And fixed broken fullyLoaded.
2019-08-30 08:27:24 +02:00
Peter Hedenskog b86e86faeb
Slack fixes (#2610)
* Use correct connectivity

* Always have a red color when we have an error

* Use median values to check limit values
2019-08-29 21:46:16 +02:00
Peter Hedenskog 05ae345b66
Renamed google cloud storge finish message to match https://github.com/sitespeedio/sitespeed.io/pull/2360 (#2362) 2019-03-06 16:03:01 +01:00
Peter Hedenskog 75318bd14c
use fully loaded from PageXray everywhere (#2244) 2019-01-09 15:22:03 +01:00
Peter Hedenskog 7cc5562204
Remove Bluebird promises and use await/sync where we can. (#2205) 2018-11-20 09:14:05 +01:00
Peter Hedenskog bfa8d2ac53
Use path so we in the future can add full URL including index.html (#2148) 2018-09-16 20:29:40 +02:00
soulgalore 846ee4ceaa include image information when pushing to s3/gc/ftp etc 2017-12-06 13:32:45 +01:00
Peter Hedenskog 751ac6b152 bugfix: screenshot type was wrong for Slack plugin 2017-12-06 12:20:23 +01:00
Peter Hedenskog 184af2aa8c
Use sharp to change screenshot size or convert to JPG (#1838) 2017-12-05 19:48:32 +01:00
Tobias Lidskog ac02f7549c Bump to latest prettier and reformat. (#1805) 2017-11-19 08:47:36 +01:00
Peter Hedenskog ba1d40d9e9
Datacollector break free (#1767) 2017-10-29 19:57:00 +01:00
Peter Hedenskog 9d18533579
Remove hooks and use messages instead (#1758)
* remove hooks and use messages instead
* remove hooks

* fix the ifs

* send
2017-10-29 08:24:18 +01:00
Peter Hedenskog cadea2b305 Let every plugin collect the data it needs. (#1731)
Don't use global state to collect data for plugins.
2017-10-10 09:06:06 +02:00
Tobias Lidskog c85782061e Fix incorrect url to Pippi logo. 2017-10-05 19:02:46 +02:00
Tobias Lidskog 5739267af9 Just log on Slack timeouts.
Slack timeouts shouldn’t cause the entire run to be considered a fail.
2017-09-29 21:58:17 +02:00
Peter Hedenskog f0f0aef7b5 Add the screenshot to each attachment #1653 (#1658)
* add the screenshot to each attachement #1653
2017-08-20 12:54:04 +02:00
Tobias Lidskog 3debfec0b4 Format code using the Prettier formatter. (#1677) 2017-07-20 21:24:12 +02:00
soulgalore 678cdb1290 default to danger if we miss a metrics #1561 2017-04-02 15:05:41 +02:00
Tobias Lidskog 29fbcaa2db Refactor result storage/url handling, and tweak S3 (#1552)
* Allow S3 upload even when using custom outputFolder.
* Add new s3.path option, to override the default storage path in the S3 bucket.
* Change the default storage path in the S3 bucket to no longer include the prefix 'sitespeed-result’.
* Remove broken/not useful progress load for S3 upload (was producing 100000+ log lines.
* Extract result url building into separate module that’s made available to plugins via context.resultUrls.
2017-03-28 15:12:30 +02:00
Peter Hedenskog 1e528f65fd set sitespeedio as root name of all loggers (#1545) 2017-03-23 12:21:11 +01:00
Peter Hedenskog e46a7026eb Add log channel names per plugin thank you @jpvincent (#1544) 2017-03-23 08:57:03 +01:00
Peter Hedenskog 6c8acfec2f Stop using options.urls[0] and start using the name of the run (#1542) 2017-03-22 17:41:21 +01:00
Peter Hedenskog 449f2e49d8 Added links to result page for Slack #1519 (#1523) 2017-03-18 12:49:21 +01:00
Tobias Lidskog 5e3de93a9c More cleanup up plugin names. 2017-03-17 18:53:38 +01:00
Peter Hedenskog 4012645317 Timing metrics should be lower than to get a green light #1508 (#1509) 2017-03-15 13:41:57 +01:00
soulgalore 066767c78f fixed warning/error limits 2017-03-15 12:39:13 +01:00
soulgalore 1390b63a19 catch the attachements (fixing missing attachements/urls) 2017-03-15 11:54:49 +01:00
Tobias Lidskog 8d8ff263ee Fix Slack plugin that broke with recent changes.
- fix incorrect function export for attachments.
- fix mix-up of slack options and global options (e.g. browsertime iterations).
- reorder parameters to summary module to better align with the rest.
2017-03-13 21:47:45 +01:00