summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Robert Kowalski [Fri, 24 Jul 2015 14:10:41 +0000 (16:10 +0200)]
use config:setineger/3
Robert Kowalski [Fri, 24 Jul 2015 13:38:46 +0000 (15:38 +0200)]
require nodecount on setup
when setting up a node, require the nodecount from the user. when
setting up a cluster, they will probably know it, if not the ui
other interfaces can count it easily for them. this will remove
the warning for a non matching nodecount for the user, and it
is easy to implement in uis and cli clients (e.g. a wizard for
fauxton or cli client like nmo).
once clusterwide setup lands this gets obviously superfluous.
COUCHDB-2598
This closes COUCHDB-2594
Robert Newson [Tue, 21 Jul 2015 13:23:30 +0000 (14:23 +0100)]
add catch-all clause for url_handler
Robert Newson [Tue, 21 Jul 2015 13:15:23 +0000 (14:15 +0100)]
Use dynamic handlers
Robert Kowalski [Tue, 23 Jun 2015 09:42:12 +0000 (11:42 +0200)]
use couch_log instead of io:format
PR: #2
PR-URL: https://github.com/apache/couchdb-setup/pull/2
Reviewed-By: Jan Lehnardt <jan@apache.org>
Reviewed-By: Alexander Shorin <kxepal@apache.org>
Robert Kowalski [Tue, 26 May 2015 00:41:54 +0000 (02:41 +0200)]
whitespace fix
PR: #2
PR-URL: https://github.com/apache/couchdb-setup/pull/2
Reviewed-By: Jan Lehnardt <jan@apache.org>
Reviewed-By: Alexander Shorin <kxepal@apache.org>
Robert Kowalski [Tue, 26 May 2015 00:33:50 +0000 (02:33 +0200)]
cluster_enable: add remote_node feature
this feature makes it easier to setup a cluster for browser
applications like fauxton as browsers follow the same-origin
policy. Before this PR you had to open the wizard in Fauxton on
all three nodes and enter your data there, which was quite
confusing and hard to explain. Now you can stay in the same tab
at the same address.
This PR enables three new params in the body:
`remote_node`:
ip of the remote node where we want to send the `enable_cluster`
request
`remote_current_user`:
the current admin username of the remote node
`remote_current_password`:
the current admin password of the remote node
To test, I run:
```
rm -rf dev/lib/ && ./dev/run --no-join --admin=a:b
```
and then run the test script:
```
./src/setup/test/t-frontend-setup.sh
```
COUCHDB-2598
PR: #2
PR-URL: https://github.com/apache/couchdb-setup/pull/2
Reviewed-By: Jan Lehnardt <jan@apache.org>
Reviewed-By: Alexander Shorin <kxepal@apache.org>
Alexander Shorin [Sat, 18 Apr 2015 19:41:39 +0000 (22:41 +0300)]
Create _global_changes database on cluster setup
Robert Kowalski [Sun, 5 Apr 2015 00:34:18 +0000 (02:34 +0200)]
fix tests
Alexander Shorin [Sat, 4 Apr 2015 19:52:15 +0000 (22:52 +0300)]
Use _nodes db
Alexander Shorin [Thu, 26 Feb 2015 19:29:43 +0000 (22:29 +0300)]
Rename cassim db to _metadata
This closes #1
COUCHDB-2619
COUCHDB-2620
Alexander Shorin [Mon, 22 Dec 2014 15:12:46 +0000 (18:12 +0300)]
Fix LICENSE indention
Robert Newson [Tue, 25 Nov 2014 11:55:35 +0000 (11:55 +0000)]
Remove error-handling clause
The error tuple returned is not tested by the caller so it serves only
to crash the binary comprehension in an obscure way.
Robert Newson [Tue, 25 Nov 2014 11:54:28 +0000 (11:54 +0000)]
R14 compatibility
Jan Lehnardt [Sat, 15 Nov 2014 19:25:44 +0000 (20:25 +0100)]
show cluster finished state
Jan Lehnardt [Fri, 14 Nov 2014 11:19:25 +0000 (12:19 +0100)]
handle GET cluster state
Jan Lehnardt [Thu, 13 Nov 2014 17:19:10 +0000 (18:19 +0100)]
hash admin passwords, more resilient port parsing
Jan Lehnardt [Fri, 7 Nov 2014 16:58:41 +0000 (17:58 +0100)]
add testing instructions to readme
Jan Lehnardt [Fri, 7 Nov 2014 14:44:58 +0000 (15:44 +0100)]
add license header
Jan Lehnardt [Fri, 7 Nov 2014 14:43:04 +0000 (15:43 +0100)]
s/_cassim/cassim/ for the time being
Jan Lehnardt [Fri, 7 Nov 2014 14:35:06 +0000 (15:35 +0100)]
add some more testing
Jan Lehnardt [Fri, 7 Nov 2014 14:34:54 +0000 (15:34 +0100)]
add finish cluster routine
Jan Lehnardt [Fri, 7 Nov 2014 14:01:52 +0000 (15:01 +0100)]
add simple test script
Jan Lehnardt [Fri, 7 Nov 2014 14:01:29 +0000 (15:01 +0100)]
wip: full receive feature, setup now works yay
Jan Lehnardt [Thu, 6 Nov 2014 16:33:43 +0000 (17:33 +0100)]
wip: implement setup handling
Jan Lehnardt [Fri, 31 Oct 2014 16:54:29 +0000 (17:54 +0100)]
mroe formatting
Jan Lehnardt [Fri, 31 Oct 2014 16:54:06 +0000 (17:54 +0100)]
formatting & clarification
Jan Lehnardt [Fri, 31 Oct 2014 16:52:53 +0000 (17:52 +0100)]
formatting
Jan Lehnardt [Fri, 31 Oct 2014 16:48:12 +0000 (17:48 +0100)]
remove leftover
Jan Lehnardt [Fri, 31 Oct 2014 16:48:02 +0000 (17:48 +0100)]
add license
Jan Lehnardt [Fri, 31 Oct 2014 16:47:48 +0000 (17:47 +0100)]
add action hints
Jan Lehnardt [Fri, 31 Oct 2014 16:38:44 +0000 (17:38 +0100)]
hack for storing erlang cookie value on new nodes
Jan Lehnardt [Fri, 31 Oct 2014 16:36:21 +0000 (17:36 +0100)]
add delete_node API
Jan Lehnardt [Fri, 31 Oct 2014 16:22:06 +0000 (17:22 +0100)]
add note about skipping a step if the node is already setup
Jan Lehnardt [Fri, 31 Oct 2014 16:14:43 +0000 (17:14 +0100)]
add the plan to readme
Jan Lehnardt [Fri, 31 Oct 2014 16:06:43 +0000 (17:06 +0100)]
add Apache License stanza everywhere
Jan Lehnardt [Fri, 31 Oct 2014 16:06:08 +0000 (17:06 +0100)]
add basic action handling
Jan Lehnardt [Fri, 31 Oct 2014 14:54:25 +0000 (15:54 +0100)]
add http stub
Jan Lehnardt [Fri, 31 Oct 2014 14:41:59 +0000 (15:41 +0100)]
add ignore
Jan Lehnardt [Fri, 31 Oct 2014 14:41:27 +0000 (15:41 +0100)]
add bootstrap
Jan Lehnardt [Fri, 31 Oct 2014 14:37:29 +0000 (15:37 +0100)]
make it so