| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
The typo caused errors in Adobe Lightroom 6.2 though being ignored in
previous versions.
- fix type in TranslatedStrings_de.txt
Fix #46.
|
|
|
|
|
|
|
|
|
| |
After a successful export, a configurable keyword is added to the picture.
- add ‘export keyword’ setting to MediaWikiUtils and MediaWikiPluginInfoProvider
- write keyword in MediaWikiExportServiceProvider.processRenderedPhotos
Fix #34.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If set, a new section of the given page is created with a gallery of the
uploaded files.
- add MediaWikiApi.appendToPage and MediaWikiInterface.addToGallery
- require target file name to be set when calling MediaWikiInterface.uploadFile
- calculate file name in MediaWikiExportServiceProvider.processRenderedPhotos
insted of in ..., store it and pass it to MediaWikiInterface.addToGallery
- add the gallery option to the export dialog in MediaWikiExportServiceProvider
- update messages
Fix #24.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The creation of snapshots after the export now depends on a new setting.
The snapshots now are created after the successful export instead of before any
export.
- move the preferences handling to MediaWikiUtils
- add the ‘Snapshot creation’ setting to MediaWikiPluginInfoProvider and
MediaWikiUtils
- move the snapshot creation in
MediaWikiExportServiceProvider.processRenderedPhotos after the successful
upload
- check the ‘Snapshot creation’ setting before creating the snapshot in
MediaWikiExportServiceProvider.processRenderedPhotos
- update the internationalization
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
Create a development snapshot before the upload. The name contains the
date and time of the export and the path to the MediaWiki API used for
the export.
- create snapshot before upload in MediaWikiExportServiceProvider
Fix https://github.com/ireas/LrMediaWiki/issues/26
|
|
|
|
|
|
|
|
|
|
|
| |
Raise a specific error if the HTTP status is empty. This indicates
that there is no internet connection or that the MediaWiki installation
cannot be reached. Previously, the error message just reported an
empty HTTP status.
- check for empty HTTP status in `MediaWikiApi`
Fix https://github.com/ireas/LrMediaWiki/issues/28
|
|
|
|
|
|
|
|
|
|
|
| |
Add the permission field to the export dialog and to the file
description template.
- add permission to the template in `description.txt`
- add permission to the UI in `MediaWikiExportServiceProvider`
- add permission to the data items in `MediaWikiInterface`
Fix https://github.com/ireas/LrMediaWiki/issues/27
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move the file description template from the constant
`MediaWikiInterface.fileDescriptionPattern` to the file
`description.txt` in the main directory of the plug-in. This allows
better customization of the file description.
- add `MediaWikiInterface.loadFileDescriptionTemplate` that tries to
read the file description template from the `description.txt` file
- call `MediaWikiInterface.loadFileDescriptionTemplate` before the
description preview and before the export
Fix https://github.com/ireas/LrMediaWiki/issues/29
|
| |
|
| |
|
| |
|
|
|
|
| |
duplicates.
|
| |
|
| |
|
| |
|
|
|