Before asking for help please read "How to request help" by clicking on that tab above here.

TOPIC:

webtrees 2.0.0-alpha.1 and 1.7.10 1 year 2 months ago #61

I use all mobile browser tests to display English, the default language of the browser is Chinese.

Please Log in or Create an account to join the conversation.

webtrees 2.0.0-alpha.1 and 1.7.10 1 year 2 months ago #62

  • fisharebest
  • fisharebest's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
  • Posts: 13191
Perhaps your browser is actually asking for English.

See github.com/fisharebest/webtrees/issues/2359
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

webtrees 2.0.0-alpha.1 and 1.7.10 1 year 1 month ago #63

fisharebest wrote: > I still want to move forward from 2.0.0-dev to a next version. What is the best approach for that?

Wait for the next beta release. Hopefully this weekend.


Any news on the release?

Please Log in or Create an account to join the conversation.

webtrees 2.0.0-alpha.1 and 1.7.10 1 year 1 month ago #64

  • fisharebest
  • fisharebest's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
  • Posts: 13191
beta.2 is now available from github.com/fisharebest/webtrees/releases

Please report any issues on the github tracker.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

webtrees 2.0.0-alpha.1 and 1.7.10 1 year 1 month ago #65

  • fisharebest
  • fisharebest's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
  • Posts: 13191
BTW - the automatic upgrade might not work - there were some problems in the beta.1 (and possibly earlier) versions.

You will probably need to upgrade manually.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

webtrees 2.0.0-alpha.1 and 1.7.10 1 year 1 month ago #66

Hello, Simplified Chinese "BC", how to translate it into a park. thank you. Gred

Please Log in or Create an account to join the conversation.

Last edit: by nuxiong.

webtrees 2.0.0-alpha.1 and 1.7.10 1 year 1 month ago #67

  • fisharebest
  • fisharebest's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
  • Posts: 13191
The translations for BC can be found here:

weblate.iet.open.ac.uk/translate/webtree...ignored=False#others
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

webtrees 2.0.0-alpha.1 and 1.7.10 1 year 1 month ago #68

fisharebest wrote: beta.2 is now available from github.com/fisharebest/webtrees/releases

Please report any issues on the github tracker.


Manualy updated the site, but didn't work.
At the login page I got the Firefox message that the form was nog secure. Eventhough I have al SSL/Https site (green lock was shown also).
And when I tried to login anyway I couldn't.

I searched the github tracker and I also got the redirect url as mentioned in #1627. In that tracker you mentioned The login/logout forms are missing their CSRF tokens.
But I found no solution to that problem.

So I rolled back again.

Please Log in or Create an account to join the conversation.

webtrees 2.0.0-alpha.1 and 1.7.10 1 year 1 month ago #69

  • fisharebest
  • fisharebest's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
  • Posts: 13191
> At the login page I got the Firefox message that the form was nog secure

Do you get the same message on the demo site?
If not, then perhaps there is an issue with your SSL configuration? Are you using a self-signed certificate?
Can you post the URL of your site so I can take a look?

Are you running your site behind a reverse-proxy? If so, then improved support for this will be coming in the next beta release.

> The login/logout forms are missing their CSRF tokens.

The login form does have a CSRF token. I just checked on the demo site:

The logout action now uses the GET method (not POST), and so does not use/need a CSRF token.

I'd be really happy to help you with this, but you haven't given us much information to work with.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

webtrees 2.0.0-alpha.1 and 1.7.10 1 year 1 month ago #70

> Do you get the same message on the demo site?

No

>If not, then perhaps there is an issue with your SSL configuration? Are you using a self-signed certificate?
Can you post the URL of your site so I can take a look?

My site

>Are you running your site behind a reverse-proxy? If so, then improved support for this will be coming in the next beta release.

Not as far as I know

Please Log in or Create an account to join the conversation.

webtrees 2.0.0-alpha.1 and 1.7.10 1 year 1 month ago #71

  • fisharebest
  • fisharebest's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
  • Posts: 13191
Thanks. It is always easier to diagnose problems when you can see the site!

The problem is that you are using HTTPS - but webtrees does not know this.

