Commit Graph

29304 Commits

Author SHA1 Message Date
Tinnus Napbus
ac1dac0c6c eyre: simplify auto-https logic 2022-09-24 21:52:34 +12:00
Tinnus Napbus
27349c51ab eyre: add auto-https redirects
if a cert is configured and a secure port is live it will set the
redirect flag in http-config.state.

When it gets a ++request it will return a 301 redirect to
https://[host]/[path] if:

  1. not already secure
  2. redirect flag set
  3. secure port live
  4. is not requesting /.well-known/acme-challenge/...
  5. the host is in domains.state

It will not happen if forwarded-secured, localhost, local loopback, ip
addresses or domains not in domains.state.

in ++load it checks the secure port is live and a cert is set and
enables it if so (for people who already use in-urbit letencrypt)

%rule %cert tasks also toggle it (only turning it on if secure port
live)

%live tasks also toggle it (only turning it on if cert set)

Have tested with a couple of ships and seems to work fine.

This is useful in combination with pyry's auto arvo.network dns config
system - can finally get rid of reverse proxies entirely.
2022-09-04 02:58:09 +12:00
Hunter Miller
80fa2ebf80 Merge branch 'next/npm' 2022-05-11 11:42:30 -05:00
yosoyubik
1f76be7f4b docket: add comment 2022-04-28 10:10:14 +02:00
yosoyubik
09abf95027 docket: fix inflate-cache in on-load 2022-04-28 10:02:58 +02:00
Patrick O'Sullivan
1a11d797ea
Merge pull request #5736 from urbit/po/fix-for-iswriters-func
npm: fix issue caused by set var in groups/lib.ts
2022-04-27 14:45:06 -05:00
Patrick O'Sullivan
67aa4565f1 Merge branch 'master' into next/npm 2022-04-27 14:44:27 -05:00
yosoyubik
bb02368546 docket: force uninstall %hodl agent 2022-04-27 18:52:23 +02:00
yosoyubik
9bb844ada9 docket: force a |rein %base prior to fixing #5667 2022-04-27 14:10:24 +02:00
Patrick O'Sullivan
35a224137a npm: fix issue caused by set var in groups/lib.ts 2022-04-26 13:42:18 -05:00
Hunter Miller
8aaeeef405 Merge branch 'master' into next/landscape 2022-04-20 10:16:56 -05:00
Hunter Miller
25988742f2 Merge branch 'next/landscape' of github.com:urbit/urbit into next/landscape 2022-04-19 14:51:08 -05:00
Patrick O'Sullivan
26b9092f24
Merge pull request #5719 from urbit/po/fix-leap-ship-autocomplete
grid: fix leap ship autocomplete
2022-04-15 14:51:26 -05:00
Patrick O'Sullivan
c0a595ccca grid: leap: search only for ship names, not display names 2022-04-14 12:25:03 -05:00
Patrick O'Sullivan
75f1e22969 grid: Show provider nicknames next to actual ship name in leap search 2022-04-14 11:33:59 -05:00
Liam Fitzgerald
a47d4b21d1 Merge remote-tracking branch 'origin/next/groups' 2022-04-13 16:04:55 -05:00
Patrick O'Sullivan
9c537f0e03 groups: Update desk.docket with new bs8b1 2022-04-13 16:00:38 -05:00
Patrick O'Sullivan
0e0b271cf3 groups: Fix circ. dep issue in safari, remove await in bootstrap 2022-04-13 15:40:18 -05:00
Liam Fitzgerald
ba50914615
Merge pull request #5661 from urbit/lf/graph-drop-logs
graph-store: drop unnecessary logs
2022-04-13 14:05:28 -05:00
Hunter Miller
25d56c5cfd groups: fixing hash 2022-04-12 13:59:27 -05:00
Hunter Miller
649b127414 Merge branch 'master' of github.com:urbit/urbit 2022-04-12 13:40:17 -05:00
Hunter Miller
3cfc517631 groups: version bump 2022-04-12 13:40:09 -05:00
Hunter Miller
dcfcafb049 Merge branch 'next/groups' 2022-04-12 13:39:33 -05:00
Hunter Miller
b5df7cee27 Merge branch 'master' into next/landscape 2022-04-12 13:32:16 -05:00
Hunter Miller
5e30284e56 Merge branch 'master' into next/groups 2022-04-12 13:30:39 -05:00
Patrick O'Sullivan
e2eeda96c2 grid: Update glob to 090hm 2022-04-12 13:28:58 -05:00
Patrick O'Sullivan
f0a2fc5483 grid: Update glob to dtu8f 2022-04-12 13:28:34 -05:00
Hunter Miller
0828ae6296
Merge pull request #5704 from urbit/james/group-notifications
groups: fix join/leave notification toggle
2022-04-08 12:04:20 -05:00
Hunter Miller
a3a1b596f2
Merge pull request #5705 from urbit/james/p3-omnibus
groups: various copy and design fixes
2022-04-08 12:04:06 -05:00
Hunter Miller
8d7c6770bb
Merge pull request #5700 from urbit/po/show-group-settings-menu-on-mobile
groups: show group settings menu when pressing settings cog on mobile
2022-04-08 11:08:42 -05:00
nerveharp
662e2d23ca
Merge pull request #5703 from urbit/po/remove-prompt-for-browser-settings-notification
Po/remove prompt for browser settings notification
2022-04-08 11:52:59 -04:00
James Acklin
70dcd7ab09 groups: various copy and design fixes
fixes urbit/landscape#1377
fixes urbit/landsacpe#1328
fixes urbit/landscape#1161
fixes urbit/landscape#1045
2022-04-08 11:47:55 -04:00
James Acklin
2c08d2477e groups: fix join/leave notification toggle
fixes urbit/landscape#1012
2022-04-08 10:49:10 -04:00
Patrick O'Sullivan
aef4890cf4 grid: remove notification prompt for browser settings 2022-04-08 08:19:59 -05:00
Patrick O'Sullivan
69062f1700 groups: use path variable for mobile toggling in groupswitcher 2022-04-07 19:39:59 -05:00
Patrick O'Sullivan
9f25f74d93 groups: show group settings menu when pressing settings cog on mobile 2022-04-07 14:25:10 -05:00
Hunter Miller
a15efab60c
Merge pull request #5699 from urbit/james/image-thumbnails
links: image thumbnail fills entire grid item
2022-04-07 13:58:55 -05:00
Hunter Miller
59e90a0dd1
Merge pull request #5587 from rabsef-bicrym/patch-1
%depth-first has pattern-matching issue
2022-04-07 12:58:54 -05:00
James Acklin
bb8d0c6f58 duplicate component, sorry for the messy commit 2022-04-07 10:38:10 -04:00
James Acklin
c623bc6c36 links: image thumbnail fills entire grid item
fixes urbit/landscape#1313
2022-04-07 10:35:45 -04:00
Hunter Miller
8ad3bd7068
Merge pull request #5696 from dnmfarrell/dnmfarrell/rm-share-profile-chat
interface: remove share profile chat button
2022-04-06 16:57:47 -05:00
Hunter Miller
fc347ff0a4
Merge pull request #5693 from urbit/hm/fix-browser-settings-clearing
grid: browser setting and notification prefs cleanup
2022-04-06 10:15:51 -05:00
David Farrell
4f1ebe8416 interface: remove share profile chat button
Removes the "Share private profile?" text and button that appear
at the top of the chat window when the ship has not opted in to sharing
their profile.

fixes urbit/landscape#1195
2022-04-06 09:51:50 -04:00
Hunter Miller
c35f6f19e6 notifications: refining language, dnd prevents badge and browser notify, still get hark state 2022-04-05 19:21:44 -05:00
Hunter Miller
f246cbf32a lock: fixing sizing 2022-04-05 19:20:20 -05:00
Hunter Miller
45b5100601 dialog: fixing weird white flash from brave on window unfocus 2022-04-05 19:19:58 -05:00
Hunter Miller
f085c37ecc browser-settings: making types more robust and fixing setting clearing bug 2022-04-05 18:29:29 -05:00
Patrick O'Sullivan
1d7b5d648a grid: Move browser not. toggle into notification tab, remove dnd 2022-04-05 09:44:28 -05:00
Patrick O'Sullivan
0f3ba4f296 grid: Remove unnecessary space, comma from interface settings 2022-04-04 13:33:49 -05:00
Patrick O'Sullivan
ed9b58c3f9 Update copy for browsers that can't register protocols 2022-04-04 13:32:14 -05:00