aboutsummaryrefslogtreecommitdiff
path: root/mediawiki.lrdevplugin/Info.lua
Commit message (Collapse)AuthorAge
* Revert new version and changelog entry.Robin Krahl2016-02-11
| | | | | Revert the new version 4.2.2 and the changelog entry describing this version until the actual release.
* Extract GPS heading from EXIF for {{Location}}Hasenlauefer2016-02-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This enhancement is available for users of a Lightroom (LR) version 6 or higher. The function to retrieve the direction has been introduced by Adobe with version 6. Therefore this enhancement is not available by users of versions lower 6. This enhancement differs several LR versions. Depending on the version, different information messages are shown (or not): * LR 6 or higher: If the `Direction` field is set, the user gets informed about this feature. Uploads of files without a direction setting don’t cause this information message, because at such cases the user is not affected. * LR 5: Users get informed, the feature is not available, due to the insufficient LR version. Adobe introduced the “Direction” field with LR version 5, but forgot to include it at the corresponding LR SDK 5. Therefore this feature can not be used by users of LR 5. At release notes of LR SDK 6 this has been mentioned to be a bug fix of LR SDK 5. * LR 4: Users of this version are not affected, because Adobe introduced the “Direction” field with version 5. Therefore users of LR 4 don’t get any information message. * LR versions lower 4: These versions are not supported by LrMediaWiki. The information messages include a “Don’t show again” (German: „Nicht erneut anzeigen“) checkbox. If the user decides, to set this option and decides to revert this decision later, a reset of warning dialogs at LR is needed: * English: Edit -> Preferences... -> General -> Prompts -> Reset all * warning dialogs * German: Bearbeiten -> Voreinstellungen -> Allgemein -> * Eingabeaufforderungen -> Alle Warndialogfelder zurücksetzen LR can store a direction value with up to 4 digits beyond a decimal point, but shows at user interface a rounded value without decimal places (by mouse over the direction field). The information message shows the same rounded value, to avoid confusion of the user seeing different values. The `{{Location}}` template parameter `heading` is filled by the stored value of LR. Sample: A direction input of 359.987654321 is stored as 359.9876, shown as 360°. At `{{Location}}` template the LR stored value of 359.9876 is set. Affected code: - MediaWikiExportServiceProvider.processRenderedPhotos: use the heading value to generate the Location template - Info: change SDK version to 6.0 Fix #35.
* Fix typo in TranslatedStrings_de.txt and prepare v0.4.1.v0.4.1Robin Krahl2015-10-06
| | | | | | | | | The typo caused errors in Adobe Lightroom 6.2 though being ignored in previous versions. - fix type in TranslatedStrings_de.txt Fix #46.
* v0.4 released.v0.4Robin Krahl2015-06-28
|
* Check for new versions after start.Robin Krahl2015-06-27
| | | | | | | | | | | | | | | | | | | After LrMediaWiki is loaded, GitHub is checked for new versions if the user enabled that setting. To parse the response of the GitHub API, a third-party library is used for JSON parsing (JSON.lua). As the GitHub API query for the latest release only returns non-pre-release versions, all releases are queried and the first one is considered the latest. - create MediaWikiInit that queries the new version and shows a message (if necessary) - add MediaWikiInit to Info so that it is run after LrMediaWiki is loaded - add ‘Check version’ setting to the configuration - refactor MediaWikiApi and create performHttpRequest as a generic HTTP request method - add MediaWikiApi.getCurrentPluginVersion to query the GitHub API Fix #44.
* Add a configuration section to the plugin information dialog.Robin Krahl2015-06-27
| | | | | | | | | | | | Customize the plugin information dialog and add a configuration section. In this section, the user may enable or disable logging. - create MediaWikiPluginInfoProvider to customize the plugin information dialog - add MediaWikiPluginInfoProvider to Info to activate it - enable or disable logging in MediaWikiUtils according to the configuration - update the localization See #31.
* v0.3.1 released.v0.3.1Robin Krahl2015-06-27
|
* Update Info.lua for v0.3.v0.3Robin Krahl2015-06-27
|
* Prepare v0.2.3.v0.2.3Robin Krahl2014-10-06
|
* Version 0.2.2.v0.2.2Robin Krahl2014-09-08
|
* Prepare v0.2.v0.2Robin Krahl2014-08-25
|
* Add categories field to the file metadata (see #7).Robin Krahl2014-08-24
|
* Initial commit.v0.1Robin Krahl2014-08-21