Server update changelog

July 15th 2020

  • Add support for 0.7.0 release on the alpha channel
  • Add automatic package cache purging for 0.7.0 on Bazaar installs
  • Automatically idle game when importing worlds and packages with the import wizard
  • Do not automatically dismiss the error message when failing to import a package, so it’s readable by the user
  • Add a note in the “delete files” tool about the server needing to be offline for world deletions to work
  • Add API to allow force the world to idle a game into

July 18th 2020

  • Fix an issue where a world (kobold cauldron) installed through the bazaar had its scene thumbnails folder write protected, preventing new scenes in the world from being created.
  • Add a check in the import wizard to remove the “FoundryVTT/Data/” directory prefix when importing the entire FoundryVTT folder instead of the Data folder, for asset uploads. (See here)
  • Add autocomplete indicators in the billing page to help browsers enter the correct information when autofilling fields.
  • Removed a dependency to lodash library in the import wizard.

July 20th 2020

  • Fix a bug introduced in the July 18th update which caused the import wizard to import some assets, under specific conditions, under a Data/ directory instead of the root folder of the assets library

July 25th 2020

  • Added a new Extra option for increasing the upload size per asset file
  • Added a dedicated button in My Account to update user’s Billing Information
  • Added a dedicated button in My Account to access the Stripe portal to change payment methods and see billing history/past invoices
  • Update system to synchronize subscription information with the payment processor to make sure expiration dates are accurate
  • Show a warning and error message to users who have past due invoices or unpaid subscription
  • Automatically lock/unlock accounts for unpaid subscriptions (used to be a draining manual process)
  • Added a grace period of 24 hours after a subscription ends before services stop.
  • When adding a new license, don’t reload the page after 5 seconds, instead prompt the user to reload.
  • Use the verify Foundry endpoint instead of the sign endpoint for monthly license validations
  • Add an automatic latest symlink in each Bazaar package (useful for a localization script by @lordzeel)
  • Simplified internal payment processing system and removed some obsolete code
  • Fixed small bug where the ‘preview changes’ in subscription manager didn’t become clickable immediately after entering the address line content
  • Fix an issue where updating billing information updated them on the customer but not on the attached payment method
  • Added the initial implementation for Paypal support (not finished)
  • Added basic framework for switching to a reactive UI

July 27th 2020

  • Add a “per file” suffix to the upload size limit quota on My account page to make it clearer what it’s about
  • Module: Fix an issue where the assets library wasn’t browsable within Foundry if a file contained a % character in its name
  • Module: Remove a console error that would happen when browsing the assets library using the Tiles browser dialog
  • Bazaar: Add ability to install a specific package version by adding ?version=x.y to the manifest url
  • Bazaar: Fix a bug where the latest version that gets installed was one that had its minimumCoreVersion requirement higher than the currently running Foundry version, rather than inferior to it.

July 31st 2020

  • About a 100 different changes that are summarized with : Added Paypal support!
  • Revamped the Payment details screen to use a new reactive interface
  • Add direct access to the new payment details manager without going through the subscription manager
  • Add a warning to the subscription manager when email address is not verified so people don’t miss their invoices and receipts.
  • Fix subscription manager showing the wrong upload size limit for new subscriptions
  • Update Sales policy to include that users choosing Paypal will still be entitled to the free trial (it used to say, only for those choosing credit card payment)
  • Prevent use case where subscription was not created properly if a card payment is declined for a user who adds a new subscription after they had tried the service and cancelled, and after their trial period had ended.
  • Improve display name of existing user-attached credit cards (American Express instead of amex, and use capitalized word for Visa and Mastercard)
  • Remove some obsolete code and general code cleaning.

August 6th 2020

  • Try a first pass at revamping the whole Game/Table concept and improve the descriptions and change the name of “My Table” to “My Foundry”, “Launch Game” into either “Launch Foundry” (for our own server) or “Access game” (for games we were invited to)
  • Add listing of players invited to a game as well as per-player usage statistics for that game
  • fix an import wizard crash during world migration if the world.json file is invalid
  • Fix an issue with updating internal subscription state for users after they downgrade their subscription

