Skip to content
  • Alessandro Giansanti's avatar
    cafced68
    proper arangodb config and dynamic env provider (#79) · cafced68
    Alessandro Giansanti authored
    * fix peer dep declaration in web-user-auto-publisher
    
    * Learn more link
    
    * v4 in legacy
    
    * nx
    
    * nx nextjs
    
    * nextjs moodlenet app
    
    * imported Bru's webapp components
    
    * fixed imports, added 3rd party ui libs
    
    * first nextjs app run with tests
    
    * layout
    
    * scaffolded main layout
    set up layouts composition patterns with @slots as extensibility principle
    
    * fixes and cleanup
    BEWARE: if a group-route has no page or sub pages,
    and it is rendered in parent layout,
    the whole app goes 404
    
    * haeder search, namings, cleanup, base landing
    
    * landing head
    
    * finished landing head, inlined stuff, module naming and role
    
    * more guidelines
    less control in Searchbox cmp
    
    * finalized searchbox, reviewed primarybutton and plugins/slots
    
    * header logo
    
    * header access buttons, responsive
    
    * simple layout
    understood and fixed parallel routes
    drafted login page
    
    * reviewed session context, site urls,
    
    * login opts, trans, more
    
    * @mui/material-icons specific import
    turbo config
    shell scripts
    
    * lodash-es
    
    * renamed legacy dir
    
    * removed legacy's legacy
    
    * starts simple email pwd auth
    
    * 1st action :)
    
    * clean and move and fix errs
    
    * redo with tpl creator
    
    * base signup
    extrendsd webapp context
    
    * review
    
    * renamed thx copilot :)
    
    * prj : cr asyncapi ; mv nextjs app
    
    * closing ASYNCAPI after some tests
    
    * @moodle/domain
    
    * blah !
    
    * pri, sec, evt works
    
    * app -> mod (among others)
    
    * moves
    
    * -_-
    
    * camel case dir for parallel routes
    
    * wip
    
    * fix tsconfigs
    
    * removed paths in nextjs app
    
    * removed zzzz
    
    * wa
    
    * ok ?
    
    * okkappa
    
    * mode eml-pwd, net, iam, and more refact
    
    * runs !! !   !! :)
    
    * fixall !!!!!!! :)
    
    * changes ...
    
    * move around
    
    * ...wip
    
    * charm !
    
    * fixall
    
    * from '@moodle/domain/mod/ => from '@moodle/mod/
    
    * removed asyncapi prj, for readability
    
    * >|
    
    * with sec and proper contexts
    
    * reviewed sec db arango
    
    * renamed and moved projects
    
    * arango db with migrations ^^'
    
    * ...
    
    * ..
    
    * sec ctx + core-mod-id
    
    * crypto
    
    * movearounds
    
    * ...
    
    * eml-pwd-auth ===> iam
    
    * mooooooves
    
    * mod projects + reviewd db and miograte
    
    * ....
    
    * back working
    
    * mod-net-webapp-nextjs
    
    * ....
    
    * well defined iam module and types
    
    * complete defined iam mod
    
    * mod org
    
    * iam-core + session check utils + emails ....
    
    * iam DB done
    
    * iam crypto  done
    
    * passwordHash in signup request token
    redacted passwords in login/signup forms
    
    * iam.sec.queue.sendEmail() => iam.sec.email.enqueue()
    
    * nodemailer init
    
    * lib/domain
    
    * nodemeiler kind of done
    
    * lib/domain .. moved much into it
    
    * monolith ok ,
    must align and finish nextjs
    
    * Error4xx bindings
    
    * alignment fixes in nextjs app
    
    * more alignment fixes in nextjs app
    
    * fixed missing email templates from build (should include "src/**/*.tsx")
    
    * some old tsx import refs fix
    
    * lib/email-templates
    
    * yaaaaah ! sends email on signup !!
    
    * signup login !!!!
    
    * hide options if only one login/signup method
    
    * v0_1 => v1_0
    
    * generateSessionToken and autologin on email verification
    
    * sesssion with expires, also in cookie
    
    * noValidationParseUserSessionToken + moved much stuff from mod-iam to lib-domain-iam
    must find a solution for auto-regenerate auth token in nextjs
    check pri/moodlenet/webapp/nextjs/src/lib/server/session-access.ts#~40
    
    * movearounds to separate arango v1_0 stuff
    
    * some work  on monolith env configuration
    
    * some refactorr on 4xx
    
    * default-env-provider uses singleton env generated on first import
    
    * domain based env + migrate at each request (with cache)
    // backend/monolith/.env.serve.development.local
    // backend/monolith/src/default-env-provider.ts
    // backend/monolith/src/getEnv.ts
    // backend/monolith/src/main.ts
    // backend/monolith/src/migrate.ts
    // backend/monolith/tsconfig.app.json
    // domain/src/types/primary-session.ts
    // sec/db/arango/src/migrate.ts
    // pri/moodlenet/webapp/nextjs/src/lib/server/session-access.ts
    // backend/monolith/project.json
    // .gitignore
    // package-lock.json
    // package.json
    // .git/COMMIT_EDITMSG
    // pri/moodlenet/webapp/nextjs/src/lib/server/session-access.ts
    // pri/moodlenet/webapp/nextjs/src/lib/server/session-access.ts
    // sec/db/arango/src/migrate.ts
    // sec/db/arango/src/migrate.ts
    removed serve:migrate . use build:migrate
    
    * proper arangodb connection configs
    proper env configs
    
    // Contents:
    // feat: backend/monolith: replace getEnv with default-env-provider
    
    // BREAKING CHANGE: backend/monolith: replace getEnv with default-env-provider
    cafced68
    proper arangodb config and dynamic env provider (#79)
    Alessandro Giansanti authored
    * fix peer dep declaration in web-user-auto-publisher
    
    * Learn more link
    
    * v4 in legacy
    
    * nx
    
    * nx nextjs
    
    * nextjs moodlenet app
    
    * imported Bru's webapp components
    
    * fixed imports, added 3rd party ui libs
    
    * first nextjs app run with tests
    
    * layout
    
    * scaffolded main layout
    set up layouts composition patterns with @slots as extensibility principle
    
    * fixes and cleanup
    BEWARE: if a group-route has no page or sub pages,
    and it is rendered in parent layout,
    the whole app goes 404
    
    * haeder search, namings, cleanup, base landing
    
    * landing head
    
    * finished landing head, inlined stuff, module naming and role
    
    * more guidelines
    less control in Searchbox cmp
    
    * finalized searchbox, reviewed primarybutton and plugins/slots
    
    * header logo
    
    * header access buttons, responsive
    
    * simple layout
    understood and fixed parallel routes
    drafted login page
    
    * reviewed session context, site urls,
    
    * login opts, trans, more
    
    * @mui/material-icons specific import
    turbo config
    shell scripts
    
    * lodash-es
    
    * renamed legacy dir
    
    * removed legacy's legacy
    
    * starts simple email pwd auth
    
    * 1st action :)
    
    * clean and move and fix errs
    
    * redo with tpl creator
    
    * base signup
    extrendsd webapp context
    
    * review
    
    * renamed thx copilot :)
    
    * prj : cr asyncapi ; mv nextjs app
    
    * closing ASYNCAPI after some tests
    
    * @moodle/domain
    
    * blah !
    
    * pri, sec, evt works
    
    * app -> mod (among others)
    
    * moves
    
    * -_-
    
    * camel case dir for parallel routes
    
    * wip
    
    * fix tsconfigs
    
    * removed paths in nextjs app
    
    * removed zzzz
    
    * wa
    
    * ok ?
    
    * okkappa
    
    * mode eml-pwd, net, iam, and more refact
    
    * runs !! !   !! :)
    
    * fixall !!!!!!! :)
    
    * changes ...
    
    * move around
    
    * ...wip
    
    * charm !
    
    * fixall
    
    * from '@moodle/domain/mod/ => from '@moodle/mod/
    
    * removed asyncapi prj, for readability
    
    * >|
    
    * with sec and proper contexts
    
    * reviewed sec db arango
    
    * renamed and moved projects
    
    * arango db with migrations ^^'
    
    * ...
    
    * ..
    
    * sec ctx + core-mod-id
    
    * crypto
    
    * movearounds
    
    * ...
    
    * eml-pwd-auth ===> iam
    
    * mooooooves
    
    * mod projects + reviewd db and miograte
    
    * ....
    
    * back working
    
    * mod-net-webapp-nextjs
    
    * ....
    
    * well defined iam module and types
    
    * complete defined iam mod
    
    * mod org
    
    * iam-core + session check utils + emails ....
    
    * iam DB done
    
    * iam crypto  done
    
    * passwordHash in signup request token
    redacted passwords in login/signup forms
    
    * iam.sec.queue.sendEmail() => iam.sec.email.enqueue()
    
    * nodemailer init
    
    * lib/domain
    
    * nodemeiler kind of done
    
    * lib/domain .. moved much into it
    
    * monolith ok ,
    must align and finish nextjs
    
    * Error4xx bindings
    
    * alignment fixes in nextjs app
    
    * more alignment fixes in nextjs app
    
    * fixed missing email templates from build (should include "src/**/*.tsx")
    
    * some old tsx import refs fix
    
    * lib/email-templates
    
    * yaaaaah ! sends email on signup !!
    
    * signup login !!!!
    
    * hide options if only one login/signup method
    
    * v0_1 => v1_0
    
    * generateSessionToken and autologin on email verification
    
    * sesssion with expires, also in cookie
    
    * noValidationParseUserSessionToken + moved much stuff from mod-iam to lib-domain-iam
    must find a solution for auto-regenerate auth token in nextjs
    check pri/moodlenet/webapp/nextjs/src/lib/server/session-access.ts#~40
    
    * movearounds to separate arango v1_0 stuff
    
    * some work  on monolith env configuration
    
    * some refactorr on 4xx
    
    * default-env-provider uses singleton env generated on first import
    
    * domain based env + migrate at each request (with cache)
    // backend/monolith/.env.serve.development.local
    // backend/monolith/src/default-env-provider.ts
    // backend/monolith/src/getEnv.ts
    // backend/monolith/src/main.ts
    // backend/monolith/src/migrate.ts
    // backend/monolith/tsconfig.app.json
    // domain/src/types/primary-session.ts
    // sec/db/arango/src/migrate.ts
    // pri/moodlenet/webapp/nextjs/src/lib/server/session-access.ts
    // backend/monolith/project.json
    // .gitignore
    // package-lock.json
    // package.json
    // .git/COMMIT_EDITMSG
    // pri/moodlenet/webapp/nextjs/src/lib/server/session-access.ts
    // pri/moodlenet/webapp/nextjs/src/lib/server/session-access.ts
    // sec/db/arango/src/migrate.ts
    // sec/db/arango/src/migrate.ts
    removed serve:migrate . use build:migrate
    
    * proper arangodb connection configs
    proper env configs
    
    // Contents:
    // feat: backend/monolith: replace getEnv with default-env-provider
    
    // BREAKING CHANGE: backend/monolith: replace getEnv with default-env-provider
Loading