diff --git a/ios/patching/022-social-app-ios-bskyweb-support-pages.patch b/ios/patching/022-social-app-ios-bskyweb-support-pages.patch index a07a3ae..812885c 100644 --- a/ios/patching/022-social-app-ios-bskyweb-support-pages.patch +++ b/ios/patching/022-social-app-ios-bskyweb-support-pages.patch @@ -2,7 +2,7 @@ diff --git a/bskyweb/cmd/bskyweb/server.go b/bskyweb/cmd/bskyweb/server.go index ec5261dee..c670cf75a 100644 --- a/bskyweb/cmd/bskyweb/server.go +++ b/bskyweb/cmd/bskyweb/server.go -@@ -300,6 +300,10 @@ func serve(cctx *cli.Context) error { +@@ -302,6 +302,12 @@ func serve(cctx *cli.Context) error { e.GET("/support/tos", server.WebGeneric) e.GET("/support/community-guidelines", server.WebGeneric) e.GET("/support/copyright", server.WebGeneric) @@ -10,10 +10,12 @@ index ec5261dee..c670cf75a 100644 + e.GET("/about/support/tos", server.WebAboutTOS) + e.GET("/about/support/privacy-policy", server.WebAboutPrivacy) + e.GET("/about/support/help", server.WebAboutHelp) ++ e.GET("/about/support/license", server.WebAboutLicense) ++ e.GET("/about/support/app", server.WebAboutApp) e.GET("/intent/compose", server.WebGeneric) e.GET("/intent/verify-email", server.WebGeneric) e.GET("/intent/age-assurance", server.WebGeneric) -@@ -753,3 +757,21 @@ func (srv *Server) WebIpCC(c echo.Context) error { +@@ -755,3 +761,33 @@ func (srv *Server) WebIpCC(c echo.Context) error { } return c.JSON(200, outResponse) } @@ -35,12 +37,237 @@ index ec5261dee..c670cf75a 100644 + data := srv.NewTemplateContext() + return c.Render(http.StatusOK, "about-help.html", data) +} ++ ++// Handler for About License page (syu.is specific) ++func (srv *Server) WebAboutLicense(c echo.Context) error { ++ data := srv.NewTemplateContext() ++ return c.Render(http.StatusOK, "about-license.html", data) ++} ++ ++// Handler for About App page (syu.is specific) ++func (srv *Server) WebAboutApp(c echo.Context) error { ++ data := srv.NewTemplateContext() ++ return c.Render(http.StatusOK, "about-app.html", data) ++} +diff --git a/bskyweb/templates/about-app.html b/bskyweb/templates/about-app.html +new file mode 100644 +index 000000000..000000002 +--- /dev/null ++++ b/bskyweb/templates/about-app.html +@@ -0,0 +1,135 @@ ++ ++ ++
++ ++ ++Aiat is a social networking application based on AT Protocol. Connect with your community on syu.is.
++This application is based on the Bluesky Social App, which is open source software.
++ ++This app uses the following open source software:
++ ++Licensed under the MIT License
++https://github.com/bluesky-social/social-app
++ ++Licensed under the MIT License / Apache 2.0
++https://github.com/bluesky-social/atproto
++ ++This application includes various third-party libraries, each with their own licenses. For a complete list, please see the application's source code repository.
++ ++ ++ ++ diff --git a/bskyweb/templates/about-help.html b/bskyweb/templates/about-help.html new file mode 100644 index 000000000..d37db25c5 --- /dev/null +++ b/bskyweb/templates/about-help.html -@@ -0,0 +1,98 @@ +@@ -0,0 +1,91 @@ + + + @@ -130,6 +357,8 @@ index 000000000..d37db25c5 +