Latest Updates

Documenting code, one commit at a time.

JavaScript Node.js

Independent Control for LinkedIn Post Generation

When developing tools for content generation, flexibility is key. A recent update to the devlog-ist/landing project focuses on providing more granular control over how content is generated for different platforms. Specifically, we've decoupled the random mode setting for LinkedIn from the portfolio's random mode.

The Problem: One Size Doesn't Fit All

Previously, a single "random mode"

Read more
Laravel PHP OAuth

Limiting OAuth Providers in Laravel

Working on the devlog-ist/landing project, we're refining the authentication flow. The goal is to streamline user registration and login, particularly for non-developers who might be contributing recommendations. We've adjusted the available OAuth providers to match user roles.

Previously, both GitHub and LinkedIn were presented as default options on the login and registration pages.

Read more

Improving Queue Visibility in Laravel

We've enhanced the visibility of queue processing within our Laravel application, devlog-ist/landing, which provides a landing page. The goal was to make debugging and monitoring background jobs easier without relying on external tools.

Previously, queue events were mixed with other application logs, making it difficult to isolate and analyze queue-related issues.

Read more
PHP Laravel OAuth

Enhancing User Security in Laravel OAuth Implementations

OAuth provides a streamlined approach to user authentication, but it's crucial to implement security measures that protect user data and prevent unauthorized access. A common scenario involves social login, where users authenticate via third-party providers like GitHub or LinkedIn.

The Problem: Unregistered Users and Automatic Registration

A potential vulnerability arises when users not yet

Read more

Enhancements to Referral Program, Dev.to Integration, and Terms Update

Overview

This update introduces an enhanced referral program with tiered commissions, seamless Dev.to integration, and updated terms and conditions to reflect these changes.

Referral Program Enhancements

The referral program has been expanded with the addition of a dedicated landing page, complete with details about the program, commission rates, and automated tools.

Read more

Enhancing GitHub OAuth Flow: Preserving User Permissions

Introduction

This article discusses a common issue in applications using GitHub OAuth for authentication: inadvertently overwriting a user's existing token with one that has fewer permissions. We'll explore how to ensure the application preserves the user's original, broader-scoped token when requesting narrower scopes during subsequent logins.

The Problem

Many applications use GitHub

Read more

Enhancing Content Discoverability for AI

Making content easily discoverable for AI search engines is crucial for broader reach. Here's how we improved the accessibility of our tenant portfolio content.

The Goal

Our primary objective was to enable AI search engines to easily discover and consume tenant portfolio content. This involved providing machine-readable endpoints that expose content in a structured and easily parsable manner.

Read more