Details

    • Skill Level:
      Regular Contributors Level (Easy to Medium)

      Description

      1. replicator admin.jpg
        243 kB
        Benoit Chesneau

        Issue Links

          Activity

          Hide
          Filipe Manana added a comment -

          Just corrected some misspelled words in couch_rep_db_listener.erl.

          Show
          Filipe Manana added a comment - Just corrected some misspelled words in couch_rep_db_listener.erl.
          Hide
          Filipe Manana added a comment -

          Most up to date patch (for trunk) at:

          http://github.com/fdmanana/couchdb/compare/_replicator_db

          Show
          Filipe Manana added a comment - Most up to date patch (for trunk) at: http://github.com/fdmanana/couchdb/compare/_replicator_db
          Hide
          Chris Anderson added a comment - - edited

          This (the github branch) applies cleaning and all tests pass for me. And it looks stable.

          I think it will be worth waiting to apply this until after 1.0 is branched, not because I have any worries about the stability, but because I have a feeling people will be have useful feedback about some of the validation rules, and maybe other details about the API. I think it'd be healthy for the feature to sit in trunk and get some feedback before going into a release.

          Show
          Chris Anderson added a comment - - edited This (the github branch) applies cleaning and all tests pass for me. And it looks stable. I think it will be worth waiting to apply this until after 1.0 is branched, not because I have any worries about the stability, but because I have a feeling people will be have useful feedback about some of the validation rules, and maybe other details about the API. I think it'd be healthy for the feature to sit in trunk and get some feedback before going into a release.
          Hide
          Filipe Manana added a comment -

          Yes yes, I completely agree on that.
          I just wanted to keep the ticket up to date, since the previously attached patch no longer applied cleanly to latest trunk and had 1 or 2 small issues.

          I'll gladly apply it to trunk after 1.0 is out, for example.

          Show
          Filipe Manana added a comment - Yes yes, I completely agree on that. I just wanted to keep the ticket up to date, since the previously attached patch no longer applied cleanly to latest trunk and had 1 or 2 small issues. I'll gladly apply it to trunk after 1.0 is out, for example.
          Hide
          Benoit Chesneau added a comment -

          I updated fdmanana patch by ading new replicator ui in futon. Other changes are :

          _ new replicator ui in futon : allows creation of new replication tasks, list of completed, triggered or error tasks and deletion of a task

          • secure _replicator ui : only _admin and _replicator roles can read the db. So none can't see credentials used for replication (which are save in the doc). None admin or _replicator roles can still start replicate by posting to _replicate (which have been changed). Check attached screenshot
          • new _replicate function

          Code is available here :

          http://github.com/benoitc/couchdb/tree/_replicator_db

          Show
          Benoit Chesneau added a comment - I updated fdmanana patch by ading new replicator ui in futon. Other changes are : _ new replicator ui in futon : allows creation of new replication tasks, list of completed, triggered or error tasks and deletion of a task secure _replicator ui : only _admin and _replicator roles can read the db. So none can't see credentials used for replication (which are save in the doc). None admin or _replicator roles can still start replicate by posting to _replicate (which have been changed). Check attached screenshot new _replicate function Code is available here : http://github.com/benoitc/couchdb/tree/_replicator_db
          Hide
          Filipe Manana added a comment -

          Thanks for looking into it Benoît.

          The Futon UI, besides being very useful, looks very good

          About making the _replicator DB readable only by server admins, I'm not so sure if it should be like that by default. I think it's application specific.

          Anyone who wants that behaviour should probably enforce it by editing the _security object of the _replicator DB.

          Show
          Filipe Manana added a comment - Thanks for looking into it Benoît. The Futon UI, besides being very useful, looks very good About making the _replicator DB readable only by server admins, I'm not so sure if it should be like that by default. I think it's application specific. Anyone who wants that behaviour should probably enforce it by editing the _security object of the _replicator DB.
          Hide
          Filipe Manana added a comment -

          We still need the Futon UI patch Benoit made in order to close this ticket.

          Benoit, is it up to date?
          Can you commit it?

          Show
          Filipe Manana added a comment - We still need the Futon UI patch Benoit made in order to close this ticket. Benoit, is it up to date? Can you commit it?
          Hide
          Jan Lehnardt added a comment -

          Bump to 1.3.x

          Show
          Jan Lehnardt added a comment - Bump to 1.3.x
          Hide
          Alexander Shorin added a comment -

          Partially fixed in 77962e9. The remain part belongs to Futon improvements, but Fauxton now rules and not sure that it still actual.

          Show
          Alexander Shorin added a comment - Partially fixed in 77962e9 . The remain part belongs to Futon improvements, but Fauxton now rules and not sure that it still actual.
          Hide
          Alexander Shorin added a comment -

          Have to close this since the patches in gh forks couldn't be applied to the way to let the feature works: I had no luck to let replication tasks show anything as it was on screenshot.

          Fauxton has already this feature implemented.

          Show
          Alexander Shorin added a comment - Have to close this since the patches in gh forks couldn't be applied to the way to let the feature works: I had no luck to let replication tasks show anything as it was on screenshot. Fauxton has already this feature implemented.

            People

            • Assignee:
              Benoit Chesneau
              Reporter:
              Filipe Manana
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development