Development Updates

Site announcements from the moderator team go here.
Message
Author
jmo1121109
Lifetime Site Contributor
Posts: 1099
Joined: Fri Sep 29, 2017 4:20 pm
Karma: 2944
Contact:

Development Updates

#1 Post by jmo1121109 » Sat Mar 16, 2019 1:44 am

I'm going to keep this thread updated with the latest code changes. It will be a global announcement for now, but if interest seems low it will be changed to not show everywhere.

The thread will be locked here to keep it clean but if you have questions please don't hesitate to ask them on the Feedback section of the forum. https://www.webdiplomacy.net/contrib/ph ... m.php?f=17

The full list of code changes is always available at Recent Changes

Not Started = Black
In Progress = Blue
Done = Red

Development Initiatives
Soon:
  1. Update the new search tool "show only joinable games to filter out "pre-start" games
  2. Update the new search tool to allow searching on users you've played games with and to search any user and see all their games. This will involve putting a link on profiles of other users that you visit called "see games in common" which will redirect you to the search tool with the right filters selected to see your games in common with that person.
  3. Get games that start in X days or phases that will process in X days to show the exact hours:minute time they'll process.
Eventually: (not happening soon, but eventually)
  1. Changes to the CD/NMR system to reduce/remove missed turns as a problem
  2. Redesign game create page to be more user friendly and no hidden options in advanced.
Wish List:
  1. Point and click
  2. Game swap (built in account sitting)
11

jmo1121109
Lifetime Site Contributor
Posts: 1099
Joined: Fri Sep 29, 2017 4:20 pm
Karma: 2944
Contact:

Re: Development Updates

#2 Post by jmo1121109 » Sat Mar 16, 2019 1:54 am

Recent Updates:

2019-02-28 (over a week or two)
Complete redesign of all moderator tools, fixing multiple moderator tool bugs to let mods better handle various issues and to catch cheaters faster. For obvious reasons no additional details will be given here, only mentioned to let everyone know a lot of development is ongoing.

2019-03-08
Fixed the bug that made the join button vanish on live games that had the last person leave/get banned

2019-03-09
New "Search" tool available on main menu, details available here: viewtopic.php?f=5&t=1338

2019-03-15
  1. Game Search text updated options from "Hours per phase" to "Time per phase" since not all phases are in hours.
  2. Hover over on Game Search - Joinable tab now clarifies it only shows public game results.
  3. Joinable search tab on Game Search query was fixed so it no longer approximates the game count wrong. Please note though, that this game count is not per user, it is calculated for the entire site. What this means is users may still see less games in that tab then approximated if they are in some of the games which have open spots, since you cannot join a game you're already in. So this is better, but still flawed design wise (baby steps).
10

jmo1121109
Lifetime Site Contributor
Posts: 1099
Joined: Fri Sep 29, 2017 4:20 pm
Karma: 2944
Contact:

Re: Development Updates

#3 Post by jmo1121109 » Sat Mar 16, 2019 5:58 pm

2019-03-16

All games will now show the following for the next process time instead of a limited date/time display.

Day of Week, hh:mm PM/AM, Day# MM
or if the date is more then 30 days in the past or future
Day of Week, hh:mm PM/AM, Day# MM YYYY

This will do the following:
  1. Show the real start time of live games setup days in advance so people know what time to be online
  2. Show the exact time a game finished
  3. Show at what time in the past a stuck Wait-for-orders game should have processed.
You will likely see a javascript error the first time you refresh if you had tabs open, it will go away after that. It's just because your browser cache's some of the files changed. If it does not go away right away you may need to clear your cache.

This change was largely done by bo_sox48, which marks his first significant code change for the site! Thanks bo!
7

jmo1121109
Lifetime Site Contributor
Posts: 1099
Joined: Fri Sep 29, 2017 4:20 pm
Karma: 2944
Contact:

Re: Development Updates

#4 Post by jmo1121109 » Sun Mar 17, 2019 7:11 pm

2019-03-17
Search page now has a section called "Search Games by User" which allows you to enter a userID and see all of the finished games that user has been in. If you check the "Show games the user and I have in common" it will limit the results to games you two have in common.

"Game Search Options" checkbox "Show only joinable public games?" now filters out "Pre-Start" games.
10

jmo1121109
Lifetime Site Contributor
Posts: 1099
Joined: Fri Sep 29, 2017 4:20 pm
Karma: 2944
Contact:

Re: Development Updates

