aboutsummaryrefslogtreecommitdiff
path: root/mediawiki.lrdevplugin
Commit message (Collapse)AuthorAge
* v0.3.1 released.v0.3.1Robin Krahl2015-06-27
|
* Add logging support and fix refactoring errors.Robin Krahl2015-06-27
| | | | | | | | | | | | | | 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.
* Proper layout for export dialog.Robin Krahl2015-06-27
| | | | | | | Set all labels to the same width and right alignment, and fix the spacing between controls and labels. - update MediaWikiExportServiceProvider.sectionsForTopOfDialog
* Fix coding style and add `luacheck` to Travis CI.Robin Krahl2015-06-27
| | | | Fix #40.
* Update Info.lua for v0.3.v0.3Robin Krahl2015-06-27
|
* Avoid multiple spaces or underscores in file names.Robin Krahl2015-06-27
| | | | | | | | | | If the image title contains consecutive spaces or underscores, the upload fails without a proper error message. Therefore LrMediaWiki now replaces all (single or multiple) spaces and underscores by a single underscore. - add replacement rule to MediaWikiInterface.uploadFile Fix #37.
* Improve error message for API warningsRobin Krahl2015-02-02
| | | | | | | | | | | | | Display more information if the upload fails because the API returned a warning. Therefor the warnings tag is parsed if the result is Warning, and the keys of the tag are shown as error message (e. g. 'badfilename'). Previously, the error message was only 'Warning', which did not help users to identify the problem. - modify MediaWikiApi.upload to give a more specific error message for API warnings Fix #36
* Add hours, minutes and seconds to the date field of the description.Robin Krahl2015-02-01
| | | | | | | | | | | | 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
* Allow empty descriptions for reuploadsRobin Krahl2014-11-08
| | | | | | | | | | | | | | | | | 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
* Add snapshot on exportRobin Krahl2014-11-08
| | | | | | | | | | 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
* Check for empty HTTP statusRobin Krahl2014-11-01
| | | | | | | | | | | 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 permission field to export dialogRobin Krahl2014-11-01
| | | | | | | | | | | 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 file description template into a separate fileRobin Krahl2014-11-01
| | | | | | | | | | | | | | 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
* Use improved string formattingRobin Krahl2014-11-01
| | | | | | | | | | | Use string formatting by name instead of formatting by position when creating the file description. - adds the method `formatString` to `MediaWikiUtils` - modifies `MediaWikiInterface` to use `MediaWikiUtils.formatString` See issue [#29: Move file description template into a file and improve the string formatting](https://github.com/ireas/LrMediaWiki/issues/29).
* Prepare v0.2.3.v0.2.3Robin Krahl2014-10-06
|
* Fix #23: [string "MediaWikiApi.lua"]:68: table index is nilRobin Krahl2014-10-06
|
* Fix #22: Add image sizing and sharpening option to export dialogRobin Krahl2014-09-17
|
* Version 0.2.2.v0.2.2Robin Krahl2014-09-08
|
* Fix typo, increase license box width.Robin Krahl2014-09-08
|
* Fix #15: Show {{Location}} template in wikitext preview.Robin Krahl2014-09-02
|
* Fix #14: Add ‘Other templates’ field to metadata.Robin Krahl2014-09-02
|
* Fix #13: Add LrMediaWiki version to upload comments.Robin Krahl2014-09-02
|
* Fix #12: Add {{Location}} if GPS metadata is setRobin Krahl2014-08-31
|
* Fix #11: Add ‘other templates’ fieldRobin Krahl2014-08-31
|
* Fix #10: Show file settings section in export dialogRobin Krahl2014-08-31
|
* Prepare v0.2.v0.2Robin Krahl2014-08-25
|
* Fix #9: Add 'Preview generated wikitext' button to export dialog.Robin Krahl2014-08-25
|
* Fix #5: Ask for comment for reuploads and #6: Allow new filenames for ↵Robin Krahl2014-08-25
| | | | duplicates.
* Fix #8: Remove fallback description.Robin Krahl2014-08-24
|
* Follow-up: Add translation.Robin Krahl2014-08-24
|
* Fix #7: Move file description to plugin metadata.Robin Krahl2014-08-24
|
* Add categories field to the file metadata (see #7).Robin Krahl2014-08-24
|
* Fix #3: –License dropdownRobin Krahl2014-08-21
|
* Initial commit.v0.1Robin Krahl2014-08-21