• Your Name's avatar
    refactor: move payment gateway settings to payment settings page and hide API... · 7ea471cc
    Your Name authored
    refactor: move payment gateway settings to payment settings page and hide API Tokens for config admin
    
    - Moved payment gateway configuration (Stripe, PayPal, crypto) from admin tiers page to admin payment settings page
    - Removed payment gateway HTML section (lines 115-290) from admin_tiers.html
    - Removed payment gateway JavaScript functions from admin_tiers.html
    - Added payment gateway section to admin_payment_settings.html with all 6 gateways (PayPal, Stripe, BTC, ETH, USDT, USDC)
    - Added loadPaymentGateways() and savePaymentGateways() functions to admin_payment_settings.html
    - Hide 'API Tokens' navigation link for config admin user (user_id is null for config admin)
    - API Tokens link now only shows for database users (request.session.user_id exists)
    - Config admin defined in aisbf.json has no user_id, so they won't see API Tokens link
    - Admin tiers page now focuses only on tier management and currency settings
    - Admin payment settings page now has all payment configuration in one place
    7ea471cc
Name
Last commit
Last update
aisbf Loading commit data...
config Loading commit data...
docs/superpowers Loading commit data...
static Loading commit data...
templates Loading commit data...
tests/payments Loading commit data...
.gitignore Loading commit data...
.providers.json.swp Loading commit data...
ADMIN_SETTINGS_CLARIFICATION.md Loading commit data...
ADMIN_SETTINGS_COMPLETE.md Loading commit data...
AI.PROMPT Loading commit data...
API_EXAMPLES.md Loading commit data...
BUILD_DEPLOY.md Loading commit data...
CHANGELOG.md Loading commit data...
DATABASE_MIGRATION.md Loading commit data...
DEBUG_GUIDE.md Loading commit data...
DEPLOYMENT_CHECKLIST.md Loading commit data...
DEPLOYMENT_READY.md Loading commit data...
DOCUMENTATION.md Loading commit data...
FINAL_SUMMARY_v0.99.26.txt Loading commit data...
KILO_OAUTH2.md Loading commit data...
LICENSE.txt Loading commit data...
MANIFEST.in Loading commit data...
PAYMENT_INSTALLATION.md Loading commit data...
PAYMENT_INTEGRATION_SUMMARY.md Loading commit data...
PAYMENT_SYSTEM_SUMMARY.md Loading commit data...
PAYPAL_SETUP.md Loading commit data...
PAYPAL_TROUBLESHOOTING.md Loading commit data...
PYPI.md Loading commit data...
QUICK_START_PAYMENT.md Loading commit data...
README.md Loading commit data...
RELEASE_NOTES_v0.99.26.md Loading commit data...
TODO.md Loading commit data...
TORRC_SETUP.md Loading commit data...
aisbf.db Loading commit data...
aisbf.sh Loading commit data...
build.sh Loading commit data...
chatgpt-api-implementation-guide.md Loading commit data...
clean.sh Loading commit data...
cli.py Loading commit data...
codex-oauth-implementation-guide.md Loading commit data...
diagnose_databases.py Loading commit data...
main.py Loading commit data...
migrate_cache_to_aisbf.py Loading commit data...
pyproject.toml Loading commit data...
qwen-oauth2-analysis.md Loading commit data...
requirements.txt Loading commit data...
screenshot.png Loading commit data...
setup.py Loading commit data...
start_proxy.sh Loading commit data...
test_google.sh Loading commit data...
test_kiro_models_origin.py Loading commit data...
test_proxy.sh Loading commit data...
test_response_cache.py Loading commit data...
verify_release.sh Loading commit data...