Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/eXist-db/node-exist

Interact with eXist DB instances via XML-RPC and REST
https://github.com/eXist-db/node-exist

doc(examples): update CLI docs

Adapt description of exist-upload to include folders.
Some smaller corrections of examples and l...

e0a95e7c3d167a56be355c625cbf52c0000a664d authored almost 3 years ago by Juri Leino <[email protected]>
feat(examples): exist-up => exist-upload

The usage of exist-upload changes slightly while adding
a lot of functionality.

5cc2711475765b461318586769fcbae8a98b4feb authored almost 3 years ago by Juri Leino <[email protected]>
perf(examples): look for xconfs only when needed

Save some CPU cycles if -a is not set.

e13c05cc89f94c5e422bb102c78694a22460eb50 authored almost 3 years ago by Juri Leino <[email protected]>
chore(examples): clean up exist-up code

949a18095db193262f96fd58e88fbfab1267dba8 authored almost 3 years ago by Juri Leino <[email protected]>
feat(examples): apply conf optional in exist-up

- add option `-a` alias `--applyXconf`
- remove `connectionOptions`
- refactor `isAdmin` into lo...

201052acab242b2343b49032bfc3860ccaf6beae authored almost 3 years ago by Juri Leino <[email protected]>
feat(examples): add CLI tool exist-up

Upload directory trees into an existdb instance in parallel and throttled.
Will apply collection...

dd9b988a7911c50f268faefa5d8789809fd8ccb6 authored almost 3 years ago by Juri Leino <[email protected]>
build(deps-dev): bump tape from 5.5.0 to 5.5.2

