Skip to content

Commit f730543

Browse files
committed
Merge branch 'main' into stable
2 parents ecaf251 + 1fafcd7 commit f730543

File tree

87 files changed

+13989
-18733
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+13989
-18733
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

.eslintrc

Lines changed: 4 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"extends": [
88
"eslint:recommended",
99
"plugin:@typescript-eslint/eslint-recommended",
10-
"plugin:@typescript-eslint/recommended"
10+
"plugin:@typescript-eslint/recommended",
11+
"prettier"
1112
],
1213
"rules": {
1314
"no-var": "error",
@@ -21,30 +22,7 @@
2122
"prefer-arrow-callback": "error",
2223
"prefer-destructuring": "error",
2324
"prefer-rest-params": "error",
24-
"space-in-parens": [
25-
"error",
26-
"never"
27-
],
28-
"object-curly-spacing": [
29-
"error",
30-
"never"
31-
],
32-
"linebreak-style": [
33-
"error",
34-
"unix"
35-
],
36-
"quotes": [
37-
"error",
38-
"double"
39-
],
40-
"semi": [
41-
"error",
42-
"always"
43-
],
44-
"dot-location": [
45-
"error",
46-
"property"
47-
],
48-
"@typescript-eslint/ban-ts-comment": "off"
25+
"@typescript-eslint/ban-ts-comment": "off",
26+
"@typescript-eslint/no-explicit-any": "off"
4927
}
5028
}

.github/workflows/ci.yml

Lines changed: 56 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,23 @@
1-
name: CI
1+
name: ci
22
on:
33
push:
4-
branches: [ main, stable ]
4+
branches: [main, stable]
55
tags:
6-
- 'v*'
6+
- "v*"
77
pull_request:
8-
branches: [ main, stable ]
8+
branches: [main, stable]
99
jobs:
10+
format:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- run: npm i
15+
- run: npm run fmt:check
16+
1017
test:
18+
name: "Install dependencies and test app"
1119
runs-on: ubuntu-latest
20+
needs: format
1221
steps:
1322
- uses: actions/checkout@v2
1423
- name: Install modules
@@ -17,10 +26,16 @@ jobs:
1726
run: npm run lint
1827
- name: Run Tests
1928
run: npm test -- --watchAll=false
29+
- name: Build App
30+
run: npm run build
31+
env:
32+
CI: true
2033

2134
deploy:
35+
name: Publish Docker image
2236
runs-on: ubuntu-latest
2337
needs: test
38+
if: ${{ (github.ref == 'refs/heads/main') || (startsWith(github.event.ref, 'refs/tags/v')) }}
2439
steps:
2540
- uses: actions/checkout@v2
2641
- name: Log in to the Container registry
@@ -43,3 +58,40 @@ jobs:
4358
push: true
4459
tags: ${{ steps.meta.outputs.tags }}
4560
labels: ${{ steps.meta.outputs.labels }}
61+
62+
make_release:
63+
runs-on: ubuntu-latest
64+
needs: test
65+
name: Make release
66+
if: ${{ startsWith(github.event.ref, 'refs/tags/v') }}
67+
steps:
68+
- uses: actions/checkout@v2
69+
- uses: actions/create-release@v1
70+
id: create_release
71+
with:
72+
draft: true
73+
prerelease: false
74+
release_name: Release ${{ steps.version.outputs.version }}
75+
tag_name: ${{ github.ref }}
76+
body: Copy changes from CHANGELOG.md
77+
env:
78+
GITHUB_TOKEN: ${{ github.token }}
79+
80+
- uses: actions/checkout@v2
81+
- name: Install modules
82+
run: npm install
83+
- name: Build app
84+
run: npm run build
85+
env:
86+
CI: false
87+
- name: Zip built application
88+
run: cd build && zip web-console.build.zip -r *
89+
- name: Upload artifact
90+
uses: actions/upload-release-asset@v1
91+
env:
92+
GITHUB_TOKEN: ${{ github.token }}
93+
with:
94+
upload_url: ${{ steps.create_release.outputs.upload_url }}
95+
asset_path: build/web-console.build.zip
96+
asset_name: web-console.build.zip
97+
asset_content_type: application/zip

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,5 @@
2121
npm-debug.log*
2222
yarn-debug.log*
2323
yarn-error.log*
24+
25+
.vscode

