Commit Graph

66 Commits

Author SHA1 Message Date
Peter Hedenskog 43a318885f
Fix Android API check (#4428) 2025-02-03 09:07:52 +01:00
Peter Hedenskog f48e9723a7
Fix: the API used android or android.enabled for Android configuration (#4427) 2025-02-02 14:24:31 +01:00
Peter Hedenskog 3741366d45
Upgrade to eslint/unicorn 54 (#4213) 2024-07-08 08:19:41 +02:00
Peter Hedenskog 14650c5f2e
Copy BT settings to the API (#4200) 2024-06-24 12:52:44 +02:00
Peter Hedenskog 6adc8eea33
Make sure to remove extends (#4198) 2024-06-23 18:32:42 +02:00
Peter Hedenskog 1aef84f9a6
API: show url/script in output when you add a test (#4195) 2024-06-20 09:14:29 +02:00
Peter Hedenskog 538cc3a0c3
Fix for https://github.com/sitespeedio/onlinetest/issues/20 (#4191) 2024-06-18 12:48:22 +02:00
Peter Hedenskog 5223f1d992
api: if we get a failure and want JSON, show it (#4163) 2024-05-24 07:56:38 +02:00
Peter Hedenskog 740455bb1f
Increase number listeners before you get a warning (#4158) 2024-05-17 22:28:55 +02:00
Peter Hedenskog 75665de47e
Remove console errors that we already logged (#4080) 2024-02-08 09:47:16 +01:00
Peter Hedenskog 5814518f63
Fix supressing the budget (#4065) 2024-01-18 13:37:36 +01:00
Peter Hedenskog c202151738
Simplify exit code logic. (#4063)
* Simplify exit code logic.

I introduced a bug when I added support for exit codes from
Browsertime/scripting. This fixed that bug and makes the code
simpler to read/understand.

https://github.com/sitespeedio/sitespeed.io/issues/4062
2024-01-17 14:40:46 +01:00
Peter Hedenskog e0832c5723
If a browsertime marks a test as a failure, exit with error code (#4047) 2024-01-05 16:54:34 +01:00
Peter Hedenskog c6399c89e1
Only set exit code if you haven't set it already. (#4044)
https://github.com/sitespeedio/sitespeed.io/issues/3667
2023-12-29 08:00:34 +01:00
Peter Hedenskog 61b7bbd764
Make sure catched errors gets to the standard out and after budget/open the browser (#3939) 2023-08-15 17:31:26 +02:00
Peter Hedenskog 45cce6c381
api: Pass on the script name to the API. (#3845) 2023-05-16 15:23:07 +02:00
Peter Hedenskog 97c9a7ff5d
api: Fix so we can handle scripting in the API (#3840)
* handle multi in api

* fix page summary URL
2023-05-10 21:07:59 +02:00
Peter Hedenskog b923d4a2b4
make it easier to use the API (#3839) 2023-05-10 18:42:15 +02:00
Peter Hedenskog 27bd6ddee0
API cleanup and small fixes (#3837) 2023-05-10 06:06:55 +02:00
Peter Hedenskog d5468a4c6f
Another fix for storing the result (#3830) 2023-05-03 16:05:08 +02:00
Peter Hedenskog fcb89f42c3
Moar fixes (#3829) 2023-05-03 15:08:46 +02:00
Peter Hedenskog 0bfbdba69c
Use the API Luke (#3825) 2023-05-03 09:31:54 +02:00
Peter Hedenskog 793dd6869e
Fix broken result.json code (#3816)
* Fix broken result.json code

* lint
2023-04-20 22:31:56 +02: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 9cd19d4c3c
Use xdg-open for open default browser on Linux (#3597) 2022-03-10 23:13:34 +01:00
Peter Hedenskog 05647d52c0
Always store the error message and better error queue handling (#3522) 2021-12-08 10:40:22 +01:00
Peter Hedenskog 574e3e39dd
Give a param to storeResult to use as filename (#3520) 2021-12-06 17:05:19 +01:00
Peter Hedenskog e452fb532d
Add option --open/-o to open the result in your default browser. (#3493)
https://github.com/sitespeedio/sitespeed.io/issues/3492
2021-10-29 08:42:52 +02:00
soulgalore 8d37f3b683 Store result 2021-05-03 19:39:32 +02: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 586959f9e3
Add option to supress the exit code when running a budget #1934 (#1936)
* Add option to suppress the exit code when running a budget #1934
2018-03-10 13:55:32 +01:00
Tobias Lidskog d1b376e2ca
Split out code that’s never accessed from plugins. (#1762) 2017-10-29 09:54:22 +01:00
Tobias Lidskog ea7b0d2cf7 Fix syntax error (return outside function).
Need to fix this for code to be parsable by prettier.
2017-04-29 09:27:42 +02:00
Jonathan Lee 198a330492 First pass at supporting URL aliases for #1326 (#1374)
* First pass at supporting URL aliases for #1326

* Add to HTML output support for URL aliasing - #1326

* Adding tests and docs for #1326
2016-12-12 00:06:20 -05:00
soulgalore 18ab5e9e86 set process status on the right place 2016-10-25 10:58:22 +02:00
soulgalore b3ed615564 only check if the budget is failing if we configures a budget #1267 2016-10-25 07:02:37 +02:00
soulgalore c20080141a no longjohn in prod 2016-10-23 11:00:52 +02:00
Peter Hedenskog 17b8578b5a Make it easy (or possible) to use sitespeed.io without the cli (#1243) 2016-10-14 21:29:14 +02:00
Peter Hedenskog b013baf3d1 Budget (#1227)
* First step to implement budget
Support min & max values for summaries.
2016-10-06 12:16:30 +02:00
Peter Hedenskog 1da1bd2ad7 Restructure bin functionality to application (#971)
* Restructure bin functionality to application

Lets move functionallity from bin inside the application, making it possible to run without bin.
2016-06-04 20:40:01 +02:00
soulgalore ca7a0bd3a9 renamed app to sitespeed 2016-05-17 12:56:01 +02:00
Tobias Lidskog b51625ad68 Fix cli args merging.
Cleanup solution for:
- args in config files should trigger plugin loading
- alias shortcuts (e.g. -b) should trigger plugin loading
- consistent handling of canonical vs. alias form of cli options
- documentation for verbose flag
2016-05-16 02:55:47 +02:00
Jonathan Lee d808112738 Aliasing crawler depth to '-d' for easy of use. (#925) 2016-05-14 21:07:00 +02:00
Tobias Lidskog dad7546e95 Filter out non-html pages from crawler. 2016-05-10 22:06:29 +02:00
soulgalore 036eb7e579 log versions at startup 2016-04-14 12:23:57 +02:00
soulgalore f8903bd34d hey we got a log 2016-04-14 10:43:54 +02:00
Tobias Lidskog 781dc03072 Intial commit of sitespeed.io 4.0. 2016-03-10 23:07:36 +01:00
soulgalore c7ed76bf87 All links to www.sitespeed.io shall be https #722 2015-08-11 11:16:36 +02:00
soulgalore 7c106e1d89 moved printing perfbudget to cli 2015-02-06 09:09:33 +01:00