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

[DPCP-3] Add websockets #2

Merged
merged 197 commits into from
May 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
197 commits
Select commit Hold shift + click to select a range
9ed4e78
vn(init)
varsnothing Jan 17, 2024
776fad3
vn(docs)
varsnothing Jan 17, 2024
7a7feb6
vn(docs)
varsnothing Jan 17, 2024
24a0280
vn(git) rebase with dev
varsnothing Jan 17, 2024
5281d79
vn(feat) WEB-000: some refactoring
varsnothing Jan 17, 2024
4e3608c
vn(git) resolving pr tmp deletion
varsnothing Jan 17, 2024
245529a
vn(perf) reduce bundle size
varsnothing Jan 17, 2024
ffeb1db
vn(perf) reduce bundle size
varsnothing Jan 17, 2024
e5ce47e
vn(nit) order
varsnothing Jan 17, 2024
bc8b804
vn(lint) add lint conf
varsnothing Jan 17, 2024
a60526c
vn(ci) lint-check
varsnothing Jan 17, 2024
95aed26
ar(ci) fix lint
varsnothing Jan 17, 2024
61686de
vn(lint) lint ignore
varsnothing Jan 17, 2024
8b70a0d
vn(lint) required
varsnothing Jan 17, 2024
aea1f5d
ar(lint) script and fix
varsnothing Jan 17, 2024
c7f543b
vn(ci) checks dirs
varsnothing Jan 17, 2024
2f43724
vn(ci) better naming
varsnothing Jan 17, 2024
b293f22
ar(ci) build check
varsnothing Jan 17, 2024
7afca0c
vn(ci) fix
varsnothing Jan 17, 2024
b1b57e2
vn(fix) build
varsnothing Jan 17, 2024
5696ec8
vn(fix) lock
varsnothing Jan 17, 2024
1798531
vn(lint) fix
varsnothing Jan 17, 2024
16a550c
vn(fix) app pragma
varsnothing Jan 17, 2024
cef5f32
vn(lint) fix
varsnothing Jan 17, 2024
cf03c7e
vn(build) fix
varsnothing Jan 17, 2024
cf9a53d
vn(feat) gh auth
varsnothing Jan 17, 2024
8ba5250
vn(sec) remove secrets
varsnothing Jan 17, 2024
075110a
vn(feat) add gh oauth
varsnothing Jan 17, 2024
1692f84
Merge pull request #4 from varsnothing/ar/feat/WEB-000--auth--wopassw…
varsnothing Jan 17, 2024
618b097
vn(feat) move signin to its own sc and cc
varsnothing Jan 18, 2024
f11cd2d
vn(feat) new signin home
varsnothing Jan 18, 2024
e41ca5a
vn(feat) adding some contexts
varsnothing Jan 18, 2024
2362f8a
vn(opts)
varsnothing Jan 18, 2024
9275c56
vn(feat) some flux
varsnothing Jan 18, 2024
0afa97b
vn(opt) dispatch
varsnothing Jan 18, 2024
d779203
vn(feat) better state updates
varsnothing Jan 18, 2024
e742e6f
vn(feat) signout
varsnothing Jan 18, 2024
6f5190d
vn(feat) a pure pattern
varsnothing Jan 18, 2024
1a4c39c
vn(feat) logout flux
varsnothing Jan 18, 2024
d88783b
vn(feat) now let's make it look like an actual page
varsnothing Jan 18, 2024
bdacde5
vn(lint) fix
varsnothing Jan 18, 2024
21372ed
vn(build) fix
varsnothing Jan 18, 2024
6bf2c50
vn(cr) remove ununsed code
varsnothing Jan 18, 2024
1e0e6d0
vn(build) fix
varsnothing Jan 18, 2024
06bf32c
vn(fix) fix session parsing
varsnothing Jan 18, 2024
6fd8317
vn(ci) use node action
varsnothing Jan 18, 2024
5afe450
Merge pull request #7 from varsnothing/ar/feat/web-002--auth-view
varsnothing Jan 18, 2024
3ff8c71
vn(fix) trying to fix sesh parser in vercel deployment
varsnothing Jan 18, 2024
a49adad
vn(lint) fix
varsnothing Jan 18, 2024
9f1cb0a
vn(feat) finish 000
varsnothing Jan 18, 2024
74099e4
Merge pull request #9 from varsnothing/ar/feat/WEB-000--auth-add-pwless
varsnothing Jan 18, 2024
37f0f3c
vn(feat) next server actions
varsnothing Jan 18, 2024
ad20be2
vn(feat) decorate and simplify login flow for more providers
varsnothing Jan 18, 2024
2794ecb
vn(feat) redirect signin to api
varsnothing Jan 18, 2024
1904c28
vn(lint) fix
varsnothing Jan 18, 2024
60cdb2c
vn(ci) env vars args
varsnothing Jan 18, 2024
a312f0a
Merge pull request #5 from varsnothing/ar/feat/WEB-000--auth
varsnothing Jan 18, 2024
bddb186
vn(neat) just a better logging
varsnothing Jan 19, 2024
9e6f115
vn(nit) ununsed code
varsnothing Jan 19, 2024
67a57c1
vn(build) fix
varsnothing Jan 19, 2024
9977576
Merge pull request #10 from varsnothing/vn/nit/flux--improvements
varsnothing Jan 19, 2024
cd9bf32
vn(feat) loading chars
varsnothing Jan 19, 2024
c050bfd
vn(nit) remove logs
varsnothing Jan 19, 2024
b70f9b4
vn(lint) fix
varsnothing Jan 19, 2024
11d0431
vn(build) fix
varsnothing Jan 19, 2024
894cf68
vn(nit) unmount clean
varsnothing Jan 19, 2024
345f799
Merge pull request #11 from varsnothing/vn/feat/web-004--chars-list
varsnothing Jan 19, 2024
6352e1c
vn(feat) grid shiny
varsnothing Jan 19, 2024
1951f9d
Merge pull request #12 from varsnothing/vn/feat/web-005--chars-list--…
varsnothing Jan 19, 2024
0620ad5
vn(feat) drafting mdb iface and rm dec
varsnothing Jan 19, 2024
8c016ea
vn(feat) working client
varsnothing Jan 19, 2024
99b4924
vn(feat) comments
varsnothing Jan 19, 2024
5a94b26
vn(feat) odming
varsnothing Jan 19, 2024
bee47ff
vn(feat) lets decorate'em chars
varsnothing Jan 19, 2024
e9eac7e
vn(lint) fix
varsnothing Jan 19, 2024
2d13ccb
vn(build) fix
varsnothing Jan 19, 2024
ff75b25
vn(nits) neats and beats
varsnothing Jan 19, 2024
12d91e5
vn(lint) fix
varsnothing Jan 19, 2024
53f3a96
Merge pull request #13 from varsnothing/vn/feat/web-006--mdb-interfac…
varsnothing Jan 19, 2024
3a4fc76
Update README.md
varsnothing Jan 19, 2024
548c3a8
vn(feat) favs in progres
varsnothing Jan 19, 2024
785a1c4
vn(feat) wip: adding history and shuffling things around
varsnothing Jan 19, 2024
c107348
vn(feat) this works
varsnothing Jan 19, 2024
ae963d3
vn(feat) cocolores
varsnothing Jan 19, 2024
8f57cc5
vn(feat) wrap: and reminder: rubberduck, dont walk in circles, take a…
varsnothing Jan 19, 2024
0103e6c
vn(lock)
varsnothing Jan 19, 2024
819c767
Merge pull request #14 from varsnothing/vn/feat/web-007---favorites
varsnothing Jan 19, 2024
c684296
Update README.md
varsnothing Jan 19, 2024
558daec
vn(mod) add encord template
varsnothing Jan 20, 2024
32b9d8b
vn(authoring) generic repo name
varsnothing Jan 20, 2024
c5e27a1
ar(legal)
varsnothing Jan 20, 2024
b04a354
ar(legal)
varsnothing Jan 20, 2024
2d867e1
ar(meta) abstract app title and description
varsnothing Jan 20, 2024
232a3d4
ar(db) names
varsnothing Jan 20, 2024
318152b
ar(git) choose modules
varsnothing Jan 20, 2024
9950f0c
ar(fix) export var
varsnothing Jan 20, 2024
1e2d602
ar(fix) export var
varsnothing Jan 20, 2024
53fdeb3
ar(fix) ready for next iteration
varsnothing Jan 20, 2024
3d3c8bb
vn(nit) cleanup
varsnothing Jan 23, 2024
3a526d6
vn(git) squash with public/dev
varsnothing Jan 23, 2024
a23d239
vn(env) listing .env
varsnothing Jan 23, 2024
dbef79e
Merge branch 'dev' of git:remometro/nexus into vn/feat/EC-002-ec-001-…
varsnothing Jan 23, 2024
52e9cdd
vn(npm) add private repos
varsnothing Jan 23, 2024
cf1e553
Merge branch 'dev' of git:remometro/nexus into vn/feat/EC-002-ec-001-…
varsnothing Jan 23, 2024
3fb23ee
vn(env) reword
varsnothing Jan 23, 2024
4bb9555
Merge branch 'dev' of git:remometro/nexus into vn/feat/EC-002-ec-001-…
varsnothing Jan 23, 2024
8385199
vn(env) add pr specific env vars to public model
varsnothing Jan 23, 2024
d714da5
vn(package) schema script
varsnothing Jan 23, 2024
ddae85e
vn(feat) init db with schemas logic
varsnothing Jan 23, 2024
a271c9e
vn(feat) flowtime:end(00:43) starting db creation logic: refactor db …
varsnothing Jan 23, 2024
35db20a
vn(feat) gitflow(3:46): got it working in an least optimal way. need …
varsnothing Jan 24, 2024
df93c0c
vn(feat) clean up + better logging
varsnothing Jan 24, 2024
4355b23
vn(fix) set on insert
varsnothing Jan 24, 2024
0cc0b7d
vn(fix) revert set on insert to set, but need to work later (not rele…
varsnothing Jan 24, 2024
0ef7b97
vn(nit) schema flag
varsnothing Jan 24, 2024
a8756f0
vn(feat) init relations on schema init
varsnothing Jan 24, 2024
db6f99b
vn(lint) fix
varsnothing Jan 24, 2024
d6c29b6
vn(build) fix ts/build
varsnothing Jan 24, 2024
4d31fab
vn(ci) trigger build
varsnothing Jan 24, 2024
296c6bc
vn(ci) trigger build
varsnothing Jan 24, 2024
6276f91
Merge pull request #3 from varsnothing/vn/feat/EC-002-ec-001-tenancy-…
varsnothing Jan 25, 2024
bf14d5e
Merge pull request #4 from varsnothing/vn/feat/EC-002-ec-001-tenancy-…
varsnothing Jan 25, 2024
a464128
ar(legal)
varsnothing Jan 25, 2024
1f92f16
Merge pull request #5 from varsnothing/dev
varsnothing Jan 26, 2024
5e12dcb
Merge pull request #6 from varsnothing/encord
varsnothing Jan 26, 2024
f277e1f
ar(feat) flowtime(2:05): preparing navbar for features, add user acti…
angeloreale Jan 26, 2024
11146f3
ar(init) smoke signals
angeloreale Jan 26, 2024
205a081
ar(plexus) nexus
angeloreale Jan 26, 2024
6c956ad
ar(feat) provider
angeloreale Jan 26, 2024
dc483be
ar(feat) starting the day with a basepath
angeloreale Jan 27, 2024
e8dadbb
ar(feat) adding insta
angeloreale Jan 27, 2024
b9540cc
ar(feat) so much to do, so little time. mui/base, HELPS. also, workin…
angeloreale Jan 27, 2024
8b0afbc
ar(feat) flowtime(freestyle) oplog+mutex+Nachus+NexusDB+etc
angeloreale Jan 27, 2024
5bd6a02
ar(debug) race-condition: logs at least more readable.
angeloreale Jan 27, 2024
5414e9c
ar(feat) I will focus better tomorrow. Part of my weekend unwind proc…
angeloreale Jan 27, 2024
83a2ef4
ar(feat) Flowing better, better logs... I need to write now, brb.
angeloreale Jan 28, 2024
9215eb7
ar(rabbit) sometimes i go deep, and I feel like there is no way back …
angeloreale Jan 29, 2024
bdc89ea
ar(feat) flow:shuffling:pickingup
angeloreale Feb 6, 2024
edb39fd
ar(feat) flow:reduce-logs
angeloreale Feb 6, 2024
a7e83ae
ar(kiss)
angeloreale Feb 6, 2024
a8e2f38
ar(kiss) then update iface
angeloreale Feb 6, 2024
c496e3e
ar(preporg)
angeloreale Feb 6, 2024
7fb7ce6
ar(schemas)
angeloreale Feb 6, 2024
798ace5
ar(enforce default org)
angeloreale Feb 6, 2024
e3bf878
ar(slow and easy)
angeloreale Feb 6, 2024
081fdda
ar(feat) flow:init:default:org
angeloreale Feb 6, 2024
e413540
ar(cleanup)
angeloreale Feb 6, 2024
2945bf7
ar(cleanup)
angeloreale Feb 6, 2024
6dff444
ar(cleanup)
angeloreale Feb 6, 2024
c1625f3
ar(cleanup)
angeloreale Feb 6, 2024
5b1dc83
ar(cleanup)
angeloreale Feb 6, 2024
b67ed82
ar(build)
angeloreale Feb 6, 2024
050fd6e
ar(lock-file)
angeloreale Feb 6, 2024
31ef49f
Merge pull request #4 from remometro/ar/simplify-this
angeloreale Feb 6, 2024
2bd01ce
ar(feat) signuppage:design-system
angeloreale Feb 7, 2024
ef0446d
ar(progress)
angeloreale Feb 7, 2024
d9f9b8b
ar(lint+build)
angeloreale Feb 7, 2024
c688d1f
Merge pull request #5 from remometro/ar/feat/ec02--front-ups
angeloreale Feb 7, 2024
7ced43a
ar(login)
angeloreale Feb 8, 2024
51c64cc
ar(design)
angeloreale Feb 8, 2024
81b4923
ar(design)
angeloreale Feb 8, 2024
f2e5e6f
ar(feat) login flow
angeloreale Feb 8, 2024
adbd3fa
ar(lint)
angeloreale Feb 8, 2024
e307212
ar(build)
angeloreale Feb 8, 2024
5468ebb
ar(pr)
angeloreale Feb 8, 2024
1e0e48b
ar(qa) code review
angeloreale Feb 8, 2024
0722a57
ar(qa) code review
angeloreale Feb 8, 2024
18bc3b8
ar(lock) update
angeloreale Feb 8, 2024
8d76a93
ar(lock) update
angeloreale Feb 8, 2024
d64f886
ar(sec) lock versions
angeloreale Feb 8, 2024
11966ac
ar(lock) update
angeloreale Feb 8, 2024
f6272bd
ar(npm) revert mui base
angeloreale Feb 8, 2024
c7d0079
ar(lock) update
angeloreale Feb 8, 2024
d7a649d
ar(mui) capital import
angeloreale Feb 8, 2024
c9bfd13
Merge pull request #2 from dreampipcom/ar/login-page
angeloreale Feb 8, 2024
f6daa12
Update README.md
angeloreale Feb 8, 2024
994a949
Merge pull request #3 from dreampipcom/ar/snyk-test
angeloreale Feb 8, 2024
add495f
ar(fix) email flow
angeloreale Feb 8, 2024
8a1ad8a
Merge pull request #4 from dreampipcom/ar/login-flow
angeloreale Feb 8, 2024
bb13799
ar(dev) commit to dev quick fix
angeloreale Feb 8, 2024
2723fdc
ar(fix) fixes server side csrf login
angeloreale Feb 8, 2024
1267476
ar(lint)
angeloreale Feb 8, 2024
58c35f5
Merge pull request #5 from dreampipcom/ar/login-verify
angeloreale Feb 8, 2024
2bd0696
ar(insta) direct to dev since its broken still
angeloreale Feb 8, 2024
043f98b
ar(insta) again dev to fix
angeloreale Feb 8, 2024
69bc22f
ar(insta) again dev to fix
angeloreale Feb 8, 2024
a78bc4b
ar(insta) again trying to fix
angeloreale Feb 8, 2024
b7466cf
ar(insta) again trying to fix
angeloreale Feb 8, 2024
28ac9d3
ar(simple,apprel)
angeloreale Feb 8, 2024
c744a10
ar(wip) chitty chat
angeloreale Feb 15, 2024
1b11a3a
ar(conflicts)
angeloreale May 11, 2024
3846f97
ar(server) strip
angeloreale May 11, 2024
b05ff1e
ar(lint)
angeloreale May 11, 2024
86a7f1c
ar(checks) fix checks
angeloreale May 12, 2024
d10b3ce
ar(doc) readme
angeloreale May 12, 2024
6ab0f23
ar(ci) secrets
angeloreale May 12, 2024
43db1a1
ar(ci) task name
angeloreale May 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .prettierrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@ module.exports = {
useTabs: false,
semi: true,
singleQuote: true,
quoteProps: "as-needed",
quoteProps: 'as-needed',
jsxSingleQuote: false,
trailingComma: "all",
trailingComma: 'all',
bracketSpacing: true,
bracketSameLine: false,
arrowParens: "always",
arrowParens: 'always',
rangeStart: 0,
rangeEnd: Infinity,
requirePragma: false,
insertPragma: false,
proseWrap: "preserve",
htmlWhitespaceSensitivity: "css",
proseWrap: 'preserve',
htmlWhitespaceSensitivity: 'css',
vueIndentScriptAndStyle: false,
endOfLine: "lf",
embeddedLanguageFormatting: "auto",
endOfLine: 'lf',
embeddedLanguageFormatting: 'auto',
singleAttributePerLine: false,
};
25 changes: 24 additions & 1 deletion .env.public
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
# please copy and fill this to .env.local
# or add it to you ci environment


# ----------------
# PRIVATE VARIABLES
# @@@ WARNING: DON'T ADD NEXT_PUBLIC_* VARIABLES IF THEY'RE PRIVATE @@@

# env specific
NEXTAUTH_SECRET=
NEXTAUTH_URL=
Expand All @@ -19,6 +24,9 @@ EMAIL_FROM=
# modes: "full" (feats: enable-multi-tenancy,;)
NEXUS_MODE=

# base path: server-only
NEXUS_BASE_PATH=

# env agnostic
MONGODB_URI=

Expand All @@ -27,4 +35,19 @@ MONGODB_DATABASE=

# optional dbs (if used, all must be filled)
MONGODB_USERS_DATABASE=
MONGODB_ORGS_DATABASE=
MONGODB_ORGS_DATABASE=
MONGODB_DEFAULT_ORG=

# ----------------
# PUBLIC VARIABLES
# @@@ WARNING: THESE APPEAR IN THE BROWSER OF EVERY VISITOR @@@

# base path: client (browser)
NEXT_PUBLIC_NEXUS_BASE_PATH=
NEXT_PUBLIC_NEXUS_NAME=
NEXT_PUBLIC_NEXUS_LOGO_PATH=
NEXT_PUBLIC_NEXUS_DEFAULT_IMAGE_PATH=

# config
ENABLE_LOG=true
LOG_DEPTH=1
5 changes: 5 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# .eslintignore

.github/

# temporary
system/
components/
nsx/
7 changes: 1 addition & 6 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
{
"extends": [
"next/core-web-vitals",
"alloy",
"alloy/react",
"alloy/typescript"
]
"extends": ["next/core-web-vitals", "alloy", "alloy/react", "alloy/typescript"]
}
53 changes: 0 additions & 53 deletions .github/workflows/lint.yaml

This file was deleted.

53 changes: 53 additions & 0 deletions .github/workflows/pr_checks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: hypnos::checks

on:
pull_request:
branches:
- dev
- dev/*
- main
- main/*

jobs:
run-build:
name: hypnos::checks::build
runs-on: ubuntu-latest

steps:
- name: hypnos::checks::build::Check out Git repository
uses: actions/checkout@v3

- name: hypnos::checks::build::Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 20

- name: hypnos::checks::build::Install Node.js dependencies
run: npm ci

- name: hypnos::checks::build::Build
run: npm run build
env:
MONGODB_URI: ${{ secrets.MONGODB_URI }}
EMAIL_SERVER: ${{ secrets.EMAIL_SERVER }}
EMAIL_FROM: ${{ secrets.EMAIL_FROM }}

run-lint:
name: hypnos::checks::lint
runs-on: ubuntu-latest

steps:
- name: hypnos::checks::lint::Check out Git repository
uses: actions/checkout@v3

- name: hypnos::checks::lint::Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 20

# ESLint and Prettier must be in `package.json`
- name: hypnos::checks::lint::Install Node.js dependencies
run: npm ci

- name: hypnos::checks::lint::Run linters
run: npm run format
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ next-env.d.ts
# modules
.gitmodules
/modules/*
mock/

# private
*.private
2 changes: 2 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
npm run format:fix
npm run build
6 changes: 6 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# .prettierignore

.github/


# temporary
src/app/components/system/**/*
**/components/**/*
**/nsx/**/*
24 changes: 24 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// .prettierrc.js
module.exports = {
printWidth: 120,
tabWidth: 2,
useTabs: false,
semi: true,
singleQuote: true,
quoteProps: 'as-needed',
jsxSingleQuote: false,
trailingComma: 'all',
bracketSpacing: true,
bracketSameLine: false,
arrowParens: 'always',
rangeStart: 0,
rangeEnd: Infinity,
requirePragma: false,
insertPragma: false,
proseWrap: 'preserve',
htmlWhitespaceSensitivity: 'css',
vueIndentScriptAndStyle: false,
endOfLine: 'lf',
embeddedLanguageFormatting: 'auto',
singleAttributePerLine: false,
};
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
# Hypnos - DreamPip's Edge Micro-Services Hub

License: HPL3-ECO-AND-ANC

What: Headless Next.js Edge Runtime

## Getting Started

```
nvm use v20
npm ci
npm run dev
```

Documentation: TBD

Dev API: TBD
3 changes: 3 additions & 0 deletions docs/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ PLEASE REVIEW YOUR OWN PR BEFORE OPENING/UN-DRAFTING IT

[ticket description]

## Screenshots/Videocasts/Preview Links

## Have you?

- [ ] Reviewed your own PR?
- [ ] Tested your own feature/fix meets Acceptance Criteria?
- [ ] Made sure it passes all checks? (lint, build, integrations, scripts, etc)?
- [ ] Added screenshots? (if relevant)
- [ ] Added unit tests? (if necessary)
- [ ] Added documentation? (if necessary)

Expand Down
3 changes: 3 additions & 0 deletions lib/actions/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// README.md

This directory stores all Server/User Initiated Actions/Operations related things
Loading
Loading