Skip to content

Commit

Permalink
Merge pull request #43 from the-markup/update-version
Browse files Browse the repository at this point in the history
Update version to v0.4.0
  • Loading branch information
dphiffer authored Jun 10, 2024
2 parents 2ec5b16 + abf0cc3 commit 145f5e3
Show file tree
Hide file tree
Showing 10 changed files with 35 additions and 31 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Smol Links plugin creates and manages Shlink short links
Copyright (C) 2022 The Markup
Copyright (C) 2024 The Markup

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,14 @@
**Requires at least:** 4.5
**Tested up to:** 6.5.3
**Requires PHP:** 7.3
**Stable tag:** 0.3.1
**Stable tag:** 0.4.0
**License:** GPLv2 or later
**License URI:** https://www.gnu.org/licenses/gpl-2.0.html

Create and manage Shlink short links from WordPress

## Description ##

__This plugin is a work in progress; development is ongoing.__

A WordPress dashboard interface for managing a self-hosted [Shlink URL shortener](https://shlink.io/) instance.

* Create and edit Shlinks short links from a manager interface
Expand Down Expand Up @@ -61,6 +59,10 @@ __Running tests:__

## Changelog ##

### 0.4.0 ###
* Add search to manager interface
* URL validation on form inputs

### 0.3.1 ###
* Remove Composer from installation

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "the-markup/smol-links",
"description": "Create and manage Shlink short links from WordPress",
"version": "0.3.1",
"version": "0.4.0",
"type": "wordpress-plugin",
"require-dev": {
"phpunit/phpunit": "^9.6",
Expand Down
28 changes: 14 additions & 14 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions languages/smol-links.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# This file is distributed under the GPL-2.0-or-later.
msgid ""
msgstr ""
"Project-Id-Version: Smol Links 0.3.1\n"
"Project-Id-Version: Smol Links 0.4.0\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/smol-links\n"
"POT-Creation-Date: 2024-05-30 17:33:07+00:00\n"
"POT-Creation-Date: 2024-06-07 17:30:48+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand All @@ -28,11 +28,11 @@ msgstr ""
msgid "Smol Links"
msgstr ""

#: src/Manager.php:188
#: src/Manager.php:214
msgid "Cannot connect to Shlink Server."
msgstr ""

#: src/Manager.php:189
#: src/Manager.php:215
msgid "Please configure Shlink API settings."
msgstr ""

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "smol-links",
"version": "0.3.1",
"version": "0.4.0",
"description": "Create and manage Shlink short links from WordPress",
"main": "build/index.js",
"author": "The Markup",
Expand Down
8 changes: 5 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,14 @@ Tags: short url, shlink
Requires at least: 4.5
Tested up to: 6.5.3
Requires PHP: 7.3
Stable tag: 0.3.1
Stable tag: 0.4.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Create and manage Shlink short links from WordPress

== Description ==

__This plugin is a work in progress; development is ongoing.__

A WordPress dashboard interface for managing a self-hosted [Shlink URL shortener](https://shlink.io/) instance.

* Create and edit Shlinks short links from a manager interface
Expand Down Expand Up @@ -61,6 +59,10 @@ __Running tests:__

== Changelog ==

= 0.4.0 =
* Add search to manager interface
* URL validation on form inputs

= 0.3.1 =
* Remove Composer from installation

Expand Down
2 changes: 1 addition & 1 deletion smol-links.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* Description: Create and manage Shlink short links from WordPress
* Requires at least: 4.5
* Requires PHP: 7.0
* Version: 0.3.1
* Version: 0.4.0
* Author: The Markup
* Author URI: https://themarkup.org/
* License: GPL-2.0-or-later
Expand Down
2 changes: 1 addition & 1 deletion src/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function manager_page() {
name="long_url"
placeholder="https://example.com"
id="smol-links-create__long-url"
pattern="/[(http(s)?):\/\/(www\.)?a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/ig"
pattern="^(http(s){0,1}:\/\/.){0,1}[\-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([\-a-zA-Z0-9@:%_\+.~#?&\/\/=]*)$"
class="smol-links-long-url regular-text ltr"
required
/>
Expand Down

0 comments on commit 145f5e3

Please sign in to comment.