Bumps [tape](https://github.com/substack/tape) from 5.5.0 to 5.5.2.
- [Release notes](https://gi...

395941628d8200a75f9c13e077b6c9d84a6b6c96 authored almost 3 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Create LICENSE

99166acc3b2a44b109863cd293d28ba791f60ad4 authored almost 3 years ago by Juri Leino <[email protected]>
feat(examples): enhance exist-install

- use yargs to parse command line arguments (closes #211)
- check if user connecting to DB is ad...

908b42119edf49673b2eb3039591fb24bc61248d authored almost 3 years ago by Juri Leino <[email protected]>
chore(examples): read list query from file

- XQuery is now stored in xquery/list-resources.xq
- exist-ls reads this file at startup

2cb9662be2b9afbcd9d48119433caf2d2fc9bcb5 authored almost 3 years ago by Juri Leino <[email protected]>
Create codeql-analysis.yml

48c7af42464d69468287b819a933b4ff310c9c81 authored almost 3 years ago by Juri Leino <[email protected]>
fix(examples): exist-install working again

- now also displays `updated` when a previous installation was found
- improved _and fixed_ disp...

c6dd8ad34a1b7881e1a68f5fe015fe05e7301b6d authored almost 3 years ago by Juri Leino <[email protected]>
fix(examples): render padded year in exist-ls extended

Older elements will display the year instead of the time they were last
modified.
In order for t...

5fc465430f64d1afad4f3bef61e70519ea46db4b authored almost 3 years ago by Juri Leino <[email protected]>
fix(tests): adapt list users test for exist 4

There is no packageservice user on a default installation of
existdb v4.7.1

9de377234efd0b763126f96a21ee664ec4125e24 authored almost 3 years ago by Juri Leino <[email protected]>
doc(readme): update section on users component

9a27837d591b29ea1811d597d2d0ac76a9d39b3b authored almost 3 years ago by Juri Leino <[email protected]>
feat(users): list all users for a db instance

db.users.list() will return a JSON array of
user account objects.

This includes group membershi...

536aa9ba232db0d02759e7fbb4bd83440d33a77e authored almost 3 years ago by Juri Leino <[email protected]>
fix(tests): user nobody not available on v4.7.1

d39f0aa9301cc98c62f17556409186c9e3c368a8 authored almost 3 years ago by Juri Leino <[email protected]>
chore(readme): remove trailing whitespace

3a8c9f6e891cb40ed5439d330cd57f757e434bf3 authored almost 3 years ago by Juri Leino <[email protected]>
doc(readme): update users section and compat table

4a69ba1083170f09c055087af6e4d1de852f7db9 authored almost 3 years ago by Juri Leino <[email protected]>
build: test on node v16, drop v12

node 10 support will be dropped in the near future.

9b22d858cf682e007ebe3b9bdfca5590d4d8f187 authored almost 3 years ago by Juri Leino <[email protected]>
feat(collections): existsAndCanOpen

Implements a call to collectionExistsAndCanOpen function
provided by the XML RPC API of existdb....

34172eca9b52ad1c5473ed4f8b11a2070275a41d authored almost 3 years ago by Juri Leino <[email protected]>
doc(readme): add new function to readme

090cb561d1b87e17be4ebf9aed33f3bdefa75f00 authored almost 3 years ago by Juri Leino <[email protected]>
fix(users): getUserInfo works

4da732f9ea70f64b083fac4cce3f9d2dbfcfcb2c authored almost 3 years ago by Juri Leino <[email protected]>
fix(examples): formatting for date and time in ls output

96eaa3a928ca16163fc3a903ade74dc051c628b7 authored almost 3 years ago by Juri Leino <[email protected]>
feat(examples): exist-ls roughly mimics the ls command

New flags

- `--extended`,`-l`: output mode, owner, group, mtime in addtition to
the name
- `-...

efdf0e4d5dde96997917e2313a325a821d6ed5fe authored almost 3 years ago by Juri Leino <[email protected]>
build(deps): bump mime from 2.5.2 to 3.0.0

Bumps [mime](https://github.com/broofa/mime) from 2.5.2 to 3.0.0.
- [Release notes](https://gith...

5eec4dea08dffd0ae478f44ea4ae85388aadc6dd authored almost 3 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
build(deps-dev): bump tape from 5.3.1 to 5.5.0

Bumps [tape](https://github.com/substack/tape) from 5.3.1 to 5.5.0.
- [Release notes](https://gi...

fe8bc5d79beaf59da5c4a2a5a099c298dc52ddc6 authored almost 3 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
build(deps): bump semver-regex from 3.1.2 to 3.1.3

Bumps [semver-regex](https://github.com/sindresorhus/semver-regex) from 3.1.2 to 3.1.3.
- [Relea...

9406d1d71b0e6340cf6a4f13fa8de0e3539b08ef authored almost 3 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
build(deps-dev): bump @semantic-release/github from 7.2.3 to 8.0.2

Bumps [@semantic-release/github](https://github.com/semantic-release/github) from 7.2.3 to 8.0.2...

5c26af2605dae19d08b2882d0268c0c3dc35b5ef authored almost 3 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
build(deps-dev): bump semantic-release from 18.0.0 to 19.0.2

Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 18.0.0 to 19...

cdaf66fcb0fd26e4bc61accacac860b2dee8cf3b authored almost 3 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
build(deps): bump node-fetch from 2.6.1 to 2.6.7

Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 2.6.7.
- [Release not...

1f290c5020e0dffabd6693263ee3e891be3d4492 authored almost 3 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
build(deps-dev): bump standard from 16.0.3 to 16.0.4

Bumps [standard](https://github.com/standard/standard) from 16.0.3 to 16.0.4.
- [Release notes](...

89f72290146ba90d502bf35c9aed74e7315e5430 authored almost 3 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
doc(examples): update readme

- add exist-tree to list of CLI tools
- extend examples with different ways node-exist CLI tools...

bb296392b4b5a565878e072211b4a222db6fdc22 authored almost 3 years ago by Juri Leino <[email protected]>
feat(examples): add new CLI tool exist-tree

This new command line tool allows you to list the contents of any
collection in your database as...

e64bf20c7b40aa6b64d019f6babe5f3789a40859 authored almost 3 years ago by Juri Leino <[email protected]>
fix(readme): only relative links, badge alt title

23840d36062225e8735cc37cc224948380b11bc9 authored over 3 years ago by Juri Leino <[email protected]>
fix(connection): readOptionsFromEnv with tests

b4acbeb77830281453e39b5c309578b441e78ffa authored over 3 years ago by Juri Leino <[email protected]>
chore(test): refactor npm test shell command

23a1bdf535e39403b57ad0da7f1b8c82f31c9535 authored over 3 years ago by Juri Leino <[email protected]>
build(deps-dev): bump semantic-release from 17.4.7 to 18.0.0

Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 17.4.7 to 18...

d62d9dd2d5f0e85589b3c10ddeae14f253041bc2 authored over 3 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
chore(examples): scripts require db-connection.js

db-connection turns out to be reusable in all example command line
scripts.

4f98bac1f5ce15e682ff801b8c377d9534659092 authored over 3 years ago by Juri Leino <[email protected]>
chore: update package and package-lock

99aef4ffc28744667209311194289754452ff24f authored over 3 years ago by Juri Leino <[email protected]>
feat(test): override db-connection with env vars

As for the examples before the same set of environment variables can
now be used to alter the co...

3f06141bd6037f66243349a88240d140a0062c92 authored over 3 years ago by Juri Leino <[email protected]>
doc: document new connection possibilities

84a388f146101a673230caee0d24af6daaaa3200 authored over 3 years ago by Juri Leino <[email protected]>
feat: improve db connection in tests and examples

- replace db-connection.js with connection.js
- use new function readOptionsFromEnv to allow o...

932a65e0eb698dc568b1f4e5667073b670c4bbf3 authored over 3 years ago by Juri Leino <[email protected]>
chore: rename internal functions for readability

80bc0551c47feb8a6d3e841c3518163e15df4f5a authored over 3 years ago by Juri Leino <[email protected]>
feat: enhance usage with type hints, fix JSDoc

This is far from complete but an ongoing effort.

- define type NodeExist (what node-exist#conne...

151315ea1e0b7557c116ac394a06e4d2eba07c01 authored over 3 years ago by Juri Leino <[email protected]>
feat: enhance connection component

- add function readOptionsFromEnv that sets connection options based on
variables set in the e...

cd8e7ffb0d88ce4331edff9197fad8617b081045 authored over 3 years ago by Juri Leino <[email protected]>
feat: expose examples as package binaries

0b2507a7d21e759ce131773adf3d4c7a01ed01d8 authored over 3 years ago by Juri Leino <[email protected]>
feat(examples): improve exist-ls to include type

`exist-ls /db` will now log an array of objects with type and name.
The type can be 'collection'...

c59960e87661170368501d0d97f820c4960260ff authored over 3 years ago by Juri Leino <[email protected]>
doc(readme): add npx example to CLI section

e75571fb77769ca5d9a2c19af7e623c6b1abea1b authored over 3 years ago by Juri Leino <[email protected]>
fix(examples): rename CLI examples for consistency

c26ee81464c97f4b3ac20ebf186b0cb70ac8f2ef authored over 3 years ago by Juri Leino <[email protected]>
build(deps-dev): bump tape from 5.2.2 to 5.3.1

Bumps [tape](https://github.com/substack/tape) from 5.2.2 to 5.3.1.
- [Release notes](https://gi...

63039ac44366df5a4aee07c363a07081f77def36 authored over 3 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
build(deps-dev): bump semantic-release from 17.4.4 to 17.4.7 (#177)

* chore: switch main branch to "main"

* build(deps-dev): bump semantic-release from 17.4.4 to...

c75c56f47ea4f56a500d9d0dae80be0809621172 authored over 3 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
doc(readme): correct release badge url

1f7808986b9e51bb71c13b7d5038b18ad3c30957 authored over 3 years ago by Juri Leino <[email protected]>
chore: switch main branch to "main"

2f83b2307b90e72614aaf999493679233c095c98 authored over 3 years ago by Juri Leino <[email protected]>
Merge pull request #176 from line-o/doc/cli

Small improvement, more examples and documentation

256efbe8c1efb83b557729a4cb6826d509562920 authored over 3 years ago by Juri Leino <[email protected]>
doc(examples): correct example

a934bd9d062cf4ed3eaad7b3c10158aad822b5a1 authored over 3 years ago by Juri Leino <[email protected]>
fix(test): test for app#install to return an Error

bcb8f01e53577cdd09545c84688c5cd5a65ba0d6 authored over 3 years ago by Juri Leino <[email protected]>
doc(readme): use github test workflow badge

Remove travis-ci which is unused for a while now.

0cb574d1d7a6beba11d6e61153f523a95a09180a authored over 3 years ago by Juri Leino <[email protected]>
chore: rename github workflow

9e4a3adfb420ee596817345c27f154bb56853628 authored over 3 years ago by Juri Leino <[email protected]>
fix(app): apply standard format

29118ff63b8b59bc3f7f4d0fcf97fe8a974c6526 authored over 3 years ago by Juri Leino <[email protected]>
doc(readme): small improvements

d61f9e27c5b60247aafae67eb90f07c5147572ec authored over 3 years ago by Juri Leino <[email protected]>
chore: update package-lock.json to new format

497336170dfa883b2684724a30990dcce1beb7f5 authored over 3 years ago by Juri Leino <[email protected]>
doc(readme): add section for command line scripts

bce9c81ecc14c4c65d287039fb1b7866392e27d7 authored over 3 years ago by Juri Leino <[email protected]>
doc(examples): add readme.md for CLI examples

e4e3c0b34700d05bba675ee0b48ff3e2eab34ba1 authored over 3 years ago by Juri Leino <[email protected]>
doc(examples): add CLI example install-package

1ebf2d9aa2e08c681aa7193ba637ade224f928a1 authored over 3 years ago by Juri Leino <[email protected]>
fix(app): app#install throws on installation error

If `result.success` is false then ensure that `result.error` contains
an instance of Error.

cb7d90078c988a90397d9031608c4b4fd21e2e29 authored over 3 years ago by Juri Leino <[email protected]>
doc(examples): read connection from env

Both command line scripts now allow users to override the connection
options by setting environm...

24390cfcf8cc199717ea3747e89b66e827fd598f authored over 3 years ago by Juri Leino <[email protected]>
chore: add broken test application package

`spec/files/broken-test-app.xar` can be used to test handling of
certain error cases.

5214e626d8fd0c9b1374d501e1dd98be2291268d authored over 3 years ago by Juri Leino <[email protected]>
chore: add test file with unicode in element name

fbeaef9fd49bdf86f4811f218aa767dcd1db1a94 authored over 3 years ago by Juri Leino <[email protected]>
Merge pull request #172 from eXist-db/dependabot/npm_and_yarn/path-parse-1.0.7

build(deps): bump path-parse from 1.0.6 to 1.0.7

f4670263407b4faa7185b7285cc1b1dd3f37c143 authored over 3 years ago by Juri Leino <[email protected]>
build(deps): bump path-parse from 1.0.6 to 1.0.7

Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release no...

1cbb52b5d0171a03df89b066f55737f9364b41f5 authored over 3 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Merge pull request #175 from eXist-db/dependabot/npm_and_yarn/semantic-release-17.4.7

build(deps-dev): bump semantic-release from 17.4.4 to 17.4.7

bb20cc71a5b8a2100608df8008aa88d7812610da authored over 3 years ago by Juri Leino <[email protected]>
build(deps-dev): bump semantic-release from 17.4.4 to 17.4.7

Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 17.4.4 to 17...

0d150f750816c29bba06f4264ee376c586ba0c95 authored over 3 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Merge pull request #171 from eXist-db/dependabot/npm_and_yarn/tape-5.3.1

build(deps-dev): bump tape from 5.2.2 to 5.3.1

ff492b96bf2b5ea61fa713b2722cd935fec9253e authored over 3 years ago by Juri Leino <[email protected]>
build(deps-dev): bump tape from 5.2.2 to 5.3.1

Bumps [tape](https://github.com/substack/tape) from 5.2.2 to 5.3.1.
- [Release notes](https://gi...

1de022275a945c86da4c7467c400cdd759125c4c authored over 3 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Merge pull request #169 from line-o/ci-improvements

chore(ci): improve github actions setup

a7e1069ca471f5d513c9a8bb0fd533b4a940f6cb authored over 3 years ago by Juri Leino <[email protected]>
chore(ci): improve github actions setup

- re-use setup-existdb action in both test and release definitions
- add OS to matrix but limit ...

e386c0ab4f0a099a2c308eb8d363828b72a5cefa authored over 3 years ago by Juri Leino <[email protected]>
Merge pull request #161 from line-o/feat/better-install

Improve package installation

8bea8956cd32e9028bf4765724646a3fba84049c authored over 3 years ago by Juri Leino <[email protected]>
doc(readme): update app installation section

c12b7014b5f5e8e033e3fae3cce9da3a47846be7 authored over 3 years ago by Juri Leino <[email protected]>
sec: change default package repo URL to HTTPS

18befdef11c6b45d83eced7b8a88187cd894398a authored over 3 years ago by Juri Leino <[email protected]>
feat: improve app installation

BREAKING CHANGE:
The third parameter `packageUri` is dropped from `db.app.install`.
If your code...

445b1be00d36a1371b09c4c56bacda1bf1a404d9 authored over 3 years ago by Juri Leino <[email protected]>
Merge pull request #156 from eXist-db/dependabot/npm_and_yarn/hosted-git-info-2.8.9

build(deps): bump hosted-git-info from 2.7.1 to 2.8.9

a03799873cfb38ab6761ae91466e51440f21519f authored over 3 years ago by Juri Leino <[email protected]>
build(deps): bump hosted-git-info from 2.7.1 to 2.8.9

Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.7.1 to 2.8.9.
- [Release ...

2fe5058e4511d32b869fa0c3f60a7706424ade4f authored over 3 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Merge pull request #155 from eXist-db/dependabot/npm_and_yarn/lodash-4.17.21

build(deps): bump lodash from 4.17.19 to 4.17.21

a4041204d35a67cbf6344e91a5ee6bd580cd732d authored over 3 years ago by Juri Leino <[email protected]>
build(deps): bump lodash from 4.17.19 to 4.17.21

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](http...

ee12d86b77d5892b14a631292e58adef8e24eba3 authored over 3 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Merge pull request #168 from eXist-db/dependabot/npm_and_yarn/tape-5.2.2

build(deps-dev): bump tape from 5.2.0 to 5.2.2

af659d480636e6d214f5651a6db7359b7cf734b8 authored over 3 years ago by Juri Leino <[email protected]>
build(deps-dev): bump tape from 5.2.0 to 5.2.2

Bumps [tape](https://github.com/substack/tape) from 5.2.0 to 5.2.2.
- [Release notes](https://gi...

0f837fcbad64c60db0c888cf115c0236bcb2c81a authored over 3 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Merge pull request #159 from eXist-db/dependabot/npm_and_yarn/glob-parent-5.1.2

build(deps): bump glob-parent from 5.1.0 to 5.1.2

4cb04ba97014d394a33799b5b15c60d64dd4e692 authored over 3 years ago by Juri Leino <[email protected]>
build(deps): bump glob-parent from 5.1.0 to 5.1.2

Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.0 to 5.1.2.
- [Release notes...

bbd970f734696eabe03436e60f5a5058f0c85a11 authored over 3 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Merge pull request #163 from line-o/doc/better-example

doc: improve exist-ls example script

31f72a171d8e13f129aff301aaa045f0e9152e0e authored over 3 years ago by Juri Leino <[email protected]>
doc: improve exist-ls example script

Cleaner separation of concerns:
The XQuery that is sent to the server uses a variable $collectio...

633c40e10eb24c515c30cefec745bbeb9219e511 authored over 3 years ago by Juri Leino <[email protected]>
fix(ci): wait for existdb to start

ea9951d7584de4e6d6452bba0feb3a656bca911d authored over 3 years ago by Juri Leino <[email protected]>
fix(ci): correct docker image name

463be5712ebe25d041c59b7fb91cb69264e6a2a4 authored over 3 years ago by Juri Leino <[email protected]>
chore(ci): remove old workflow definitions

0f4e074acfcfb3abb525eaaf89605d5951ed1e51 authored over 3 years ago by Juri Leino <[email protected]>
fix(ci): move workflows to correct directory

98264b093f081b33f127367eb5bce7f991370080 authored over 3 years ago by Juri Leino <[email protected]>
Merge pull request #164 from line-o/feat/switch-to-github-actions

Switch to GitHub actions

a48db8a49da92a8ce5849dd8827e4037d7a3ade9 authored over 3 years ago by Juri Leino <[email protected]>
chore(deps): update semantic-release to 17.4.4

8e6b5a5669356bdb0fa5201ff2a7a28e5b27d959 authored over 3 years ago by Juri Leino <[email protected]>
feat(ci): use @semantic-releasee/github plugin

- Extend default configuration in .releaserc
- add .releaserc to version control

dc7c614dd446baf46ad09a1a6b8673b7e81f872d authored over 3 years ago by Juri Leino <[email protected]>
chore: remove travis job configuration

708c5505229e931aefdfee5fb5ecce3ffdfad104 authored over 3 years ago by Juri Leino <[email protected]>
feat(build): switch to github actions

Test and release using github actions.

50f0c1b0c91bfbe819d13c258eed39c31cb7aa24 authored over 3 years ago by Juri Leino <[email protected]>