Skip to content
GitLab
    • Why GitLab
    • Pricing
    • Contact Sales
    • Explore
  • Why GitLab
  • Pricing
  • Contact Sales
  • Explore
  • Sign in
  • Get free trial

Admin message

Do not update/delete: Banner broadcast message test data

Admin message

Do not update/delete: Notification broadcast message test data

  • F-DroidF-Droid
  • WebsiteWebsite
  • Issues
  • #22

Redirect old browsing urls

Old url

Main url: https://f-droid.org/repository/browse plus some parameters

Parameters:

  • page_id
  • Wordpress parameter for the browsing page
  • It's not always defined; if yes, it's value is 0
  • can be ignored when redirecting
  • fdcategory:
  • list of all apps with this category
  • value is one of these escaped category names: All+categories, Writing, Navigation, Graphics, Phone+%26+SMS, Science+%26+Education, Time, Reading, Internet, Theming, Sports+%26+Health, Money, Security, Development, Connectivity, Multimedia, None, Games, System
  • if not defined, defaults to `All+categories
  • Warning: This parameter is often defined twice; the last one is used
  • fdpage
  • the current pagination number (starting from 1) in app list
  • if not defined, defaults to 1
  • fdfilter
  • search for this parameter's value
  • fdid
  • the applications' package name on app detail page
  • if fdid is defined, the other parameters are ignored -> if defined app detail, if not defined app list

Please correct me if I'm wrong.

Redirecting possibilities

  1. PHP: Just access the $_REQUEST parameters and process them. Problem: PHP might make building and deploying more difficult
  2. JS: Access the current url with window.location. Problem: JS could be disabled on the client; also I'd prefer using JS for some nice-to-have extra features only.
Assignee
Assign to
Time tracking