Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ version: 9.0.0
paginate: 5
paginate_path: "blog/page:num"
github:
repository_url: https://github.com/pouchdb/pouchdb
repository_url: https://github.com/apache/pouchdb
collections:
guides:
output: true
Expand Down
2 changes: 1 addition & 1 deletion docs/_guides/mango-queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The `find()` API is currently offered as a separate plugin, meaning that you mus
<script src="pouchdb.find.js"></script>
```

The `pouchdb.find.js` file is available in the `pouchdb` package in npm/Bower, on [unpkg](https://unpkg.com/pouchdb/dist/), or [as a GitHub download](https://github.com/pouchdb/pouchdb/releases/download/{{ site.version }}/pouchdb.find.js). Note it must be placed after `pouchdb.js`.
The `pouchdb.find.js` file is available in the `pouchdb` package in npm/Bower, on [unpkg](https://unpkg.com/pouchdb/dist/), or [as a GitHub download](https://github.com/apache/pouchdb/releases/download/{{ site.version }}/pouchdb.find.js). Note it must be placed after `pouchdb.js`.

### npm

Expand Down
14 changes: 7 additions & 7 deletions docs/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<header role="banner">

<a
href="https://github.com/pouchdb/pouchdb"
href="https://github.com/apache/pouchdb"
target="_blank"
rel="noopener noreferrer"
>
Expand Down Expand Up @@ -124,7 +124,7 @@ <h4>{{ page.sub_title}}</h4>

<div class="col-xs-4 col-md-2">
<a
href="https://github.com/pouchdb/pouchdb"
href="https://github.com/apache/pouchdb"
target="_blank"
rel="noopener noreferrer"
>
Expand Down Expand Up @@ -167,7 +167,7 @@ <h3 class="nav-head">Learn</h3>
<ul class="nav nav-silent">
<li><a href="{{ site.baseurl }}/getting-started.html">Getting Started</a></li>
<li><a href="{{ site.baseurl }}/api.html">API Guide</a></li>
<li><a href="https://github.com/pouchdb/pouchdb/wiki">Wiki</a></li>
<li><a href="https://github.com/apache/pouchdb/wiki">Wiki</a></li>
</ul>
</div>

Expand All @@ -183,10 +183,10 @@ <h3 class="nav-head">Discuss</h3>
<div class="col-sm-3">
<h3 class="nav-head">Contribute</h3>
<ul class="nav nav-silent">
<li><a href="https://github.com/pouchdb/pouchdb/blob/master/CONTRIBUTING.md">Contributing</a></li>
<li><a href="https://github.com/pouchdb/pouchdb">Source</a></li>
<li><a href="https://github.com/pouchdb/pouchdb/issues">Issues</a></li>
<li><a href="https://github.com/pouchdb/pouchdb/blob/master/LICENSE">Apache License</a></li>
<li><a href="https://github.com/apache/pouchdb/blob/master/CONTRIBUTING.md">Contributing</a></li>
<li><a href="https://github.com/apache/pouchdb">Source</a></li>
<li><a href="https://github.com/apache/pouchdb/issues">Issues</a></li>
<li><a href="https://github.com/apache/pouchdb/blob/master/LICENSE">Apache License</a></li>
<li><a href="https://lists.apache.org/[email protected]">Dev Mailing List</a></li>
</ul>
</div>
Expand Down
10 changes: 5 additions & 5 deletions docs/adapters.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ PouchDB also offers separate browser plugins that use backends other than Indexe

**Downloads:**

* [pouchdb.memory.js](https://github.com/pouchdb/pouchdb/releases/download/{{ site.version }}/pouchdb.memory.js) (Minified: [pouchdb.memory.min.js](https://github.com/pouchdb/pouchdb/releases/download/{{ site.version }}/pouchdb.memory.min.js))
* [pouchdb.localstorage.js](https://github.com/pouchdb/pouchdb/releases/download/{{ site.version }}/pouchdb.localstorage.js) (Minified: [pouchdb.localstorage.min.js](https://github.com/pouchdb/pouchdb/releases/download/{{ site.version }}/pouchdb.localstorage.min.js))
* [pouchdb.memory.js](https://github.com/apache/pouchdb/releases/download/{{ site.version }}/pouchdb.memory.js) (Minified: [pouchdb.memory.min.js](https://github.com/apache/pouchdb/releases/download/{{ site.version }}/pouchdb.memory.min.js))
* [pouchdb.localstorage.js](https://github.com/apache/pouchdb/releases/download/{{ site.version }}/pouchdb.localstorage.js) (Minified: [pouchdb.localstorage.min.js](https://github.com/apache/pouchdb/releases/download/{{ site.version }}/pouchdb.localstorage.min.js))

{% include alert/start.html variant="warning"%}
{% markdown %}
Expand Down Expand Up @@ -177,10 +177,10 @@ Currently PouchDB has full support for:

* CouchDB 1.x
* [Smileupps](https://www.smileupps.com/) (same as 1.x)
* CouchDB 2.x ([tested in CI](https://github.com/pouchdb/pouchdb/actions))
* CouchDB 3.x ([tested in CI](https://github.com/pouchdb/pouchdb/actions))
* CouchDB 2.x ([tested in CI](https://github.com/apache/pouchdb/actions))
* CouchDB 3.x ([tested in CI](https://github.com/apache/pouchdb/actions))
* [Cloudant](https://cloudant.com/) (roughly the same as 2.x)
* [PouchDB Server](https://github.com/pouchdb/pouchdb-server) ([tested in CI](https://github.com/pouchdb/pouchdb/actions))
* [PouchDB Server](https://github.com/pouchdb/pouchdb-server) ([tested in CI](https://github.com/apache/pouchdb/actions))
* [PouchDB Server --in-memory mode](https://github.com/pouchdb/pouchdb-server)

[Drupal 8](http://wearepropeople.com/blog/a-content-staging-solution-for-drupal-8-and-more) has also announced support for PouchDB, and there is [rcouch](https://github.com/rcouch/rcouch) as well, but these are both untested by PouchDB.
Expand Down
6 changes: 3 additions & 3 deletions docs/download.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ PouchDB is hosted at these CDNs:

{% include anchor.html class="h3" title="Past releases" hash="past-releases" %}

For past releases and changelog, check out the [Github releases page](https://github.com/pouchdb/pouchdb/releases).
For past releases and changelog, check out the [Github releases page](https://github.com/apache/pouchdb/releases).

{% include anchor.html class="h3" title="Plugins" hash="plugins" %}

Expand All @@ -71,5 +71,5 @@ For third-party plugins, see the [plugins page](/external.html).

For custom builds and first-party plugins, see the [custom builds]({{ site.baseurl }}/custom.html) page.

[latest]: https://github.com/pouchdb/pouchdb/releases/download/{{ site.version }}/pouchdb-{{ site.version }}.js
[latest-min]: https://github.com/pouchdb/pouchdb/releases/download/{{ site.version }}/pouchdb-{{ site.version }}.min.js
[latest]: https://github.com/apache/pouchdb/releases/download/{{ site.version }}/pouchdb-{{ site.version }}.js
[latest-min]: https://github.com/apache/pouchdb/releases/download/{{ site.version }}/pouchdb-{{ site.version }}.min.js
12 changes: 6 additions & 6 deletions docs/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ new PouchDB('mydb', {size: 50}); // request 50 MB with a popup
new PouchDB('mydb'); // implicitly request 5 MB, no popup until you exceed 5MB
```

