Currently Online

Latest Posts

Topic: Website downtime

king_of_nowhere
Avatar
Joined: 2014-09-15, 18:35
Posts: 1420
Ranking
One Elder of Players
Posted at: 2018-04-28, 21:05

kaputtnik wrote:

Yesterday i have tried to wrote something but i produced an error... So another try:

king_of_nowhere wrote:

when i go to the homepage, I still see the message that the site is under maintenance

Please try to clean your browsers cache (history).

I fixed it just by refreshing the page. Had no idea my pc was still updating an old version it stored in memory


Top Quote
kaputtnik
Avatar
Joined: 2013-02-18, 20:48
Posts: 1760
Ranking
One Elder of Players
Location: Germany
Posted at: 2018-05-01, 19:58

king_of_nowhere wrote:

I fixed it just by refreshing the page. Had no idea my pc was still updating an old version it stored in memory

Sometimes such things happens... glad you found the solution for your self face-smile.png

Tibor wrote:

BTW - little off topic - I would welcome to have the edit window for new post bit higher...

I will try to look at this.


Top Quote
kaputtnik
Avatar
Joined: 2013-02-18, 20:48
Posts: 1760
Ranking
One Elder of Players
Location: Germany
Posted at: 2018-05-04, 20:26

WorldSavior wrote:

Sometimes I'm listed at online, even though it's not the case

I have created a Bugreport for this issue. For now we have to live this this... i don't want to pull back the old implementation because it's a huge application containing much useless code.

Is the 'Currently Online' box interesting, or useful, at all?


Top Quote
hessenfarmer
Avatar
Joined: 2014-12-11, 23:16
Posts: 734
Ranking
One Elder of Players
Location: Bavaria
Posted at: 2018-05-04, 21:11

WorldSavior wrote:

Sometimes I'm listed at online, even though it's not the case

How could you Know ;-)? Sorry could not resist.

kaputtnik wrote:

Is the 'Currently Online' box interesting, or useful, at all?

At least it is an indicator in which discussions you might get a quick response. face-smile.png I like it.


Top Quote
ypopezios
Avatar
Joined: 2018-04-20, 00:22
Posts: 220
Ranking
Widelands-Forum-Junkie
Posted at: 2018-05-04, 21:38

hessenfarmer wrote:

kaputtnik wrote:

Is the 'Currently Online' box interesting, or useful, at all?

At least it is an indicator in which discussions you might get a quick response. face-smile.png I like it.

I use it and like it too.


Top Quote
ypopezios
Avatar
Joined: 2018-04-20, 00:22
Posts: 220
Ranking
Widelands-Forum-Junkie
Posted at: 2018-05-06, 10:10

WorldSavior wrote:

Sometimes I'm listed at online, even though it's not the case

Probably related, a logout request from an already logged out user causes an "Internal server error".


Top Quote
kaputtnik
Avatar
Joined: 2013-02-18, 20:48
Posts: 1760
Ranking
One Elder of Players
Location: Germany
Posted at: 2018-05-06, 10:21

ypopezios wrote:

WorldSavior wrote:

Sometimes I'm listed at online, even though it's not the case

Probably related, a logout request from an already logged out user causes an "Internal server error".

Ah, you are the one who produces this face-wink.png

The next branch will fix the server error and the 'Currently Online' box. Just awaiting a code review.


Top Quote
ypopezios
Avatar
Joined: 2018-04-20, 00:22
Posts: 220
Ranking
Widelands-Forum-Junkie
Posted at: 2018-05-06, 11:14

kaputtnik wrote:

ypopezios wrote:

Probably related, a logout request from an already logged out user causes an "Internal server error".

Ah, you are the one who produces this face-wink.png

Well, the server did. I just tried to remove my name from the currently online list, without success...


Top Quote
kaputtnik
Avatar
Joined: 2013-02-18, 20:48
Posts: 1760
Ranking
One Elder of Players
Location: Germany
Posted at: 2018-05-06, 11:21

Some words about showing online users and how it depends on the users activity (applies after the fix is online):

  1. A user logs out explicitly: Hew will not be shown online anymore
  2. A logged in user closes his browsers tab containing the widelands website or closes his browser without logging out: He is shown online to other users for about 30 Minutes
  3. A logged in user does not produce a request (e.g. clicking on a link in the website) for 30 minutes: He will not be shown online anymore to other users.

The value of 30 Minutes could be adjusted. My decision to use 30 Minutes was just because of the thought: If some one is working on a wiki article, or writes a big post in the forum, he may write sentence after sentence without creating a request to the website for 30 minutes (and thus will not be shown online to other users, although he is still logged in). Based on my own experience, writing a big Post or Wikiarticle can last 30 Minutes.

But if you think 30 minutes is to much, we can reduce it face-smile.png


Top Quote
ypopezios
Avatar
Joined: 2018-04-20, 00:22
Posts: 220
Ranking
Widelands-Forum-Junkie
Posted at: 2018-05-06, 11:51

kaputtnik wrote:

But if you think 30 minutes is to much, we can reduce it face-smile.png

I would vote for 15 minutes.


Top Quote