Skip to content

Releases: FAForever/website

v2.0.4 Newshub and Flash Fix

02 Jan 23:42
d8b44ba
Compare
Choose a tag to compare

Fix done in order to pass the faf test. Apparently the flash messages can break easily.
Small client newshub fix so it doesn't open browser links inside the client.

v2.0.3 Flash Message Fix

02 Jan 23:15
37caa66
Compare
Choose a tag to compare

Fix done in order to pass the FAF test. Apparently the flash messages can break easily.

v2.0.2 Account Registration Improvements

02 Jan 22:44
bdf8ffb
Compare
Choose a tag to compare

After a user registers, they'll see account/activate which now has received a small update in order to be more welcoming and easier to understand for new users.

v2.0.1 Error Handling

02 Jan 20:54
0274e4e
Compare
Choose a tag to compare

Previously if the FAF API or wordpress API were down on startup, the website would crash as a whole. Now there are try catch statements in place to avoid the website as a whole crashing when certain services are unavailable.

v2.0 - New Website

29 Dec 23:17
e150043
Compare
Choose a tag to compare

The new FAF website is out!

After one year, the new website is finally coming out to production. Below you will find the most significant changes done.
image

Backend

Overall the backend hasn't received many significant changes. It is the next step for the website to uninstall the request package with axios and clean up alot of the backend routes that repeat the same code (could be solved with a middleware maybe?). Nonetheless, the new backend is much more cleaner and easier to read since a lot of fat was cut.

Routes

Routes in the express.js have received major changes. They've all received the adequate loops needed to look cleaner (rather than repeating the same route.get for each individual page in the website). Therefore making it much cleaner and easier to read.
Routes have also been simplified. Previously, each page had its own route js page for its own custom middleware. However, alot of pages didn't need any middleware but simply display information in the frontend. Thanks to this simplification, about 21 pages in routes have been deleted.

News articles

On the /scripts/getNews.js script, we now have the capability to take blog posts from the wordpress and display them as complete news articles (long gone are the days of needing to display everything long in the forums). The getNews.js gets the news from the wordpress and creates routes/pages for each article found (meaning, we don't need to make manual commits for each news article URL or page)
image
image

API calls/extractor.js

Also on /scripts/extractor.js there's been improvement. Alot of API calls have been in a compact for loop in order to reduce code repetition. These API calls get cached in json files and reduce the amount of times the website pings the API.

Renaming/Re-pathing

A couple of the routes have received minor name changes in order to illustrate their function better (such as link.js becoming linkSteam.js) and pathing made much more simpler (for example, account/password/reset is now account/changePassword which is more simple and password doesn't need its own path).

Frontend

The frontend has received the bigger batch of changes. Ranging from new pages to overhauls in others.

New aesthetic/theme

The new website now has a theme of primary grey - black with a secondary orange/gold - dark red colors. I believe this suits us better than the white and black theme of the old website.

Update the old pages

Anything ranging from the home page to the leaderboards, all previous pages (which weren't alot) have received updates to their information and interface. Making it look more modern and easier to use or faster to load for our users.

New pages

Now we have from contribution, donation, AI, campaign, FAF teams and alot other pages in our website. All of these serve the great purpose of having a more official page to link users to rather than linking them to forum or wiki posts (for example, steam vs FAF changes, introduction guides, changes in the co-op campaign). Alot of these pages are re-using information from said forum and wiki posts (and sometimes even link to them in-case user wants more information).

Play now page

Instead of allowing our users to simply download the client (without knowing they need to do steamlinking, opening SC:FA at least once, etc) now they get redirected to a "play" page where the download button is available but also a clear set of instructions and pictures are ready to help the user feel less overwhelmed with all the "hidden" requirements that weren't shown before when an user just downloads the client.
image

Steam/GOG linking

Both now feature pictures and instructions from their "guides with pictures" so users don't have to continue jumping hoops to find out how to steamlink (plus it looks much better coming from an official page in the website than some random picture gallery in imgur).

Upcoming updates and issues

Next steps

The website still needs some work. A great deal of the backend's get/post routes (what makes the API know what information to change or add) has been left the same. This is due to some issues with local testing of the backend due to ipv6 issues. Nonetheless, it is planned to try and achieve a local test environment in order to update all these files. This would bring things such as permanent clan invite links, the possibility of adding clan "moderators/managers"/lieutenants (so its not up to the leader to invite/manage the clan entirely), and so on.

Also with the new feedback received from people using the new websites, updates to the leaderboards and other features will be implemented depending on what does the community deem more important/necessary.

Issues

This is the first time this form of the website will be tested on a real production environment. It is unknown if there is an issue with the code being able to support large amounts of users. Nonetheless, I'm hopeful it all works correctly and that some async/await function doesn't halt the server lol.

Personal Notes

The FAF website is my first coding project. I used it to learn everything from frontend HTML to backend express.js. It took me about a year but I'm quite proud of how much I learned thanks to it. I'll continue to maintain it and hopefully make something greater out of it. I'm very thankful to the likes of Sheikah, Brutus, Giebmasse, Rowey and everyone else that gave me their feedback and words of encouragement.

v1.15.4 - Remove Gmail Notice from Registration

05 Oct 18:44
58dc374
Compare
Choose a tag to compare

V1.15.3 - Gmail Account Rate Limit Notification.

01 Oct 20:39
e5589cf
Compare
Choose a tag to compare

v1.15.2 - minor fix

29 Sep 09:38
f898ffb
Compare
Choose a tag to compare

What's Changed

  • Added a fix for the bad image downscaling by @phongu in #405
  • Update code of conduct by @BlackYps in #406
  • Fixed GOG Username Field not accepting . when GOG usernames do accepted them.

New Contributors

Full Changelog: v1.15.1...v1.15.2

V1.15.1- Revert Passport Package Upgrade

31 Jul 21:58
Compare
Choose a tag to compare

v1.15 - New Client Newshub Page

31 Jul 18:13
220b34c
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.14.3...v1.15