Skip to content

Merge pathways rework - #42

Merged
KavyanshKhaitan2 merged 114 commits into
prodfrom
main
Sep 26, 2026
Merged

KavyanshKhaitan2 merged 114 commits into
prodfrom
main

Conversation

@KavyanshKhaitan2

Copy link
Copy Markdown
Collaborator

Major rework ngl

KavyanshKhaitan2 and others added 30 commits September 18, 2026 20:15
Merge upstream `main` into `pathway_rework`
Fix reloading too many times
Make the referrals url thing actually work
Heliodex and others added 27 commits September 23, 2026 17:18
Merge Pathways rework into main
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedpypi/​pillow@​12.3.08610010010090
Addedpypi/​coverage@​7.16.195100100100100
Addedpypi/​django-stubs@​6.1.1100100100100100

View full report

Comment thread twisted/twisted_site/views/admin/audit_logs.py Dismissed

if item_name == "" or item_description == "":
messages.error(request, "Item name and description are required!")
return redirect(request.path_info)
stock = int(stock_raw)
except ValueError:
messages.error(request, "Item stock must be a whole number!")
return redirect(request.path_info)
return redirect(request.path_info)
if stock < 0:
messages.error(request, "Item stock cannot be negative!")
return redirect(request.path_info)
price = int(price_raw)
except ValueError:
messages.error(request, f"Price for {region.name} must be a whole number!")
return redirect(request.path_info)
return redirect(request.path_info)
if price < 0:
messages.error(request, f"Price for {region.name} cannot be negative!")
return redirect(request.path_info)
for region, price in regional_prices:
_ = ShopItemRegionalPricing.objects.create(region=region, item=shop_item, price=price)
messages.success(request, f"Created new shop listing for {item_name}")
return redirect(request.path_info)
messages.success(request, f"Created new shop listing for {item_name}")
return redirect(request.path_info)

return redirect(request.path_info)
self.audit_log.additional_context["permission_changed"] = f"'{key}' set to '{value}'"
messages.success(request, f"Set permission '{key}' to '{value}' successfully.")
return redirect(self.request.path+"#adminperms")
return redirect(f"{self.request.path}#adminperms")
profile.region = get_object_or_404(ShopRegion, id=request.POST.get("region"))
profile.save()

return redirect(request.get_full_path())
@KavyanshKhaitan2
KavyanshKhaitan2 merged commit e2e009c into prod Sep 26, 2026
9 of 10 checks passed

This branch was successfully deployed

1 active deployment
twisted — 8c0bc074 Deployed Sep 26, 2026 by hack-club-orchard[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants