···586586 ".",
587587 "..",
588588 ".well-known",
589589- "admin",
590590- "api",
591591- "assets",
592592- "attachments",
593593- "avatar",
594594- "avatars",
589589+590590+ "api", // gitea api
591591+ "metrics", // prometheus metrics api
592592+ "v2", // container registry api
593593+594594+ "assets", // static asset files
595595+ "attachments", // issue attachments
596596+597597+ "avatar", // avatar by email hash
598598+ "avatars", // user avatars by file name
599599+ "repo-avatars",
600600+595601 "captcha",
596596- "commits",
597597- "debug",
602602+ "login", // oauth2 login
603603+ "org", // org create/manage, or "/org/{org}", BUT if an org is named as "invite" then it goes wrong
604604+ "repo", // repo create/migrate, etc
605605+ "user", // user login/activate/settings, etc
606606+607607+ "admin",
598608 "devtest",
599599- "error",
600609 "explore",
601601- "favicon.ico",
602602- "ghost",
603610 "issues",
604604- "login",
605605- "manifest.json",
606606- "metrics",
611611+ "pulls",
607612 "milestones",
608608- "new",
609613 "notifications",
610610- "org",
611611- "pulls",
612612- "raw",
613613- "repo",
614614- "repo-avatars",
615615- "robots.txt",
616616- "search",
617617- "serviceworker.js",
618618- "ssh_info",
614614+615615+ "favicon.ico",
616616+ "manifest.json", // web app manifests
617617+ "robots.txt", // search engine robots
618618+ "sitemap.xml", // search engine sitemap
619619+ "ssh_info", // agit info
619620 "swagger.v1.json",
620620- "user",
621621- "v2",
622622- "gitea-actions",
623623- "forgejo-actions",
621621+622622+ "ghost", // reserved name for deleted users (id: -1)
623623+ "gitea-actions", // gitea builtin user (id: -2)
624624+ "forgejo-actions", // forgejo builtin user (id: -2)
624625 }
625626626626- // DON'T ADD ANY NEW STUFF, WE SOLVE THIS WITH `/user/{obj}` PATHS!
627627+ // These names are reserved for user accounts: user's keys, user's rss feed, user's avatar, etc.
628628+ // DO NOT add any new stuff! The paths with these names are processed by `/{username}` handler (UsernameSubRoute) manually.
627629 reservedUserPatterns = []string{"*.keys", "*.gpg", "*.rss", "*.atom", "*.png"}
628630)
629631
+1
release-notes/5543.md
···11+feat: [commit](https://codeberg.org/forgejo/forgejo/commit/d0af8fe4dc7b294fe5409b2271468494267d5a7d) Allow filtering pull requests by poster in the API.