Advanced Search
Search Results
457 total results found
ansicolor
Homepage https://www.npmjs.com/package/ansicolor What is it? A JavaScript library for adding colour support to debugging messages in browser consoles. Why did we choose it? It works without needing a lot of dependencies or complicated setup, unlike a lot ...
Deserted Chateau Loggers
Deserted Chateau uses the PHP monolog library for logging. The Antsstyle\DesertedChateau\Core\LogManager class initialises and configures all of the various loggers used in the backend code. Logger Configuration Each logger is configured to log to five files...
Testing mobile layouts on physical devices
Testing the site on a physical phone requires some configuration (as mobile Chrome does not have access to DevTools). Configuration Connect your phone via USB for file transfer/debugging, and open Chrome on it. Navigate your desktop Chrome to chrome://inspe...
Navigation bar
Tooltip Shells
To standardise how tooltip elements are rendered on Deserted Chateau, and avoid janky page loading, many tooltips are rendered server-side before being sent to the client. The Frontend/DynamicContent.php class handles including tooltip "shells" on a page, usi...
Page-specific server-side content loading
Initialisation options
The TinyMCEManager class sets some default options for TinyMCE editor initialisation. These can be overridden by providing custom options to the TinyMCEManager.createEditor function, which will then merge the custom options with the existing options. let init...
Authenticating AWS service clients within Lambda functions
There are two secure ways you can give a Lambda function permission to invoke other AWS services, or to give it credentials for e.g. a database: Method 1: Adding IAM permissions to the Lambda execution role For services like S3, your Lambda function's execut...
August 10
Hi all, hope you're doing well ^^ Moderation Progress I've been chipping away more at the moderation pages, and have made some progress on the moderation and lookup pages for users. Still a work in progress at the moment, as I've been working on lots of bits...
Manager Classes
Tool Classes
Using a Content Delivery Network (CDN)
Once you start having more than one webserver (and thus need a load balancer), or even before that, you will need to have a CDN to deliver static content to your users. It's usually best to set it up before beginning your website, as otherwise you'll have a lo...
Clarity: colours
Clarity: icons
jasonlam604/Stringizer
Homepage https://github.com/jasonlam604/Stringizer What is it? A PHP library for manipulating strings. Why did we choose it? It's a solid, open-source library without a lot of dependencies. What do we use it for? Stripping HTML tags from strings, which ...
Comprehend
Homepage https://aws.amazon.com/comprehend/ What is it? A natural language processor, which uses AI to analyse text. Why did we choose it? It has clear data privacy rules, as the AWS AI services all have legally binding opt-outs. It also has a fairly low ...
Tippy Themes and Theme Presets
To customise the functionality of Tippy.js a bit more, Deserted Chateau also uses its own themePresets to configure different behaviours for different types of tooltips. Tippy Themes There are a few themes Deserted Chateau defines, which can be found in the ...
Shell Tooltips
The format for shell tooltips is as follows: Backend Code (in PHP template file) <?php DynamicContent::includeTooltipShell("your-tooltip-element-name"); ?> <div class="standard-tooltip-shell-content-container" data-tooltip-name="your-tooltip-element-name"> ...
User Content Moderation
If your website has any form of user-submitted content, then you are going to need some form of moderation. There are several ways you can approach this, and various other solutions of widely varying ethics. An overview of the main points is below. Limiting ...
August 24
Hi all, hope you're doing well ^^ User database table refactoring I've moved a lot of the user table columns to the new user_account_status table, and updated all the relevant stored procedures and functions that referenced those columns to point to the new ...