From ae1b9c39ee2611703d3f4270027522a8753a49ff Mon Sep 17 00:00:00 2001 From: ael-code Date: Sun, 10 Jul 2016 14:01:14 +0200 Subject: [PATCH 1/2] changelog for version 0.5 --- CHANGELOG.rst | 57 +++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 53 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 9b43006..6e1d9ff 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,12 +2,14 @@ Libreant changelog =================== -Next release -++++++++++++ -- Changed default capability for anonynous (non logged) user: now she can read all volumes +0.5 ++++ +- Added supoort to Elasticsearch 2.x versions. (PR #281) + +- Changed default capability for anonymous (non logged) user: now she can read all volumes in the collection. - Tip: if you have an existing and alredy initialized user database, it won't be changed, i.e. + Tip: if you have an existing and already initialized user database, it won't be changed, i.e. if you upgrade from a previous version of libreant and you have existing users, the anonymous user won't get the read capability. In the case you want to add this capability to the already existing anonymous user you can use the @@ -15,6 +17,53 @@ Next release libreant-users --users-db group cap-add anonymous "volumes/*" R +CLI: +---- +- Added new command `libreant-db import` to import volumes all at once. (PR #291) + +Web Interface: +-------------- +- While adding a new book if it is available the language will be autocompleted + using the one suggested by the client's browser. ( based on `Accept-Language` http field). + Thanks @leonaard (PR #288) + +API: +---- +- Added endpoints to retrieve collections + - `/api/v1/groups/` + - `/api/v1/users/` + - `/api/v1/capabilities/` + +Dependencies: +------------- +- Fsdb: added support till version `1.2.1` (PR #277) +- Gevent: added support for the new version `1.1.1` (PR #298) +- Flask: added support till version `0.11.1` (PR #299) + +Bugfixes: +--------- +- #255 Libreant starts also if it fails to read the conf file: + fixed by PR #260. + If some error is encountered while reading the configuration file the stack trace + will be printed if the debug mode is active otherwise a colored one-line message + with the cause of the error will be printed. + Moreover the path of the configuration file will be printed if available. + +- #283 Read configuration file error: + If the configuration is a valid JSON formatted file but it's not a + dictionary an exception is raised. + (PR #286) + +- Tests for Webant were leaving leftover files around ( commit 1c050a8 ) + +- In single-user-mode all the users related REST api enpoints are disabled (PR #278) + +- CLI: don't print 'Error' string twice (PR #279) + +- #287 missing authentication/authorization layer for REST api. + For the moment the only supported authentication method is the cookie based one ( login through the web UI ) + + 0.4 +++ From 6559454ff57309debc11ee0385d36d90d6ddc730 Mon Sep 17 00:00:00 2001 From: ael-code Date: Mon, 22 Aug 2016 10:48:43 +0200 Subject: [PATCH 2/2] bump to v0.5 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index e4138ae..8acafc7 100644 --- a/setup.py +++ b/setup.py @@ -87,7 +87,7 @@ def read(fname): conf = dict( name='libreant', - version='0.4', + version='0.5', description='{e,}book archive focused on small grass root archives, distributed search, low assumptions', long_description=read('README.rst'), author='insomnialab',