couchdb-fauxton.git
2 weeks agoUpgrade rc-slider to v10 and update core-js (#1356) main
Jordan Fry [Thu, 28 Apr 2022 13:19:18 +0000 (14:19 +0100)] 
Upgrade rc-slider to v10 and update core-js (#1356)

3 weeks agoUpdate/upgrade of npm dependencies (#1354)
Jordan Fry [Tue, 26 Apr 2022 15:09:10 +0000 (16:09 +0100)] 
Update/upgrade of npm dependencies (#1354)

Bring dependencies to the latest

3 weeks agoRun GH Action checks on PRs (#1355)
Jordan Fry [Tue, 26 Apr 2022 14:39:27 +0000 (15:39 +0100)] 
Run GH Action checks on PRs (#1355)

3 weeks agoresolve high severity vulns. (#1353)
Jordan Fry [Fri, 22 Apr 2022 15:16:46 +0000 (16:16 +0100)] 
resolve high severity vulns. (#1353)

3 weeks agofix build status badge (readme) (#1352)
Jordan Fry [Fri, 22 Apr 2022 15:15:54 +0000 (16:15 +0100)] 
fix build status badge (readme) (#1352)

3 weeks agoBump minimist from 1.2.5 to 1.2.6 (#1348)
dependabot[bot] [Fri, 22 Apr 2022 02:18:17 +0000 (22:18 -0400)] 
Bump minimist from 1.2.5 to 1.2.6 (#1348)

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 weeks agoBump node-forge from 1.2.1 to 1.3.1 (#1351)
dependabot[bot] [Fri, 22 Apr 2022 02:17:34 +0000 (22:17 -0400)] 
Bump node-forge from 1.2.1 to 1.3.1 (#1351)

Bumps [node-forge](https://github.com/digitalbazaar/forge) from 1.2.1 to 1.3.1.
- [Release notes](https://github.com/digitalbazaar/forge/releases)
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md)
- [Commits](https://github.com/digitalbazaar/forge/compare/v1.2.1...v1.3.1)

---
updated-dependencies:
- dependency-name: node-forge
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 weeks agoBump async from 0.2.10 to 2.6.4 (#1350)
dependabot[bot] [Fri, 22 Apr 2022 02:16:41 +0000 (22:16 -0400)] 
Bump async from 0.2.10 to 2.6.4 (#1350)

Bumps [async](https://github.com/caolan/async) from 0.2.10 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/0.2.10...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 weeks agoUpgrade nightwatch and switch from Travis to GH Actions (#1349)
Jordan Fry [Fri, 22 Apr 2022 01:43:50 +0000 (02:43 +0100)] 
Upgrade nightwatch and switch from Travis to GH Actions (#1349)

6 weeks agoUpdate mkdirp dependency to fix vulnerability (#1346)
Jordan Fry [Fri, 1 Apr 2022 03:58:33 +0000 (04:58 +0100)] 
Update mkdirp dependency to fix vulnerability (#1346)

2 months agoUpgrade webpack to v5 and associated loaders (#1344)
Jordan Fry [Mon, 14 Mar 2022 17:22:48 +0000 (17:22 +0000)] 
Upgrade webpack to v5 and associated loaders (#1344)

2 months agoRemove unused dependencies (#1343)
Antonio Maranhao [Fri, 11 Mar 2022 15:40:15 +0000 (10:40 -0500)] 
Remove unused dependencies (#1343)

Removes d3, acorn, ajv and clean-css from
package.json since they're not direcly used by Fauxton

2 months agoUpgrade Jest to v27 (#1342)
Antonio Maranhao [Tue, 8 Mar 2022 14:33:14 +0000 (09:33 -0500)] 
Upgrade Jest to v27 (#1342)

2 months agoRemove dependency to 'couchapp' (#1341)
Antonio Maranhao [Mon, 7 Mar 2022 14:30:26 +0000 (09:30 -0500)] 
Remove dependency to 'couchapp' (#1341)

Why
Vulnerabilities reported against the package.

What
Instead of removing the Grunt task that uses it altogether,
it loads the package at runtime.
This way users can choose to install the dependency if they
still require the ability to install Fauxton as a couchapp.

2 months agoReplace eslint-loader with eslint-webpack-plugin (#1340)
Antonio Maranhao [Tue, 1 Mar 2022 13:57:42 +0000 (08:57 -0500)] 
Replace eslint-loader with eslint-webpack-plugin (#1340)

2 months agoUpdate deps to fix vulnerabilities (#1339)
Antonio Maranhao [Mon, 28 Feb 2022 20:20:27 +0000 (15:20 -0500)] 
Update deps to fix vulnerabilities (#1339)

- Updates from 'npm audit fix'
- Remove dependency to grunt-couchapp
- Replace discontinued 'babel-eslint' package
- Update ESLint to 8.9.0

2 months agoupdated dependencies (#1338)
Jordan Fry [Wed, 16 Feb 2022 03:07:36 +0000 (03:07 +0000)] 
updated dependencies (#1338)

3 months agoAdd pre-fetch function to ajax module (#1335)
Antonio Maranhao [Tue, 15 Feb 2022 13:58:09 +0000 (08:58 -0500)] 
Add pre-fetch function to ajax module (#1335)

The pre-fetch function is executed before every network request
made by the ajax module. It can be used to run actions before
fetch() is invoked by Fauxton, even allowing one to  modify
the original fetch() parameters.

3 months agochore: remove google plus references (#1336)
Johannes Jörg Schmidt [Mon, 14 Feb 2022 21:59:00 +0000 (22:59 +0100)] 
chore: remove google plus references (#1336)

Google Plus was discontinued on April 2, 2019. Thanks to @m90 for
finding this!

3 months agoMerge branch 'main' of github.com:apache/couchdb-fauxton into main
Antonio Maranhao [Tue, 8 Feb 2022 19:41:09 +0000 (14:41 -0500)] 
Merge branch 'main' of github.com:apache/couchdb-fauxton into main

3 months agoRevert "Replace brace with ace-build and react-ace (#1331)" (#1334)
Antonio Maranhao [Mon, 31 Jan 2022 14:59:57 +0000 (09:59 -0500)] 
Revert "Replace brace with ace-build and react-ace (#1331)" (#1334)

This reverts commit 9fc82fb378afa8137a2e219971eaee8357a96d37.

3 months agoRevert "Replace brace with ace-build and react-ace (#1331)" 1334/head
Antonio Maranhao [Fri, 28 Jan 2022 20:40:19 +0000 (15:40 -0500)] 
Revert "Replace brace with ace-build and react-ace (#1331)"

This reverts commit 9fc82fb378afa8137a2e219971eaee8357a96d37.

3 months agoFix: permanent notification (#1333)
Antonio Maranhao [Fri, 28 Jan 2022 19:55:33 +0000 (14:55 -0500)] 
Fix: permanent notification (#1333)

Why
When the permanent notification is displayed, a vertical scroll bar
is always displayed because the height of the window is more than
100%

What
Adjust app-container height when the permanent notification is visible

3 months agoReplace brace with ace-build and react-ace (#1331)
Rhys Short [Thu, 20 Jan 2022 14:26:59 +0000 (14:26 +0000)] 
Replace brace with ace-build and react-ace (#1331)

To enable removal of the CSP directive `style-src: unsafe-inline`, the
ACE editor version needs to be upgraded to at least 1.4.13 which
includes the global option `useStrictCSP`.
In order to do this, brace had to be replaced since it hasn't had an update in 4 years.
react-ace is chosen as a replacement as it uses ace-builds and wraps
ACE in a react component.
The option `useStrictCSP` is enabled, with the required style sheets imported,
where possible properties that can be handled by react-ace are passed
directly to `AceEditor` as part of the `render()` call, otherwise customizations
are left to be handled by the CodeEditor component.

3 months agoUpdate dependencies (#1330)
Antonio Maranhao [Tue, 18 Jan 2022 15:04:45 +0000 (10:04 -0500)] 
Update dependencies (#1330)

Output from 'npm update':

+ @babel/plugin-transform-async-to-generator@7.16.8
+ @webcomponents/url@0.7.8
+ @babel/plugin-transform-object-assign@7.16.7
+ @babel/plugin-proposal-object-rest-spread@7.16.7
+ @babel/preset-react@7.16.7
+ @babel/plugin-proposal-class-properties@7.16.7
+ @babel/register@7.16.9
+ @babel/cli@7.16.8
+ @babel/core@7.16.7
+ @babel/preset-env@7.16.8
+ mock-local-storage@1.1.19
+ eslint-plugin-react@7.28.0
+ express@4.17.2
+ babel-loader@8.2.3
+ clean-css@4.2.4
+ nightwatch@1.7.13
+ prop-types@15.8.1
+ rc-slider@9.7.5
+ react-redux@7.2.6
+ redux@4.1.2
+ webpack-dev-server@3.11.3
+ redux-thunk@2.4.1
+ yargs@17.3.1
+ node-fetch@2.6.7
added 236 packages from 54 contributors, removed 15 packages, updated 348 packages,
moved 7 packages and audited 2124 packages in 41.813s

5 months agoUpdate json-schema to 0.4.0 (#1327)
Antonio Maranhao [Wed, 8 Dec 2021 23:30:23 +0000 (18:30 -0500)] 
Update json-schema to 0.4.0 (#1327)

5 months agoIn Replication panel warn that not all replications may be displayed. (#1311)
Brian Wilkins [Thu, 2 Dec 2021 13:58:51 +0000 (13:58 +0000)] 
In Replication panel warn that not all replications may be displayed. (#1311)

In the "Replication DB Activity" tab of the Replication panel
add the message \"Up to about 100 replications are displayed.\"

6 months agoVersion 1.2.8 v1.2.8
Nick Vatamaniuc [Wed, 3 Nov 2021 00:28:13 +0000 (20:28 -0400)] 
Version 1.2.8

6 months agoUpdate some dependencies to their latest version (#1326)
Antonio Maranhao [Tue, 2 Nov 2021 13:25:10 +0000 (09:25 -0400)] 
Update some dependencies to their latest version (#1326)

NPM packages updated:

nano v8 -> v9
base-64 0.1 -> v1
uuid v3 -> v8
clipboard v1 -> v2
whatwg-fetch v2 -> v3
yargs v16 -> v17
fs-extra v2 -> v10

6 months agoRemove dependencies to pouchdb packages (#1325)
Antonio Maranhao [Mon, 18 Oct 2021 18:01:32 +0000 (14:01 -0400)] 
Remove dependencies to pouchdb packages (#1325)

Replace pouchdb related packages with our own implementation to simplify the dependency tree.
Major motivation is that some of these packages haven't had new releases in years, which is a problem
when a sub-dependency requires security fixes.

7 months agoVersion 1.2.7 v1.2.7
Nick Vatamaniuc [Mon, 27 Sep 2021 21:38:21 +0000 (17:38 -0400)] 
Version 1.2.7

7 months agoUpdate setup instructions with proper branch name
deepakchethan [Sun, 12 Sep 2021 01:56:58 +0000 (07:26 +0530)] 
Update setup instructions with proper branch name

8 months agoReplace safeURLName usage (#1320)
Deepak Chethan [Fri, 10 Sep 2021 13:42:43 +0000 (19:12 +0530)] 
Replace safeURLName usage (#1320)

8 months agofeat: change partition option to checkbox (#1312)
Diana Thayer [Thu, 2 Sep 2021 14:44:21 +0000 (07:44 -0700)] 
feat: change partition option to checkbox (#1312)

* feat: change partition option to checkbox

Co-authored-by: Jan Lehnardt <jan@apache.org>
10 months agoFixes broken urls pointing to master branch (#1319)
Deepak Chethan [Sat, 10 Jul 2021 18:31:09 +0000 (00:01 +0530)] 
Fixes broken urls pointing to master branch (#1319)

10 months agoAdd extension point for database size (#1317)
Rhys Short [Tue, 22 Jun 2021 13:31:53 +0000 (14:31 +0100)] 
Add extension point for database size (#1317)

Add extension point for database size called `DatabaseList:dbSizeReportFieldName`,
this enables consumers to override the displayed value to meet
their deployment needs. For example, in the case of Cloudant's usage,
the default `sizes.active` field is meaningless to their customers
since they bill using the value from `sizes.external`, using the
extension it is possible to customize the view to provide a better experiance.

The extension point `DatabaseList:dbSizeReportFieldName` only supports
the single extentsion, and assumes the field name is in the `sizes`
object returned from db_info.

11 months agoUpdate npm dependencies and minor changes to fix tests (#1316)
Antonio Maranhao [Thu, 10 Jun 2021 23:36:45 +0000 (19:36 -0400)] 
Update npm dependencies and minor changes to fix tests (#1316)

* Update npm dependencies

* Fix error msg when loading rep doc with invalid header

When a replication document contains an invalid Authorization header,
Fauxton will now show the correct reason why the doc can't be loaded.

12 months agoMerge pull request #1314 from Antonio-Maranhao/fix-link-changes-page
Antonio Maranhao [Thu, 6 May 2021 14:20:09 +0000 (10:20 -0400)] 
Merge pull request #1314 from Antonio-Maranhao/fix-link-changes-page

Fix: Changes page generates incorrect link for doc IDs with special chars

12 months agoProperly encode doc link on Changes page 1314/head
Antonio Maranhao [Wed, 5 May 2021 16:02:50 +0000 (12:02 -0400)] 
Properly encode doc link on Changes page

URL encode the doc ID and database name when generating the URL
on the Changes page.

17 months agoMerge pull request #1303 from Antonio-Maranhao/fix-revbrowser-fails-doc-id-with-speci...
Antonio Maranhao [Mon, 7 Dec 2020 15:05:24 +0000 (10:05 -0500)] 
Merge pull request #1303 from Antonio-Maranhao/fix-revbrowser-fails-doc-id-with-special-chars

Fix: rev browser fails with doc ID with special chars

17 months agoFix: rev browser fails with doc ID with special chars 1303/head
Antonio Maranhao [Fri, 4 Dec 2020 15:16:08 +0000 (10:16 -0500)] 
Fix: rev browser fails with doc ID with special chars

18 months agoMerge pull request #1299 from Antonio-Maranhao/clean-up-runtime-audit-issues
Antonio Maranhao [Mon, 2 Nov 2020 18:43:31 +0000 (13:43 -0500)] 
Merge pull request #1299 from Antonio-Maranhao/clean-up-runtime-audit-issues

Address 'npm audit' issues for runtime dependencies

18 months agoMake cluster config warning applicable to CouchDB 3 as well 1299/head
Antonio Maranhao [Fri, 30 Oct 2020 19:54:59 +0000 (15:54 -0400)] 
Make cluster config warning applicable to CouchDB 3 as well

Replaying change from https://github.com/apache/couchdb-fauxton/pull/1296
which was merged into master instead of main

18 months agoAddress 'npm audit' issues for runtime dependencies
Antonio Maranhao [Thu, 29 Oct 2020 18:54:32 +0000 (14:54 -0400)] 
Address 'npm audit' issues for runtime dependencies

- Move dependencies that are not required at runtime to devDependencies
- Replace optimist (deprecated) with yargs
- Update 'bin/fauxton' to use yargs

18 months agoMerge pull request #1297 from ruturajkanake/main
Antonio Maranhao [Thu, 29 Oct 2020 14:35:11 +0000 (10:35 -0400)] 
Merge pull request #1297 from ruturajkanake/main

Update dependencies

18 months agobuild: :arrow_up: bump dependencies to the latest version 1297/head
ruturajkanake [Fri, 23 Oct 2020 10:03:48 +0000 (15:33 +0530)] 
build: :arrow_up: bump dependencies to the latest version

20 months ago1.2.6 (#1294)
garren smith [Thu, 10 Sep 2020 18:50:57 +0000 (20:50 +0200)] 
1.2.6 (#1294)

20 months agoFeat/news security info (#1292)
hulkoba [Tue, 8 Sep 2020 17:30:01 +0000 (19:30 +0200)] 
Feat/news security info (#1292)

* feat(news): add warning and conditional rendering

* feat(news): add checkbox and save choice

22 months agoMerge pull request #1290 from Antonio-Maranhao/updating-components
Antonio Maranhao [Thu, 9 Jul 2020 12:59:15 +0000 (08:59 -0400)] 
Merge pull request #1290 from Antonio-Maranhao/updating-components

Update dependencies

22 months agoRemove redux-devtools since it's not in use 1290/head
Antonio Maranhao [Wed, 8 Jul 2020 16:00:39 +0000 (12:00 -0400)] 
Remove redux-devtools since it's not in use

22 months agoUpdate dependencies
Antonio Maranhao [Wed, 8 Jul 2020 14:05:34 +0000 (10:05 -0400)] 
Update dependencies

22 months agoReplace react-range with rc-slider
Antonio Maranhao [Tue, 7 Jul 2020 19:26:55 +0000 (15:26 -0400)] 
Replace react-range with rc-slider

22 months agofeat: prototype news page (#1284)
Jan Lehnardt [Wed, 17 Jun 2020 22:53:29 +0000 (00:53 +0200)] 
feat: prototype news page (#1284)

23 months agoFix current release (#1289) v1.2.5
Alexis Côté [Wed, 10 Jun 2020 00:38:11 +0000 (20:38 -0400)] 
Fix current release (#1289)

23 months agoUpdates the UX when saving a document (#1280)
Antonio Maranhao [Wed, 20 May 2020 16:27:47 +0000 (12:27 -0400)] 
Updates the UX when saving a document (#1280)

* Updates the UX when saving a document

After pressing Save Document, the 'Saving document' notification is no longer displayed.
Instead the UI controls are disabled while the operation is in progress, and a
error/success notification is displayed when the operation completes.

* Fix intermitent Nightwatch test failure

23 months agoShow error reason if file upload fails (#1279)
Antonio Maranhao [Tue, 19 May 2020 13:48:51 +0000 (09:48 -0400)] 
Show error reason if file upload fails (#1279)

2 years agoUpgrade nightwatch and enhance tests (#1274)
Alexis Côté [Fri, 1 May 2020 00:57:15 +0000 (20:57 -0400)] 
Upgrade nightwatch and enhance tests (#1274)

- Upgrade Nightwatch + Selenium
- Remove deprecated nightwatch API's
- Update breaking change in nightwatch configuration
- Update assertion
- Fix clickWhenVisible by adding an optional scrollIntoView

2 years agoBump to 1.2.4 (#1273) 1.2.4 v1.2.4
Alexis Côté [Wed, 29 Apr 2020 23:16:31 +0000 (19:16 -0400)] 
Bump to 1.2.4 (#1273)

2 years agoReplace notification bar by notification toasts (#1265)
Alexis Côté [Wed, 29 Apr 2020 22:46:41 +0000 (18:46 -0400)] 
Replace notification bar by notification toasts (#1265)

* Replace notification bar by notification toasts

- Extract alert colors into variables
- Remove old CSS and Javascript files

* Update E2E tests

* Add updated package-lock.json

* Rework CSS

- Make the toast opaque
- Fix .env file
- Fix E2E tests

- Optimize time by closing notification manually
- Fix some issues created by the new toasts

2 years agoFix flaky Nightwatch tests (#1248)
Antonio Maranhao [Wed, 29 Apr 2020 18:06:22 +0000 (14:06 -0400)] 
Fix flaky Nightwatch tests (#1248)

* Fix flaky Nightwatch test

* Update ConfirmModal

* Update CI

Co-authored-by: Alexis Côté <popojargo@users.noreply.github.com>
2 years agoAdd scrollbar when query options tray is too small (#1270)
Alexis Côté [Mon, 27 Apr 2020 16:22:22 +0000 (12:22 -0400)] 
Add scrollbar when query options tray is too small (#1270)

2 years agoUpdate JS beautifier to support ES6 syntax (#1268)
Alexis Côté [Mon, 27 Apr 2020 03:11:29 +0000 (23:11 -0400)] 
Update JS beautifier to support ES6 syntax (#1268)

* Update the JavaScript beautifier to support ES6 syntax

* Add test for beautifier

2 years agoBump dependencies (#1266)
Alexis Côté [Mon, 27 Apr 2020 02:18:54 +0000 (22:18 -0400)] 
Bump dependencies (#1266)

2 years agoFix url handling with space (#1269)
Alexis Côté [Mon, 27 Apr 2020 00:06:50 +0000 (20:06 -0400)] 
Fix url handling with space (#1269)

2 years agoQuery results fail to load when stats field is missing
Antonio Maranhao [Fri, 17 Apr 2020 20:40:58 +0000 (16:40 -0400)] 
Query results fail to load when stats field is missing

Adds an extra check to prevent throwing a TypeError when the
stats response does not have one of the expected fields.

2 years agoShow error message if it can't retrieve ddoc metadata (#1260)
Antonio Maranhao [Thu, 2 Apr 2020 20:29:49 +0000 (16:29 -0400)] 
Show error message if it can't retrieve ddoc metadata (#1260)

2 years agoFor db use external size if available (#1258)
garren smith [Thu, 2 Apr 2020 18:18:11 +0000 (20:18 +0200)] 
For db use external size if available (#1258)

Co-authored-by: Antonio Maranhao <30349380+Antonio-Maranhao@users.noreply.github.com>
2 years agoUpdates Search addon (#1261)
Antonio Maranhao [Thu, 2 Apr 2020 13:25:30 +0000 (09:25 -0400)] 
Updates Search addon (#1261)

* Remove unnecessary API call when editing search index

* Fixes the search index editor to set the default analyzer when the
search index doesn't specify one.

2 years agoSkip some tests due to changed functionality in CouchDB3
Antonio Maranhao [Wed, 1 Apr 2020 21:04:21 +0000 (17:04 -0400)] 
Skip some tests due to changed functionality in CouchDB3

2 years agoTest with couchdb 3.0 docker image instead of dev
Antonio Maranhao [Wed, 1 Apr 2020 16:15:17 +0000 (12:15 -0400)] 
Test with couchdb 3.0 docker image instead of dev

2 years agoBump package.json version to 1.2.3 (#1249) v1.2.3
Antonio Maranhao [Mon, 3 Feb 2020 19:36:00 +0000 (14:36 -0500)] 
Bump package.json version to 1.2.3 (#1249)

* Bump package.json version to 1.2.3

2 years agoMerge pull request #1246 from mhamann/master
Will Holley [Sat, 1 Feb 2020 13:54:34 +0000 (13:54 +0000)] 
Merge pull request #1246 from mhamann/master

Nav: Fix potential ID selector collisions

2 years agoNav: Fix potential ID selector collisions 1246/head
Matt Hamann [Tue, 14 Jan 2020 17:09:12 +0000 (12:09 -0500)] 
Nav: Fix potential ID selector collisions

If a design doc is created with a name that conflicts with an
existing HTML element's ID, it will receive the styling for
that element in addition to causing invalid HTML.

This change prefixes those IDs in order to ensure they
are unique.

2 years agoBump CouchDB+search container version (#1247)
Will Holley [Mon, 27 Jan 2020 12:51:49 +0000 (12:51 +0000)] 
Bump CouchDB+search container version (#1247)

2 years agoMango: support multiple server-side warnings (#1245)
Will Holley [Fri, 10 Jan 2020 08:16:01 +0000 (08:16 +0000)] 
Mango: support multiple server-side warnings (#1245)

Changes the handling of mango warnings to support multiple warnings
delimited by a newline, as added in https://github.com/apache/couchdb/pull/2410

2 years agoFix headline (#1238)
Andreas Lappe [Wed, 13 Nov 2019 21:38:27 +0000 (22:38 +0100)] 
Fix headline (#1238)

2 years agoUX improvement: disabled on blur input reset for the search bar (#1217)
Aaron Tobias [Wed, 13 Nov 2019 19:24:29 +0000 (14:24 -0500)] 
UX improvement: disabled on blur input reset for the search bar (#1217)

2 years agoImprove execution stats formatting (#1239)
Will Holley [Mon, 28 Oct 2019 13:07:04 +0000 (13:07 +0000)] 
Improve execution stats formatting (#1239)

As observed in https://github.com/apache/couchdb/issues/2236#issuecomment-546884302,
minute/second values were not rounded correctly.

This PR floors the minute/second values and handles the case where
minute/second == 1.

2 years agoFix invalid reference to visualizeRevTree v1.2.2
Will Holley [Mon, 14 Oct 2019 13:25:42 +0000 (14:25 +0100)] 
Fix invalid reference to visualizeRevTree

We can now reference this directly from npm instead of resolving
from GitHub. The reference to GitHub was incorrect (referenced
non-existent gh-pages tag) which resulted in a resolution error
in the latest npm.

2 years agoExplicitly install peerdependencies
Will Holley [Thu, 10 Oct 2019 19:21:13 +0000 (20:21 +0100)] 
Explicitly install peerdependencies

Builds against recent nodejs versions are failing due to
missing peerdependencies. This adds the following packages
explicitly in package.json:

 * acorn
 * ajv

Fixes #1230 (properly)

2 years agoFix Node 10 localstorage in tests
Will Holley [Mon, 14 Oct 2019 09:06:47 +0000 (10:06 +0100)] 
Fix Node 10 localstorage in tests

2 years agoAdd node 10 to the CI build
Will Holley [Mon, 14 Oct 2019 08:06:08 +0000 (09:06 +0100)] 
Add node 10 to the CI build

CouchDB Docker images now use nodejs 10 by default. This commit updates
Travis to use nodejs 10 when running integration tests.

It also adds and `npm ls` check which will fail if there are
unmet peer dependencies in package.json.

2 years agoFix: error when listing db sizes with couchdb v1 (#1236)
Andreas Lappe [Fri, 11 Oct 2019 13:17:35 +0000 (15:17 +0200)] 
Fix: error when listing db sizes with couchdb v1 (#1236)

First try to use the new 'sizes.active' field in CouchDB v2 and fallback to 'data_size' if it doesn't exist.

Fixes #1235

2 years agoDisable Fauxton when building couchdb:dev v1.2.1
Will Holley [Thu, 10 Oct 2019 11:47:26 +0000 (12:47 +0100)] 
Disable Fauxton when building couchdb:dev

2 years agoBump version to 1.2.1
Will Holley [Wed, 9 Oct 2019 19:04:10 +0000 (20:04 +0100)] 
Bump version to 1.2.1

2 years agoUpdate webpack to 4.41
Will Holley [Wed, 9 Oct 2019 17:08:05 +0000 (18:08 +0100)] 
Update webpack to 4.41

Fixes #1230

2 years agoAdd Search support (#1227) v1.2.0
Will Holley [Mon, 7 Oct 2019 17:48:17 +0000 (18:48 +0100)] 
Add Search support (#1227)

Adds a search module to Fauxton. The functionality is only enabled
upon detection of "search" in the reported CouchDB features.

When enabled, it adds:
 * New dropdown options to create/update search indexes in the sidebar
 * New panel to run search queries from the sidebar
 * Text index templates to the Mango Index editor

Also added a CouchDB 2 / 3 / dev build matrix to Travis since the official CouchDB image doesn't include the search feature yet.

2 years agoRemove deprecated size properties from .info() (#1222)
Alexis Côté [Tue, 24 Sep 2019 18:59:34 +0000 (14:59 -0400)] 
Remove deprecated size properties from .info() (#1222)

* Remove deprecated size properties from .info()

* Apply review comments

2 years agoFix instructions on how to set up the dev server (#1216)
Antonio Maranhao [Tue, 17 Sep 2019 20:01:52 +0000 (16:01 -0400)] 
Fix instructions on how to set up the dev server (#1216)

2 years agoApplied css fix to align create doc btn text when it becomes two lines (#1218)
Aaron Tobias [Tue, 17 Sep 2019 19:35:12 +0000 (15:35 -0400)] 
Applied css fix to align create doc btn text when it becomes two lines (#1218)

* Applied media query to align create document btn text when it becomes two lines

* Applied flex content alignment to center doc toolbar create btn text

2 years agoFixed stack ordering of absolute positioned no results view (#1223)
Aaron Tobias [Mon, 16 Sep 2019 13:35:23 +0000 (09:35 -0400)] 
Fixed stack ordering of absolute positioned no results view (#1223)

2 years agoFixed btn group active z-index stack context relative to reselect dropdown- 998 ...
Aaron Tobias [Tue, 13 Aug 2019 13:33:35 +0000 (09:33 -0400)] 
Fixed btn group active z-index stack context relative to reselect dropdown- 998 (#1211)

2 years agoNew design for Create Database panel (#1213)
Antonio Maranhao [Tue, 13 Aug 2019 11:34:04 +0000 (07:34 -0400)] 
New design for Create Database panel (#1213)

* New design for Create Database panel

2 years agoUpgrade to webpack 4 (#1210)
Antonio Maranhao [Wed, 17 Jul 2019 17:27:48 +0000 (13:27 -0400)] 
Upgrade to webpack 4 (#1210)

Use webpack 4 and latest version of the webpack loaders.
Update webpack configurations:
 - MiniCssExtractPlugin replaced the ExtractTextPlugin
 - Options for UglifyJsPlugin, CommonsChunkPlugin, DefinePlugin and
   LimitChunkCountPlugin were removed since webpack 4 now provides
   the same features as built-in options.

2 years agoAllow overriding actions in cors addon
Antonio Maranhao [Fri, 12 Jul 2019 15:28:11 +0000 (11:28 -0400)] 
Allow overriding actions in cors addon

After upgrading to Babel 7, it's no longer possible to
override properties of an imported module.
To workaround this, explicit functions were added to
make the override possible.

2 years agoUpdate packages to fix npm audit issues
Antonio Maranhao [Thu, 11 Jul 2019 20:50:06 +0000 (16:50 -0400)] 
Update packages to fix npm audit issues

These packages (and related packages) were updated:

pouchdb, jest, eslint, babel, redux-devtools, clean-css, grunt, jquery, lodash

2 years agoAdd CORS instructions when setting up fauxton locally for development - #1202 (#1204)
Aaron Tobias [Fri, 12 Jul 2019 19:03:24 +0000 (15:03 -0400)] 
Add CORS instructions when setting up fauxton locally for development - #1202 (#1204)

3 years agoImprove Accessibility for screen reader users (#1198)
Dickson Tan [Tue, 7 May 2019 17:24:33 +0000 (01:24 +0800)] 
Improve Accessibility for screen reader users (#1198)

* Navigation menu: ensure that nav links are always labelled for screen readers, regardless of whether they are visually minimized. Add labels and roles for the minimize toggle button.

* Make screen readers read incoming notifications, add some missing labels in the notifications panel

* render notifications in a labelled <aside> instead of a <span>

* DatabaseRow: add missing labels to controls

* Narrow the scope of role=main so it excludes the navigation bar

3 years agoUse partitioned query for all docs (#1195)
Antonio Maranhao [Wed, 20 Mar 2019 14:21:44 +0000 (10:21 -0400)] 
Use partitioned query for all docs (#1195)

3 years agoFix all docs JSON link when partition is selected (#1194)
Antonio Maranhao [Wed, 20 Mar 2019 13:02:13 +0000 (09:02 -0400)] 
Fix all docs JSON link when partition is selected (#1194)