| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
| |
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 snapshot creation in
MediaWikiExportServiceProvider.processRenderedPhotos after the successful
upload
- check the ‘Snapshot creation’ setting before creating the snapshot in
MediaWikiExportServiceProvider.processRenderedPhotos
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The user now may enable logging in MediaWikiUtils. If logging is enabled, a
log file is written to the user’s "My Documents" that contains all API requests.
Furthermore, bugs introduced by the refactoring in commit
8862341672dc288596d6ef66f92751bba6dfef25 have been fixed.
- set up logging in MediaWikiUtils
- write to the log in MediaWikiApi.performRequest
- fix error in MediaWikiExportServiceProvider.processRenderedPhotos
- fix error in MediaWikiApi.parseXmlDom
Fix #43.
|
|
|
|
|
|
|
| |
Set all labels to the same width and right alignment, and fix the
spacing between controls and labels.
- update MediaWikiExportServiceProvider.sectionsForTopOfDialog
|
|
|
|
| |
Fix #40.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add the hours, minutes and seconds of the file creation date read from
the EXIF metadata to the date field of the Information template on the
description page. This change is made to adapt the common behaviour
already used by the Upload Wizard.
- add "%H:%M:%S" to the time format string in
MediaWikiExportServiceProvider.processRenderedPhotos
Fix #38
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There is no need for descriptions if an existing file is overwritten.
Therefore the check and the error message are moved at a point where we
know whether it is an initial upload or a reupload.
- refactor MediaWikiInterface.uploadFile:
- add the parameter hasDescription that describes whether there is a
valid description
- return a string (error message) if there is an error
- store description status in
MediaWikiExportServiceProvider.prepareUpload
- check the return value of MediaWikiInterface.uploadFile in
MediaWikiExportServiceProvider.prepareUpload
Fix https://github.com/ireas/LrMediaWiki/issues/30
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|