Commit Graph

427 Commits

Author SHA1 Message Date
Thomas Buckley-Houston cb3ddd533f build: release v1.8.3
* Bump fast-json-patch and web-ext in /webext by @dependabot in https://github.com/browsh-org/browsh/pull/461
* Bump loader-utils from 2.0.2 to 2.0.4 in /webext by @dependabot in https://github.com/browsh-org/browsh/pull/453
* remove unnecessary RUN command by @lpmi-13 in https://github.com/browsh-org/browsh/pull/466
* Bump http-cache-semantics from 4.1.0 to 4.1.1 in /webext by @dependabot in https://github.com/browsh-org/browsh/pull/467
* fix: Golang install: use "amd64" for "x86_64" by @tombh in https://github.com/browsh-org/browsh/pull/463
* feat: Use log/slog for logging to file or stdout by @ananthb in https://github.com/browsh-org/browsh/pull/493
* feat: Structured log messages by @ananthb in https://github.com/browsh-org/browsh/pull/494
* chore: Clean up SETUP guides by @ananthb in https://github.com/browsh-org/browsh/pull/495
* chore: Remove manual install steps by @ananthb in https://github.com/browsh-org/browsh/pull/496
* fix: If debug is false discard logs by @ananthb in https://github.com/browsh-org/browsh/pull/497
* [Fix] Firefox inspecting logic on Windows by @Dragon1573 in https://github.com/browsh-org/browsh/pull/502
* feat: Add json schema (#505) by @Freed-Wu in https://github.com/browsh-org/browsh/pull/510

* @lpmi-13 made their first contribution in https://github.com/browsh-org/browsh/pull/466
* @ananthb made their first contribution in https://github.com/browsh-org/browsh/pull/493
* @Dragon1573 made their first contribution in https://github.com/browsh-org/browsh/pull/502
* @Freed-Wu made their first contribution in https://github.com/browsh-org/browsh/pull/510
2024-01-29 15:57:44 -03:00
Wu Zhenyu 200aec095d feat: Add json schema (#505) 2024-01-21 14:27:20 -03:00
是蓝兔哟~ 8bca0f17ee
[Fix] Firefox inspecting logic on Windows (#502)
* Fix (firefox_windows.go): Release resources

It seems `defer` keyword is using to release and close some resources.
It should be added to `getFirefoxPath` function.

Signed-off-by: Dragon1573 <49941141+Dragon1573@users.noreply.github.com>

* Fix (firefox_windows.go): Registry path

For Mozilla Firefox Stable edition, it's incorrect in `getFirefoxPath` function.

Signed-off-by: Dragon1573 <49941141+Dragon1573@users.noreply.github.com>

* Fix (firefox_windows.go): Registry Value

Signed-off-by: Dragon1573 <49941141+Dragon1573@users.noreply.github.com>

* Update (firefox_windows.go): Reformat code

Advices from GitHub Workflows, try fix this using GitHub Web.

---------

Signed-off-by: Dragon1573 <49941141+Dragon1573@users.noreply.github.com>
2023-12-24 07:37:17 -05:00
Ananth Bhaskararaman d7fb6e1045 fix: If debug is false discard logs
The slog change logged to stderr if debug was false.
This screwed up the UI.
2023-12-12 07:50:40 -05:00
Ananth Bhaskararaman 65344c3f80 chore: Remove manual install steps 2023-12-12 07:50:21 -05:00
Ananth Bhaskararaman f9c6fcf4cc chore: Clean up SETUP guides 2023-12-09 18:59:59 -05:00
Ananth Bhaskararaman c191b34201 feat: Structured log messages
Log messages have been re-written with structured fields.

Also, important Go depenedencies like x/sys and errors packages have
been updated.

Github actions have also been updated.
2023-12-09 13:17:50 -05:00
Ananth Bhaskararaman f93a4d12cf feat: Use log/slog for logging to file or stdout
Switched to Go1.21 to use the log/slog package for strutctured logging.

TODO: Log messages that are stringifying objects can now use strutctured
output.

TODO: Customise log levels for different messages.

Fix tests
2023-12-08 19:09:08 -05:00
Thomas Buckley-Houston d32ae0ba5a fix: Golang install: use "amd64" for "x86_64" 2023-02-02 18:38:32 -05:00
dependabot[bot] 1d4211ceb0 Bump http-cache-semantics from 4.1.0 to 4.1.1 in /webext
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-02 18:38:13 -05:00
Adam Leskis 0cef277365 remove unnecessary RUN command
WORKDIR already runs "mkdir -p" under the hood, so we don't need to add this extra command (and layer) to the Dockerfile.
2023-02-02 18:37:35 -05:00
dependabot[bot] acaa7d6459 Bump loader-utils from 2.0.2 to 2.0.4 in /webext
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.2 to 2.0.4.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.4/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v2.0.2...v2.0.4)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-02 18:36:52 -05:00
dependabot[bot] 51eaefba13 Bump fast-json-patch and web-ext in /webext
Bumps [fast-json-patch](https://github.com/Starcounter-Jack/JSON-Patch) to 3.1.1 and updates ancestor dependency [web-ext](https://github.com/mozilla/web-ext). These dependencies need to be updated together.


Updates `fast-json-patch` from 2.2.1 to 3.1.1
- [Release notes](https://github.com/Starcounter-Jack/JSON-Patch/releases)
- [Commits](https://github.com/Starcounter-Jack/JSON-Patch/compare/v2.2.1...3.1.1)

Updates `web-ext` from 7.1.1 to 7.5.0
- [Release notes](https://github.com/mozilla/web-ext/releases)
- [Commits](https://github.com/mozilla/web-ext/compare/7.1.1...7.5.0)

---
updated-dependencies:
- dependency-name: fast-json-patch
  dependency-type: indirect
- dependency-name: web-ext
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-02 18:36:19 -05:00
Thomas Buckley-Houston 010b8531f6
chore: Release v1.8.2 2023-01-30 21:08:02 -05:00
Thomas Buckley-Houston ffe3b6510e
chore: Bump version v1.8.1 2023-01-30 20:58:08 -05:00
Samveen 1591cf8e6a [scripts/misc.bash]Remove hard-coded arch in golang download, and use build platform arch instead. 2023-01-30 09:03:55 -05:00
Samveen b389228682 Use Debian's firefox-esr instead of the standalone Mozilla build 2023-01-30 09:03:55 -05:00
Thomas Buckley-Houston a547ac71fd
ci: Run Github Actions for PRs as well as pushes 2023-01-30 07:19:06 -05:00
Thomas Buckley-Houston 7e68247557 Use ENTRYPOINT instead of CMD in Dockerfile
Fixes #346
2022-07-25 22:46:58 -04:00
Thomas Buckley-Houston 277ede9a60
ci: Also push Docker image 'latest' tag 2022-07-21 12:30:57 -04:00
Thomas Buckley-Houston 3bc427f416 devops: Update release process for Github 2022-07-20 15:22:12 -04:00
Thomas Buckley-Houston 87bf16dd20 devops: Update Docker process for releasing 2022-07-20 15:22:12 -04:00
Thomas Buckley-Houston 0ef4e64f93 chore: Update README 2022-07-20 15:22:12 -04:00
Thomas Buckley-Houston 07ccc9d9d7
chore: Upgrade all node deps 2022-07-16 18:52:07 -04:00
Thomas Buckley-Houston b4dae67660
chore: Upgrade all Golang deps 2022-07-16 18:52:07 -04:00
Thomas Buckley-Houston 6ccf2afd07 devops: Refactor CI to use ctl.sh
Also updates our goreleaser setup to work again
2022-07-16 17:18:39 -04:00
Thomas Buckley-Houston aaea254f0d fix: Don't load startup URL in HTTP Server mode
I think this is the source of a long-standing issue in the HTTP Server
where it would just freeze after a certain period of time. Every
successful page load, wether it was explicitly requested as a raw-text
request or not, attempts to send a raw text payload on page load. So I
think the automatic default home page startup loading was confusing
things.

Fixes #207
2022-07-16 17:18:39 -04:00
Thomas Buckley-Houston 1f20113bc0 chore: Update .nvmrc to Node 16 2022-07-16 17:18:39 -04:00
Thomas Buckley-Houston 4a84be12b0 chore: Golang formatting 2022-07-16 17:18:39 -04:00
Thomas Buckley-Houston f34ccc7344 devops: Move random scripts into central ctl.sh 2022-07-16 17:18:39 -04:00
Thomas Buckley-Houston 77fd0e68b4 chore: Move dev setup docs to root 2022-07-16 17:18:39 -04:00
Thomas Buckley-Houston 8810e481db tests: Migrate to Github Actions 2022-07-16 17:18:39 -04:00
Tormod Alf Try Tufteland 2792602f4e fix: build first 2022-07-15 13:41:50 -04:00
Tormod Alf Try Tufteland 4955e243d8 feat: github action for tests 2022-07-15 13:41:50 -04:00
Tormod Alf Try Tufteland 8d321c47a1 feat: github action for cross-compiling releases 2022-07-01 09:17:12 -03:00
Tormod Alf Try Tufteland 094d7b837f fix: conversion error 2022-06-29 12:59:27 -03:00
Tormod Alf Try Tufteland b4bfd1af6d fix: build, and go 1.18 2022-06-29 12:59:27 -03:00
Greg Sadetsky 64c68a916c Fix Mac Build Environment Documentation 2022-05-24 12:38:14 -03:00
Yash Singh 540882ec8c
Added in Ctrl+U option for view-source (#355)
* Added in Ctrl+U option for view-source

* Fix
2020-12-28 20:56:36 +01:00
Paulo Manrique 4a082a5efe
Implemented detection of the Firefox flavor on Windows and fixed registry detection (#350) 2020-10-31 16:55:27 +01:00
Yash Singh 91148e8e44
Update setup_linux_build_environment.md (#344) 2020-09-13 09:50:05 +02:00
Thomas Buckley-Houston d3d72b0a18
Add donation link to README 2020-09-02 11:36:43 +02:00
Yash Singh 13dfd9288a
Improved CLI's flags and changed help page (#341)
* Improved CLI's flags

Allowed users to use just --v instead of --version as a CLI flag. Also added in the --name flag that simply prints out "Browsh." An alias for the --name flag is --n.

* Changed the help page inside the config.go to include the name flag
2020-08-21 10:44:26 +02:00
Érico Nogueira Rolim 84f5382eda
Move to Go modules (#338)
* interfacer: Move to Go modules.

* interfacer/contrib: remove dep usage.

No longer needed due to the move to Go modules.

* Move src/main.go to cmd/browsh/main.go.

Allows installation with `go install ./cmd/browsh`, no need to specify
output.

* interfacer/src/browsh/firefox: fix browsh.xpi path

* setup_linux_build_env: clean up and update.

- Remove references to dep and GOPATH
- Use code blocks for commands
- Update for new build instructions
2020-07-27 09:13:55 +02:00
dependabot[bot] 92825166e0
Bump lodash from 4.17.13 to 4.17.19 in /webext (#333)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.13 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.13...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-27 09:07:51 +02:00
toyboot4e 48afc96b17
Improve the mac guide (#322)
* fix typo in setup_mac_build_environment.md

* improve setup_mac_build_environment.md
2020-07-27 09:07:38 +02:00
dependabot[bot] 7e945d3356
Bump https-proxy-agent from 2.2.1 to 2.2.4 in /webext (#316)
Bumps [https-proxy-agent](https://github.com/TooTallNate/node-https-proxy-agent) from 2.2.1 to 2.2.4.
- [Release notes](https://github.com/TooTallNate/node-https-proxy-agent/releases)
- [Commits](https://github.com/TooTallNate/node-https-proxy-agent/compare/2.2.1...2.2.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-27 09:06:49 +02:00
Morgan 60e2b34479
update main documentation to improve spelling (#330)
Thank you!
2020-07-08 14:17:29 +02:00
Andres Lowrie 98b59929d9
default to https for donate (#325) 2020-06-18 09:39:18 +02:00
Gábor Lipták fbcda45067 Bring Go current in Travis (#292) 2019-11-19 08:41:04 +07:00