Commit graph

17 commits

Author SHA1 Message Date
Antoine Clausse
0c4ca15003 [web] Add #main-content to some pug pages (fix skip-to-content links) (#18050)
* Add `#main-content` to some pug pages

This fixes our `skip-to-content` accessibility anchor links. Alternatively or additionally, we can set `suppressSkipToContent = true` in some pages: that will remove the anchor link in the page.

While working on this, I noticed that sometimes we still have a bit of extra nesting or components that should maybe be out of `<main>` or `#main-content`. In a future PR we can maybe update these elements to target the "real core content" of the page.

* Add `suppressSkipToContent` in confirm-email page

GitOrigin-RevId: 6cbf4112f2d1a2d8eff06f142d0c2b4f3a5d9cff
2024-04-24 08:04:43 +00:00
Davinder Singh
8cdfffa6f9 Merge pull request #13526 from overleaf/ds-layout-change
Admin Panel- Replacing `layout` with `layout-marketing` in register.pug file

GitOrigin-RevId: 3d3458cbbfaa2c78499954102f6a2492b715634c
2023-07-17 10:41:03 +00:00
Alf Eaton
d9a1c1e521 Add autocomplete to more input fields (#9232)
GitOrigin-RevId: 54c0c185abdf157e76fb8248c0341ff21e580cfb
2022-08-19 08:04:18 +00:00
Davinder Singh
5498d59c6b Merge pull request #8259 from overleaf/ds-admin-panel-register-new-user
Migrating admin panel register new user to react

GitOrigin-RevId: 520fea91cd9e560e4381504de45e5bedf11a7844
2022-06-17 08:03:16 +00:00
Davinder Singh
b3d55fa65e Move admin register to user activate module
Move admin register to user activate module

Co-authored-by: John Lees-Miller <jdleesmiller@gmail.com> & Davinder Singh
GitOrigin-RevId: 79428f2932783086435bdad9b1efb5300c467511
2022-04-08 08:04:45 +00:00
June Kelly
000f849381 Merge pull request #6143 from overleaf/jk-register-password-validation
[web] Password length validation on register

GitOrigin-RevId: 8d97d92f3176f25c5af29479ba85789eac28540a
2022-01-13 09:03:16 +00:00
June Kelly
5141f7b452 Merge pull request #5199 from overleaf/jk-de-ng-form-messages-role
[web] Improve a11y of form-messages

GitOrigin-RevId: 36360bc188f9a582e891d50328a6f27b414dce2a
2021-09-27 08:03:10 +00:00
Jakob Ackermann
9ae0d4a691 Merge pull request #5145 from overleaf/jk-de-ng-user-activate-page
[web] Remove angular from /user/activate

GitOrigin-RevId: cbb2fbeafb0dfc6c1010c3e8b7eec890a81177d2
2021-09-24 08:03:37 +00:00
Jakob Ackermann
780d5ca184 Merge pull request #5110 from overleaf/jpa-de-ng-autofocus
[web] use HTML5 autofocus flag on all the input fields

GitOrigin-RevId: 9a984abf09d5cd098f19c3d8c731961e881903c4
2021-09-16 08:03:21 +00:00
Jessica Lawshe
bb882c697c Merge pull request #4288 from overleaf/jel-skip-to-content
Add "Skip to content" to improve accessibility

GitOrigin-RevId: 43368a65057656bdea10b6be3c598d68bd8e2d40
2021-07-28 02:06:54 +00:00
Timothée Alby
0f5243d3f0 Merge pull request #3829 from overleaf/jpa-meta-user-activate
[views] migrate the user activate page to meta tags

GitOrigin-RevId: 422992af7aae005cc60a5de1c26ca583333b1f65
2021-03-30 02:05:13 +00:00
Alf Eaton
a5637651b5 Add Content-Security-Policy header (#3783)
* Add Content-Security-Policy header
* Add nonce attribute to script tags
* Use source-map for webpack devtool
* Add ng-csp attribute when CSP is enabled
* Allow overriding CSP settings with environment variables
* Hook into render and allow routes to disable the CSP header

GitOrigin-RevId: a873736a3514198165f1b2f1e18d002b65f20d30
2021-03-26 03:04:55 +00:00
Jakob Ackermann
b19bd1ef61 Merge pull request #3781 from overleaf/jpa-xss-18
[views] mitigate Angular XSS in the user-activate module

GitOrigin-RevId: 88a4501699b92e33c7ee120d180e60825d82fbd5
2021-03-23 03:05:21 +00:00
Jakob Ackermann
f353728bda Merge pull request #3755 from overleaf/jpa-xss-2
[views] mitigate Angular XSS via email/new_email

GitOrigin-RevId: 3d127c283ba9f97c5b0e6c53a9d77f7f597058bb
2021-03-18 03:04:50 +00:00
Thomas
2d8167fa0a Merge pull request #3675 from overleaf/tm-main-landmarks-a11y
Add main landmark roles to multiple templates

GitOrigin-RevId: 80ae851fae015b21a3210d71d04287c0c9a3024d
2021-03-05 03:05:00 +00:00
Timothée Alby
21de9041fe Merge pull request #3059 from overleaf/jpa-fix-user-activate-rendering
[misc] user-activate: fix the path of the parent pug-template

GitOrigin-RevId: f740bf42b092cdb4cecc211ae569044a090e9ca1
2020-08-10 15:53:53 +00:00
Jakob Ackermann
53927bca95 [misc] move /user/activate into a module (#2962)
* [misc] move /user/activate into a module

Co-Authored-By: Nate Stemen <nate.stemen@overleaf.com>

* [misc] setup copybara for the new user-activate module

* [misc] move the /user/activate route behind a feature flag

...which is by default enabled.

Co-authored-by: Nate Stemen <nate.stemen@overleaf.com>
GitOrigin-RevId: 87fc5ae869a7e282ffdbeea0ff7b7c55b8b9b31b
2020-07-16 02:06:51 +00:00