August 7th 2020

  • Fix a race condition issue where logging in/logout may not appear to have worked until you refresh the page

August 11th 2020

  • Add support for Foundry VTT 0.7.1 (including first hotfix) in the Alpha channel
  • Add a “Return to Setup” button in the join page for the game owner
  • Sort player usage by time spent on a game in the game info hover list
  • The default game URL will now default to using your username instead of random dictionary words
  • Fix a bug when generating the random game url where the website would fail to load if it generates a url that is already in use by another user
  • Use smarter logic in the bazaar to allow updating a module by name even if the manifest url of the package is wrong.
  • Prevent a race condition where setting an admin key on Foundry while having the game in use could cause it to be restarted before the new admin key is set, which makes the Forge think an admin key is set while Foundry doesn’t know of the key.
  • Fix an issue where a client bug happens if FilePicker.browse returns a null response
  • Fix The Forge module to be compatible with the 0.7.1 release
  • Some misc server side improvements

August 14th 2020

  • Fix issue that prevented the deletion of an orphaned module directory containing an invalid or corrupted module.json file
  • Allow the display of a user’s game on the front page even if their subscription ended (but they cannot launch it or configure it)
  • Fix an issue generating new game URLs for users that signed up using the Patreon login service and who did not have a username assigned to their account. The default URL it will generate will now be based on their patreon’s username.

August 18th 2020

  • Fix a bug where asset files larger than 5MB were getting re-uploaded even if they hadn’t changed when using the import wizard on content that had already been imported before.
  • Add a notice about the Paypal authorization that occurs during trial for Paypal subscribers
  • Fix an error that may happen on one of the payment processor’s events when a subscription had just been downgraded
  • Slightly increase database performance when listing a user’s foundry game
  • Initial setup in preparation for the assets library optimization revamp

August 21th 2020

  • Finally destroyed the goblin that was slowly eating the server’s RAM since level 1 (Fixed a long standing node-related bug that was causing memory leaks and degraded performance)
  • Major optimization work on the server side to decrease RAM usage and answer requests faster
  • Use a new database collection to store available Foundry VTT versions and release channels, allowing for faster availability on the Forge when official FVTT versions are released
  • Big cleanup of unused server side dependencies, upgrade of some dependencies to fix potential vulnerabilities and improved the build process for each release
  • Small refactor of how Assets are stored in the database, in preparation for the assets library revamp
  • Fix assets deletion when attempting to delete directories with over 1000 files at once
  • Fix a race condition caused by improper order of operation during idling of servers which could cause a rogue Foundry server to remain running but untracked by the Forge.
  • Added a new public API for listing content from the Bazaar in preparation for the new Bazaar UI.
  • Fix the author field for some modules that used an array of strings to represent multiple authors.
  • Fix an issue with the bazaar where the latest recorded version may be incorrect if the manifest file contains a version number that differs from the version of the manifest within the downloaded zip file.
3 Likes

August 23th 2020

  • Change the game card layout on larger screens to be horizontal
  • Fix a small issue with handling some Stripe webhooks
  • Add package download statistics to the API Bazaar (not yet visible in any part of the site)
1 Like

August 23th 2020 (Part 2)

  • Add support for the new package API format used by Foundry 0.6.6 to display Bazaar packages
  • Add support for fetching the package tags from the official Foundry sources and map them to the Bazaar tagging system
  • Add support for switching return Bazaar API based on the running version of the Foundry server.

