Website merge requestshttps://staging.gitlab.com/fdroid/fdroid-website/-/merge_requests2017-10-06T08:48:42Zhttps://staging.gitlab.com/fdroid/fdroid-website/-/merge_requests/127final fixes for deploying the localized website2017-10-06T08:48:42Zusername-removed-24982final fixes for deploying the localized websiteThis is a collection of final fixes for deploying the fully localized website. Details in the commit messages. This whole thing is running here using the officially documented setup:
https://testy.at.or.at
@pserwylo @NicoAlt @CiaranGThis is a collection of final fixes for deploying the fully localized website. Details in the commit messages. This whole thing is running here using the officially documented setup:
https://testy.at.or.at
@pserwylo @NicoAlt @CiaranGlaunch-localizedhttps://staging.gitlab.com/fdroid/fdroid-website/-/merge_requests/126Weblate2017-10-02T22:19:02Zusername-removed-24982Weblatelaunch-localizedhttps://staging.gitlab.com/fdroid/fdroid-website/-/merge_requests/125optimize build process to greatly reduce build time2017-10-03T07:30:37Zusername-removed-24982optimize build process to greatly reduce build timeSwitching to manual, hardcoded language selection, and choosing 8 languages got the generation/deploy time down from 6 hours to 1.5 hours.
Also, we really do not want automatic language selection on this website. Its already so huge,...Switching to manual, hardcoded language selection, and choosing 8 languages got the generation/deploy time down from 6 hours to 1.5 hours.
Also, we really do not want automatic language selection on this website. Its already so huge, we cannot afford to have it taking hours longer without manual intervention.
Also, I threw in a small commit that standardizes the spelling of F-Droid as F-Droid.
#128launch-localizedhttps://staging.gitlab.com/fdroid/fdroid-website/-/merge_requests/124Redirect to GitLab Pages instead of the /badges subdirectory.2017-10-03T23:25:14Zusername-removed-25042Redirect to GitLab Pages instead of the /badges subdirectory.Partially/temporarily addresses #107.Partially/temporarily addresses #107.launch-localizedusername-removed-24982username-removed-24982https://staging.gitlab.com/fdroid/fdroid-website/-/merge_requests/123new "Update Channels" post and docs updates around release process2017-09-21T18:07:13Zusername-removed-24982new "Update Channels" post and docs updates around release processA bunch of text changes bunched together to save us all time.
* blog post about https://gitlab.com/fdroid/update-channels
* added the official F-Droid PPA to the docs (`ppa:fdroid/fdroidserver`)
* updated _Release Process_ doc with Webl...A bunch of text changes bunched together to save us all time.
* blog post about https://gitlab.com/fdroid/update-channels
* added the official F-Droid PPA to the docs (`ppa:fdroid/fdroidserver`)
* updated _Release Process_ doc with Weblate steps
* document PNG issues in _Reproducible Builds_
These all should be available on my staging site: https://eighthave.gitlab.io/fdroid-website/docs/https://staging.gitlab.com/fdroid/fdroid-website/-/merge_requests/122Dedicated search page2017-09-25T22:11:34Zusername-removed-25042Dedicated search pageDemo available at http://fdroid.peter.serwylo.com/packages/.
Notice the following:
* Searching from the [home page sidebar](http://fdroid.peter.serwylo.com/) works as before.
* Pressing enter in the [home page sidebar](http://fdro...Demo available at http://fdroid.peter.serwylo.com/packages/.
Notice the following:
* Searching from the [home page sidebar](http://fdroid.peter.serwylo.com/) works as before.
* Pressing enter in the [home page sidebar](http://fdroid.peter.serwylo.com/) sends the query to the search page with the list of results (e.g. for ["Player"](http://fdroid.peter.serwylo.com/packages/#q=Player)).
* As you type in the search page, it will update the URL. This is so people can copy the search results URL and send it to someone else.
* If you send a query to the old search URL from the previous site (as DuckDuckGo does when you use the `!fdroid` bang) then it will redirect: http://fdroid.peter.serwylo.com/repository/browse/?fdfilter=Player -> http://fdroid.peter.serwylo.com/packages/#q=Player.
* To avoid requiring further translations in the search page, I've put a search icon in the text input.https://staging.gitlab.com/fdroid/fdroid-website/-/merge_requests/121Added whats-new field to package page.2017-09-12T11:05:17Zusername-removed-25042Added whats-new field to package page.I believe this is the final piece of new metadata from index-v1 to include in the website.
![whatsnew](/uploads/e372516d24f825cd1f0aa3a083391611/whatsnew.png)
Above is a screenshot of it with the testy repository. You wont see it in th...I believe this is the final piece of new metadata from index-v1 to include in the website.
![whatsnew](/uploads/e372516d24f825cd1f0aa3a083391611/whatsnew.png)
Above is a screenshot of it with the testy repository. You wont see it in the surge.sh build because the GP repo doesn't include "What's new" and the surge.sh build can't build the entire F-Droid index due to size constraints.
Clearly the formatting of the whats new text suffers from the same formatting problem as the description, so that will be fixed at the same time the description is.
Includes a fix for long app titles from the testy repository which were not wrapping in the sidebar also.https://staging.gitlab.com/fdroid/fdroid-website/-/merge_requests/120Repo name and date in footer2017-09-12T08:09:08Zusername-removed-25042Repo name and date in footer![image](/uploads/2470a13946db2348eb84ebcf37e88ba1/image.png)
Fixes #121.![image](/uploads/2470a13946db2348eb84ebcf37e88ba1/image.png)
Fixes #121.https://staging.gitlab.com/fdroid/fdroid-website/-/merge_requests/119Screenshots, localized descriptions, and feature images2017-09-12T15:32:27Zusername-removed-25042Screenshots, localized descriptions, and feature imagesThis uses the index-v1 support added to jekyll-fdroid to render screenshots, localized descriptions, and feature images for apps.
You can see this in action at http://index-v1-fdroid-website-pserwylo.surge.sh/fdroid-website/de/packages/...This uses the index-v1 support added to jekyll-fdroid to render screenshots, localized descriptions, and feature images for apps.
You can see this in action at http://index-v1-fdroid-website-pserwylo.surge.sh/fdroid-website/de/packages/info.guardianproject.checkey/https://staging.gitlab.com/fdroid/fdroid-website/-/merge_requests/118Docs update2017-09-12T04:38:41Zusername-removed-24982Docs updateThis is a series of updates to various docs pages that includes recently added features. More comments in the commit messages.This is a series of updates to various docs pages that includes recently added features. More comments in the commit messages.https://staging.gitlab.com/fdroid/fdroid-website/-/merge_requests/105Localize homepage screenshot2017-08-01T08:43:04Zusername-removed-25042Localize homepage screenshot@eighthave: not sure if what I did with regards to `zh_Hant + zh_Hans -> zh` is valid or not.
![desktop-de](/uploads/32d3099168ad4b692f3507b3dd4385dc/desktop-de.png)
![desktop-en](/uploads/cd21784ad23c40019f0434363605f1e5/desktop-en.p...@eighthave: not sure if what I did with regards to `zh_Hant + zh_Hans -> zh` is valid or not.
![desktop-de](/uploads/32d3099168ad4b692f3507b3dd4385dc/desktop-de.png)
![desktop-en](/uploads/cd21784ad23c40019f0434363605f1e5/desktop-en.png)
![mobile-en](/uploads/7add215acdac423aee15f6002bfae2bd/mobile-en.png)
Fixes #79.launch-localizedhttps://staging.gitlab.com/fdroid/fdroid-website/-/merge_requests/103Merge weblate website2017-07-17T15:36:00Zusername-removed-24982Merge weblate websitelaunch-localizedhttps://staging.gitlab.com/fdroid/fdroid-website/-/merge_requests/102Random small updates2017-07-18T19:25:03Zusername-removed-24982Random small updatesThis is a collection of random small updates that I did while working on things.This is a collection of random small updates that I did while working on things.launch-localizedhttps://staging.gitlab.com/fdroid/fdroid-website/-/merge_requests/99Add "artwork" repo as submodule and expose `/badge/*`.2017-07-17T15:21:32Zusername-removed-25042Add "artwork" repo as submodule and expose `/badge/*`.I'm currently tackling this by:
* Adding https://gitlab.com/fdroid/arwork as a submodule
* The submodule lives in the top level directory of the Jekyll source
* There is a `/badge` dir which symlinks to `/artwork/badge`
This means th...I'm currently tackling this by:
* Adding https://gitlab.com/fdroid/arwork as a submodule
* The submodule lives in the top level directory of the Jekyll source
* There is a `/badge` dir which symlinks to `/artwork/badge`
This means that:
* We end up with the entire `artowrk` repo in the website (does that really matter?)
* You (and CI) need to `git submodule init && git submodule update`
If the resulting webroot in this MR is too ugly (with the `/artwork` dir and the `/badge` symlink) then let me know. Another option would be to create a script in `_plugins/prepare-artwork.rb` which:
* Clones the artwork repo.
* Copies the `/badges` dir to the output directory after building the site.
Fixes #97.https://staging.gitlab.com/fdroid/fdroid-website/-/merge_requests/97Show output of "git describe" in fotter2017-07-10T02:11:31Zusername-removed-25042Show output of "git describe" in fotterIf you are on the latest (annotated or signed) tag, then it will just show the tag. Otherwise, it shows [most recent tagtag]-[commits ahead of this tag]-g[current-commit-hash]. It also links to the relevant gitlab page to display that ve...If you are on the latest (annotated or signed) tag, then it will just show the tag. Otherwise, it shows [most recent tagtag]-[commits ahead of this tag]-g[current-commit-hash]. It also links to the relevant gitlab page to display that versions source code.https://staging.gitlab.com/fdroid/fdroid-website/-/merge_requests/93L10n docs update2017-07-03T17:45:31Zusername-removed-24982L10n docs updateThis is an overhaul of the docs based on the completed localization setup with Weblate.This is an overhaul of the docs based on the completed localization setup with Weblate.launch-localizedhttps://staging.gitlab.com/fdroid/fdroid-website/-/merge_requests/92Linkchecker and baseurl for posts2017-07-16T13:37:55Zusername-removed-24982Linkchecker and baseurl for postsThis makes `linkchecker` check ~50 packages pages that start with "a". There needs to be some checks there too.
This also implements @pserwylo's suggestion in !88 for putting `site.baseurl` in the old, imported posts.This makes `linkchecker` check ~50 packages pages that start with "a". There needs to be some checks there too.
This also implements @pserwylo's suggestion in !88 for putting `site.baseurl` in the old, imported posts.https://staging.gitlab.com/fdroid/fdroid-website/-/merge_requests/88include 'wp-content' folder in this git repo2017-06-30T12:30:43Zusername-removed-24982include 'wp-content' folder in this git repoThe old imported posts use absolute URLs for images, pointing to the old Wordpress location for uploaded images: https://f-droid.org/wp-content/uploads/. This is a scrape of all those images, which are then included in this git, so that...The old imported posts use absolute URLs for images, pointing to the old Wordpress location for uploaded images: https://f-droid.org/wp-content/uploads/. This is a scrape of all those images, which are then included in this git, so that they are published and maintained as part of this website.
This also converts all absolute links to f-droid.org in those posts to use HTTPS.
@NicoAlt @pserwylo @CiaranGhttps://staging.gitlab.com/fdroid/fdroid-website/-/merge_requests/87Fix apache config2017-06-30T12:35:15Zusername-removed-25042Fix apache configTechnically this doesn't change anything on the site other than the documentation about apache configs. Both in the `_docs/` and also in the output of the `./tools/prepare-multi-lang.sh` script. The suggested config now:
* Includes a...Technically this doesn't change anything on the site other than the documentation about apache configs. Both in the `_docs/` and also in the output of the `./tools/prepare-multi-lang.sh` script. The suggested config now:
* Includes all of the languages supported by Weblate at time of writing
* Is easy to add a new language too if problems arise in the future
* Gracefully redirects users requests to not-yet-implemented translations back to the English version
* Doesn't try to treat `/js/` or `/css/` as a language code
* Still works without JS enabled (had to change `.htaccess` to loosen the presumption of what a language code looks like)
Here is [a test site running Apache2 with the new config](https://fdroid.peter.serwylo.com).
Fixes #80, #81.launch-localizedhttps://staging.gitlab.com/fdroid/fdroid-website/-/merge_requests/86Only render languages which are 100% translated in the "Website" project2017-06-30T12:35:03Zusername-removed-25042Only render languages which are 100% translated in the "Website" projectThere is still ongoing discussion about whether to refine this further in #78, but this at least eliminates the languages for which we can't even render the menu items properly.
It also updates the documentation to explain that you can ...There is still ongoing discussion about whether to refine this further in #78, but this at least eliminates the languages for which we can't even render the menu items properly.
It also updates the documentation to explain that you can avoid this behaviour by running `./tools/update_langs.py --partial` instead of `./tools/update_langs.py`. This will allow you to render partial translations again.launch-localized