{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":413861756,"defaultBranch":"master","name":"outline-server","ownerLogin":"ksperis","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2021-10-05T14:53:18.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/2341679?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1633445604.431372","currentOid":""},"activityList":{"items":[{"before":"494389944ef2ad60e2ed44f634d7f5d59ef1a563","after":"0006499f286faaf9d8ef94b6b0a159d994f2ae75","ref":"refs/heads/master","pushedAt":"2023-03-18T09:00:38.613Z","pushType":"push","commitsCount":1,"pusher":{"login":"ksperis","name":"Laurent Barbe","path":"/ksperis","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2341679?s=80&v=4"},"commit":{"message":"fix(manager): πŸ’Š integrate with the latest Sentry library (#1309)\n\nIn this PR, I integrated Outline Manager with the latest Sentry library and re-enabled the user feedback form. Sentry was not working because of two reasons:\r\n1. Electron enabled sandbox to its `preload.js` script, therefore calling `Sentry.init` in `preload` is not enough (and not necessary), we must call `Sentry.init` in every renderer process as well\r\n2. `SENTRY_DSN` is not injected into electron, we read it from `process.env.SENTRY_DSN`, but this is a runtime environment variable (which will be `undefined`)\r\n\r\nSo basically my fix is straightforward:\r\n1. Calling `Sentry.init` in `web_app/app.ts`, which is the entrypoint of renderer process\r\n2. Use `webpack` to inject `SENTRY_DSN_` variable into `electron_app/index.ts` during build\r\n\r\nIn order to be consistent (and to minify the result js file), I also introduced webpack to build the `preload.ts` script as well.\r\n\r\nFinally I upgraded electron to the latest version that does not have [API restrictions](https://www.electronjs.org/docs/latest/breaking-changes#default-changed-renderers-without-nodeintegration-true-are-sandboxed-by-default) to `preload` script (we are using `crypto` package which will be forbidden). A refactoring is required in order to upgrade to any newer versions of electron.","shortMessageHtmlLink":"fix(manager): πŸ’Š integrate with the latest Sentry library (Jigsaw-Code…"}},{"before":"dbee09305294b43e6e08bc34658e609799609505","after":"494389944ef2ad60e2ed44f634d7f5d59ef1a563","ref":"refs/heads/master","pushedAt":"2023-03-10T23:20:30.671Z","pushType":"push","commitsCount":177,"pusher":{"login":"ksperis","name":"Laurent Barbe","path":"/ksperis","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2341679?s=80&v=4"},"commit":{"message":"chore(manager): πŸ“„ re-generate dependency licenses (#1305)\n\nOur [`licenses.txt`](https://github.com/Jigsaw-Code/outline-server/blob/508a5a2af5e076716ce91cbb08217075fe675e98/src/server_manager/web_app/ui_components/licenses/licenses.txt) file for Outline Manager is not correct, it is just a simple duplication of the [`README.md`](https://github.com/Jigsaw-Code/outline-server/blob/508a5a2af5e076716ce91cbb08217075fe675e98/src/server_manager/README.md). In this PR, I re-generate the `licenses.txt` file with all dependencies and update the steps in order to correctly generate it.","shortMessageHtmlLink":"chore(manager): πŸ“„ re-generate dependency licenses (Jigsaw-Code#1305)"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADBiqC7AA","startCursor":null,"endCursor":null}},"title":"Activity Β· ksperis/outline-server"}