#5 Post by jmo1121109 » Thu Mar 21, 2019 12:47 am

2019-03-20
  1. Add Classic and Variant stats to the profile page.
  2. Fix username to wrap on left column of profile for small phone displays.
  3. Fix moderator disclaimer link to wrap on small phone displays.
  4. Add hover over that explains what the different "ranks" mean...somewhat, at least more then now.
Please note that the changes to the profile stats are a band aid to the fact that they're terrible. I'm planning a more in-depth stats page with actual breakdowns by ranked/unranked, anon/non anon, each variant etc.
5

jmo1121109
Lifetime Site Contributor
Posts: 1099
Joined: Fri Sep 29, 2017 4:20 pm
Karma: 2944
Contact:

Re: Development Updates

#6 Post by jmo1121109 » Fri Mar 22, 2019 1:29 am

2019-03-21
  1. Restyle FAQ to allow more then 1 open question
  2. Update FAQ info, there were a lot of wrong answers on it.
  3. Update to have links to new forum
  4. Update HoF to be restyled
  5. Update HoF to highlight you in red if you're on the list.
  6. Update HoF to comma separate large point amounts (sorry European members)
3

jmo1121109
Lifetime Site Contributor
Posts: 1099
Joined: Fri Sep 29, 2017 4:20 pm
Karma: 2944
Contact:

Re: Development Updates

#7 Post by jmo1121109 » Sat Mar 23, 2019 1:58 am

