31
33
Link Previews / Changelog
« Last post by live627 on May 18, 2022, 11:29:03 PM »v2.1.0 (2023-03-20)
New Features
v2.0.1 (2022-07-12)
Bug fixes
v2.0.0 (2022-07-09)
New Features
v1.3.1 (2022-06-16)
Bug fixes
New Features
v1.2.0 (2022-5-18)
New Features
v1.1.1 (2022-04-14)
Bug fixes
New Features
- Add ability to generate previews for topics
- New code that should fix fetching from German Amazon (grumbles)
v2.0.1 (2022-07-12)
Bug fixes
- last minute renaming of a variable caused all non-cached fetches to fail
- A corrupted cache entry could silently interrupt processing the links (JSON error))
v2.0.0 (2022-07-09)
New Features
- Asynchronously send network requests in parallel; this makes fetching link previews much faster
- Cache unfurled results in local storage
- Add a section in the profile with user configurable options and also a table of all cached entries
- Add fluent interfaces for sites that require extra attention (for ease of development)
- Add options to configure the theme for Twitter widgets
- Quick edit did not unfurl links upon save
v1.3.1 (2022-06-16)
Bug fixes
- A ReferenceError in the JavaScript stopped Link transformations
New Features
- Added support for SMF 2.0
- An empty blacklist stopped all link transformations
- Actually fetches valid icon from Politico
v1.2.0 (2022-5-18)
New Features
- Get previews for Amazon links
- Show previews when previewing posts
- SQLite error when trying to create cache tables that already exist
v1.1.1 (2022-04-14)
Bug fixes
- An empty blacklist stopped all link transformations
36
Link Previews / Twitter—chirp like a birdie
« Last post by live627 on April 15, 2022, 08:40:34 PM »37
Link Previews / Never gonna rick roll you, never gonna let you down
« Last post by live627 on April 15, 2022, 08:16:05 PM »38
Link Previews / Amazon links (still working on it)
« Last post by live627 on April 15, 2022, 06:03:58 AM »39
Link Previews / Language file
« Last post by live627 on April 12, 2022, 11:41:30 PM »ManageLinkPreview.english.php
<?php
declare(strict_types=1);
$txt['linkpreview'] = 'Link Previews';
$txt['linkpreview_admin_add_blacklist'] = 'Add to Blacklist';
$txt['linkpreview_admin_manage_menu'] = 'Manage Menu';
$txt['linkpreview_settings_title'] = 'Manage Settings';
$txt['linkpreview_blacklist_title'] = 'Manage Blacklist';
$txt['linkpreview_desc'] = 'Manage setting related to link previews';
$txt['linkpreview_blacklist_desc'] = 'A blacklist stops certain links from being transformed with metadata.';
$txt['setting_linkpreview_enable'] = 'Enable link previews';
$txt['linkpreview_enable_desc'] = 'Transform links using associated metadata';
$txt['setting_linkpreview_enable_blacklist'] = 'Enable blacklist';
$txt['linkpreview_enable_blacklist_desc'] = 'Enable exclusion rules';
$txt['select_boards_from_list'] = 'Select boards which apply';
$txt['linkpreview_submit'] = 'Submit';
$txt['linkpreview_blacklist_no_blacklists'] = 'There are no Blacklists yet...';
$txt['linkpreview_blacklist_remove_selected'] = 'Remove Selected';
$txt['linkpreview_blacklist_remove_all'] = 'Remove All';
$txt['linkpreview_blacklist_remove_confirm'] = 'Are you sure you want to remove the selected blacklisted entry?';
$txt['linkpreview_blacklist_remove_all_confirm'] = 'Are you sure you want to remove all blacklisted entryies?';
$txt['linkpreview_blacklist_add_title'] = 'Add to blacklist';
$txt['linkpreview_blacklist_edit_title'] = 'Edit blacklisted entry';
$txt['linkpreview_blacklist_name'] = 'Name';
$txt['linkpreview_blacklist_name_desc'] = 'This is just to identify this item easier.';
$txt['linkpreview_blacklist_link_desc'] = 'Enter the <a href="https://en.wikipedia.org/wiki/Fully_qualified_domain_name" target="_blank" rel="noopener">fully qualified domain name</a> here (e.g, <i><code>somehost.example.com</code></i>).';
$txt['linkpreview_blacklist_link'] = 'Link';
$txt['linkpreview_blacklist_status'] = 'Status';
$txt['linkpreview_blacklist_active'] = 'Active';
$txt['linkpreview_blacklist_inactive'] = 'Not Active';
// Submission errors
$txt['linkpreview_blacklist_session_verify_fail'] = 'Session verification failed. Please then try again.';
$txt['linkpreview_blacklist_errors_create'] = 'The following error or errors occurred while adding your blacklisted entry:';
$txt['linkpreview_blacklist_errors_modify'] = 'The following error or errors occurred while editing your blacklisted entry:';
$txt['linkpreview_blacklist_empty_name'] = 'The name was left empty.';
$txt['linkpreview_blacklist_empty_link'] = 'The link was left empty.';