It is "auto-detecting" that the incoming request is HTTP. Hence it is generating URLs (e.g. for the form submission) using HTTP.

A frequent server configuration is that you have a webserver which listens for HTTPS connections, and the webserver forwards (aka "reverse proxies") the request to a PHP server using HTTP.

PHP sees the HTTP connection - and so generates HTTP URLs.

You can investigate this by creating a test file (e.g. "phpinfo.php") as follows on your server.
<?php phpinfo(INFO_VARIABLES);

View the page with your browser. Here's the relevant info from my test server:



There are two lines that tell us that this is a HTTPS connection (HTTPS=on and SERVER_PORT=443).

Presumably you don't have these lines...

You may have other lines such as "HTTP_FORWARDED_PROTO=http" or "HTTP_FORWARDED_PORT=443".
These are currently ignored - but support for them is coming soon.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
Attachments:

Please Log in or Create an account to join the conversation.

webtrees 2.0.0-alpha.1 and 1.7.10 1 year 1 month ago #72

No problem. I try too help :-)

>There are two lines that tell us that this is a HTTPS connection (HTTPS=on and SERVER_PORT=443). Presumably you don't have these lines...
>You may have other lines such as "HTTP_FORWARDED_PROTO=http" or "HTTP_FORWARDED_PORT=443".
>These are currently ignored - but support for them is coming soon.

I checked with php.info (and removed it) and your conclusion is correct.

$_SERVER['HTTP_X_FORWARDED_PROTO']	https

>These are currently ignored - but support for them is coming soon.

I'd better wait for the support on that. No need for fixing it on my end in a hurry. I did a rollback again and wait for the next version.

Please Log in or Create an account to join the conversation.

Last edit: by fisharebest.

webtrees 2.0.0-alpha.1 and 1.7.10 8 months 3 weeks ago #73

Huh, totally missed this.

I'll try to port my jsonld plugin to 2.0.0, so query containing "accept: application/json+ld" will *only* show the JSON-LD response.

For all fellow module devs, this feature was requested here:
github.com/fisharebest/webtrees/issues/597

The module is open source and can act as a showcase module for this MiddlewareInterface, once completed.

Please Log in or Create an account to join the conversation.

webtrees 2.0.0-alpha.1 and 1.7.10 7 months 3 days ago #74

Hi, I see that beta 5 has been released, and there's ~155 commits after that release in git. Is there any way we can get some guidance about the status of the current 2.0 code base? Are you hoping for more testers? How close-ish is it to being a release? I'm technically savvy, I can live with some downtime, and I'd like to help, but if there are still many many bugs you know of, having a relative newbie to webtrees poking at it looking for more may not be the most useful thing for you or me.

Thank you for building webtrees though! I, for one, really appreciate the work you're putting into this!

Please Log in or Create an account to join the conversation.

webtrees 2.0.0-alpha.1 and 1.7.10 7 months 3 days ago #75

  • fisharebest
  • fisharebest's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
  • Posts: 13191
> Is there any way we can get some guidance about the status of the current 2.0 code base?

The demo site (see the link in the header) runs from the latest GIT commit.

According to the statistics ( dev.webtrees.net/statistics.html ), there are about 100
sites running beta.5. There have been no significant issues reported for many weeks.

Traditionally, the project has created a new release every 4-6 weeks.
There has been a very long delay between 1.7 and 2.0.
This is for good reason, and I'll write more about this later.
Once 2.0 is out, I'll get back to more regular updates.

> Are you hoping for more testers?

Always. webtrees has lots of features, and people tend to test the ones that they use.

> How close-ish is it to being a release?

I'm hoping to create the release by the end of this week.

>I'm technically savvy, I can live with some downtime, and I'd like to help

There shouldn't be much downtime. If you've been looking at the issue tracker
on github, you'll see that most issues are fixed within a few hours.

> having a relative newbie to webtrees poking at it looking for more may not be the most useful thing for you or me.

On the contrary. Fresh eyes can often see things that are invisible to someone who has
been looking at the software for a decade.

If you can't find/use/understand a particular feature, then tells us that perhaps it needs to be redesigned.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum