- Renamed
$hasSettings
to$hasCpSettings
in\dukt\twitter\Plugin
- Updated config settings for Craft 3.0.0-beta.8+
- The
$cacheExpire
parameter is nownull
instead of being set to0
for the\Craft\Twitter_ApiService::get()
method. - The
$cacheExpire
parameter is nownull
instead of being set to0
for the\Craft\TwitterVariable::get()
method.
- Fixed a bug that prevented the plugin from setting cache values
- Fixed cache path
- Fixed an issue where
\Craft\Twitter_ApiService
was relying on\Craft\FileCache
instead of\Craft\Twitter_CacheService
for caching. - Fixed an issue where the cache duration was not properly calculated into seconds.
- Craft 3 compatibility.
- Schema Version 1.0.0.
- Added
craftcms/cms
dependency. - Added
league/oauth1-client
dependency. - Added
guzzlehttp/oauth-subscriber
dependency. - Added
Tweet
model. - Added
dukt\twitter\services\Api::getClient()
. - Added
dukt\twitter\services\Api::saveOriginalUserProfileImage()
. - Added
dukt\twitter\helpers\TwitterHelper::extractTweetId()
. - Added
dukt\twitter\helpers\TwitterHelper::getUserProfileImageResourceUrl()
.
- Cache keys are now limited to 32 characters.
- Improved
dukt\twitter\services\Api::get()
parameters. - Improved
dukt\twitter\web\twig\variables\TwitterVariable::get()
params. - Moved
dukt\twitter\services\Twitter::extractTweetId()
todukt\twitter\helpers\TwitterHelper::extractTweetId()
- Moved
dukt\twitter\services\Twitter::getTweetById()
todukt\twitter\services\Api::getTweetById()
- Moved
dukt\twitter\services\Twitter::getTweetByUrl()
todukt\twitter\services\Api::getTweetByUrl()
- Moved
dukt\twitter\services\Twitter::getUserById()
todukt\twitter\services\Api::getUserById()
- Renamed
dukt\twitter\web\twig\variables\TwitterVariable::getUserImageUrl()
todukt\twitter\web\twig\variables\TwitterVariable::getUserProfileImageResourceUrl()
.
- Fixed a bug where
dukt\twitter\services\Api::get()
wouldn’t take theenableCache
config into account.
- Removed
dukt/craft-oauth
dependency. - Removed
dukt\twitter\services\Api::request()
.
- Schema Version 1.0.0
- The plugin can now be installed with composer via
composer require dukt/craft-twitter
- Updated
nojimage/twitter-text-php
dependency
- Improved search keywords for the Tweet field type
- Fixed API caching and removed deprecated
disableCache
config
- Added
cacheDuration
config - Added
twitterFollowButton()
Twig function - Added
twitterGrid()
Twig function - Added
twitterMessageButton()
Twig function - Added
twitterMoment()
Twig function - Added
twitterTimeline()
Twig function - Added
twitterTweet()
Twig function - Added
twitterTweetButton()
Twig function - Added
twitterVideo()
Twig function - Added docs URL to the Settings page
- Improved plugin description
- Removed
Twitter_TweetFieldType::prepValueFromPost()
- Replaced
disableCache
config byenableCache
- Tweet field now accepts a tweet URL or a tweet ID
- Fixed tweet’s permalink
- Added a permanent link to tweets
- Now using the
bigger
Twitter profile image instead of thenormal
one - Removed unused disableSave.css
- Renamed
tweet.css
totwitter.css
- The user's name and the profile image are now clickable in the Search widget
- Tweets are now clickable in the Search widget
- Added time ago to tweet preview in Tweet field
- Added TwitterHelper::timeAgo()
- Added TwitterPlugin::getDescription()
- Added TwitterPlugin::getReleaseFeedUrl()
- Added twitterTimeAgo twig filter
- Formatting tweet dates as time ago in Search widget
- Removed
colspan
from Search widget settings - Removed Twitter_SearchWidget::getColspan()
- Improved time ago calculation
- Moved TwitterController::actionSettings() to Twitter_SettingsController::actionIndex()
- Now using PHP Traits for checking plugin dependencies
- Now using secure profile image urls by default
- Fixed the link to Twitter's OAuth provider configuration
- Added
TwitterPlugin::getDocumentationUrl()
- Moved
Twitter_PluginController::actionInstall()
toTwitter_InstallController:: actionIndex()
- Removed
TwitterHelper::log()
- Twitter now has its own log files
- Fixed link to Twitter OAuth settings
- Removed dependency auto download and install
- Removed deprecated CSS resources
- Fixed an issue with dependency checker
- Added support for OAuth 1.0+
- Added support for Craft CMS 2.5
- Added plugin icons
- Added
TwitterHelper
- Added icon for Search widget
- Added
Twitter_ApiService
- Added
Twitter_CacheService
- Added
Twitter_OauthService
- Now using TwitterPlugin::getSettingsUrl() instead of TwitterPlugin::getSettingsHtml()'s redirect method for specifying plugin's settings URL
- Improved Twitter Search widget error handling
- Improved Twitter_TweetFieldType to display light errors
- Removed
TwitterVariable::setToken()
- Removed
TwitterVariable::getToken()
- Moved
TwitterService::api()
toTwitter_ApiService::api()
- Moved
TwitterService::checkDependencies()
toTwitter_PluginService::checkDependencies()
- Moved
TwitterService::deleteToken()
toTwitter_OauthService::deleteToken()
- Moved
TwitterService::get()
toTwitter_ApiService::get()
- Moved
TwitterService::getToken()
toTwitter_OauthService::getToken()
- Moved
TwitterService::saveToken()
toTwitter_OauthService::saveToken()
- Removed
TwitterService::setToken()
- Removed Twitter_OauthController::scope
- Removed Twitter_OauthController::params
- Moved
TwitterController::actionConnect()
toTwitter_OauthController::actionConnect()
- Moved
TwitterController::actionDisconnect()
toTwitter_OauthController::actionDisconnect()
- Fixed Settings URL in templates
- Fixed a bug with token in Twitter_ApiService::request()
- Added TwitterPluginController
- Added Twitter_PluginService
- Plugin now requires OAuth 0.9.70+
- Logging error when unable to get an account
- Renamed Twitter Tweets widget to Twitter Search
- Improved Tweets widget to display a message when no tweets are found
- Improved example templates
- Improved plugin settings
- Twitter Search widget is now showing a notice when search query is missing
- Fixed a bug where tweet id was sometimes turned into a float
- Added AnalyticsPlugin::getRequiredPlugins()
- Added AnalyticsPlugin::getPluginDependencies()
- Added AnalyticsPlugin::getPluginDependency()
- Added dependency checker to check dependencies with other plugins
- Added Tweets widgets to display recent tweets from a Twitter search
- The plugin now requires OAuth 0.9.63 or above
- Updated Recent Tweets example
- Improved settings templates
- Improved the way a token is deleted: deleting the token instead of setting it to null
- Improved the way Twitter plugin is getting back to the page which initiated the connect action
- Token providerHandle and pluginHandle are now automatically populated in token response
- Added autoLinkTweet twig filter
- Added embedTweet twig function
- Added Auto-Linking Tweets templating example
- Added Embedded Tweets templating example
- Added twitter-text-php library
- Disabled cache by default
- Fixed bug with cache keys
- Added support for new OAuth authentication logic
- Added support for Twitter URL containing "statuses"
- Fixed a bug where tweet user link was displaying blue instead of grey
- Added example templates
- Added craft.twitter.getUserById(userId, params)
- Added craft()->twitter->api($method, $uri, $params, $headers, $postFields)
- Added cache handling to craft.twitter.get()
- Added cache handling to craft()->twitter->get()
- Improved craft.twitter.get() arguments : craft.twitter.get(uri, params, headers, enableCache, cacheExpire)
- Improved craft()->twitter->get() arguments : craft()->twitter->get($uri, $params, $headers, $enableCache, $cacheExpire)
- Prevent getSettingsHtml from being called if on settings/plugins listing page
- Public Beta