aboutsummaryrefslogtreecommitdiff
path: root/LICENSE.txt
diff options
context:
space:
mode:
authorRobin Krahl <me@robin-krahl.de>2015-06-27 23:05:52 +0200
committerRobin Krahl <me@robin-krahl.de>2015-06-27 23:05:52 +0200
commit24875af9d53e3f1a90fa5e6bd4aaef36bb0c3591 (patch)
tree907a6204f1dbfd5ff4e76870bf944f6bf352031b /LICENSE.txt
parent717b11ecdf663dbc9e43cbdd6b5aab3a2dbcdafe (diff)
downloadLrMediaWiki-24875af9d53e3f1a90fa5e6bd4aaef36bb0c3591.tar.gz
LrMediaWiki-24875af9d53e3f1a90fa5e6bd4aaef36bb0c3591.tar.bz2
Check for new versions after start.
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.
Diffstat (limited to 'LICENSE.txt')
-rwxr-xr-xLICENSE.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/LICENSE.txt b/LICENSE.txt
index 955762a..f8b0764 100755
--- a/LICENSE.txt
+++ b/LICENSE.txt
@@ -1,7 +1,12 @@
Copyright (c) 2014, 2015 by the LrMediaWiki team (see CREDITS.txt file in the
-project root directory or [0])
+project root directory or [0]), X11 License
-[0] <https://raw.githubusercontent.com/ireas/LrMediaWiki/master/CREDITS.txt>
+Except:
+ - JSON.lua: Copyright 2010-2014 Jeffrey Friedl [1], CC-by 3.0 [2]
+
+[0] <https://raw.githubusercontent.com/ireas/LrMediaWiki/master/CREDITS.txt>
+[1] <http://regex.info/blog/lua/json>
+[2] <http://creativecommons.org/licenses/by/3.0/deed.en_US>
The X11 License