.pre-commit-config.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# See https://pre-commit.com for more information
2+
# See https://pre-commit.com/hooks.html for more hooks
3+
repos:
4+
- repo: https://github.com/pre-commit/pre-commit-hooks
5+
rev: v4.5.0
6+
hooks:
7+
- id: trailing-whitespace
8+
- id: end-of-file-fixer
9+
- id: check-added-large-files
10+
11+
- repo: local
12+
hooks:
13+
- id: fmt
14+
name: fmt
15+
entry: npm
16+
language: system
17+
args:
18+
- run
19+
- fmt
20+
21+
- id: eslint
22+
types_or: [ts, tsx]
23+
name: eslint
24+
entry: npm
25+
language: system
26+
args:
27+
- run
28+
- lint

CHANGELOG.md

Lines changed: 227 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,228 @@
1-
## Release 0.1.0 (2022-05-15)
1+
# Changelog
22

3-
* Initial Release
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [Unreleased]
9+
10+
### [1.9.0] - 2025-02-25
11+
12+
### Fixed
13+
14+
- RS-582: fix remove modal to display error messages, [PR-75](https://github.com/reductstore/web-console/pull/75)
15+
- RS-600: fix CI workflow and corrected a prop name in EntryCard component, [PR-77](https://github.com/reductstore/web-console/pull/77)
16+
- RS-603: fix table loading state to display empty table when no data is available, [PR-78](https://github.com/reductstore/web-console/pull/78)
17+
18+
### Added:
19+
20+
- RS-580: browse records in the console, [PR-76](https://github.com/reductstore/web-console/pull/76)
21+
- RS-588: add useful links in the side menu, [PR-79](https://github.com/reductstore/web-console/pull/79)
22+
- RS-594: filter data with when conditions in object explorer, [PR-80](https://github.com/reductstore/web-console/pull/80)
23+
24+
### [1.8.1] - 2024-12-16
25+
26+
### Fixed
27+
28+
- RS-554: add forgotten HARD quota type to bucket settings, [PR-72](https://github.com/reductstore/web-console/pull/72)
29+
30+
## [1.8.0] - 2024-11-06
31+
32+
### Added
33+
34+
- RS-509: add option to rename a bucket in the console, [PR-70](https://github.com/reductstore/web-console/pull/70)
35+
- RS-510: add option to rename an entry in the console, [PR-71](https://github.com/reductstore/web-console/pull/71)
36+
37+
## [1.7.0] - 2024-08-19
38+
39+
### Added:
40+
41+
- RS-319: add downsampling options to Create/Update Replication form, [PR-69](https://github.com/reductstore/web-console/pull/69)
42+
43+
### Changed:
44+
45+
- Update `antd` up to 5.18.3, [PR-68](https://github.com/reductstore/web-console/pull/68)
46+
47+
## [1.6.1] - 2024-06-09
48+
49+
### Fixed:
50+
51+
- RS-314: fix infinite requests for token list, [PR-67](https://github.com/reductstore/web-console/pull/67)
52+
53+
## [1.6.0] - 2024-05-31
54+
55+
### Added:
56+
57+
- RS-180: Show license information in the web console, [PR-64](https://github.com/reductstore/web-console/pull/64)
58+
59+
### Changed:
60+
61+
- RS-234: Add prettier to CI and reformat code, [PR-65](https://github.com/reductstore/web-console/pull/65)
62+
63+
## [1.5.0] - 2024-03-01
64+
65+
### Added:
66+
67+
- RS-47: New view in the console to manage replications, [PR-62](https://github.com/reductstore/web-console/pull/62)
68+
69+
### Fixed:
70+
71+
- Fix token creation, [PR-63](https://github.com/reductstore/web-console/pull/63)
72+
73+
## [1.4.1] - 2024-20-01
74+
75+
### Fixed:
76+
77+
- RS-41: Remount entry confirmation component, [PR-61](https://github.com/reductstore/web-console/pull/61)
78+
79+
## [1.4.0] - 2023-10-11
80+
81+
### Added:
82+
83+
- RS-11: Mark provisioned resources and disable its control
84+
components, [PR-59](https://github.com/reductstore/web-console/pull/59)
85+
86+
## [1.3.0] - 2023-08-17
87+
88+
### Added:
89+
90+
- Add a button to remove entry, [PR-58](https://github.com/reductstore/web-console/pull/58)
91+
92+
## [1.2.2] - 2023-06-03
93+
94+
### Fixed:
95+
96+
- Updating quota type, [PR-56](https://github.com/reductstore/web-console/pull/56)
97+
98+
## [1.2.1] - 2023-06-03
99+
100+
### Changed:
101+
102+
- Distribute console as a `zip` archive, [PR-53](https://github.com/reductstore/web-console/pull/53)
103+
- Update `reduct-js` to 1.4.0, [PR-54](https://github.com/reductstore/web-console/pull/54)
104+
105+
## [1.2.0] - 2023-01-25
106+
107+
### Added:
108+
109+
- Hiding admin control elements for token without full
110+
access, [PR-49](https://github.com/reductstore/web-console/pull/49)
111+
- Update data each 5 seconds automatically, [PR-50](https://github.com/reductstore/web-console/pull/50)
112+
113+
## [1.1.1] - 2022-12-18
114+
115+
### Changed:
116+
117+
- Rebranding: update logo and project name, [PR-46](https://github.com/reductstore/web-console/pull/46)
118+
119+
## [1.1.0] - 2022-11-27
120+
121+
### Added
122+
123+
- UI for token management, [PR-44](https://github.com/reduct-storage/web-console/pull/44)
124+
125+
## [1.0.0] - 2022-10-03
126+
127+
### Changed:
128+
129+
- Update `reduct-js` to 1.0.0, [PR-43](https://github.com/reduct-storage/web-console/pull/43)
130+
131+
## [0.5.0] - 2022-09-14
132+
133+
### Added:
134+
135+
- Validation for bucket name, [PR-39](https://github.com/reduct-storage/web-console/pull/39)
136+
- Input field to confirm bucket name before removing, [PR-40](https://github.com/reduct-storage/web-console/pull/40)
137+
- Build and publish on release page from CI, [PR-41](https://github.com/reduct-storage/web-console/pull/41)
138+
139+
### Changed:
140+
141+
- Update `reduct-js` to 0.7.0, [PR-42](https://github.com/reduct-storage/web-console/pull/42)
142+
143+
## [0.4.0] - 2022-08-21
144+
145+
### Added:
146+
147+
- Make bucket card clickable to open bucket details, [PR-30](https://github.com/reduct-storage/web-console/pull/30)
148+
- Sorting buckets by latest record on dashboard, [PR-31](https://github.com/reduct-storage/web-console/pull/31)
149+
- Button to Buckets page to create a new bucket, [PR-32](https://github.com/reduct-storage/web-console/pull/32)
150+
- Console's version on slider, [PR-34](https://github.com/reduct-storage/web-console/pull/34)
151+
152+
### Changed:
153+
154+
- `reduct-js` version v0.6.0, [PR-30](https://github.com/reduct-storage/web-console/pull/30)
155+
- Disable control buttons of bucket card on Dashboard, [PR-32](https://github.com/reduct-storage/web-console/pull/32)
156+
157+
### Removed:
158+
159+
- `crypto-browserify` dependency, [PR-30](https://github.com/reduct-storage/web-console/pull/30)
160+
161+
## [0.3.1]
162+
163+
### Fixed
164+
165+
- Timestamps for latest Bucket and En[try tables, [PR-24](https://github.com/reduct-storage/web-console/pull/24)
166+
- parsing `window.location`, [PR-25](https://github.com/reduct-storage/web-console/pull/25)
167+
168+
## [0.3.0]
169+
170+
### Added
171+
172+
- `Max. Block Records` to bucket settings, [PR-20](https://github.com/reduct-storage/web-console/pull/20)
173+
- Bucket Panel, [PR-21](https://github.com/reduct-storage/web-console/pull/21)
174+
175+
## [0.2.1] - 2022-06-25
176+
177+
### Fixed:
178+
179+
- API and UI paths for embedded console, [PR-16](https://github.com/reduct-storage/web-console/pull/16)
180+
- Different size of bucket card in dashboard, [PR-17](https://github.com/reduct-storage/web-console/pull/17)
181+
182+
## [0.2.0] - 2022-06-17
183+
184+
### Added:
185+
186+
- Reduct's colours for UI, [PR-7](https://github.com/reduct-storage/web-console/pull/7)
187+
- Bucket settings, [PR-9](https://github.com/reduct-storage/web-console/pull/9)
188+
- Error message to CreateOrUpdate form if don't get
189+
settings, [PR-10](https://github.com/reduct-storage/web-console/pull/10)
190+
- Login form for authentication with token, [PR0-13](https://github.com/reduct-storage/web-console/pull/13)
191+
192+
### Fixed:
193+
194+
- bigint conversions in bucket settings, [PR-11](https://github.com/reduct-storage/web-console/pull/11)
195+
- SI sizes for bucket settings, [PR0-13](https://github.com/reduct-storage/web-console/pull/13)
196+
197+
### Changed:
198+
199+
- Update reduct-js to 0.4.0, [PR-6](https://github.com/reduct-storage/web-console/pull/6)
200+
201+
## [0.1.0] - 2022-05-15
202+
203+
- Initial Release
204+
205+
[Unreleased]: https://github.com/reduct-storage/web-console/compare/v1.8.1...HEAD
206+
[1.9.0]: https://github.com/reduct-storage/web-console/compare/v1.9.0...v1.8.1
207+
[1.8.1]: https://github.com/reduct-storage/web-console/compare/v1.8.1...v1.8.0
208+
[1.8.0]: https://github.com/reduct-storage/web-console/compare/v1.8.0...v1.7.0
209+
[1.7.0]: https://github.com/reduct-storage/web-console/compare/v1.7.0...v1.6.1
210+
[1.6.1]: https://github.com/reduct-storage/web-console/compare/v1.6.1...v1.6.0
211+
[1.6.0]: https://github.com/reduct-storage/web-console/compare/v1.6.0...v1.5.0
212+
[1.5.0]: https://github.com/reduct-storage/web-console/compare/v1.5.0...v1.4.1
213+
[1.4.1]: https://github.com/reduct-storage/web-console/compare/v1.4.1...v1.4.0
214+
[1.4.0]: https://github.com/reduct-storage/web-console/compare/v1.3.0...v1.4.0
215+
[1.3.0]: https://github.com/reduct-storage/web-console/compare/v1.2.2...v1.3.0
216+
[1.2.2]: https://github.com/reduct-storage/web-console/compare/v1.2.1...v1.2.2
217+
[1.2.1]: https://github.com/reduct-storage/web-console/compare/v1.2.0...v1.2.1
218+
[1.2.0]: https://github.com/reduct-storage/web-console/compare/v1.1.1...v1.2.0
219+
[1.1.1]: https://github.com/reduct-storage/web-console/compare/v1.1.0...v1.1.1
220+
[1.1.0]: https://github.com/reduct-storage/web-console/compare/v1.0.0...v1.1.0
221+
[1.0.0]: https://github.com/reduct-storage/web-console/compare/v0.5.0...v1.0.0
222+
[0.5.0]: https://github.com/reduct-storage/web-console/compare/v0.4.0...v0.5.0
223+
[0.4.0]: https://github.com/reduct-storage/web-console/compare/v0.3.1...v0.4.0
224+
[0.3.1]: https://github.com/reduct-storage/web-console/compare/v0.3.0...v0.3.1
225+
[0.3.0]: https://github.com/reduct-storage/web-console/compare/v0.2.1...v0.3.0
226+
[0.2.1]: https://github.com/reduct-storage/web-console/compare/v0.2.0...v0.2.1
227+
[0.2.0]: https://github.com/reduct-storage/web-console/compare/v0.1.0...v0.2.0
228+
[0.1.0]: https://github.com/reduct-storage/web-console/releases/tag/v0.1.0

0 commit comments

Comments
 (0)