Commit Graph

1677 Commits

Author SHA1 Message Date
Sam Darwin
3233fb22c7 docker-compose bootstrap scripts (#1217)
Closes #1216
2024-08-30 07:13:26 -06:00
Frank Wiles
161d3b1387 Add latest option behavior to latest library and detail pages (#1218) 2024-08-30 06:41:30 -05:00
Kenneth Reitz
64fd0f87d1 update dependencies for security updates (#1214)
This pull request should fix #1182, aside from the yarn dependency.

**update:** included a `yarn.lock` via `$ yarn upgrade`. This bumps some
versions up pretty high, so I'd like to get someone to validate that the
frontend is working as expected.
2024-08-28 13:20:42 -04:00
rbbeeston
8cb736d760 navigation fixed across sites (#1210) 2024-08-27 13:41:03 -07:00
Frank Wiles
ef3b79134f Add url path to handle /doc/libs/release/* (#1204)
Redirect to the latest release when this URL prefix exists on
documentation.

Fixes #1084
2024-08-26 19:01:30 -05:00
rbbeeston
5275af585e CSS changes (#1207)
UI changes to homepage and libraries grid view. for issue #1205
2024-08-26 13:50:52 -07:00
rbbeeston
3e321d5827 menu close on mobile (#1203) 2024-08-23 15:13:26 -07:00
rbbeeston
38622bd453 small tweaks to the mobile nav (#1202) 2024-08-23 10:51:12 -07:00
rbbeeston
424a4f92b6 mobile navbar dropdown (#1201)
replaces the icons in mobile view with a dropdown navigation
2024-08-23 00:00:58 -07:00
rbbeeston
0632da5a1f single navbar for desktop and mobile (#1198)
also includes some minor fixes in libraries
2024-08-21 16:39:18 -07:00
rbbeeston
64e0ca08a3 class added to head for css targeting (#1197) 2024-08-19 22:31:47 -07:00
rbbeeston
eb58c0e378 mobile fixes and alignment for libraries and releases (#1196)
Smoothes transitions to and within mobile in the libraries, and
standardizes height of the releases dropdown.
2024-08-19 14:26:38 -07:00
rbbeeston
b6a7799560 documentation link fix, mobile/desktop alignment match (#1195)
header matching desktop to mobile (except libraries) and documentation
link fix #1172
2024-08-16 18:08:02 -07:00
rbbeeston
ff2938c812 header spacing fix (#1193)
removes spacing issues at top of the relative positioned nav bar
2024-08-15 15:29:36 -07:00
rbbeeston
2a185d431e header and site colors update (#1191)
Fixes mobile view of header 
<img width="826" alt="Screenshot 2024-08-15 at 11 51 20 AM"
src="https://github.com/user-attachments/assets/9aeb6597-5fb5-4058-b742-a4fefb1ba087">

![image](https://github.com/user-attachments/assets/fc1be239-f80a-46c8-9d42-0e8e65d4454d)
2024-08-15 11:53:28 -07:00
Sam Darwin
a1d51bb792 Docs: reviewing local docker-compose steps (#1178)
Testing docker-compose. Here are things I noticed.  

- `styles.css` seemed to be missing in the local docker-compose
environment, even though it's present in the docker image. With
docker-compose a volume is mounted. The volume points to your git
repository where styles.css is now git-ignored.
  
Therefore, I am adding steps in the README to build `styles.css`.
@kennethreitz @rbbeeston , is this incorrect? Should the instructions be
different? What method do you use?

- local development: there had been a note to install Python 3.11. Even
though Django containers are running with Python 3.11, it should be
acceptable for the local OS to have the system default of Python 3.10.
They are not directly interacting. Don't modify the system python.

- To view the Users Guide and Contributors Guide, adding variables to
the env.template (and your .env file)

```
STATIC_CONTENT_AWS_ACCESS_KEY_ID=
STATIC_CONTENT_AWS_SECRET_ACCESS_KEY=
STATIC_CONTENT_BUCKET_NAME=
STATIC_CONTENT_REGION=
STATIC_CONTENT_AWS_S3_ENDPOINT_URL=

```

If anyone uses docker-compose and notices the instructions are
incomplete, please comment and/or contribute fixes to the docs.
2024-08-14 12:49:55 -06:00
rbbeeston
f429295011 header and site colors update (#1186)
from the ticket:
Replace boost logo in nav bar with "B" icon. - completed
change nav bar bottom border to give depth - completed
in dark theme, change body text color to #e6e6e6 - added offwhite color
to root color vars,and included in dark body, but there needs to be
extensive work done with the classes and pulling out unneeded tailwind
commands.

Additionally, included
https://github.com/boostorg/website-v2/issues/1152 into this as well.
2024-08-13 11:51:02 -07:00
rbbeeston
9c2114ae47 allow nav to scroll (#1177)
Allows nave to scroll across site.
2024-08-10 14:18:01 -07:00
Kenneth Reitz
32ddec74dc Fix beta release notes cache key (#1171) (#1174)
This change should fix #1171.
2024-08-05 15:54:24 -04:00
Kenneth Reitz
454a9cdc20 Validate values being stored for preferred boost version and switch to cookies (#1169)
This pull request validates the versions being stored (per #1168) for
the preferred Boost version selection. It also switches this
functionality to using cookies.
2024-07-29 10:01:04 -04:00
Kenneth Reitz
c8ab13656f Enable social account login on GET requests 2024-07-26 14:01:30 -04:00
Sam Darwin
5ebd076bec Minor CI updates (#1166) 2024-07-23 15:14:52 -04:00
rbbeeston
2323c61aac Rbbeeston/issue1111 (#1165)
added  whitespace-nowrap to fix firefox issue
2024-07-23 12:16:55 -04:00
Kenneth Reitz
562ad647c1 Limit Celery's Redis connections (#1164)
This change adds a `MAX_CELERY_CONNECTIONS` environment variable, which
defaults to `60`.
2024-07-23 11:40:55 -04:00
Kenneth Reitz
44aca9f962 chore: Update boto3 and botocore dependencies to latest versions 2024-07-23 06:57:20 -04:00
rbbeeston
2ad383cce2 fixed border bottom spacing on learn and community pages (#1163)
border bottom lines were spaced too close to the text. Added a bit more
space.
<img width="625" alt="Screenshot 2024-07-22 at 7 59 11 PM"
src="https://github.com/user-attachments/assets/253a3c22-5066-4aea-ba76-65bd0c733b69">
<img width="630" alt="Screenshot 2024-07-22 at 7 59 32 PM"
src="https://github.com/user-attachments/assets/3c4ced28-97fd-491c-8ead-faaf6a374fda">
2024-07-22 23:56:16 -04:00
rbbeeston
f7f878ea2d Feature/1150 wrapping library links (#1162)
added CSS to wrap URLs instead of overflowing and space the divs cleanly

<img width="702" alt="Screenshot 2024-07-22 at 3 23 32 PM"
src="https://github.com/user-attachments/assets/5efc0e31-4c27-439c-94d5-2dd7d78f6d04">

---------

Co-authored-by: Kenneth Reitz <me@kennethreitz.org>
Co-authored-by: sdarwin <samuel.d.darwin@gmail.com>
Co-authored-by: Julio C. Estrada <estradacjulio@gmail.com>
2024-07-22 23:51:05 -04:00
Julio C. Estrada
3aec151b5d Update Learn section highlights (#1154) (#1161)
**Fixes Issue:** #1154

**Changes:**
- User Guide:
- Removed Library Names & Organization and Header & Compiled Binaries
links
  - Added Introduction to the User Community link
- Contributor Guide:
  - Updated broken Design Guide Link
- Added Getting Involved, Super-Project, and Introduction to the
Contributors Community links
  - Updated Libraries to Library Requirements
  - Removed Licenses, Portability, Code Organization links

**Testing:**
- Manual device (iPhone 12 Pro) testing
- Manual dev tools testing

**Preview:**

![Update Learn section highlights
(#1154)](https://github.com/user-attachments/assets/5baef036-901e-4ef8-adce-66a5876496c1)
2024-07-22 14:24:28 -04:00
rbbeeston
6630f40615 Rbbeeston/issue1111 (#1160)
pulled in latest and added whitespace wrap to fix issue

---------

Co-authored-by: Kenneth Reitz <me@kennethreitz.org>
Co-authored-by: sdarwin <samuel.d.darwin@gmail.com>
2024-07-22 14:24:08 -04:00
Kenneth Reitz
02b036887c Cleanup yarn build step in docker 2024-07-22 10:38:08 -04:00
Kenneth Reitz
ba682ccef1 Update pip installation command in Dockerfile 2024-07-22 10:32:38 -04:00
Kenneth Reitz
678bf483a4 preserve build extras in pip-compile process (#1159)
This is an extension of #1158.
2024-07-22 10:25:42 -04:00
Kenneth Reitz
ad30efd71b Run yarn build during docker build (#1158)
This will alliviate the merge conflicts we keep getting by checking this
file into source control.


-----------

Now, when using docker-compose, to re-generate the `styles.css` file,
you can do so locally in the following ways:

1. locally run `yarn build`
2. run `docker compose build`
2024-07-22 10:14:44 -04:00
rbbeeston
2176ea7abc terms of use check requirement for JS enabled browsers (#1149)
For javascript enabled browsers, it requires acceptance of the terms
before allowing to register.

Fallback for non-js browsers is an acknowledgement that registering also
means accepting the terms.

<img width="1185" alt="Screenshot 2024-07-10 at 4 17 20 PM"
src="https://github.com/user-attachments/assets/76687044-45b4-423f-ae2f-e3aba24e63e7">
<img width="1186" alt="Screenshot 2024-07-10 at 4 17 46 PM"
src="https://github.com/user-attachments/assets/e866b57f-8145-4038-96e5-9dc34e9c5272">

no javascript
![Screenshot 2024-07-17 at 11 56
21 AM](https://github.com/user-attachments/assets/20f32bcc-9a92-43e5-83c1-72f877343291)
2024-07-22 09:36:34 -04:00
sdarwin
9965e3be0a Small docs/ update 2024-07-15 08:19:26 -06:00
Kenneth Reitz
c1f46f4bae Django security update. (#1145) 2024-07-12 09:38:35 -04:00
rbbeeston
c59e56c553 adjusted lozenge size (#1142)
fixed breaking firefox / mobile issues

---------

Co-authored-by: rbbeeston <rob@cppalliance.org>
Co-authored-by: Kenneth Reitz <me@kennethreitz.org>
2024-07-09 15:03:49 -04:00
Kenneth Reitz
c3e6e3b70e Remove sponsorship links about downloads from release notes (#1141)
Solves #1116

The code changes in `htmlhelper.py` remove the sponsorship links about
downloads from the release notes. This improves the clarity and focus of
the release notes by removing unnecessary information.
2024-07-09 13:35:41 -04:00
Kenneth Reitz
7bae3f1761 Fix the build (#1140) 2024-07-09 12:38:30 -04:00
Kenneth Reitz
53c759bccc Merge branch 'rbbeeston-rbbeeston/issue1111' into develop 2024-07-09 12:15:54 -04:00
Kenneth Reitz
5bcfc512a3 rebuild styles.css 2024-07-09 12:15:36 -04:00
Kenneth Reitz
73f9dab8e8 Merge branch 'develop' into rbbeeston/issue1111 2024-07-09 12:12:22 -04:00
Julio C. Estrada
a7ae2c19b5 Fix Antora Navbar Stickiness on Mobile for Learn Docs (#1109) (#1138)
**Fixes Issue #1109**

**Changes:**
- Added tailwind class `fixed` to navbar, preventing it from
"disappearing" on mobile.

**Impact:**
Improves mobile navigation by ensuring the navbar is always visible,
enhancing user experience.

**Testing:**
- Manual device testing
- Manual dev tools testing

**Screenshots:**

![EEA4186F-6B8C-4DA5-8D96-2D84C282D42A_4_5005_c](https://github.com/boostorg/website-v2/assets/3632378/597a0cdc-602f-4fac-8515-9382168070a3)
2024-07-09 12:11:25 -04:00
rbbeeston
cae78e7b58 Fixed firefox bugs and alignment 2024-07-09 08:41:45 -07:00
Kenneth Reitz
04816eda20 Update dependencies in requirements.txt (#1137)
for @dependabot
2024-07-08 18:01:25 -04:00
rbbeeston
f7ae057da0 code added for hover states and links (#1136)
as above. works for all states
<img width="992" alt="Screenshot 2024-07-05 at 2 18 11 PM"
src="https://github.com/boostorg/website-v2/assets/121198190/c84ff2dd-6fe7-4b87-9e4f-e2cd8751904c">
<img width="978" alt="Screenshot 2024-07-05 at 2 17 49 PM"
src="https://github.com/boostorg/website-v2/assets/121198190/03df5a9e-dbea-4736-a1f1-f585a85e8560">
<img width="968" alt="Screenshot 2024-07-05 at 2 17 35 PM"
src="https://github.com/boostorg/website-v2/assets/121198190/23eec354-3847-44c4-873c-7155241f72da">
<img width="972" alt="Screenshot 2024-07-05 at 2 17 16 PM"
src="https://github.com/boostorg/website-v2/assets/121198190/b674d0fb-82ce-4554-9861-4d5ae1a53056">
<img width="958" alt="Screenshot 2024-07-05 at 2 17 00 PM"
src="https://github.com/boostorg/website-v2/assets/121198190/96c52cdb-8e23-48e2-a6ec-a664895c6cb9">

Co-authored-by: rbbeeston <rob@cppalliance.org>
Co-authored-by: Kenneth Reitz <me@kennethreitz.org>
2024-07-08 17:58:59 -04:00
rbbeeston
57f3eecc91 Merge branch 'boostorg:develop' into rbbeeston/issue1111 2024-07-08 08:49:23 -07:00
Kenneth Reitz
39692f82c2 re-generarate styles.css 2024-07-08 11:06:41 -04:00
rbbeeston
44714bc246 code added for hover states and links (#1134)
changes should appears as below:
<img width="992" alt="Screenshot 2024-07-05 at 2 18 11 PM"
src="https://github.com/boostorg/website-v2/assets/121198190/dde4a154-eefd-445f-90af-af652f01c794">
<img width="978" alt="Screenshot 2024-07-05 at 2 17 49 PM"
src="https://github.com/boostorg/website-v2/assets/121198190/68f94472-122f-40ae-b953-4508cc2f6ed4">
<img width="968" alt="Screenshot 2024-07-05 at 2 17 35 PM"
src="https://github.com/boostorg/website-v2/assets/121198190/84a83d61-8aeb-45f0-94d7-28503a6147cf">
<img width="972" alt="Screenshot 2024-07-05 at 2 17 16 PM"
src="https://github.com/boostorg/website-v2/assets/121198190/69ac0462-bef0-40b8-912c-57df804d14c5">
<img width="958" alt="Screenshot 2024-07-05 at 2 17 00 PM"
src="https://github.com/boostorg/website-v2/assets/121198190/3c7a4925-e90a-44f8-bb2d-71b678abcd33">

Co-authored-by: rbbeeston <rob@cppalliance.org>
Co-authored-by: Kenneth Reitz <me@kennethreitz.org>
2024-07-08 11:03:32 -04:00
rbbeeston
06b9568a82 Replace "03", "11", etc. icons with "C++03", "C++11", etc. (#1133)
Fixes #1111 adding C++ to lozenges and  #1130 fix image tags

<img width="971" alt="Screenshot 2024-07-02 at 4 42 54 PM"
src="https://github.com/boostorg/website-v2/assets/121198190/3033a5bc-9ee3-4d32-ad32-e04cc48315df">
<img width="975" alt="Screenshot 2024-07-02 at 4 43 40 PM"
src="https://github.com/boostorg/website-v2/assets/121198190/944e28c5-8219-4302-8696-95168be5d19a">
<img width="902" alt="Screenshot 2024-07-01 at 11 53 58 AM"
src="https://github.com/boostorg/website-v2/assets/121198190/ef031e46-927c-4f89-a842-de394a9e9f3c">
<img width="895" alt="Screenshot 2024-07-01 at 12 25 45 PM"
src="https://github.com/boostorg/website-v2/assets/121198190/62f3f7f4-45ab-419c-98a7-6e9a20edbae5">

---------

Co-authored-by: rbbeeston <rob@cppalliance.org>
Co-authored-by: Kenneth Reitz <me@kennethreitz.org>
2024-07-08 11:02:46 -04:00