2019-03-22
  1. New page http://www.webdiplomacy.net/contactUs.php added to the site under help
  2. New page http://www.webdiplomacy.net/tournaments.php added to the site under help
  3. Rules page redesigned with minor content updates
  4. Credits page redesigned with updated content (round of applause for bo_sox48 for this commit, thanks bo!
  5. Help page updates
5

jmo1121109
Lifetime Site Contributor
Posts: 1099
Joined: Fri Sep 29, 2017 4:20 pm
Karma: 2944
Contact:

Re: Development Updates

#8 Post by jmo1121109 » Sat Mar 30, 2019 2:23 am

2019-03-29

  1. Updated settings page to be restyled, prevented browsers from auto populating password into the password field and not the password confirmation field, and added a link to the new forum settings if you have a new forum account.
  2. Restyled the datc tests page
  3. Restyled the developer info page
  4. Restyled the intro to diplomacy page.
  5. Various small content fixes on all the above listed pages.
4

jmo1121109
Lifetime Site Contributor
Posts: 1099
Joined: Fri Sep 29, 2017 4:20 pm
Karma: 2944
Contact:

Re: Development Updates

#9 Post by jmo1121109 » Sun Mar 31, 2019 1:45 am

2019-03-30
  1. Remove broken image from emails from gamemaster
  2. Add table styling to RR profile page
  3. restyle user search
  4. Add comma separation to long numbers on profile page.
3

jmo1121109
Lifetime Site Contributor
Posts: 1099
Joined: Fri Sep 29, 2017 4:20 pm
Karma: 2944
Contact:

Re: Development Updates

#10 Post by jmo1121109 » Sat Apr 06, 2019 9:42 pm

2019-04-06
  1. Profile Style cleanup
  2. Move Existing Stats to clickable elements
  3. Add 3 more stat sections
  4. Add 3 more functions to user object to support the 3 new stat sections
    mobile wrapping fixes.
3

jmo1121109
Lifetime Site Contributor
Posts: 1099
Joined: Fri Sep 29, 2017 4:20 pm
Karma: 2944
Contact:

Re: Development Updates

#11 Post by jmo1121109 » Sun Apr 07, 2019 9:07 pm

2019-04-07
  1. Search page "Search Games by User" section now allows search by username or userID thanks to Squigs44. Thank you for your first site contribution Squigs44!
  2. Search page "Search Games by User" section now runs faster for people who have hundreds of games (my bad on the initial slow query). From 3.4 seconds to .04 seconds.
  3. Home page should load .2 seconds faster due to a query speed increase.
5

jmo1121109
Lifetime Site Contributor
Posts: 1099
Joined: Fri Sep 29, 2017 4:20 pm
Karma: 2944
Contact:

Re: Development Updates

#12 Post by jmo1121109 » Sat Apr 20, 2019 4:15 am

2019-04-10
bo_sox48's changes:
Rewrote, formatted, and styled points/scoring systems page, fixed links from other pages

2019-04-12
Squig's changes:
Fixed game name uniqueness/length bug

My changes:
Add Chaos
Prevent Game Stats Overflow (make home page pretty if you're in a chaos game)

2019-04-13
  1. Fix user registration bug that ignored all radio button user options on account creation.
  2. Fix multiple styling bugs on user registration
  3. Remove page by page styled submit buttons for the new default button
  4. Update Register page to add warning to avoid personal information in username and to keep username appropriate.
2019-04-14
my changes:
Allow 1 automatic pause of all games for players who have completed at least 10 games and have not used an automatic pause in the last 6 months. Adds a mod tool to reset the time if a player presents a valid excuse or the option to ban members from using this tool at all. Mods can see on the profile page if a member qualifies for an automatic pause or not. This tool pauses the games and then emails the moderator team so they can follow up and post an explanation in the game chat.

Squig's changes:
Creates 2 global variables in global/defintions.php that controls all versioning for all js and css files.
(jmo's to english translation for everyone, Squigs made it so that every time we make changes to styling you shouldn't have to empty your cache to see it anymore!!!)

2019-04-15
  1. Remove unused css elements
  2. Standardize all site buttons
  3. Fix various formatting issues in code
2019-04-17
bo_sox48's changes:
Basic dropdown header, opens and closes on clicks for desktop and mobile

2019-04-19
my updates:
  1. Add a donations page
  2. Restyle help page
  3. clean up menu
  4. adjust faq and dev pages
  5. incriment css version
bo_sox48's updates:
Menu to green color
4

jmo1121109
Lifetime Site Contributor
Posts: 1099
Joined: Fri Sep 29, 2017 4:20 pm
Karma: 2944
Contact:

Re: Development Updates

#13 Post by jmo1121109 » Sat Apr 20, 2019 4:20 am

We've had a pretty significant amount of development work over the past couple weeks. And not just from myself, but now from bo_sox48 and squigs44. Not all of it may be as flashy as the new menu or adding Chaos, but it's all helping the site catch up and keep it running smoothly for everyone. So a big thanks to Squigs and Bo for their recent contributions.

If you like the work we're doing and want to help the site out please consider checking out the new donations page at the bottom of the "Help" section of the menu and contributing to the site if you are able.

Thanks!
8

jmo1121109
Lifetime Site Contributor
Posts: 1099
Joined: Fri Sep 29, 2017 4:20 pm
Karma: 2944
Contact:

Re: Development Updates

#14 Post by jmo1121109 » Sat Apr 20, 2019 6:59 pm

2019-04-20

bo_sox48's changes:
Updating the site rules to have an inclusive section for teachers and students explaining options for classroom use.

squigs44's changes:
Updated the Hall of Fame on the site to have an all time and a last 6 months section. So you can now see how you fare against everyone points wise, or just those who've visited in the last 6 months.
5

jmo1121109
Lifetime Site Contributor
Posts: 1099
Joined: Fri Sep 29, 2017 4:20 pm
Karma: 2944
Contact:

Re: Development Updates

#15 Post by jmo1121109 » Sun Apr 28, 2019 2:23 am

2019-04-27

bo_sox48's changes:
  1. Fix bug that resulted in NMR being recorded if someone clicked "Ready" on all hold orders.
  2. Disable old pm system and add direct links to profiles to send pm's via the new system for anyone who has a forum account
4

jmo1121109
Lifetime Site Contributor
Posts: 1099
Joined: Fri Sep 29, 2017 4:20 pm
Karma: 2944
Contact:

Re: Development Updates

#16 Post by jmo1121109 » Sun May 12, 2019 7:23 pm

2019-05-4
Excused Missed turns added to the site and RR updated. See http://webdiplomacy.net/contrib/phpBB3/ ... f=5&t=1551 for more information on what that included.

Other bug fixes and changes included in that release were:
  1. Bug on how the display in games showed grey backgrounds was fixed
  2. game create join time is no longer synced to phase length, all games now have a default join time of 7 days.
  3. Increased the max join time for a game from 10 days to 2 weeks.
  4. Fixed RR parameter so you can't make a game with a higher RR requirement then your RR
  5. updated RR requirement to default to 80 OR your RR minus 1 if your RR is below 80 from a previous set value of 0.
  6. set invite code fields to not auto fill with some password managers.
  7. made someone delaying the game post in the global chat of the game letting everyone know
  8. made someone delaying the game post in your home page notifications "Game phase extended due to missing orders by at least one country."
  9. made getting an unexcused missed turn send you a notification telling you how many more you have until you're temporarily banned and encourages you to be more reliable
  10. Gave mods tools to give or take excused missed turns for 1 or all players in a game.
  11. Gave mods tool to forgive specific missed turns.
  12. game create now has clickable green question marks with popup's to explain what different game creation options mean/do.

2019-05-7
squigs44's changes:
Updating the site notices, panic mode notice, and maintenance mode notices to pull from the database instead of the main config file which means admins can now update the banner without server access and updating the banner will no longer disrupt live games. Admins now get a preview of the banner before turning it on to remove the risk of breaking the site with the banner updates as well.

My changes:
Adopting squigs44's changes to work with the new forum.

2019-05-10
bo_sox48's changes:
Updating the content in the FAQ to be far more useful and in depth then ever before. It now actually answers common questions.

2019-05-12
squigs44's and e.m.c^42's change:
Update color schema for Chaos map to avoid having multiple countries very similar in color.

And a big shout out to e.m.c^42 for his first contribution

My changes:
  1. Make home page notifications about a user missing a turn highlighted in red to draw attention to the need to be more reliable
  2. add game search and hall of fame into the menu
  3. rename "Game Listings" to "New Games" in the menu to avoid confusion
  4. update styling with minor changes on the contact us, detailed search, and user search pages of the site.
9

jmo1121109
Lifetime Site Contributor
Posts: 1099
Joined: Fri Sep 29, 2017 4:20 pm
Karma: 2944
Contact:

Re: Development Updates

#17 Post by jmo1121109 » Mon May 13, 2019 12:53 am

Additional:
Squigs44 and I spending an hour making the green buttons have the green color show up on iphone's. You're welcome apple users.
7

jmo1121109
Lifetime Site Contributor
Posts: 1099
Joined: Fri Sep 29, 2017 4:20 pm
Karma: 2944
Contact:

Re: Development Updates

#18 Post by jmo1121109 » Wed May 15, 2019 1:37 am

2019-05-14

My changes:
  1. Updated some text on game displays to make it all fit better on phones. No in-game messaging --> No Messaging, etc. Removed "Normal"/"long"/"very long" descriptors from game length as these weren't accurate anyway. The normal didn't actually reflect the most common being 48-72.
  2. Fixed a variety of bugs in mod tools and adjusted tools to make their use more clear to incoming mods.
  3. Gave Game Directors the power to add/take excused missed turns in games they are set as the GD for.
squigs44's changes:
  1. Updated the number of messages that show up in the game to 50 from 20. Order archive is still 30 per page.
  2. A log is now made with a ton of useful information whenever mods cancel games. A big help for cheating investigations.
  3. Added a reason if you are not allowed to join a game explaining if you are temp banned, your RR is too low, or you need more points.
  4. Increased the amount of points a game can have in the pot from a max of somewhere between 32 and 64 thousand to around 8 million. On that note if anyone wants to join me in a 2 million bet game please jump in (http://webdiplomacy.net/board.php?gameID=241416)
3

jmo1121109
Lifetime Site Contributor
Posts: 1099
Joined: Fri Sep 29, 2017 4:20 pm
Karma: 2944
Contact:

Re: Development Updates

#19 Post by jmo1121109 » Thu May 16, 2019 3:51 am

2019-05-15
  1. Updated missed turn logic to no longer give "same period excused" for people in live games. If someone has 4 unexcused missed turns in a live game all 4 will count against you. This is to prevent people from abusing the system to retake positions they have CD'ed to have an unlimited number of delays without penalty.
  2. Various mod tool updates and cleanup.
1

jmo1121109
Lifetime Site Contributor
Posts: 1099
Joined: Fri Sep 29, 2017 4:20 pm
Karma: 2944
Contact:

Re: Development Updates

#20 Post by jmo1121109 » Sun May 19, 2019 3:30 am

2019-05-18
  1. Update the checks for if a user is temp banned to be instant and not cached in member objects. Which should prevent people from continuing to take over their position when they've been temp banned by keeping a window of the game open in a browser during live games.
  2. Update login page and forgot my password to be more clear
  3. Fix temp bans to show if they were mod or system done
  4. Add reason to temp bans so mods can investigate when players appeal
  5. Clarify messaging to temp banned members so they know to contact mods with questions
  6. Fix problem where someone retaking over their own position in a game would leave that game showing up as having a "joinable" spot in the live game feed and in the joinable search tab.
If you notice problems please report them to the mods asap as this change set was extensive.
2

Locked

Who is online

Users browsing this forum: No registered users and 53 guests