August 30th 2020

  • Fix a configuration issue when the user sets a custom game url ending with a reserved slug (such as “forums”) redirecting to the subservice instead of the user’s game.
  • Make the info notice about Paypal authorization into an info banner (blue) instead of a warning (yellow)
  • Add ability to delete a game’s url in the “My Foundry” page to have a new url generated.
  • Automatically remove whitespace from the start and end of the API key to be more resilient to copy pastes
  • Sanitize package manifest data before storing it in the database to fix an issue with the bazaar updater being broken due to the use of reserved db keys in its manifest.
  • Add to the Bazaar API the systems and languages supported by a package
  • Add option to pretty up any API response
  • Misc server side improvements

September 1st 2020

  • Import Wizard: Show a more detailed error message when parsing an invalid module.json or system.json
  • Added an information banner on the Assets Library page about the upcoming UI revamp
  • Fix a typo about a payment being “perceived” when it should say “collected” (literal French translation does not work well in English)
  • Improve the error message shown when attempting to link a Patreon account which is already linked to another Forge account
  • Add a “Trial” indicator to the Checkout button when creating a new subscription to make it clearer to new users that the Trial is available.
  • Improve wording of the mandate text to authorize credit card charges
  • Add a new system to switch existing finalized invoices from charging a credit card (if it failed) to charging a Paypal account, and vice versa.
  • Automatically retry payment of the last failed invoice when the user updates their payment methods.
  • Prevent upgrades of a subscription plan while the last invoice is unpaid, which was allowing users to bypass the account lock for failed payments without paying the actual invoice.
  • Correctly compare floating point version numbers of Bazaar packages, instead of using semantic versioning comparisons (0.09 < 0.1, even if 9 > 1), which allows to return the correct latest version of some packages

September 7th 2020

  • Phase 2 of the new assets library revamp is in place
    • Complete redesign of the assets library backend to allow new cool features (in future updates)
    • Optimized mass upload of files from the Assets Library page
    • Addition of Kubernetes backed upload and download micro-services for assets management
    • (About 51 commits (features and fixes) over 1 month of work that would be too long and confusing to list/explain)

September 8th 2020

  • Phase 3 of the new assets library revamp is now in place
  • Added multi-file upload support to the import wizard
  • Added support for renaming and moving files and folders in the assets library
  • Added support for deleting multiple files and folders through the API (no way to do it via the UI yet)
  • Fix a bug with single file uploads not returning the new file URL which affected Foundry module compatiblity (such as with VTTA-Tokenizer)
  • Display the upload and import errors in the console when errors occured in the import wizard.
  • Change the assets library manager so that clicking “open in new tab” on a folder or in the path header, will actually work
  • Fix issue where import errors were not correctly being showed in red in the progress bar during multi file uploads.
  • Fix an issue where it would say “Analyzing ZIP file” when a folder was actually selected
  • Fix issue with worlds in the Bazaar that could have a packs folder in the zip but no actual packs in the world.json, which could prevent the user from creating world compendiums.
  • data: URLs are not counted as “missing assets” anymore when importing a world
  • Fix a CORS related issue that could happen when using the API server in one region while having the user’s region set to a different one (such as after changing region but without reloading the page)

September 9th 2020

  • Fix support for players accessing wildcard tokens from someone else’s assets library in a game
  • Add the filename to the assets rename dialog, and automatically select the filename without the extension.

September 14th 2020

  • Add link to the Foundry knowledge base to the Help menu
  • Bazaar: Fix the display of a package’s author when the manifest uses an authors field with an empty name alongside the author field (midi-qol for example)
  • Bazaar: Prioritize installing the latest version of a module as returned by their manifest, rather than based on version number. Fixes issue in the Bazaar with modules that use incorrect semantic versioning (version 0.9 being smaller than 0.10 for example)
  • Assets library: Add a workaround for a server provider bug which caused some asset files to be deleted when uploading multiple versions of the same file simultaneously.

September 17th 2020

  • Update the Foundry logo used on the site
  • Optimize tokens in Bazaar modules that use wildcard tokens, in order to use the CDN network
  • Add a temporary workaround to the assets library proxy DNS issues that impacted users today at 1AM until the new DNS records are propagated for everyone.