Commit Graph

242 Commits

Author SHA1 Message Date
Greg Kaleka
8b43040399 Website traffic stats gathering (#1679) 2025-03-23 16:11:21 -04:00
Greg Kaleka
e07b69ef0b Review URL fix (#1713) 2025-03-21 11:19:37 -04:00
Chrissy Wainwright
ea303b0369 Update URLs pointing to /reviews refs #1659
Change to point to /doc/formal-reviews/submissions.html
2025-03-14 12:02:46 -05:00
Greg Kaleka
c0411591ba Add ability to force report regeneration (#1636) 2025-02-14 15:03:03 -05:00
Greg Kaleka
d537985bb8 Schedule report tasks and add report preview view (#1620) 2025-02-10 11:22:17 -05:00
Greg Kaleka
21e38f11d3 Gmail display fix for news moderation email (#1622) 2025-02-06 10:12:35 -05:00
Greg Kaleka
7468f54199 News moderation email magic links (#1600) 2025-01-15 14:54:28 -05:00
daveoconnor
c9f4d36afb Added developer debugging tools (#1479) (#1508) 2025-01-09 10:01:43 -08:00
Sam Darwin
577acf666a Set variable: mailman core db (#1571) 2025-01-02 12:19:52 -07:00
Greg Kaleka
cb2b340ecd Add Boost Development page (#1565) 2024-12-23 16:44:06 -05:00
Greg Kaleka
6cbdab68e7 Prompt user to select google account and auto-link social accounts (#1558) 2024-12-19 12:07:01 -05:00
Brian Perrett
2981976b80 Add functionality to track LibraryVersion dependencies (#1524) 2024-12-16 14:28:33 -05:00
daveoconnor
91f36c3eeb Simplified/centralised version dropdowns population (#1500) (#1510) 2024-12-10 09:29:50 -08:00
Greg Kaleka
650a3f5e06 Fix Home nav link active color (#1523) 2024-12-06 18:36:39 -05:00
daveoconnor
f6a5f4fbcf Make URLs more consistent, refactor libraries/releases (#1489) 2024-11-25 16:08:38 -05:00
Greg Kaleka
15698ee478 Make review views dynamic and add import script (#1444) 2024-11-21 07:55:02 -05:00
Greg Kaleka
6a64dce691 Skip -bgl versions in version_import script (#1478) 2024-11-21 07:54:21 -05:00
Gavin Wahl
527a5cf83e 10-day grace period for user deletion (#1445) 2024-11-15 08:27:18 -05:00
Gavin Wahl
9bf82a3c5c Download slack activity (#1395) 2024-11-14 09:41:35 -05:00
Brian Perrett
48c7c87a54 Add the HYPERKITTY_DATABASE_NAME environment variable (#1435) 2024-11-13 09:32:54 -08:00
Brian Perrett
1afb03d8df Import and add in-progress release notes. (#1416)
- fixes #1155
- add in-progress release notes import to the import_release_notes task
2024-11-07 09:13:18 -08:00
Gavin Wahl
a86375dd15 Use serif fallback for fonts in dev (#1392)
fixes #1335
2024-11-06 11:45:47 -07:00
daveoconnor
58b791eee2 Reduced steps for local development setup for social media auth (#1374) (#1383)
This is related to ticket #1374, and simplifies the steps for local
development environments to have a working login flow for github and
google.

The improvements were configuration for the client id and secret for
google and github via .env vars instead of having to go through setting
up "Social Applications" via the admin interface, and automating the
process for creating google cloud projects in which oauth clients can be
created. Documentation was adjusted to fit.

That was as far as this could be automated given limitations on both
Google Cloud Platform and Github's APIs for creating oauth clients/apps.

The terraform process can be improved if these tickets see some progress
or an API comes about to support this.

Google
https://github.com/hashicorp/terraform-provider-google/issues/16452
https://issuetracker.google.com/issues/116182848

Github
https://github.com/integrations/terraform-provider-github/issues/786
2024-10-30 11:31:34 -07:00
Gavin Wahl
3f30722d6b Option to delete user data (#1368)
Fixes #965
2024-10-25 13:49:12 -06:00
Brian Perrett
bb28aa2d12 Remove calls to deleted tasks. (#1345) 2024-10-25 11:43:48 -07:00
Brian Perrett
fdeb79b8e3 Sync EmailData from hyperkitty. (#1366)
- This work is a prerequisite for #1290 and #1289
- Create an `EmailData` model which holds email counts per
(CommitAuthor, Version).
- Add management command `sync_mailinglist_stats` to query data from the
hyperkitty database and build `EmailData` objects from it
- EmailData.count is calculated between x.x.0 release_dates
- Add button in EmailData admin to trigger task
- Update the `merge_author` method to update EmailData with the Summed
counts per version and delete EmailData which pointed to the
`CommitAuthor` being merged from.
2024-10-21 09:39:09 -07:00
Brian Perrett
21aaf323f6 Remove old code for mailing list. (#1363)
- Remove old templates, views, urls, tests and models
- Per #204, this project was abandoned.
- We will query and save aggregated stats from hyperkitty in a future
commit, in #1289
2024-10-16 11:45:04 -07:00
daveoconnor
8022c5c969 Resolve issue with avatars on docs/guide page (#1349)
Related to #1307, couldn't reproduce that specific issue, but did see an
issue with the avatar sizing and styling, so added tailwind to docs
template
2024-10-09 17:28:18 -07:00
daveoconnor
463112e5af fixed issues with releases page and versioning (#1300)
* Fixed issues with releases page and versioning
* Added latest support and version alert
* Updated version alert to link to /release and clarify most recent vs
vs "release" selection
* Refactored Libraries and Releases pages to align similar code for
reuse.
2024-10-07 15:42:18 -07:00
daveoconnor
4c17724f00 Updated login flow to match Figma (#1167, #1128) (#1311)
Includes email for various signup/login related events which we'll need
to ensure there's support for in staging and prod
2024-10-04 10:09:44 -07:00
Brian Perrett
45a3fa7870 Create an avatar tag to be usable anywhere we need an avatar. (#1298)
- fixes https://github.com/boostorg/website-v2/issues/1285
- Use a django tag to render an avatar component.
2024-09-27 15:30:46 -07:00
Sam Darwin
6d3e82f8e4 Fastly api token (#1280) 2024-09-25 12:59:18 -06:00
daveoconnor
30ab003561 added support for 'release' in urls (#1084) (#1266)
1. added support for 'release' in library urls
2. fixed versioning not working from the non-grid library list pages
3. fixed library detail user selection of versioning not working
4. unified cookie handling to share across both LibraryList and
LibraryDetail
2024-09-24 13:56:13 -07:00
daveoconnor
50559609e9 fixed issues with libraries navigation, refactors (#1213) (#1250)
There's a good amount of refactoring in this, so this is going to look
like a much bigger change than it is. In reality it makes the dispatch
code simpler.

Fixes: 
1. Resolved the issue with the libraries pages not redirecting correctly
2. Resolved an issue around categories not being preserved moving from
page to page.

The issue with the redirects was there was a tug of war on arriving on
/library between the various ways of determining where the user should
end up.
I added a `/libraries/grid/` url and now `/libraries/` determines which
list page the user should end up on based on 1) url 2) cookie, 3) the
default, same for version preference. We can probably get rid of
dispatch() later. This has the added bonus of allowing reliable linking
to a specific list view (e.g. for users to bookmark one type)

Refactors:
1. Separated the navigation on the three library pages into a standalone
template.
2. Moved some constants to constants.py
3. Moved a lot of the views methods which were only used by the
dispatch() call to utils.py .
4. At that stage there were circular imports so I moved the docs
generation functions which were only used in constants.py to
constants_utils.py. utils.py is more general.
2024-09-19 12:06:36 -07:00
Frank Wiles
d3c2015c7e Redis connections fix (#1219)
Hopefully going to make your day with this PR. The first commit is
somewhat, but not entirely related changes.

The actual fix is in the second commit changing the single Django
setting.
2024-08-31 13:51:05 -05: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
Kenneth Reitz
c8ab13656f Enable social account login on GET requests 2024-07-26 14:01:30 -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
cee432678b Fix URL pattern for library page redirects 2024-06-17 08:57:01 -04:00
Kenneth Reitz
3413440ddf Correct #906 2024-06-17 08:53:43 -04:00
Kenneth Reitz
c6db8a8d5f feat: Add redirect view for library pages 2024-06-14 15:59:00 -04:00
Kenneth Reitz
4028f496e0 feat: Add redirect view for release versions 2024-06-14 15:59:00 -04:00
Kenneth Reitz
43818c892b Refactor redirect rules in config/urls.py for library versions 2024-04-12 09:23:45 -04:00
Kenneth Reitz
b97e83cbd1 Refactor redirect rules in config/urls.py for library versions 2024-04-11 18:11:26 -04:00
Kenneth Reitz
67df436314 Fixes tools/{libname}/{path} redirect rules #1055 2024-04-11 08:39:07 -04:00
Kenneth Reitz
7947fd73c5 redirect comment moved 2024-04-10 08:06:55 -04:00
Kenneth Reitz
ad5d503468 class-based views 2024-04-10 08:05:38 -04:00
Kenneth Reitz
2a43c1dd04 Refactor redirect logic in views.py for library versions 2024-04-10 07:55:57 -04:00
Kenneth Reitz
7ec6f8b8cd Add X_FRAME_OPTIONS for frame loading 2024-04-04 12:45:26 -04:00
Kenneth Reitz
6bc9acfb80 Update SITE_ID value for CI or LOCAL_DEVELOPMENT environment 2024-04-03 13:37:56 -04:00