blog issueshttps://gitlab.torproject.org/tpo/web/blog/-/issues2021-11-15T16:05:18Zhttps://gitlab.torproject.org/tpo/web/blog/-/issues/40019Probably don't need a huge generic Tor image if the original blog post didn't...2021-11-15T16:05:18ZRoger DingledineProbably don't need a huge generic Tor image if the original blog post didn't have an imageThe tendency to put an image for our blog posts is somewhat new. It looks like the import uses a generic Tor picture if there isn't one already. This choice results in kind of weird old post lists, e.g. <br>
https://blog-staging.torproje...The tendency to put an image for our blog posts is somewhat new. It looks like the import uses a generic Tor picture if there isn't one already. This choice results in kind of weird old post lists, e.g. <br>
https://blog-staging.torproject.org/page/153/
Maybe it is cleaner to just not put a picture if there wasn't a picture?Jérôme Charaouilavamind@torproject.orgJérôme Charaouilavamind@torproject.orghttps://gitlab.torproject.org/tpo/web/blog/-/issues/40018Not all posts imported with a given tag?2021-11-15T16:05:18ZRoger DingledineNot all posts imported with a given tag?Notice for the 'research' tag on the blog we have many posts: <br>
https://blog.torproject.org/category/tags/research
But then notice that for that same tag on the new blog, we have only 2 posts: <br>
https://blog-staging.torproject.org...Notice for the 'research' tag on the blog we have many posts: <br>
https://blog.torproject.org/category/tags/research
But then notice that for that same tag on the new blog, we have only 2 posts: <br>
https://blog-staging.torproject.org/category/research/
The other posts are *there* on the new blog, e.g. <br>
https://blog-staging.torproject.org/call-arms-helping-internet-services-accept-anonymous-users/ <br>
but they seem to have lost their tags.https://gitlab.torproject.org/tpo/web/blog/-/issues/40017Comment threading is lost on import2023-04-11T13:22:40ZRoger DingledineComment threading is lost on importIn the comments on <br>
https://blog.torproject.org/transparency-openness-and-our-2015-financials <br>
the indentation shows which comments are a reply to which other comments.
Whereas on <br>
https://blog-staging.torproject.org/transpa...In the comments on <br>
https://blog.torproject.org/transparency-openness-and-our-2015-financials <br>
the indentation shows which comments are a reply to which other comments.
Whereas on <br>
https://blog-staging.torproject.org/transparency-openness-and-our-2015-financials <br>
the indentation and threading is lost, and all the comments are just a flat list.
@lavamind says that the import actually does capture the indentation (yay), and maybe we need some extra CSS or something to help it to render properly.https://gitlab.torproject.org/tpo/web/blog/-/issues/40016Second page of comments doesn't get imported properly2021-11-15T16:40:00ZRoger DingledineSecond page of comments doesn't get imported properlyAt the bottom of <br>
https://blog-staging.torproject.org/next-chapter-anti-censorship/ <br>
there are some links to other pages of comments, but the links are 404s.
Compare to the bottom of <br>
https://blog.torproject.org/next-chapter...At the bottom of <br>
https://blog-staging.torproject.org/next-chapter-anti-censorship/ <br>
there are some links to other pages of comments, but the links are 404s.
Compare to the bottom of <br>
https://blog.torproject.org/next-chapter-anti-censorship <br>
where the link to "page 2" of the comments works properly.Jérôme Charaouilavamind@torproject.orgJérôme Charaouilavamind@torproject.orghttps://gitlab.torproject.org/tpo/web/blog/-/issues/40014Fix suboptimal page slugs2021-11-16T02:23:52ZJérôme Charaouilavamind@torproject.orgFix suboptimal page slugsTo avoid problems with duplicate slugs and missed content, `drupal2lektor` was [modified](https://gitlab.torproject.org/tpo/web/drupal2lektor/-/commit/b21a315d6b2c8f3189f0ca62cd15276a7f329683) to use the `node-[nid]` as the slug when a n...To avoid problems with duplicate slugs and missed content, `drupal2lektor` was [modified](https://gitlab.torproject.org/tpo/web/drupal2lektor/-/commit/b21a315d6b2c8f3189f0ca62cd15276a7f329683) to use the `node-[nid]` as the slug when a node was missing a URL alias in Drupal. Furthermore, some aliases containing a `blog/` or `events/` upper directory were changed to `blog-` and `events-`, again to prevent any issues with duplicate content cause missing pages.
Once the import is complete, we should go over those to generate a new URL slug based on the title, taking care to manage duplicates correctly (eg. by adding a suffix).Jérôme Charaouilavamind@torproject.orgJérôme Charaouilavamind@torproject.orghttps://gitlab.torproject.org/tpo/web/blog/-/issues/40013Import Drupal redirects2021-11-15T19:45:47ZJérôme Charaouilavamind@torproject.orgImport Drupal redirectsThere are several redirects configured in the Drupal blog, we should add them to the new Lektor site as well.
|From|To|Statuscode|Date|
|----|--|----------|----|
/blog/network-team-hackfest-wilmington-ward |/blog/network-team-hackfest-...There are several redirects configured in the Drupal blog, we should add them to the new Lektor site as well.
|From|To|Statuscode|Date|
|----|--|----------|----|
/blog/network-team-hackfest-wilmington-ward |/blog/network-team-hackfest-wilmington-watch |301 |July 02, 2017 |
/blog/squashing-bugs-tor-bug-bounty-program |/blog/we-will-pay-you-to-hack-tor-bug-bounty |301 |July 14, 2017 |
/blog/de-anonymization-tor-home-and-erlang-tor-coming-sha2017 |/blog/de-anonymization-smart-homes-and-erlang-at-sha2017 |301 |July 24, 2017 |
/blog/test |/blog/tor-downloads-2017 |301 |August 21, 2017 |
/blog/were-upping-our-support-mobile-browsing |/blog/upping-support-mobile-browsing |301 |September 05, 2017 |
/report-bugs-get-atechdad |/report-bugs-get-money-like-atechdad |301 |September 29, 2017 |
/were-powering-digital-resistance-help-mozilla |/powering-digital-resistance-help-mozilla |301 |October 20, 2017 |
/tor-en-primavera-hacker-este-fin-de-semana-en-santiago-join-tor-primavera-hacker-santiago-next |/tor-en-primavera-hacker-este-fin-de-semana-en-santiago |301 |November 29, 2017 |
/explore-tor-nyc-meetup-ama-feb-15 |/explore-tor-nyc-meetup-feb-15 |301 |January 29, 2018 |
/contributors/nusenu-torblog |/user/120 |301 |February 05, 2018 |
/tor-project-joined-500000-duckduckgo-privacy-challenge-2018 |/tor-project-joined-duckduckgo-privacy-challenge-2018 |301 |March 13, 2018 |
/new-release-tor-browser-756 |/tor-browser-756-released- |301 |June 26, 2018 |
/tor-browser-756-released |/tor-browser-756-released- |301 |June 26, 2018 |
/tails-39-out |/tails-3.9-is-out |301 |September 05, 2018 |
/google-season-docs-2019 |/google-season-docs-2019-help-tor-improve-our-documentation |302 |May 02, 2019 |
/blog/google-season-docs-2019 |/google-season-docs-2019-help-tor-improve-our-documentation |302 |May 02, 2019 |
/tor-village-iff-call-proposals |/tor-village-iff-2020-call-proposals |301 |February 19, 2020 |
/new-release-tor-browser-958 |/new-release-tor-browser-95a8 |301 |March 17, 2020 |
/Lavoro-remoto-sicurezza-personale |/lavoro-remoto-sicurezza-personale |301 |March 26, 2020 |
/bridgedb-release-0-10-1 |/new-release-bridgedb-010-1 |301 |May 28, 2020 |
/wrapping-up-gsoc-2020 |/gsoc-2020-snowflake-proxy-mobile |301 |September 09, 2020 |
/tor-bug-smash-fund-2020-%24106K-raised |/tor-bug-smash-fund-2020-106K-raised |301 |September 17, 2020 |
/transparency-openness-and-our-2017-and-2018-financials |/transparency-openness-and-our-2018-and-2019-financials |301 |October 20, 2020 |
/stae-of-ipv6-support-tor-network |/state-of-ipv6-support-tor-network |301 |January 14, 2021 |
/ebook-defend-dissent-with-tor |/book-defend-dissent-with-tor |301 |April 26, 2021 |
/announcing-board-alissa-dees-kendra |/announcing-board-alissa-desigan-kendra |301 |May 26, 2021 |
/tor-0.4.6.2-alpha-released |/tor-0.4.7.1-alpha-released |301 |September 17, 2021 |
/new-release-tor-browser-110 |/new-release-tor-browser-11-0 |301 |November 10, 2021 |
https://blog.torproject.org/admin/config/search/redirectJérôme Charaouilavamind@torproject.orgJérôme Charaouilavamind@torproject.orghttps://gitlab.torproject.org/tpo/web/blog/-/issues/40011Fossilize old Drupal blog2021-12-13T19:21:54ZJérôme Charaouilavamind@torproject.orgFossilize old Drupal blogIt would be a good idea to fossilize and archive the old Drupal blog, it might come in handy eventually.
@anarcat had some ideas about how we can proceed.It would be a good idea to fossilize and archive the old Drupal blog, it might come in handy eventually.
@anarcat had some ideas about how we can proceed.Launch support's Forum and Blog migrationJérôme Charaouilavamind@torproject.orgJérôme Charaouilavamind@torproject.orghttps://gitlab.torproject.org/tpo/web/blog/-/issues/40008Convert tags to smaller set of blog post categories2021-11-17T15:18:04ZJérôme Charaouilavamind@torproject.orgConvert tags to smaller set of blog post categoriesIn the process of migrating the Drupal site to Lektor, @duncan and I agreed it might make sense to replace the blog post tags with a predefined set of categories. This would simplify the Lektor site structure since we'd be able to forgo ...In the process of migrating the Drupal site to Lektor, @duncan and I agreed it might make sense to replace the blog post tags with a predefined set of categories. This would simplify the Lektor site structure since we'd be able to forgo the use of the `lektor-tags` module and allow us to provide RSS/Atom feeds of posts in each category.
The list of tags currently used on the blog is available here: https://pad.riseup.net/p/QqaP7feFvQlPJrDHmSyXLaunch support's Forum and Blog migrationJérôme Charaouilavamind@torproject.orgJérôme Charaouilavamind@torproject.orghttps://gitlab.torproject.org/tpo/web/blog/-/issues/40006Add markup for sharing links on social media sites2021-08-31T13:55:31ZdonutsAdd markup for sharing links on social media sitesComms often have to create and upload separate images when sharing links on Facebook, Twitter and Mastodon as our current blog posts don't generate link previews on the timeline.
To reduce this effort, could we add the appropriate share...Comms often have to create and upload separate images when sharing links on Facebook, Twitter and Mastodon as our current blog posts don't generate link previews on the timeline.
To reduce this effort, could we add the appropriate share metatags for the following platforms:
- [Facebook](https://developers.facebook.com/docs/sharing/webmasters#markup)
- [Twitter](https://developer.twitter.com/en/docs/twitter-for-websites/cards/overview/markup)
- [Mastodon](https://docs.joinmastodon.org/entities/card/) (it seems this uses Opengraph too, so no further action may be necessary)
Full-sized cards featuring the blog post's title, description and banner image would be great, please.Launch support's Forum and Blog migrationJérôme Charaouilavamind@torproject.orgJérôme Charaouilavamind@torproject.orghttps://gitlab.torproject.org/tpo/web/blog/-/issues/40005Drupal blog: function deprecation message2021-07-08T19:03:50ZMatthew FinkelDrupal blog: function deprecation messageAfter submitting a form, the blog shows:
```
Deprecated function: Function create_function() is deprecated in GeSHi->_optimize_regexp_list_tokens_to_string() (line 4698 of vendor/geshi/geshi/src/geshi.php).
```After submitting a form, the blog shows:
```
Deprecated function: Function create_function() is deprecated in GeSHi->_optimize_regexp_list_tokens_to_string() (line 4698 of vendor/geshi/geshi/src/geshi.php).
```Jérôme Charaouilavamind@torproject.orgJérôme Charaouilavamind@torproject.orghttps://gitlab.torproject.org/tpo/web/blog/-/issues/40004Migrate the blog out of Drupal and into a static site generator with a commen...2022-01-26T16:56:00ZGabagaba@torproject.orgMigrate the blog out of Drupal and into a static site generator with a comment service### Content
* [x] Import blog posts from Drupal
* [x] Import events from Drupal
* [x] Import comment archive
* [x] Configure RSS/Atom feeds (posts + events)
* [x] Implement categories to replace tags (depends on https://gitlab.torp...### Content
* [x] Import blog posts from Drupal
* [x] Import events from Drupal
* [x] Import comment archive
* [x] Configure RSS/Atom feeds (posts + events)
* [x] Implement categories to replace tags (depends on https://gitlab.torproject.org/tpo/web/blog/-/issues/40008)
* [x] Test Discourse comments embedding (depends on https://gitlab.torproject.org/tpo/tpa/team/-/issues/40183)
* [x] Test draft post feature
### Layout
* [x] Import relevant CSS styles from old blog
* [x] Setup 2-column responsive layout
* [x] Mirror header and footer contents from other Tor websites
### Deployment
* [x] Ensure functioning newsletter image URL redirections ([example](https://newsletter.torproject.org/archive/2021-11-01-privacy-is-a-human-right/))
* [x] Plan/implement publishing moratorium and comments section closure on Drupal
* [x] Full, final content import from Drupal
* [x] Setup static web mirrors for new site
* [x] Transition `blog.torproject.org` address
* [x] Fossilize old Drupal site (tpo/web/blog#40011)
* [ ] ~~Wind down Pantheon subscription~~ (tpo/tpa/team#40526)
* [ ] ~~Retire (or reconfigure) cache*.torproject.org machines~~ (tpo/tpa/team#40527)
### Workflow
* [x] Implement Review Apps for easy MR previews
* [x] Document final publishing workflow of the new blog
Documentation of the project requirements lives at https://gitlab.torproject.org/tpo/tpa/team/-/wikis/service/blogLaunch support's Forum and Blog migrationJérôme Charaouilavamind@torproject.orgJérôme Charaouilavamind@torproject.org2021-11-17https://gitlab.torproject.org/tpo/web/blog/-/issues/40003Fix blog comment indentation2021-07-13T22:56:26ZcypherpunksFix blog comment indentationThe comment threads on the blog became improperly indented in early 2021. In the more egregious cases, the box in which to write a comment is indented as well. Examples:
* https://blog.torproject.org/tor-bug-smash-fund-yr2-progress#comm...The comment threads on the blog became improperly indented in early 2021. In the more egregious cases, the box in which to write a comment is indented as well. Examples:
* https://blog.torproject.org/tor-bug-smash-fund-yr2-progress#comments
* https://blog.torproject.org/new-release-tor-browser-10012#comments
* https://blog.torproject.org/new-release-tor-browser-105a11#comments
* https://blog.torproject.org/new-release-tor-browser-10013#comments
* https://blog.torproject.org/new-release-tor-browser-105a12#comments
* https://blog.torproject.org/new-release-tor-browser-10014#comments
* https://blog.torproject.org/new-release-tor-browser-10015#comments
* https://blog.torproject.org/new-release-tor-browser-105a14#commentshttps://gitlab.torproject.org/tpo/web/blog/-/issues/40002Reduce the file size of PNG banner images2021-11-16T23:29:26ZcypherpunksReduce the file size of PNG banner imagesMost images on the blog are PNG and very large file size for the web. They make browsing the blog particularly bad for mobile and in situations where internet speed is low, throttled, or capped. Most of the images do not need the clarity...Most images on the blog are PNG and very large file size for the web. They make browsing the blog particularly bad for mobile and in situations where internet speed is low, throttled, or capped. Most of the images do not need the clarity of a PNG and would remain visibly understandable as a smaller file size JPG. You can archive PNGs that you think you might edit in the future, but don't embed large file sizes on high-traffic pages, particularly not in the headers of blog posts. Convert them to JPG except for the few that absolutely cannot be visibly understood in a [lossy compression](https://en.wikipedia.org/wiki/Lossy_compression) format.Jérôme Charaouilavamind@torproject.orgJérôme Charaouilavamind@torproject.orghttps://gitlab.torproject.org/tpo/web/blog/-/issues/40001Tor logo does not direct to the homepage2021-04-02T16:41:29Zkulsoom.zahrakulsoomzahra24@gmail.comTor logo does not direct to the homepageTor logo at https://blog.torproject.org/ does not direct to [homepage](https://torproject.org/)Tor logo at https://blog.torproject.org/ does not direct to [homepage](https://torproject.org/)https://gitlab.torproject.org/tpo/web/blog/-/issues/40000Gitlab Migration Milestone2020-06-13T17:10:53ZTracGitlab Migration MilestoneWe're creating this ticket as a part of the Trac-to-Gitlab migration, so that each project's numbering for new tickets will start with 40001.We're creating this ticket as a part of the Trac-to-Gitlab migration, so that each project's numbering for new tickets will start with 40001.https://gitlab.torproject.org/tpo/web/blog/-/issues/33115Migrating the blog to a static web site with Lektor2021-07-22T19:30:16ZHiroMigrating the blog to a static web site with LektorWe have been having issues with the blog for a long time. The template we are using was developed for another purpose and never really finished.
We also spend a lot of money on Drupal that could rather be spent somewhere else.
I propose...We have been having issues with the blog for a long time. The template we are using was developed for another purpose and never really finished.
We also spend a lot of money on Drupal that could rather be spent somewhere else.
I propose to migrate the blog to a static website with lektor and have comments running from discourse.org. I have actually been in contact with discourse and they have offered to run a forum for us for free (legacy/trac#33105). Addittionally they would run an .onion and a torproject.org subdomain.
Moderation on discourse is much easier than on drupal comments (another pain point for the blog), and we would get a forum that we could use for other purposes too.
This is how the blog can be migrated.
- We will do mockups and approve them with all the parties involved.
- We will start migrating content and have it on staging for testing.
- Once we are happy we will archive the current blog into static pages and move the static bloc to blog.torproject.org.
What we will lose:
- Version history on posts.
- Old comments. I see no value in migrating old blog comments to discourse to be honest. It would be a lot of effort and the old comments will be archived anyways in the blog archive.
What we will gain:
- Once the blog has been migrated creating posts will be no different than editing anyone of our websites. It would actually be a bit easier since there are a few different template and pages in our website and the blog will just have posts.
- Anyone that is currently updating the websites will be able to help people with blog posts, therefore we will gain a lot more of blog admins.
- The blog will run from our static www rotation, so we will not have to run expensive services or 2 cache VMs in front of it to avoid paing a lot to a third party for page views.
- We will not have to update a service every now and again. The blog will run out of static HTML.
- We will be able to update the templates according to our styleguide.
- Functionalities that we will build won't break because of a drupal update.Launch support's Forum and Blog migrationHiroHirohttps://gitlab.torproject.org/tpo/web/blog/-/issues/33109Make (and then use) a blog account policy2021-01-07T20:52:34ZRoger DingledineMake (and then use) a blog account policyWe have a bunch of old accounts on the blog, and for basic security hygiene, we should clean them up.
Even better, let's take this chance to develop, and post somewhere, a policy for who should be able to have a blog account, and when w...We have a bunch of old accounts on the blog, and for basic security hygiene, we should clean them up.
Even better, let's take this chance to develop, and post somewhere, a policy for who should be able to have a blog account, and when we'll disable them due to inactivity or etc.
Here is a proposed start to such a policy:
* Any Tor Core Contributor can get a blog account, and it can stay active as long as they remain a core contributor.
https://gitweb.torproject.org/community/policies.git/tree/membership.txt
* We encourage everybody with an active blog account to do blog posts. Before you post, please work with the comms team to make sure the timing and content are best. [replace this short text with the longer text from steph's comment below]
* To limit security surface area, we will disable accounts that haven't logged in during the past n months. Accounts can always be re-enabled when people want to use them again.
(I suggest n=18 months. We should specify some avenue for how to request the account in the first place, and for how to request re-enabling.)
* Posters should be aware of, and follow, our blog comment moderation strategy:
https://trac.torproject.org/projects/tor/wiki/doc/community/blog-comment-policy
* We encourage guest posts from the broader community about topics that are important to Tor and Tor users. The best way to arrange a guest post is to get an existing Core Contributor to vouch for the guest, and then depending on the situation, either the core person will post it, or we'll make a blog account for the guest.Isabela FernandesIsabela Fernandeshttps://gitlab.torproject.org/tpo/web/blog/-/issues/33105evaluate if discourse can be used as comments platform for the blog2020-06-27T14:29:54ZHiroevaluate if discourse can be used as comments platform for the blogI have been in contact with discourse.org and they have offered to run a discourse forum for us under a tp.o subdomain. They have also offered to setup a .onion.
Discourse can be a perfect solution to use for our blog comments in case w...I have been in contact with discourse.org and they have offered to run a discourse forum for us under a tp.o subdomain. They have also offered to setup a .onion.
Discourse can be a perfect solution to use for our blog comments in case we want to migrate our blog to static.
We need to evaluate if discourse is loading any third-party service that might expose our user to unnecessary tracking.HiroHirohttps://gitlab.torproject.org/tpo/web/blog/-/issues/32874Tor blog tags not showing up on mobile2021-11-16T23:30:49ZTracTor blog tags not showing up on mobileWhile loading the Tor Blog on mobile browsers the tags of each article don't show up.
**Trac**:
**Username**: annalee_While loading the Tor Blog on mobile browsers the tags of each article don't show up.
**Trac**:
**Username**: annalee_https://gitlab.torproject.org/tpo/web/blog/-/issues/32288https://support.torproject.org/get-in-touch/how-can-i-get-support/ in our "Jo...2020-06-27T14:29:54ZGeorg Koppenhttps://support.torproject.org/get-in-touch/how-can-i-get-support/ in our "Join the discussion" footer on our blog is giving a 404A user [reported](https://blog.torproject.org/comment/284719#comment-284719) that https://support.torproject.org/get-in-touch/how-can-i-get-support/ gives a 404. It can be found in the "Join the discussion" section on our blog.
Not sure...A user [reported](https://blog.torproject.org/comment/284719#comment-284719) that https://support.torproject.org/get-in-touch/how-can-i-get-support/ gives a 404. It can be found in the "Join the discussion" section on our blog.
Not sure what to do here but it got suggested we use a different link on our blog, like https://www.torproject.org/contact/.HiroHiro