Commit graph

1399 commits

Author SHA1 Message Date
Daniel LaCosse
a4bd8f9a77 finally 2024-02-21 22:47:53 -05:00
Daniel LaCosse
947cca19ac webpack, too? jeez. 2024-02-21 22:27:02 -05:00
Daniel LaCosse
4deb67f9cf install puppeteer 2024-02-21 22:23:08 -05:00
Daniel LaCosse
9adcd6054e npx karma 2024-02-21 22:18:31 -05:00
Daniel LaCosse
775ccc67eb
Update README.md 2024-02-21 16:57:23 -05:00
Daniel LaCosse
49b5df9767
Update src/server_manager/README.md
Co-authored-by: Vinicius Fortuna <fortuna@users.noreply.github.com>
2024-02-21 16:54:56 -05:00
Daniel LaCosse
7692302219 update jobs 2024-02-21 16:41:37 -05:00
Daniel LaCosse
fa289bf850 remove scopes from commitlint 2024-02-21 16:37:27 -05:00
Daniel LaCosse
8c80d75f73 delete manager and update readme 2024-02-21 16:36:25 -05:00
Sander Bruens
a62b25b54c
test(server): add new PUT API to the integration test (#1504) 2024-02-15 12:24:55 -05:00
Daniel LaCosse
06646f791b
adds hardened runtime and notarization options (#1508) 2024-02-13 12:09:37 -05:00
Danil Shaymurzin ⚡️
ceca3d617c
fix(server): the provided password must use unique value (#1506) 2024-02-12 14:05:07 -06:00
Danil Shaymurzin ⚡️
9779f5dc5f
fix(server): api specification #1499 (#1503) 2024-02-12 09:52:13 -05:00
Sander Bruens
88cee12ec4
feat(server): extend key creation API to allow specifying a port (#1505)
* feat(server): extend key creation API to allow specifying a port

* Use `validateNumberParam` in `setPortForNewAccessKey`.

* Only check if the port is valid if it was specified.

* Undo the removal of use of `Promise.all(...)`.

* Fix tests.

* Only run validation if parameters are provided.

* Correct types for API validation methods where `undefined` is a possible return type.
2024-02-07 10:35:26 -05:00
Daniel LaCosse
0fba65e86e
build(manager): detect platform before shifting the arg array in package action (#1500)
* fix(manager): detect platform before shifting the arg array in the package action

* Update package.action.sh

* Update src/server_manager/electron_app/package.action.sh

Co-authored-by: Vinicius Fortuna <fortuna@users.noreply.github.com>

* Update src/server_manager/electron_app/package.action.sh

Co-authored-by: Vinicius Fortuna <fortuna@users.noreply.github.com>

---------

Co-authored-by: Vinicius Fortuna <fortuna@users.noreply.github.com>
2024-02-06 13:00:12 -05:00
Vinicius Fortuna
64c4f94534
chore(manager): deprecate SB_DEFAULT_SERVER_NAME on install (#1498) 2024-02-05 09:07:32 -06:00
Vinicius Fortuna
28d2b2e391
chore(manager): cleanup and fix Manager build (#1497) 2024-02-02 16:50:19 -06:00
Danil Shaymurzin ⚡️
882573eecd
fix(manager): use typeof function instead of directly comparison (#1481) 2024-02-02 11:05:52 -06:00
Vinicius Fortuna
3273e7c595
feat(server): enable log rotation and start script (#1494) 2024-02-02 11:04:55 -06:00
Daniel LaCosse
950614c08e
chore(manager/macos): upgrade electron-builder to use the new notarytool (#1496) 2024-02-01 21:00:30 -05:00
Daniel LaCosse
639e1e2cde
fix(manager): adjust app container on narrow devices to make room for sidebar (#1495)
* i feel disguisting lol

* app container is better
2024-02-01 20:57:41 -05:00
Vinicius Fortuna
5272b3467e
chore(server): inject version at build time (#1491) 2024-01-31 17:55:30 -05:00
Daniel LaCosse
4d1c4cad3e
fix: link directly to support.getoutline.org (#1490) 2024-01-31 17:47:14 -05:00
Vinicius Fortuna
71e4b52b80
chore(server): remove docker-compose and cleanup (#1484) 2024-01-30 14:05:34 -05:00
Daniel LaCosse
33de2a98c5
feat(manager): link to Management API Documentation next to the Management API Endpoint (#1486)
* wip

* style tweak
2024-01-29 17:32:11 -05:00
Daniel LaCosse
4e383f5501
feat(manager): adds 'if-messages' utility that only renders contents if messages exist (#1482)
* does it

* Update if_messages.ts

* address feedback and fix compilation

* Update src/server_manager/web_app/ui_components/if_messages.ts

Co-authored-by: Vinicius Fortuna <fortuna@users.noreply.github.com>

* annotate converter string

---------

Co-authored-by: Vinicius Fortuna <fortuna@users.noreply.github.com>
2024-01-25 13:17:16 -05:00
Sander Bruens
f5ac42c6c2
feat(server): add a new PUT method to create a key with a specific identifier (#1473)
* feat(server): add optional `id` parameter to `createNewAccessKey` method

* Use `PUT` instead of `POST`.

* Make changes based on review.

* Update access key creation path to only allow ID on `PUT` calls.

* Expand test scenarios for key generation to `createAccessKey`.

* Add a `toHavePropertiesOf` custom Jasmine matcher.

* Add explicit test case for `ConflictError`.

* Revert "Add a `toHavePropertiesOf` custom Jasmine matcher."

This reverts commit 134e0df441.
2024-01-17 11:08:26 -05:00
Danil Shaymurzin ⚡️
57a30a2faf
feat(server): add optional name/limit/password props for createNewAccessKey method (#1273) 2024-01-12 11:43:29 -06:00
Vinicius Fortuna
4537fddc75
fix(server): make temp file names longer (#1464) 2024-01-10 08:43:02 -05:00
dependabot[bot]
ac6be23b2e
Merge pull request #1472 from Jigsaw-Code/dependabot/npm_and_yarn/follow-redirects-1.15.4 2024-01-09 23:55:09 +00:00
dependabot[bot]
da0f532397
chore: bump follow-redirects from 1.15.0 to 1.15.4
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.0 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.0...v1.15.4)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-09 23:21:52 +00:00
Sander Bruens
e46c88450e
chore(manager/web): clean up unused _computeSideBarMarginClass (#1469) 2024-01-05 16:09:14 -05:00
Sander Bruens
6c433ed6fa
fix(sentry_webhook): convert OS values to allowed picklist values (#1467)
* fix(sentry_webhook): convert OS values to allowed picklist values

* Make `Linux` the fallback.
2024-01-04 10:40:18 -05:00
Alexander Nikitin
90e8e57b3f
fix(docs): fix invalid json in api payload examples (#1466) 2024-01-02 13:18:02 -05:00
Daniel LaCosse
fa767398a1
feat(manager/web): add manager resources link (#1463)
* mostly done, still need to test link #2

* Update outline-server-settings.ts to add margin-top and margin-bottom to documentation-link

* remove api documentation, and use iron-icon

* use iron icon icon

* add shouldShowDocumentationLink

* Update src/server_manager/web_app/ui_components/app-root.ts

Co-authored-by: Vinicius Fortuna <fortuna@users.noreply.github.com>

* make hasTranslation better

* update message id and indentation

---------

Co-authored-by: Vinicius Fortuna <fortuna@users.noreply.github.com>
2023-12-15 15:55:22 -05:00
Sander Bruens
2a304868f8
fix(sentry_webhook): rollback Salesforce value changes (#1461)
* Revert "chore(sentry_webhook): update Salesforce values (#1419)"

This reverts commit 836778324e.

* Keep the dev changes as they don't have a production impact.

* Update tests.
2023-12-11 17:45:56 -05:00
Sander Bruens
b87890446e
fix(manager/electron): replace turned down OmahaProxy with ChromiumDash (#1462)
* fix(server_manager): replace turned down omahaproxy.appspot.com

* Update engine.

* Fix type.

* Yes we get it. A string is not an int.

* Put the comment back. It's quite useful.
2023-12-11 16:35:26 -05:00
Sander Bruens
4c14a156c0
chore(sentry_webhook): use Node.js 18 runtime version (#1456) 2023-11-27 13:43:05 -05:00
Sander Bruens
094eeb3570
chore(sentry_webhook): add basic logs to the webhook so we can debug the pipeline based on event ID (#1454)
* Add some basic logs so we can cross-reference events.

* Add `is-processed` response header.

* Prevent log injection.

* Log response header at DEBUG level.
2023-11-20 12:18:36 -05:00
Daniel LaCosse
41d498f228
fix(manager/electron): separate main and renderer sentry libraries (#1451) 2023-11-17 11:48:58 -05:00
Vinicius Fortuna
50ad005e43
feat(manager): enable servers with valid domains (#1448) 2023-11-16 17:39:07 -05:00
Vinicius Fortuna
3d2c3db494
feat(server): remove ulimit (#1447)
This is unnecessarily restricting the server, which limits the number of connections we can support. It also can't raise the ulimit, since the host impose a cap on the container.

Service providers can still set the ulimit on their host if they want to.
2023-11-15 15:15:03 -06:00
Daniel LaCosse
e157315aa0
chore: upgrade node to lts/hydrogen (#1365)
* chore: upgrade to lts/hydrogen

* update github workflows

* fix attempt #1

* ssl, restify upgrade

* more openssl options

* ah thanks sander, using middleware2

* fix ci

* reset package-lock.json

* revert middleware2

* fix optional chaining

* okay cool tests run, but fail

* partially update the node image (i can't find the other one)

* Update test.action.sh

* Update build.action.sh

* Update test.action.sh

* Update build.action.sh

* Update package.json

* Update webpack.config.js

* Update webpack.config.js

* Update build.action.sh

* Update build.action.sh

* Update package.json

* Update README.md
2023-10-16 11:47:42 -04:00
Daniel LaCosse
aa56b08346
chore: upgrade restify to support lts/hydrogen (#1423) 2023-10-11 12:51:58 -04:00
Daniel LaCosse
3574b5f5e0
chore: upgrade webpack to v5 to support lts/hydrogen (#1422)
* upgrade dependencies and fix API changes

* skipLibCheck

* attempt test fixes

* fix attempt

* stream-http

* fix final thing i think
2023-10-11 10:44:36 -04:00
Sander Bruens
836778324e
chore(sentry_webhook): update Salesforce values (#1419)
* Update Salesforce values.

* Update tests.
2023-10-06 14:42:33 -04:00
Sander Bruens
61a8f7d290
chore(sentry_webhook): create tests for sentry webhook (#1417)
* Create tests for sentry webhook.

* Add GitHub workflow for new tests.

* Fix package lock files.

* Fix typos.

* Move webhook check up.

* Remove extra `/`.
2023-10-06 11:53:56 -04:00
Daniel LaCosse
7d5dffcdc9
fix(server_manager): explicitly set build target architecture (#1414) 2023-10-04 11:45:31 -04:00
cd
471668027a
feat: build upgrade for aarch64/arm64 architecture (#1399) 2023-09-29 09:14:16 -06:00
Mikhail Kopylov
51a86b0cc8
fix: improve Docker container existence detection in install_server.sh 2023-09-28 16:28:50 -04:00