Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
couchdb-conflict-manager
Advanced tools
Readme
CouchDB Conflict Manager offers a workflow for resolving database conflicts that promotes traceability. Users can monitor the Active Conflicts list, and when a conflict is resolved, conflict revs are deleted from the source database but those conflict revs are also stashed in a separate database as an Archived Conflict and the action is logged in a separate log database. CouchDB Conflict Manager also offers a "Search Active Conflicts" feature that allows full text matching on revs in conflict. Heavy on memory but helpful for finding something that may seem to have gotten lost in a conflict rev.
To integrate into your web project, install via npm and then import from where it makes sense in your app. In an Angular App for example, adding the import statement to polyfills.ts
could be a spot.
npm install --save git://github.com/rjsteinert/juicy-ace-editor.git#ES6-modules @polymer/paper-input @polymer/paper-button couchdb-conflict-manager
import '@polymer/paper-input/paper-textarea.js'
import '@polymer/paper-input/paper-input.js'
import '@polymer/paper-button'
import 'juicy-ace-editor/juicy-ace-editor-module.js'
import 'couchdb-conflict-manager/src/couchdb-conflict-manager.js'
Declare the element in your app and feed it a URL of a database to manage conflicts on along with a username which is not necessarily the couchdb username to tie actions to in the logs.
<style>
/* Theme */
* {
--mdc-theme-secondary: #333;
}
</style>
<couchdb-conflict-manager dbUrl="https://user:pass@example.com:5984/some-database" username="rjcorwin"></couchdb-conflict-manager>
When the element has been configured to a database, the element will first prompt to install the dependencies on your server. This entails a few new databases and some views.
docker run -p 5984:5984 --env "COUCHDB_USER=admin" --env "COUCHDB_PASSWORD=some-secure-password" couchdb
config.json
with URL containing credentials to the db and username { "dbUrl": "http://user:pass@localhost:5984/test", "username": "yourName" }
.npm install
.npm start
and open http://localhost:8080/. You will find the <couchdb-conflict-manager>
element has been templated out for you with your dbUrl configuration from config.json
.We're still finalizing the test harness on this project.
FAQs
[Demo Video](https://youtu.be/DvJ1gMdjOD4)
The npm package couchdb-conflict-manager receives a total of 0 weekly downloads. As such, couchdb-conflict-manager popularity was classified as not popular.
We found that couchdb-conflict-manager demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.