Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build 13: Staging #1303

Merged
merged 266 commits into from
Mar 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
266 commits
Select commit Hold shift + click to select a range
7630e44
fix(editor): avoid editor jump
horacioh Feb 2, 2023
9da4261
fix: state machines predictableActionArguments argument
horacioh Feb 2, 2023
4b33c22
fix(frontend): remove main machine and branch sync
horacioh Feb 2, 2023
5c09bcc
wip conversations
horacioh Feb 3, 2023
5f93e6d
remove cconversation context error
horacioh Feb 6, 2023
901437a
Sites management now using new buf client
ericvicenti Jan 30, 2023
cef6d47
register p2p (mttnet) methods locally as well
juligasa Feb 1, 2023
74b7bc8
wip: calling .well-known
juligasa Feb 1, 2023
a19c004
wip: cleaning warnings
juligasa Feb 1, 2023
e8e621a
wip: using more secure random generator
juligasa Feb 1, 2023
9c8b480
update protos with changes in documentation
juligasa Feb 1, 2023
29eb344
Init mttnet server sepparately
juligasa Feb 1, 2023
da4c54c
Check permissions on remote (local mocked) calls
juligasa Feb 2, 2023
b8118a8
update protos according to PR comments
juligasa Feb 2, 2023
c46ae3e
wip: publish + unpublish + list mockups
juligasa Feb 2, 2023
6829be3
get and update remote site info
juligasa Feb 3, 2023
0aa13ad
Fixes to listing and unpublishing webPubs
ericvicenti Feb 4, 2023
68e9a62
ListWebPublicationRecords
juligasa Feb 6, 2023
942e3f4
Make a local site by default. Just for tests
juligasa Feb 6, 2023
cf209fd
change default site name
juligasa Feb 6, 2023
e19cbe6
Site Settings invite+members UI revamp
ericvicenti Feb 7, 2023
abe8ceb
fix(frontend): empty list button draft creation
horacioh Feb 7, 2023
e2cfa5a
get path mocked
juligasa Feb 7, 2023
e5a0659
fix: handle errors when getpath not found
juligasa Feb 7, 2023
ff46be3
token only
juligasa Feb 7, 2023
7fc8eb0
Invite workflow frontend fixes
ericvicenti Feb 7, 2023
2fc19dc
Log RPC from front end client
ericvicenti Feb 7, 2023
834ad52
Cleaner publish/share dialog when published
ericvicenti Feb 7, 2023
11697ed
Invalidate queries to affect other windows
ericvicenti Feb 7, 2023
41010bc
Provide member_role=editor when inviting
ericvicenti Feb 7, 2023
347fa0d
useNavigation for new draft
ericvicenti Feb 7, 2023
b21f992
update document on duplicate path (and same docID)
juligasa Feb 7, 2023
931ad3a
redeem token (if provided) in add site
juligasa Feb 7, 2023
c339854
basic invite page on gateway
ericvicenti Feb 7, 2023
dd11716
gateway fix missing env, log mode
ericvicenti Feb 7, 2023
397c6e7
Add Site invite token + error handling
ericvicenti Feb 7, 2023
8f7ebcf
update slate packages
horacioh Feb 7, 2023
1be855a
highlight conversation context wip
horacioh Feb 8, 2023
65045fe
remove panelSend event causing infinite loop
horacioh Feb 8, 2023
2a5fffe
Clicking Conv Bubble opens Activity
ericvicenti Feb 8, 2023
0ae810c
Unpublish only if you are site owner or doc author
juligasa Feb 8, 2023
129cc96
List members get members and delete member mockups
juligasa Feb 8, 2023
bdc3ec3
adding site owner to the db at init time
juligasa Feb 8, 2023
94bf47c
fix shared build (ts-ignore)
horacioh Feb 8, 2023
d687333
fix share button dissappear
horacioh Feb 8, 2023
0e48993
fix draft scroll error
horacioh Feb 8, 2023
d2d9db8
docs(tauri): merge docs from #1202
burdiyan Feb 9, 2023
68048c0
defining well-known message in doc
juligasa Feb 9, 2023
a400efb
If not site flag provided daemon is a regular node
juligasa Feb 9, 2023
f0f2adc
serve .well-known content
juligasa Feb 9, 2023
22e7046
wip: connect with site via p2p when adding it
juligasa Feb 9, 2023
df7f97d
feat(comments): comments first iteration done
horacioh Feb 9, 2023
b0e52b7
resolve conflicts with master
horacioh Feb 9, 2023
e05aa08
fix tsc build
horacioh Feb 10, 2023
c701112
wip: remote calls with hardcoded redeemtoken
juligasa Feb 10, 2023
4bbf1b0
proxy add site with no hardcodings
juligasa Feb 11, 2023
f3b40dc
proxy all calls to remote site if headers found.
juligasa Feb 13, 2023
242aaea
wip: harden tokens and improve debug comments
juligasa Feb 13, 2023
c42b056
check path is a valid URL
juligasa Feb 13, 2023
42da5ba
Send site hostname header
ericvicenti Feb 13, 2023
7ec8400
SSR web publish with pretty path
ericvicenti Feb 13, 2023
f13e58a
Work around tauri dots in params
ericvicenti Feb 13, 2023
cca0436
flag 2 create random acc. w/out user intervention
juligasa Feb 13, 2023
d21e240
Supports publishing home page
ericvicenti Feb 13, 2023
54fb00c
Web gateway to support home screen
ericvicenti Feb 13, 2023
44f868a
proxy ListWebPublicationRecords for each site
juligasa Feb 14, 2023
7d8129f
hostname with mandatory protocol (http(s)://)
juligasa Feb 14, 2023
e2ebbfd
forward metadata in proxied calls
juligasa Feb 14, 2023
8c7c0b1
fix automatic acc. generation when already exists
juligasa Feb 14, 2023
2ec6a5d
Start supporting protocol in site hostname
ericvicenti Feb 14, 2023
516fdbd
manually cherry-pick conversations styles
horacioh Feb 14, 2023
f636298
Gateway Env variable: GW_NEXT_HOST
ericvicenti Feb 15, 2023
6fef780
Gateway env: GW_GPRC_ENDPOINT
ericvicenti Feb 15, 2023
4bc090f
wip: include sync comments
juligasa Feb 15, 2023
24b5928
Dockerfile to containerize the daemon
juligasa Feb 15, 2023
017c0a4
wip:contanerize gateway
juligasa Feb 15, 2023
2c10885
fix(backend/ipfs): switch to inmemory datastore again
burdiyan Feb 15, 2023
83bd759
fix mintter.com website with hardcoded document
horacioh Feb 15, 2023
582f1aa
add .vercel to gitignore
horacioh Feb 15, 2023
445909e
fixes on env variables for gateway
horacioh Feb 15, 2023
bacb7b4
fix envs again
horacioh Feb 15, 2023
488b8bd
pasing transport tpo getPublication
horacioh Feb 15, 2023
ee28cb3
forcing gateway as host
horacioh Feb 15, 2023
0ac245b
clientside again for gateway
horacioh Feb 15, 2023
8eac90f
fix metadata formatted date
horacioh Feb 16, 2023
99e8f85
fix comments workflow + design
horacioh Feb 16, 2023
6280839
Nostr experiment to staging (behind flag)
horacioh Feb 16, 2023
31d5361
nostr true by default
horacioh Feb 16, 2023
386f1e3
update mintter homepage pub version
horacioh Feb 16, 2023
ef74f6e
update frontend deps
horacioh Feb 17, 2023
b08ccf7
testing ssr on ids page
horacioh Feb 17, 2023
011048e
testing nodejs runtime on ids
horacioh Feb 17, 2023
96fde5a
rollback to clientside rendering
horacioh Feb 17, 2023
b0baf0c
wip: tests
juligasa Feb 17, 2023
5f69242
wip: site tests
juligasa Feb 20, 2023
310c6e0
site db schema
juligasa Feb 20, 2023
d2edd4d
enable wss in build (wip)
horacioh Feb 21, 2023
3b5317a
add click selector click event
horacioh Feb 21, 2023
a4c9b30
fix(comments): control better when to add/remove conversations
horacioh Feb 22, 2023
408c955
fix(comments): bidirectional highlight for conversations
horacioh Feb 22, 2023
9e77534
fix(comments): scrollIntoView working in both publication and convers…
horacioh Feb 22, 2023
f7e7cc8
gw vercel check and render client side pub
ericvicenti Feb 22, 2023
5a20a69
docker file for nextjs site self host
ericvicenti Feb 22, 2023
227194b
server side render 100%
ericvicenti Feb 22, 2023
1710efc
fetch redirect mode
ericvicenti Feb 23, 2023
0888f49
vercel test
ericvicenti Feb 23, 2023
403be28
😵‍💫
ericvicenti Feb 23, 2023
777eb8e
🤠
ericvicenti Feb 23, 2023
0db7d1a
👾
ericvicenti Feb 23, 2023
ebd1b6d
🌈 interceptor
ericvicenti Feb 23, 2023
d798ab3
📢
ericvicenti Feb 23, 2023
4bf13c2
gw: server render by default
ericvicenti Feb 23, 2023
8904ad6
Site title
ericvicenti Feb 23, 2023
f0fcb24
Clean up unused settings tabs
ericvicenti Feb 23, 2023
261fb74
Improvements to site members
ericvicenti Feb 23, 2023
045912e
Fixing site hostname labels + urls
ericvicenti Feb 23, 2023
95c8d4d
sites db schema (no breaking change yet)
juligasa Feb 23, 2023
d38860c
change database compatibility
juligasa Feb 23, 2023
b3ad410
well known api draft
ericvicenti Feb 23, 2023
59b560d
remove the need to build shared pkg
horacioh Feb 23, 2023
dec3c12
Revert "remove the need to build shared pkg"
horacioh Feb 23, 2023
6427148
fix build step for gw
horacioh Feb 23, 2023
2daa72d
setup env variables correctly
juligasa Feb 23, 2023
549de21
wip: add member
juligasa Feb 23, 2023
cac8f6e
force vercel to use gateway.mintter.com
horacioh Feb 23, 2023
918c7a2
set new homepage doc for gateway
horacioh Feb 23, 2023
55f597a
force gateway url
horacioh Feb 23, 2023
92effee
🤌
horacioh Feb 23, 2023
7803329
😔
horacioh Feb 23, 2023
876b705
😢
horacioh Feb 23, 2023
3897514
😢😢
horacioh Feb 23, 2023
83b4b34
allow unpublish by path
juligasa Feb 23, 2023
aeac345
Build13/drag and drop (#1308)
iskaktoltay Feb 23, 2023
b2c39e9
remove log interceptor from prod transform
horacioh Feb 23, 2023
871598e
enable everyone to edit enything
horacioh Feb 24, 2023
300d80d
remove publication blocktools red background
horacioh Feb 24, 2023
1920f5b
feat(frontend): drag and drop working
horacioh Feb 24, 2023
2c9ddcf
wip: site member management in db
juligasa Feb 24, 2023
21f2991
fix: consume grpc port properly
juligasa Feb 24, 2023
db4191f
fix nextjs responses
horacioh Feb 24, 2023
2c5ade6
fix: returning proper role on existing accounts
juligasa Feb 24, 2023
b5ab0d3
log ids params for debugging
horacioh Feb 24, 2023
74bab95
check documentId params check
horacioh Feb 24, 2023
f2190d4
wip: change site opts in db
juligasa Feb 24, 2023
dbc25f0
wip: managing sites in the db
juligasa Feb 24, 2023
009acee
wip: web publication records db (not tested)
juligasa Feb 24, 2023
173a392
prevent same document to be published twice
juligasa Feb 24, 2023
c11c7f8
unpublish by docid (+ version) only
juligasa Feb 24, 2023
c1b6c56
wip: web publication db testing (no references)
juligasa Feb 25, 2023
39acfd9
wip: account for references in published documents
juligasa Feb 25, 2023
5ad69b6
Sites db persistence (breaking change)
juligasa Feb 26, 2023
434bdcb
allow adding a site without token (and no owner)
juligasa Feb 27, 2023
2301a62
fix site tests
juligasa Feb 27, 2023
fff1863
test proxy members
juligasa Feb 27, 2023
712602f
wip: site info test
juligasa Feb 27, 2023
dbee0dc
fix(frontend): fix publishing redirection
horacioh Feb 27, 2023
2ea7322
test(backend): add tests for block revisions
burdiyan Feb 27, 2023
7e8f465
Error adding a site without token if not an owner
juligasa Feb 27, 2023
e383047
version id provided on unpublish
ericvicenti Feb 27, 2023
4cb8623
Security pack own words support comma
ericvicenti Feb 27, 2023
773682b
fix(frontend): add zomm in and out
horacioh Feb 27, 2023
c3f0b43
Publish/share dialog: Fix url of home path
ericvicenti Feb 27, 2023
3134763
gw: author server rendered
ericvicenti Feb 28, 2023
610722a
gw: env port for development
ericvicenti Feb 28, 2023
c8960c2
gw: well known endpoint for nextjs
ericvicenti Feb 28, 2023
7544b77
wip: site deployment documentation
juligasa Feb 28, 2023
1e6ce56
disable nostr
ericvicenti Feb 28, 2023
40314d1
documentID unique key + test suite update
juligasa Feb 28, 2023
4c2f37f
add author data on comments
horacioh Feb 28, 2023
662ccd2
added top and bottom lines when dragging based on the paths
iskaktoltay Mar 1, 2023
fd101a3
wip: site syncs-in provided documents only
juligasa Mar 1, 2023
30d50b6
fix(frontend): fix drag and drop in Mac
horacioh Mar 1, 2023
6f7a4b3
some frontend fixes
horacioh Mar 1, 2023
fac370d
site syncing tests
juligasa Mar 1, 2023
33f6c0d
wip:syncing comments
juligasa Mar 1, 2023
dcae7bf
fix(frontend): fix publish share popover alignment
horacioh Mar 1, 2023
0591606
fix: multiple identical site members
juligasa Mar 1, 2023
5d17996
wip: less autorelay verbosity
juligasa Mar 1, 2023
575c8e2
site only syncs out with site members
juligasa Mar 1, 2023
2a4fa6e
wip on new sidepanel
horacioh Mar 1, 2023
aff4712
feat(frontend): add activepanel to sidepanele
horacioh Mar 1, 2023
ac708c9
fixed bug where blocks would be dragged to top when the bottom line w…
iskaktoltay Mar 2, 2023
a4747b6
add footer import on sites page
horacioh Mar 2, 2023
817534e
take into account lists in tests
juligasa Mar 2, 2023
1d6cf33
change site bio when updating site info
juligasa Mar 2, 2023
f314c53
wip: publish tests
juligasa Mar 2, 2023
705e211
wip: improve site tests
juligasa Mar 2, 2023
243fb5d
wip: make linter happy
juligasa Mar 2, 2023
998e256
wip: unify db constraints
juligasa Mar 2, 2023
cf6db1e
error getpath on blank path + improve test suite
juligasa Mar 2, 2023
85ba403
fix(backend): don't panic on nil datoms iterator
burdiyan Mar 3, 2023
3b700b5
Citations and Versions sidebar prototype
ericvicenti Mar 3, 2023
03488f6
test(rust): fix clippy lint issues
burdiyan Mar 3, 2023
431da86
wip: improve error messages on document finding
juligasa Mar 3, 2023
3343f97
check multiple devices in parallel when publishing
juligasa Mar 3, 2023
17f2f34
identify supporting materials by ID + Version
juligasa Mar 4, 2023
da10719
fix(front): provide supporting material properly
juligasa Mar 4, 2023
8dfb699
wip: linting and messaging
juligasa Mar 5, 2023
709a42c
look at nextjs .well-known path when adding a site
juligasa Mar 5, 2023
cf174dd
site deployment
juligasa Mar 5, 2023
cc65ea3
fix(frontend): minor fixes on dragging
horacioh Mar 6, 2023
1d777e7
fix(frontend): transformation to api now respects revision
horacioh Mar 6, 2023
e3cf7b1
unify hover effect + cleanup imports
horacioh Mar 6, 2023
6c38d7d
make script portable
juligasa Mar 7, 2023
9ed7690
fix(frontend): remove shared api client calls
horacioh Mar 7, 2023
5318c6c
uncomment correct index page ids
horacioh Mar 7, 2023
73394c3
member management for owners, remove member
ericvicenti Mar 7, 2023
61b55d3
gw: Remove client side fallback
ericvicenti Mar 7, 2023
2509f7b
Gateway Dev port fix
ericvicenti Mar 7, 2023
7e7e17b
gw: query for author on page slug
ericvicenti Mar 7, 2023
08c4f19
settings + share hostname display no protocol
ericvicenti Mar 8, 2023
252cc0d
publish success message
ericvicenti Mar 8, 2023
959719e
republish notification
ericvicenti Mar 8, 2023
c4a0c51
not exposing daemon http ports to the outside
juligasa Mar 8, 2023
7579d43
remove the ERROR
horacioh Mar 8, 2023
001485f
fix(gateway): fix gateway wrong calls
horacioh Mar 8, 2023
0fa7c83
cleanup imports
horacioh Mar 8, 2023
9ca77a2
remove citation numbers for now
horacioh Mar 8, 2023
08e7951
using a more portable curl command to deploy sites
juligasa Mar 8, 2023
f4c0d96
wip: some comments on difficult-to-follow code
juligasa Mar 8, 2023
e7fd37d
fix mnemonics call in onboarding
horacioh Mar 8, 2023
c4318e0
Fix double https in invite sender
ericvicenti Mar 8, 2023
27d59ee
add logs to production build
horacioh Mar 8, 2023
9d1e9ba
upgrade to the more advanced script
juligasa Mar 8, 2023
8379285
wip: not defining latest to pull from repo
juligasa Mar 8, 2023
cf1002d
gw: Minor logging / cleanup
ericvicenti Mar 8, 2023
b09a374
citations number in blocks
horacioh Mar 9, 2023
e2c5667
Improving sites settings UI
ericvicenti Mar 9, 2023
13a0d59
not exposing addresses over http in regular nodes
juligasa Mar 9, 2023
e9b6e1b
wip: test docker build action
juligasa Mar 9, 2023
33e1717
fix: docker action
juligasa Mar 9, 2023
be765a2
Include site docker images in nightlies 6 AM
juligasa Mar 9, 2023
b2d732b
fix(gateway): special site header for sites
horacioh Mar 10, 2023
a9ad025
fix(frontend): slim down nextjs-docker size
horacioh Mar 10, 2023
b3b9ed3
update static copy route in docker
horacioh Mar 10, 2023
971b1f6
chore(build): make protobuf JS codegen up to date
burdiyan Mar 10, 2023
49ab3c5
Fix broken republish message
ericvicenti Mar 14, 2023
95c2809
Invalidate doc list on publish
ericvicenti Mar 14, 2023
0ac0216
Site title, doc title, SEO metadata
ericvicenti Mar 14, 2023
c8639fa
Gateway Pretty Path not found
ericvicenti Mar 14, 2023
3de2397
Fix: take version into account in getpath
juligasa Mar 14, 2023
517a9c6
WebPublish to use the open version
ericvicenti Mar 14, 2023
1355cbb
Fix silent error dialog
ericvicenti Mar 14, 2023
efbe205
feat(frontend): new ui structure for the gateway code
horacioh Mar 15, 2023
b91b3e4
fix(build): fix rust CI issues
burdiyan Mar 15, 2023
225d0f2
Improve panel titles
ericvicenti Mar 14, 2023
09aab9b
app sidebar toggle behavior in footer
ericvicenti Mar 14, 2023
27bc992
conversation floating button is gone
ericvicenti Mar 14, 2023
bf51be0
fix(build): remove wasi-mtt from the rust workspace
burdiyan Mar 15, 2023
687645e
fix frontend package installs
horacioh Mar 15, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
33 changes: 0 additions & 33 deletions .config/hakari.toml

This file was deleted.

6 changes: 5 additions & 1 deletion .envrc
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,9 @@ git config pull.rebase true
use nix --max-jobs auto
watch_file shell.nix build/nix/**/*.nix

export VITE_MINTTER_API_URL="http://localhost:55001"
export TAMAGUI_TARGET="web"
# export GW_GRPC_ENDPOINT="https://gateway.mintter.com"

export VITE_MINTTER_GATEWAY_URL="https://mintter.com"
export MINTTER_HOME_PUBID="bafy2bzacea346azbi4r5fxebdvz6wpkak7ati3cf5vywtruw4aabjeoi2332w"
export MINTTER_HOME_VERSION="baeaxdiheaiqdibxfrclwutlnc73bey7yrgqqbggbsdoz5b2d2rlsk7euvqompey"
29 changes: 28 additions & 1 deletion .github/workflows/release-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release Nightly
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 1-5'
- cron: '0 6 * * 1-5'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -13,6 +13,33 @@ env:
AWS_REGION: us-east-1

jobs:
generate-docker-images:
runs-on: ubuntu-latest
steps:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push mintterd
uses: docker/build-push-action@v4
with:
push: true
file: backend/cmd/mintterd/Dockerfile
tags: mintter/mintterd:latest
-
name: Build and push nextjs
uses: docker/build-push-action@v4
with:
push: true
file: frontend/gateway/Dockerfile
tags: mintter/sitegw:latest

get-version:
runs-on: ubuntu-latest
outputs:
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,5 @@ target
.plz-cache
plz-out
.plzconfig.local
./private_keys
./private_keys
.vercel
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# ignore backend code
api
backend

# build code
Expand Down
Loading