77 Commits

Author SHA1 Message Date
Tom Moor
1efd3b6f96 fix: Do not prompt for app install on public shares, closes #7198 2024-07-06 11:10:58 -04:00
Will Fuqua
cf1b84524d Do not load opensearch.xml from CDN, so it uses the correct team subdomain (#6567)
Fixes a bug that results in a broken opensearch.xml for team subdomains.

See https://github.com/outline/outline/issues/3470 -- this issue (same reproduction steps) is happening again due to an issue introduced in 3eabb30949 .

The team subdomain's `/opensearch.xml` is correct, but because the `<link rel="search" ...` points to the CDN, this correct opensearch.xml is not used.
2024-02-21 04:27:35 -08:00
Tom Moor
2b0a8d1f7c fix: Correct HTML lang attribute in source. closes #6534 2024-02-16 12:44:43 -05:00
Tom Moor
f511540770 fix: Disable 'dark reader' chrome extension on Outline.
- We have native dark mode
- With extension enabled it mutates the document causing unrecoverable render loops

closes #6353
2024-01-07 09:19:52 -05:00
Tom Moor
9b335b5342 fix: Do not load manifest from CDN 2023-11-28 08:29:41 -05:00
Tom Moor
4e53029377 Use "Inter" as default typeface (#5741)
* Inter

* tweaks

* tweaks
2023-08-31 15:07:45 -07:00
Tom Moor
66331d3d4f Add csp nonce to all inline script tags (#5566) 2023-07-15 07:15:14 -07:00
Tom Moor
07ae67924f Use team name and favicon (when public branding enabled) on shared links 2023-05-08 14:46:25 -04:00
Tom Moor
3eabb30949 fix: favicon, apple touch icon, etc not loaded from CDN 2023-03-11 14:10:13 -05:00
Tom Moor
3acc352cf0 Fix PWA manifest (#4922) 2023-02-23 18:52:25 -08:00
Hans Pagel
e754f89e5c Replace Webpack with Vite (#4765)
Co-authored-by: Tom Moor <tom@getoutline.com>
Co-authored-by: Vio <vio@beanon.com>
2023-02-15 19:39:46 -08:00
Tom Moor
7e22526cc7 Improve error handling 2022-12-11 11:27:54 -05:00
Apoorv Mishra
053d10d893 Enhance server side error handling (#4537)
* fix: server side error handling

* fix: push only unknown 500 errors to sentry

* fix: use in-house onerror in favor of errorHandling middleware

* fix: split error template into dev and prod envs

* fix: check Error instance

* fix: error routes in test env

* fix: review comments

* Remove koa-onerror

Co-authored-by: Tom Moor <tom.moor@gmail.com>
2022-12-09 21:51:42 +05:30
Tom Moor
9936f42882 Avoid fsstat on every request, remove koa-static (#4387)
* Avoid fsstat on every request, remove koa-static

* tsx

* Move compression middleware
2022-11-05 06:50:46 -07:00
Tom Moor
c9156ae399 fix: Login screen not vertically centered on mobile (#4052) 2022-09-04 00:14:32 -07:00
Tom Moor
0a77733500 fix: Update canonical url when moving between pages of shared document 2022-06-01 21:27:18 +02:00
Tom Moor
bc7052b7ca feat: Inject description and canonical url into public share links 2022-05-22 08:46:57 +01:00
Tom Moor
a99f6bed42 feat: Return publicly shared document title in SSR HTML (#2191)
* feat: Return publicly shared document title in SSR HTML
closes #2146

* tests
2021-06-09 17:41:39 -07:00
Tom Moor
c8055e40bb fix: Content appearing behind status bar in iOS PWA on some models of phone 🤷 2021-04-23 14:57:38 -07:00
Nan Yu
eff56b758c feat: use flexbox to center the floating title (#1959)
* use flexbox to center the floating title

* simplify breadcumb alignment

* small adjustments

* fix alignment on actions
2021-03-15 19:24:14 -07:00
Tom Moor
2ad9f69f7f fix: Scrollbars should match theme, closes #1917 2021-02-21 19:59:57 -08:00
Tom Moor
7e922d8716 feat: Installable PWA (#1882) 2021-02-15 15:19:51 -08:00
Yaroslav Zhavoronkov
e2d7d34f30 fix: Pass credentials with API requests when required to work with Cloudflare Access (#1867) 2021-02-06 22:49:49 -08:00
Tom Moor
a2fb3bb9f8 fix: Favicon should load from domain root, not current path 2021-02-02 21:13:11 -08:00
Tom Moor
f6370ccf6d chore: Sentry performance monitoring (#1841)
* Hook up performance monitoring

* lint
2021-01-22 20:42:45 -08:00
Tom Moor
6a206de6cd chore: Add meta description 2021-01-22 19:12:39 -08:00
Tom Moor
3bace8c9e4 fix: Restore DNS prefetching for static resources (#1820)
* fix: Restore DNS prefetching for static resources

* fix: CDN paths
feat: preload instead of prefetch for key bundles

* csp

* fix: Turns out prefetch-src is still behind a flag in Chrome, not publicly available yet
2021-01-18 15:48:46 -08:00
Tom Moor
ea57cef89c fix: Reduce double reporting of errors 2020-12-21 21:10:25 -08:00
Tom Moor
735d5cbf26 fix: Ignore safely ignored loop error
closes #1646
2020-11-11 17:05:05 -08:00
Tom Moor
ea69d09562 fix: Guard usage of localStorage 2020-09-21 19:43:51 -07:00
Nan Yu
55858d5d7d fix: put guard around sentry init (#1547) 2020-09-13 19:54:08 -07:00
Tom Moor
de59147418 chore: Upgrade Sentry to 5.22.3
closes #1498
2020-08-31 18:36:30 -07:00
Tom Moor
67981a351e chore: Remove env variables in webpack bundle (#1353)
* chore: Remove env variables in webpack bundle

* remove unused globals

* refactor: consolidate window.env calls to single file

* fix: Slack client side integration auth

* fix: developers url
2020-07-18 11:02:40 -07:00
Tom Moor
c929f83813 feat: Improved error filtering and reporting (#1293) 2020-05-29 07:22:09 -07:00
Tom Moor
c15cbd06a4 chore: Bugsnag -> Sentry (#1178)
* Bugsnag -> Sentry

* fix: Import style
2020-02-16 22:58:50 -08:00
Tom Moor
dd95c9cba9 feat: Opensearch tags / descriptor 2019-08-08 19:52:29 -07:00
Tom Moor
3d805d5fe7 chore: tooltip update / remove css loader (#985)
* fix: Add suspended filter to people management #984

* chore: removing css loader

* pui-react-tooltip -> tippy
closes #980

* remove extract-text-plugin
2019-07-09 21:17:25 -07:00
Tom Moor
59c82f1f06 Dark Mode (#912)
closes #704
2019-03-12 21:35:35 -07:00
Tom Moor
d91f4045c9 Add favicon to serverside html 2019-03-02 21:43:07 -08:00
Tom Moor
39a61d8559 Upgrade Dependencies (#873)
* Loading placeholder

* Upgrade dependencies, reduce warnings

* 👕

* Remove more unused deps

* Bump RME
2019-01-21 11:06:44 -08:00
Tom Moor
7375e95bf5 Allow manifest discovery 2018-06-16 14:43:34 -07:00
Tom Moor
87c1d610d1 Add missing alt, add missing lang property 2018-06-16 14:00:24 -07:00
Tom Moor
32ba98bb1a Unfurling of Slack links (#487)
* First pass: Unfurling of Slack links

* Add authentication in db

* Call associate on Event correctly

* Add SLACK_APP_ID, remove SLACK_REDIRECT_URI, tidy env sample

* PR feedback

* Comment clarify
2017-12-18 19:59:29 -08:00
Jori Lallo
f5c51a96f0 Renamed Atlas to Outline 2017-11-09 00:20:22 -08:00
Tom Moor
524afd8b44 SignIn / SignOut working 2017-10-22 20:29:27 -07:00
Tom Moor
802ce10f14 POC 2017-10-22 17:16:57 -07:00
Tom Moor
aceaf261d2 Working on 'static' pages 2017-10-22 16:33:10 -07:00
Jori Lallo
d4dc6f2a28 separated bugsnag token 2017-10-15 16:37:10 -07:00
Tom Moor
dc3ebf0c27 Quick fixes from last PR 2017-09-04 12:26:00 -07:00
Jori Lallo
a72a681e97 optimize js 2017-07-10 21:34:39 -07:00