This does not affect any backend other than Web SQL. Chrome, Android, and Opera do not show the popup. On PhoneGap/Cordova apps, you can also use the [SQLite plugin][sqlite] to get around this problem. Here's [more information about storage quotas](http://www.html5rocks.com/en/tutorials/offline/quota-research) and [details on the Safari/iOS bug](https://github.com/pouchdb/pouchdb/issues/2347).
This does not affect any backend other than Web SQL. Chrome, Android, and Opera do not show the popup. On PhoneGap/Cordova apps, you can also use the [SQLite plugin][sqlite] to get around this problem. Here's [more information about storage quotas](http://www.html5rocks.com/en/tutorials/offline/quota-research) and [details on the Safari/iOS bug](https://github.com/apache/pouchdb/issues/2347).

{% include anchor.html class="h3" title="PouchDB throws 404 (Object Not Found) for '_local' document" hash="404__local_document" %}

Expand Down Expand Up @@ -96,15 +96,15 @@ In the above example, `db` refers to a database object you created using `new Po

{% include anchor.html class="h3" title="Database size limitation of ~5MB on iOS with Cordova/Phone Gap" hash="size_limitation_5mb" %}

If you're storing large amounts of data, such as PNG attachments, the [SQLite plugin][sqlite] is again your friend. (See [issue #1260](https://github.com/pouchdb/pouchdb/issues/1260) for details.)
If you're storing large amounts of data, such as PNG attachments, the [SQLite plugin][sqlite] is again your friend. (See [issue #1260](https://github.com/apache/pouchdb/issues/1260) for details.)

{% include anchor.html class="h3" title="CouchDB returns a 404 for GETs from a CouchApp" hash="404_get_couchapp" %}

Certain URL rewrites are broken by PouchDB's cache-busting; try adding `{cache : false}` to the PouchDB constructor. (See [issue #1233](https://github.com/pouchdb/pouchdb/issues/1233) for details.)
Certain URL rewrites are broken by PouchDB's cache-busting; try adding `{cache : false}` to the PouchDB constructor. (See [issue #1233](https://github.com/apache/pouchdb/issues/1233) for details.)

{% include anchor.html class="h3" title="Uncaught TypeError: object is not a function" hash="typeerror_object_is_not_a_function" %}

Did you include the [es6-promise shim library](https://github.com/jakearchibald/es6-promise)? Not every browser implements ES6 Promises correctly. (See [issue #1747](https://github.com/pouchdb/pouchdb/issues/1747) for details.)
Did you include the [es6-promise shim library](https://github.com/jakearchibald/es6-promise)? Not every browser implements ES6 Promises correctly. (See [issue #1747](https://github.com/apache/pouchdb/issues/1747) for details.)

{% include anchor.html class="h3" title="SyntaxError: Parse error (Cordova on Android)" hash="cordova_android_parse_error" %}

Expand Down Expand Up @@ -152,7 +152,7 @@ JSON.parse(JSON.stringify(myDocument));

If the object you get out is the same as the object you put in, then you are storing the right kind of object.

Note that this also means that you cannot store `Date`s in your document. You must convert them to strings or numbers first. `Date`s will be stored as-is in IndexedDB, but in the other adapters and in CouchDB, they will be automatically converted to ISO string format, e.g. `'2015-01-01T12:00:00.000Z'`. This can caused unwanted results. See [#2351](https://github.com/pouchdb/pouchdb/issues/2351) and [#2158](https://github.com/pouchdb/pouchdb/issues/2158) for details.
Note that this also means that you cannot store `Date`s in your document. You must convert them to strings or numbers first. `Date`s will be stored as-is in IndexedDB, but in the other adapters and in CouchDB, they will be automatically converted to ISO string format, e.g. `'2015-01-01T12:00:00.000Z'`. This can caused unwanted results. See [#2351](https://github.com/apache/pouchdb/issues/2351) and [#2158](https://github.com/apache/pouchdb/issues/2158) for details.

{% include anchor.html class="h3" title="DOM Exception 18 in Android pre-Kitkat WebView" hash="android_pre_kitkat" %}

Expand Down Expand Up @@ -262,7 +262,7 @@ WebPack needs to be configured to recognize how to load json files. Simply, inst
```js
module: {
loaders: [
// https://github.com/pouchdb/pouchdb/issues/3319
// https://github.com/apache/pouchdb/issues/3319
{
test: /\.json$/,
loader: "json-loader"
Expand Down
2 changes: 1 addition & 1 deletion docs/external.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Plugin for CouchDB's authentication system.

Allows decentralized authentication and access control per document, using asymmetric encryption.

#### [PouchDB Collate](https://github.com/pouchdb/pouchdb/tree/master/packages/node_modules/pouchdb-collate)
#### [PouchDB Collate](https://github.com/apache/pouchdb/tree/master/packages/node_modules/pouchdb-collate)

Collation functions for PouchDB map/reduce. Used by PouchDB map/reduce to maintain consistent [CouchDB collation ordering](https://wiki.apache.org/couchdb/View_collation).

Expand Down
4 changes: 2 additions & 2 deletions docs/learn.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ PouchDB is an **in-browser database** that allows applications to save data loca

PouchDB also runs in **Node.js** and can be used as a direct interface to **CouchDB**-compatible servers. The API works the same in every environment, so you can spend less time worrying about browser differences, and more time writing clean, consistent code.

PouchDB is a free open-source project, written in JavaScript and driven by our [wonderful community](https://github.com/pouchdb/pouchdb/graphs/contributors). If you want to get involved, then check out the [contributing guide](https://github.com/pouchdb/pouchdb/blob/master/CONTRIBUTING.md).
PouchDB is a free open-source project, written in JavaScript and driven by our [wonderful community](https://github.com/apache/pouchdb/graphs/contributors). If you want to get involved, then check out the [contributing guide](https://github.com/apache/pouchdb/blob/master/CONTRIBUTING.md).

{% include anchor.html class="h3" title="Browser Support" hash="browser_support" %}

PouchDB supports all modern browsers, using [IndexedDB][] under the hood and falling back to [WebSQL][] where IndexedDB isn't supported. It is [fully tested](https://github.com/pouchdb/pouchdb/actions) and supported in:
PouchDB supports all modern browsers, using [IndexedDB][] under the hood and falling back to [WebSQL][] where IndexedDB isn't supported. It is [fully tested](https://github.com/apache/pouchdb/actions) and supported in:

* Firefox 29+ (Including Firefox OS and Firefox for Android)
* Chrome 30+
Expand Down
Loading