Skip to content

Commit

Permalink
1.3.4 [Nov 3 2023] (#1886)
Browse files Browse the repository at this point in the history
* update database package readme + rename Task -> Job

* add generate dateset job with basic pseudo randomized functionality

* better randomization of generated entries

* decompose task to smaller files

* refactor SOL->SOE

* fix getRandomElements

* 1845 refactor apply template dropdown (#1847)

* refactor dropdown component, better template options handling

* implement to editor, handle update of label

* Unify the release documentations

* Add a paragraph about the main functional improvements of 1.3.x

* add development environment to docker-compose

* Bump @babel/traverse from 7.21.3 to 7.23.2 in /packages/server (#1852)

Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.21.3 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump react-devtools-core from 4.27.8 to 4.28.4 in /packages/client (#1859)

Bumps [react-devtools-core](https://github.com/facebook/react/tree/HEAD/packages/react-devtools-core) from 4.27.8 to 4.28.4.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/HEAD/packages/react-devtools-core)

---
updated-dependencies:
- dependency-name: react-devtools-core
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @babel/traverse from 7.22.4 to 7.23.2 in /packages/client (#1853)

Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.22.4 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump postcss from 8.4.24 to 8.4.31 in /packages/client (#1848)

Bumps [postcss](https://github.com/postcss/postcss) from 8.4.24 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.4.24...8.4.31)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* 1844 new funding body (#1862)

* about page - add msmt logo, add scroll, refactor implementation to get rid of modal components

* credentials to funding

* fill texts about fundings

* refactor is-empty predicate logic, update tests, update PositionRules bundle class

* handle updating statement on detail changes (#1863)

* improve message styles, short labels (#1865)

* finalize / fix tests for single action rules

* finalize refactor of warnings + tests

* fix build - missing secrets

* quick fix - refresh editor when same statement edited in detail, remove editor breadcrumb loader

* add on FE

* add test for SOE with S-E / E-S entities

* change allowedSameEntityClassesOnly in SOE to false

* 1855 icon invalid put also to statement list (#1871)

* add warning icon with number to statement list

* change warning to button, unify plus icon size

* showWarnings to redux and use in statement list and editor

* stronger types for tables

* add type to bookmarkTable row, cleanup unused SOL type

* 1874 improve the warning button in editor (#1875)

* Add rightIcon to button

* Restyle the warning section

* allow adding multiple ids to detail and use in editor (#1880)

* Unify headings in editor

* 1877 websocket connection timeout (#1882)

* Add loader to ws loading state

* Change default ping value

* Make ping -2 on error

* Add loader and create state for ws error on header

* smaller loader

* simplify ping color condition

* invalidate queries when server is back online (#1884)

* fix opening warning related actions when switching statement with opened warnings

* 1817 aval entity warning (#1881)

* add draft for aval testing

* add aval implementation

* fix mad method name  for aval testing

* add position for AVAL warnings

* add subsection to mval/aval warnings

* Add warning position subsection enum

* Implement search for multiple aval warnings

* Add aval variability to the warning message

* Add subsections to the statement warnings

* Separate relation and valency warnings in detail

* Unify warning messages

---------

Co-authored-by: adammertel <[email protected]>

* add NetworkError

* change Something Bad Happened to some better wording (fallback)

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Ján Mertel <[email protected]>
Co-authored-by: Ptrhnk <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
4 people authored Nov 3, 2023
1 parent 719cb68 commit f674fbf
Show file tree
Hide file tree
Showing 67 changed files with 208,179 additions and 684 deletions.
9 changes: 6 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM gplane/pnpm:8.6.0-node16-alpine as build-env

RUN apk add tzdata
RUN apk add tzdata openssl
ENV TZ=Europe/Prague

WORKDIR /app
Expand All @@ -12,8 +12,11 @@ COPY ./packages .
RUN cd client && pnpm install && BUILD_TIMESTAMP=$(date +'%a %d.%m.%Y %H:%M') pnpm build:${ENV}
RUN rm -rf client/node_modules client/src

RUN cd server && pnpm install && pnpm build
RUN cd server && pnpm prune --prod
WORKDIR /app/server
RUN pnpm install && pnpm build
RUN pnpm prune --prod
RUN mkdir -p ./secret
RUN openssl req -x509 -newkey rsa:2048 -nodes -out ./secret/cert.pem -keyout ./secret/key.pem -days 365 -subj "/C=FR/O=krkr/OU=Domain Control Validated/CN=*"

FROM gplane/pnpm:8.6.0-node16-alpine

Expand Down
31 changes: 24 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,27 @@ services:
- "8080:8080" # required only for public access
- "28015:28015" # dashboard - required only for public access

inkvisitor-development:
build:
context: .
dockerfile: Dockerfile
args:
ENV: development
image: inkvisitor:development
container_name: inkvisitor-development
restart: always
<<: *logging
env_file:
- ./packages/server/env/.env.development
environment:
- DB_HOST=database
ports:
- "3000:3000"
volumes:
- ./inkvisitor-development-client:/app/client/dist
networks:
- inkvisitor

inkvisitor-production:
build:
context: .
Expand Down Expand Up @@ -67,13 +88,9 @@ services:
image: inkvisitor:sandbox
container_name: inkvisitor-sandbox
restart: always
logging:
options:
max-size: "10m"
max-file: "2"
# needs to be present when building
# env_file:
# - ./packages/server/env/.env.sandbox
<<: *logging
env_file:
- ./packages/server/env/.env.sandbox
ports:
- "3011:3000"
volumes:
Expand Down
9 changes: 8 additions & 1 deletion docs/notes_1.3.x.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
## InkVisitor 1.3.1 - 1.3.3 notes
## InkVisitor 1.3.x notes

Throughout versions 1.3.1 to 1.3.3, the InkVisitor application has seen a series of improvements, both in functionality and user experience. While new features have consistently been added to simplify data handling and improve interface usability, there's been a strong emphasis on fixing identified bugs to ensure smooth operations. Simultaneously, the underlying code has undergone regular refactoring to optimize performance and incorporate the latest tech updates.
Besides minor improvements and a number of bug fixes, the main enhancements in the 1.3.x versions are:

- New filtering on the Territory tree.
- Actants are now validated based on valency rules.
- Relations in Entities are now validated based on logical constraints.
- Modals in the Statement editor have been redesigned to use a system of toggles and buttons.
- Batch actions have been added for the Statement list and Statement Editor.

### InkVisitor Update Summary for each minor version

Expand Down
36 changes: 18 additions & 18 deletions docs/release_1.3.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,29 @@

### New features:

- Batch actions on Statements in Territory #1566
- Buttons to replace / append content from previous or from selected statement #1607
- Searching (in Search box) by language #1651
- A new button + modal for creating new entity from Detail box #1648
- Dragging to an already occupied place (you can replace entity tag directly by drag-dropping another entity tag) #1640
- User can choose their default language which is applied as language parameter for all new entities #1626
- Add semantic relations to the entity tooltip #1624
- Users can hide / display ordering table in Statement Editor (through user customization modal) #1654
- Display entity tags even for entities with invalid data (but show that they are invalid) #1657
- Batch actions on Statements in Territory (#1566)
- Buttons to replace / append content from previous or from selected statement (#1607)
- Searching (in Search box) by language (#1651)
- A new button + modal for creating new entity from Detail box (#1648)
- Dragging to an already occupied place (you can replace entity tag directly by drag-dropping another entity tag) (#1640)
- User can choose their default language which is applied as language parameter for all new entities (#1626)
- Add semantic relations to the entity tooltip (#1624)
- Users can hide / display ordering table in Statement Editor (through user customization modal) (#1654)
- Display entity tags even for entities with invalid data (but show that they are invalid) (#1657)

### Bugs:
### Bug fixes:

- Hiding tooltips when dragging entity #1643
- Hide those inverse relation types which are empty #1608
- Removed searching (in Seach box) by used template #1651
- C a A are now created with status pending #1638
- Reset password Toast allows copy the new password to clipboard #1637
- Hiding tooltips when dragging entity (#1643)
- Hide those inverse relation types which are empty (#1608)
- Removed searching (in Seach box) by used template (#1651)
- C a A are now created with status pending (#1638)
- Reset password Toast allows copy the new password to clipboard (#1637)
- "Search language" option hidden from the User customization modal
- Suggester does not lists Entities with Value class
- Territory tree box refreshes after a new entity class T is created

### Code refactor:

- Unlink button in Entity tags #1650
- Box scrolling update and styling #1641
- Data-import code rewritten, allows importing only selected collections #1635
- Unlink button in Entity tags (#1650)
- Box scrolling update and styling (#1641)
- Data-import code rewritten, allows importing only selected collections (#1635)
40 changes: 20 additions & 20 deletions docs/release_1.3.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,29 @@

### New features:

- Attributes of the actants / actions / props are now displayed next to the Entity - modal windows for handling attributes are removed #1633
- New icon symbolizing the connection latency to the server #1681
- Handling relations in template entitiy details #1262
- Batch actions for editing references in Statements #1666
- Select entity class by key down first #1662
- Autofocus on suggester entity class dropdown #1667
- User can hide entity sorting in Statement Editor #1589
- Assigning parent for new instances of T and S #1675
- Footer removed #1695
- Attributes of the actants / actions / props are now displayed next to the Entity - modal windows for handling attributes are removed (#1633)
- New icon symbolizing the connection latency to the server (#1681)
- Handling relations in template entitiy details (#1262)
- Batch actions for editing references in Statements (#1666)
- Select entity class by key down first (#1662)
- Autofocus on suggester entity class dropdown (#1667)
- User can hide entity sorting in Statement Editor (#1589)
- Assigning parent for new instances of T and S (#1675)
- Footer removed (#1695)

### Bugs:
### Bug fixes:

- Show bundle start and bundle end attributes #1668
- Empty relations leading to deleted entities bug #1665
- Smaller space for note #1688
- Actions missing in search dropdown bug #1697
- Username updated when changed in user settings #1729
- Show bundle start and bundle end attributes (#1668)
- Empty relations leading to deleted entities bug (#1665)
- Smaller space for note (#1688)
- Actions missing in search dropdown bug (#1697)
- Username updated when changed in user settings (#1729)
- Fixed non-breaking space symbols in the text fields
- Wrong date format in dates #1513
- Wrong date format in dates (#1513)

### Code refactor:

- Merge interfaces IOption and DropdownItem #1653
- Inactive user is stored as a logged-out user in db #1504
- Updating react-query library to the latest version #1723
- React-portal library is applied to the dropdowns resulting in better UX #1699
- Merge interfaces IOption and DropdownItem (#1653)
- Inactive user is stored as a logged-out user in db (#1504)
- Updating react-query library to the latest version (#1723)
- React-portal library is applied to the dropdowns resulting in better UX (#1699)
72 changes: 36 additions & 36 deletions docs/release_1.3.3.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,44 +2,44 @@

### New features:

- Filtering Territories functionality in the Territory tree
- Improved design for Territory tree
- Integrated improveded warnings for Entities and Statements
- Enabled copying Statement ID from Editor box #1727
- SOL relations generalized to SOE relations #1832
- New modality: Expectation #1830
- Enabled creating cross-entity-type Identification #1735
- Enabled combining two SYN clouds #1774
- Props design reworked #1750 #17 51
- Improved password management #1789
- Improved assigning T to users #1833
- Pause connection to the DB on no internet # 1802
- Statement tag tooltip improved #1824
- Added functionality for filtering Territories in the Territory tree.
- Redesigned the Territory tree for improved user experience.
- Integrated enhanced warnings for Entities and Statements.
- Introduced feature to copy Statement ID directly from the Editor box. (#1727)
- Generalized SOL relations to SOE relations. (#1832)
- Introduced new modality: Expectation. (#1830)
- Enabled creation of cross-entity-type Identification. (#1735)
- Introduced feature to combine two SYN clouds. (#1774)
- Reworked Props design in Editor. (#1750, #1751)
- Enhanced password management system. (#1789)
- Improved the process of assigning Ts to users. (#1833)
- Implemented automatic pause of connection to the DB during internet outages. (#1802)
- Enhanced the Statement tag tooltip. (#1824)

### Bugs:
### Bug fixes:

- Username not refreshed when changed in user settings #1729
- Removed unnecessary scroll in empty Actions list #1744
- Some inversed relations not showing up #1740
- C and A should not have IDE Relation (Identification) #1749
- Territory invalid move #1745
- Expanded meta props incorrectly aligned #1746
- Avoid copying legacyId parameter #1752 and inversed relations #1753
- Hide scrollbars when not needed #1758
- Graph tooltip appearing with problems #1777
- Removed some duplicates in array fields in data #1787
- Value class unavailable for creation #1795
- Deleting favorited T makes model invalid bug #1818
- T template with missing parent applies incorrectly #1834
- A wrong default select value in the "Create entity" modal #1838
- Problem with handling audits for deleted users #1797
- Fixed issue where username was not updating after being changed in user settings. (#1729)
- Removed unnecessary scroll in an empty Actions list. (#1744)
- Addressed issues with some inversed relations not displaying. (#1740)
- Ensured C and A no longer have the IDE Relation (Identification). (#1749)
- Fixed issue with invalid Territory moves. (#1745)
- Corrected alignment of expanded meta props. (#1746)
- Prevented copying of legacyId parameter and inversed relations. (#1752, #1753)
- Improved UI by hiding scrollbars when not in use. (#1758)
- Addressed issues with Graph tooltip display. (#1777)
- Removed duplicates in array fields within data. (#1787)
- Addressed unavailability of Value class for creation. (#1795)
- Fixed bug where deleting a favorited T invalidates the model. (#1818)
- Resolved issue with T template incorrectly applying when parent is missing. (#1834)
- Fixed default select value error in the "Create entity" modal. (#1838)
- Addressed issues in handling audits for deleted users. (#1797)

### Code refactor:

- Pnpm is now used for bundling and package management #1767
- Npm scripts in packages (client, server, database) were standardized #1767
- RethinkDB now uses pool connection to reduce the overhead #1756
- Used package caching in CI #1772
- Checked ts-ignore for react-dnd #1773
- React-table migrated to v7 #1779
- React-router fully upgraded to a new version
- Transitioned to pnpm for bundling and package management. (#1767)
- Standardized npm scripts across packages (client, server, database). (#1767)
- Optimized RethinkDB by using pool connection to reduce overhead. (#1756)
- Implemented package caching in CI for efficiency. (#1772)
- Addressed ts-ignore checks for react-dnd. (#1773)
- Upgraded React-table to version 7. (#1779)
- Completed upgrade of React-router to its latest version.
Loading

0 comments on commit f674fbf

Please sign in to comment.