summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-01-29Adds authentication endpoint functions to frontend lib/api33-webauthnJoe Carstairs
2024-01-29Clearer syntax for query string hackJoe Carstairs
2024-01-29Types lib/apiJoe Carstairs
2024-01-29Adds an auth/authentication endpointJoe Carstairs
2024-01-29Authentication methods are single-responsibilityJoe Carstairs
2024-01-29Authenticator db functions use Uint8Array type for id, public_key fieldsJoe Carstairs
2024-01-29Refactors getFirstQueryParam to separate fileJoe Carstairs
2024-01-29Fixes api/auth/_verifyAuthenticationResponseJoe Carstairs
2024-01-29verifyRegistrationResponse is single-responsibility!Joe Carstairs
2024-01-29sign-up page updates status message every time button is pressedJoe Carstairs
2024-01-29WIP: log-in pageJoe Carstairs
2024-01-29Fixes adding an authenticatorJoe Carstairs
2024-01-29Adds RegistrationResponseVerificationFailedErrorJoe Carstairs
2024-01-29Fixes UserAlreadyExistsErrorJoe Carstairs
2024-01-29Fixes sign-up pageJoe Carstairs
2024-01-29Sets expected origin to webauthn.scotsleidassocie.org for dev environmentJoe Carstairs
2024-01-29Pulls out getLocaleFromDocument()Joe Carstairs
2024-01-29Localises h1 in sign up pageJoe Carstairs
2024-01-29Better success pageJoe Carstairs
2024-01-29Expected origin switch is the right way round!Joe Carstairs
2024-01-2933 / WebAuthn (#57)Joe Carstairs
* Working message on sign-up form * Disables form nicely when processing request * Updates README * Better error logging in verifyRegistrationResponse()
2024-01-29Sets expected origin correctly when verifying registration response (#56)Joe Carstairs
2024-01-29Re-spells verifyRegistrationResponse import (#55)Joe Carstairs
2024-01-29Rewrites query to set current challenge (#54)Joe Carstairs
2024-01-29Improves error logging in database queries (#53)Joe Carstairs
2024-01-29Fix syntax error in db/setCurrentChallenge (#52)Joe Carstairs
2024-01-2933 / Users can sign up and log in with WebAuthn (#39)Joe Carstairs
* Installs @vercel/postgres * Installs @simplewebauthn/server * Installs @simplewebauthn/browser * Git-ignores all files starting with .env * Reorganises folders in API * Defines User type * Defines Subscription type * Defines Authenticator type * Sets up table definition file * Can get user from database * Can add user to database * Can get user's current challenge * Can set user's current challenge * Can get user's authenticators from database * Can get authenticator by ID from database * Can add user authenticator to database * Can update authenticator in database * Defines Relying Party information * Can generate registration options * Can verify registration response * Defines registration API endpoint * Defines user API endpoint * Reorganises API functions on frontend * Can access authentication API functions on frontend * Can generate authentication options * Can verify authentication response * Documents the registration flow * Fix dev_csso * Form styling * WIP adds sign up page
2024-01-29Update production (#37) (#49)Joe Carstairs
* Edit README (#28) * Corrects Lallans instructions * Adds instructions for adding a Scotsoun release * Documents infrastructure * Better contribution guidance * Update README (#29) * Updates references to branch names in README * ESLint ignores Markdown * Documents Coding Style * Specifies upstream branch in README where salient * Fixes Sangschaw winners list in Eiks 30 (#35) * Fixes Sangschaw winners list in Eiks 30 (#36) * Fixes Sangschaw winners list in Eiks 30 (#38)
2024-01-26Merge branch 'deployment-production' into deployment-stagingJoe Carstairs
2024-01-26Merge pull request #71 from joeacarstairs/fix-furthsettins-aspect-ratioJoe Carstairs
Various furthsettins improvements
2024-01-26Fixes mis-typed 20XX years in Lallans issue namesJoe Carstairs
2024-01-26Lallans gallery splashes most recent issue onlyJoe Carstairs
2024-01-26Adds .link-gallery--splash-first variantJoe Carstairs
2024-01-26Improves link gallery stylingJoe Carstairs
2024-01-25Update from staging (#70)Joe Carstairs
* 33 / Pay annual subscription by PayPal (#68) * Refactors paypal-buttons -> paypal-product-buttons WebComponent * Pulls out address to data file * Defines annual subscription prices data hash * Styles paypal-product-buttons * Styles <address> * Details have cursor:pointer on the summary * Moves Jyne section to separate page * Rewrites payment options using details components * Reworks translation typing * Defines MembershipType enum * Adds translations for MembershipType enum * Can pay annual subs by PayPal * Styles tables better * Replaces a few straggler --margins with --spacing (#67) --------- Co-authored-by: Joe Carstairs <118172583+jcarstairs-scottlogic@users.noreply.github.com>
2024-01-25Replaces a few straggler --margins with --spacing (#67)Joe Carstairs
2024-01-2533 / Pay annual subscription by PayPal (#68)Joe Carstairs
* Refactors paypal-buttons -> paypal-product-buttons WebComponent * Pulls out address to data file * Defines annual subscription prices data hash * Styles paypal-product-buttons * Styles <address> * Details have cursor:pointer on the summary * Moves Jyne section to separate page * Rewrites payment options using details components * Reworks translation typing * Defines MembershipType enum * Adds translations for MembershipType enum * Can pay annual subs by PayPal * Styles tables better
2024-01-19Merge pull request #65 from joeacarstairs/deployment-stagingJoe Carstairs
Update production
2024-01-19Merge branch 'deployment-production' into deployment-stagingJoe Carstairs
2024-01-19Uses SCSS partials (#64)Joe Carstairs
2024-01-19Layout and typography improvements (#63)Joe Carstairs
* Adds soft hyphens to homepage * auto-hyphenates! * Tighter line-height in logo * Fixes spacing and typography below xs breakpoint * Fixes xs-sm spacing and typography * Fixes border widths * Link hover uses wavy underline instead of fat underline * Fixes committee img layout on <xs * Nice separators between committee members * Better styling for committee member heading * Consistent start-end block padding for sections * Better breadcrumb styling * Neatens alignment in footer * Renames scss/variables -> scss/custom-properties * Pulls out colours SCSS variables * Merges margins and padding values * Moves variables/colours -> values/colours * Starts migrating spacing values to SCSS * Pulls out typography logic to SCSS variables/functions * Removes unneeded --er custom property * Calculates grid-total-width-absolute in SCSS * Forwards constants with @forward * Removes TODOs and unnecessary assignment to --width-prose
2024-01-12Adds Sangschaw ad to top of homepage (#59)Joe Carstairs
Co-authored-by: Joe Carstairs <65492573+Sycamost@users.noreply.github.com>
2024-01-12Improve CSS reset (#51)Joe Carstairs
* Font size inflation * Removes main adjustment for IE * Documents hr corrections * Documents pre corrections * Documents abbr[title] corrections * Documents b, strong corrections * Squishes pre rule with code,kbd,samp * Documents sub,sub line-height fix * Removes IE fix for img borders * Documents form control resets * Documents details display:block * Documents summary correction * Removes [hidden] fix for IE * Adds border-box sizing rules * Refactors links
2024-01-12Update production (#37) (#49)Joe Carstairs
* Edit README (#28) * Corrects Lallans instructions * Adds instructions for adding a Scotsoun release * Documents infrastructure * Better contribution guidance * Update README (#29) * Updates references to branch names in README * ESLint ignores Markdown * Documents Coding Style * Specifies upstream branch in README where salient * Fixes Sangschaw winners list in Eiks 30 (#35) * Fixes Sangschaw winners list in Eiks 30 (#36) * Fixes Sangschaw winners list in Eiks 30 (#38)
2024-01-12Eiks 31 fixes (#47)Joe Carstairs
* Links to Leid title track on YouTube * Corrects Sangschaw pricing
2024-01-12Links to Leid title track on YouTube (#45)Joe Carstairs
2024-01-12Eiks 31 fixes (#43)Joe Carstairs
* Eiks 31 fixes * Improves list styling
2024-01-12Reorder news (#42)Joe Carstairs
* Reslugs news items * Fixes typo in getMostRecentNewsItem() * Fixes typo in newUtils.getDate() * Sorts news index from most recent to oldest
2024-01-12Eiks 31 (#41)Joe Carstairs
* Eiks 31 * Prettier dl's * Prettier headings --------- Co-authored-by: Joe Carstairs <jcarstairs@scottlogic.com>
2024-01-11Update 2024/01/11 (#61)Joe Carstairs
* Edit README (#28) * Corrects Lallans instructions * Adds instructions for adding a Scotsoun release * Documents infrastructure * Better contribution guidance * Update README (#29) * Updates references to branch names in README * ESLint ignores Markdown * Documents Coding Style * Specifies upstream branch in README where salient * Eiks 31 (#41) * Eiks 31 * Prettier dl's * Prettier headings --------- Co-authored-by: Joe Carstairs <jcarstairs@scottlogic.com> * Reorder news (#42) * Reslugs news items * Fixes typo in getMostRecentNewsItem() * Fixes typo in newUtils.getDate() * Sorts news index from most recent to oldest * Update production (#37) (#49) * Edit README (#28) * Corrects Lallans instructions * Adds instructions for adding a Scotsoun release * Documents infrastructure * Better contribution guidance * Update README (#29) * Updates references to branch names in README * ESLint ignores Markdown * Documents Coding Style * Specifies upstream branch in README where salient * Fixes Sangschaw winners list in Eiks 30 (#35) * Fixes Sangschaw winners list in Eiks 30 (#36) * Fixes Sangschaw winners list in Eiks 30 (#38) * Improve CSS reset (#51) * Font size inflation * Removes main adjustment for IE * Documents hr corrections * Documents pre corrections * Documents abbr[title] corrections * Documents b, strong corrections * Squishes pre rule with code,kbd,samp * Documents sub,sub line-height fix * Removes IE fix for img borders * Documents form control resets * Documents details display:block * Documents summary correction * Removes [hidden] fix for IE * Adds border-box sizing rules * Refactors links * Adds Sangschaw ad to top of homepage (#59) Co-authored-by: Joe Carstairs <65492573+Sycamost@users.noreply.github.com> --------- Co-authored-by: Joe Carstairs <65492573+Sycamost@users.noreply.github.com> Co-authored-by: Joe Carstairs <jcarstairs@scottlogic.com> Co-authored-by: Joe Carstairs <118172583+jcarstairs-scottlogic@users.noreply.github.com>