From bc8e8bea61b01e0b93593e24a816574f5a19ac61 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Tue, 27 Oct 2015 13:30:07 -0300 Subject: [feat] adds --migrate-all to create-user-db script This parameter applies the ensure_database to all existing databases, making all of them use the latest design documents. This can be used to migrate security documents, update handlers or any other kind of design document. --- server/changes/feat_configurable_ensure | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 server/changes/feat_configurable_ensure (limited to 'server/changes') diff --git a/server/changes/feat_configurable_ensure b/server/changes/feat_configurable_ensure new file mode 100644 index 00000000..34a20c86 --- /dev/null +++ b/server/changes/feat_configurable_ensure @@ -0,0 +1,5 @@ +o 'create-user-db' script now can be configured from soledad-server.conf + when generating the user's security document. +o Migrating a user's database to newest design documents is now possible by + using a parameter '--migrate-all' on 'create-user-db' script. + -- cgit v1.2.3 From 3b869fb7ffedc88c738e0a17347b9506d242cabe Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Tue, 27 Oct 2015 13:58:56 -0300 Subject: [feat] remove SSL tsafe monkeypatch This was added for a Twisted 12 bug that should be gone by now. --- server/changes/feat_configurable_ensure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/changes') diff --git a/server/changes/feat_configurable_ensure b/server/changes/feat_configurable_ensure index 34a20c86..8abd2ac9 100644 --- a/server/changes/feat_configurable_ensure +++ b/server/changes/feat_configurable_ensure @@ -2,4 +2,4 @@ o 'create-user-db' script now can be configured from soledad-server.conf when generating the user's security document. o Migrating a user's database to newest design documents is now possible by using a parameter '--migrate-all' on 'create-user-db' script. - +o Remove tsafe monkeypatch from SSL lib, as it was needed for Twisted <12 -- cgit v1.2.3 From 577abee147c98592753bcdc68e1693d1f4ab5a08 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Fri, 13 Nov 2015 23:02:28 -0300 Subject: [feat] prepare server to handle batches Created two methods on the backend to start and finish a batch. A dict of callbacks is available to defer actions for the last document, allowing temporary (changing often) metadata to be recorded only once. Using those methods we will also be able to put all docs in one go on the CouchDatabase implementation, but that is another step. --- server/changes/feat_handle_send_batch_better | 1 + 1 file changed, 1 insertion(+) create mode 100644 server/changes/feat_handle_send_batch_better (limited to 'server/changes') diff --git a/server/changes/feat_handle_send_batch_better b/server/changes/feat_handle_send_batch_better new file mode 100644 index 00000000..6ee8688a --- /dev/null +++ b/server/changes/feat_handle_send_batch_better @@ -0,0 +1 @@ +o Added two methods to start and finish a batch on backend. They can be used to change database behaviour, allowing batch operations to be optimized. -- cgit v1.2.3 From d5974f61df6ca640dde69903976d4721b6d88007 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Mon, 18 Apr 2016 11:29:46 -0400 Subject: [pkg] Update changelog --- server/changes/change_soledad_configdir | 2 -- server/changes/create_db_cmd | 4 ---- server/changes/feat_configurable_ensure | 5 ----- server/changes/feat_handle_send_batch_better | 1 - server/changes/next-changelog.rst | 28 ++++++++++++++++++++++++++++ 5 files changed, 28 insertions(+), 12 deletions(-) delete mode 100644 server/changes/change_soledad_configdir delete mode 100644 server/changes/create_db_cmd delete mode 100644 server/changes/feat_configurable_ensure delete mode 100644 server/changes/feat_handle_send_batch_better create mode 100644 server/changes/next-changelog.rst (limited to 'server/changes') diff --git a/server/changes/change_soledad_configdir b/server/changes/change_soledad_configdir deleted file mode 100644 index 710b9ac8..00000000 --- a/server/changes/change_soledad_configdir +++ /dev/null @@ -1,2 +0,0 @@ -o Moves config directory from /etc/leap to /etc/soledad - resolves #7509 diff --git a/server/changes/create_db_cmd b/server/changes/create_db_cmd deleted file mode 100644 index 964a7906..00000000 --- a/server/changes/create_db_cmd +++ /dev/null @@ -1,4 +0,0 @@ - o Adds a new config parameter 'create_cmd', which allows sysadmin to specify - which command will create a database. That command was added in - pkg/create-user-db and debian package automates steps needed for sudo access. - o Read netrc path from configuration file for create-user-db command. diff --git a/server/changes/feat_configurable_ensure b/server/changes/feat_configurable_ensure deleted file mode 100644 index 8abd2ac9..00000000 --- a/server/changes/feat_configurable_ensure +++ /dev/null @@ -1,5 +0,0 @@ -o 'create-user-db' script now can be configured from soledad-server.conf - when generating the user's security document. -o Migrating a user's database to newest design documents is now possible by - using a parameter '--migrate-all' on 'create-user-db' script. -o Remove tsafe monkeypatch from SSL lib, as it was needed for Twisted <12 diff --git a/server/changes/feat_handle_send_batch_better b/server/changes/feat_handle_send_batch_better deleted file mode 100644 index 6ee8688a..00000000 --- a/server/changes/feat_handle_send_batch_better +++ /dev/null @@ -1 +0,0 @@ -o Added two methods to start and finish a batch on backend. They can be used to change database behaviour, allowing batch operations to be optimized. diff --git a/server/changes/next-changelog.rst b/server/changes/next-changelog.rst new file mode 100644 index 00000000..bdc9f893 --- /dev/null +++ b/server/changes/next-changelog.rst @@ -0,0 +1,28 @@ +0.8.1 - ... +++++++++++++++++++++ + +Please add lines to this file, they will be moved to the CHANGELOG.rst during +the next release. + +There are two template lines for each category, use them as reference. + +I've added a new category `Misc` so we can track doc/style/packaging stuff. + +Features +~~~~~~~~ +- `#1234 `_: Description of the new feature corresponding with issue #1234. +- New feature without related issue number. + +Bugfixes +~~~~~~~~ +- `#1235 `_: Description for the fixed stuff corresponding with issue #1235. +- Bugfix without related issue number. + +Misc +~~~~ +- `#1236 `_: Description of the new feature corresponding with issue #1236. +- Some change without issue number. + +Known Issues +~~~~~~~~~~~~ +- `#1236 `_: Description of the known issue corresponding with issue #1236. -- cgit v1.2.3