Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: wraft/wraft

Tags

v0.6.4

Toggle v0.6.4's commit message

Verified

This commit was signed with the committer’s verified signature.
salsabeeljamal Salsabeel
chore: bump version to 0.6.4

v0.6.3

Toggle v0.6.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: add organisation pending invite list with resend and revoke act…

…ions (#120)

* feat: list organisation invite users

* feat: add revoke, re-invite

* chore: updated swagger doc

* feat: order invited users by invited date

---------

Co-authored-by: Sad-lie <[email protected]>

v0.6.2

Toggle v0.6.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: add vendors (#117)

* feat: add vendor contacts and vendor schema and migration

* feat: add apis for vendors and vendor contact

* fix: migration script update

* fix: update vendor and vendor contact schemas

* feat: pair of apis to connect and disconnect vendor with document

* feat: vendors_content migration & schema, update test

* fix: fix the seeds

* fix: test and fix bugs to ensure all apis work seamlessly

* feat: remove gstin field from vendors table

* fix: add contacts field as response in vendor contact index

* feat: vendor stats

* feat: revert vendor document to one to one relationship

* fix: revert back to the changes for vendor_id in instance table

* feat:add permissions

* chore: clean up unwanted code related to connect and disconnect as we move the logic to just connect document and vendor one to one

* fix: minor fixes

* feat: Refactor vendor context and remove GSTIN field\n\n- Migrated vendor-related modules and tests from the old context to a new context.\n- Renamed VendorContext to VendorService.\n- Renamed VendorContextProvider to VendorServiceProvider.\n- Created VendorRepository to encapsulate vendor-related functions.\n- Updated references to vendor modules across the codebase (e.g., VendorService, VendorServiceProvider, VendorRepository, VendorContext, VendorContextProvider).\n- Moved vendor-related tests from tests/contexts to tests/services.\n- Removed the GSTIN field from the schema and all associated tests and factories.\n- Fixed various test failures due to module relocation and schema changes, including updating test assertions and ensuring correct parameter passing.

* fix: minor fix in vendor tests

* refactor: vendor get stats function

* chore: remove unwanted tests

* fix: vendor controller failing tests related to stats

* fix: add vendors preload back for create instance

* fix: remove redundant migration script

* feat: query based on either name or email for vendor index

* fix: minor fixes

* fix: preload vendor error related to approving the document

* test: fix failing tests

v0.6.1

Toggle v0.6.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: add vendors (#117)

* feat: add vendor contacts and vendor schema and migration

* feat: add apis for vendors and vendor contact

* fix: migration script update

* fix: update vendor and vendor contact schemas

* feat: pair of apis to connect and disconnect vendor with document

* feat: vendors_content migration & schema, update test

* fix: fix the seeds

* fix: test and fix bugs to ensure all apis work seamlessly

* feat: remove gstin field from vendors table

* fix: add contacts field as response in vendor contact index

* feat: vendor stats

* feat: revert vendor document to one to one relationship

* fix: revert back to the changes for vendor_id in instance table

* feat:add permissions

* chore: clean up unwanted code related to connect and disconnect as we move the logic to just connect document and vendor one to one

* fix: minor fixes

* feat: Refactor vendor context and remove GSTIN field\n\n- Migrated vendor-related modules and tests from the old context to a new context.\n- Renamed VendorContext to VendorService.\n- Renamed VendorContextProvider to VendorServiceProvider.\n- Created VendorRepository to encapsulate vendor-related functions.\n- Updated references to vendor modules across the codebase (e.g., VendorService, VendorServiceProvider, VendorRepository, VendorContext, VendorContextProvider).\n- Moved vendor-related tests from tests/contexts to tests/services.\n- Removed the GSTIN field from the schema and all associated tests and factories.\n- Fixed various test failures due to module relocation and schema changes, including updating test assertions and ensuring correct parameter passing.

* fix: minor fix in vendor tests

* refactor: vendor get stats function

* chore: remove unwanted tests

* fix: vendor controller failing tests related to stats

* fix: add vendors preload back for create instance

* fix: remove redundant migration script

* feat: query based on either name or email for vendor index

* fix: minor fixes

* fix: preload vendor error related to approving the document

* test: fix failing tests

v0.6.0

Toggle v0.6.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: document build fail (#62)

v0.5.1

Toggle v0.5.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: default template production config (#41)

* fix: default template production config

* chore: remove self hosted flags from migrations

* fix: seed issue in production

* chore: refactor migration remove change add up/down

v0.5.0

Toggle v0.5.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: add users to collaborate and engage with the document (#24)

* feat: schema and migration tables for guest user

* feat: add unique index for guest user to maintain uniqueness based on the email provided

* feat: add schema migration table for content collaboration

* feat: update the content collaboration schema to have guest user field as well

* feat: migration script to create counter parties table

* feat: add schemas for counter parties

* feat: api for sharing the document to a user via email whether it is a guest user or otherwise

* feat: document access verification API

* feat: revoke document access api

* feat: list collaborators api

* feat: update collaborator role api

* fix: make the migration script as up and down function for content colaboration table scenario handling

* fix: fix issues and refactoring of the api

* fix: change share api naming to invite api

* fix: bug fixes related to list api and revoke api

* feat: add and remove counterparty

* feat: add meta field to content table and document type field in content type table

* docs: update the docs and content_type views to add document type for all the related apis

* feat: add parametrized scalable meta embedded schema based on ecto custom type for identifying the document type

* refactor: refactor the existing implementation for document meta handling along with some minor fixes

* feat: create an update_meta api to update the meta fields

* fix: fix issues with updating the meta fields

* feat:add start date to contract clm

* feat: api for sharing the document to a user via email whether it is a guest user or otherwise

* fix: minor fix

* feat: add role as editor too in content collaboration

* feat: add migration script for content collaboration table for handling who invited and who revoked and when as well as add user type in user table

* feat: add the revoked_by and revoked_at as well as invited_by logic for content collaboration

* WIP: Implementing collaboration

* WIP: add the token in the invite api response

* chore: moved the collaboration related api to instance_guest controller and wrote function for guest access token creation

* fix: remove guest_user table

* fix: minor fixes in apis on removing guest user field

* feat: add or remove flow state users at a document level instead of content_type level

* fix: fix the api for add or remove user at flow state at document level

* feat: guest access token time period set to 3 days

* fix: fix the flow state users indexing to filter out and not show those added at document level

* feat: list flow state users at document level

* fix: document level user shown in the preload of show flow api and replace add add unique constraint with state document and user id in state users table along with considering the null document id as distinct

* fix: add partial unique index for state_users table

* feat: allow the added user to document level state to be allowed to see the document in the listing

* fix: list collaborators scenario where the document instance state id is null should return an empty list

* fix: verify token gracefully handle the error where the document id is different from one in the token

* fix: already revoked document need not return the success scenario and already not accepted need not be revoked

* feat: allow a revoked user to be send invitation again

* chore: refactor the code and remove unwanted code snippets and clean up

* feat: pass document id in url passed by email in document verification for guest access

* fix: minor fix in guest document access removing the guest field check

* feat: add guest user to be able to update the document based on roles as well as comments for the document based on the roles

* fix: rewrite create comments function to handle both scenarios for guest user as well as normal user

* fix: gracefully allow a guest user to register and create an account

* chore: collab - temp commit

* WIP: basic connecting the live collab in wraft backend

* WIP: initial doc data load

* chore: temporarily disable CORS for testing

* fix: minor change in the url of the invite of shared document

* fix: remove contract meta fields as not required

* feat: add a removable users identifier to the document

* feat: return role via verify document access api

* feat: add versioning on saving the document along with the existing case of versioning on building the document

* fix: handle rollback scenario in version_number field where on save, duplicate build integer entries can occur

* fix: revert version number field to integer type

* fix: content_id not being added on initial version creation

* fix: minor edit in mjml template for document guest access

---------

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

v0.4.4

Toggle v0.4.4's commit message

Verified

This tag was signed with the committer’s verified signature.
salsabeeljamal Salsabeel
- Fixed default state in flows for template assets

- Replaced conflicting name with incrementing name in template assets
- Added `Xelax` environment variable in Docker Compose file

- Enabled importing zip file from URL
- Allowed accepting frame from template asset
- Added pre-check validation: users can include missing wraft items
- Implemented zip file validation (wraft JSON, missing folders associated with JSON fields)

- Introduced frames support
- Added subscription management
- Implemented plan management:
    - Integrated Paddle for plans
    - Added Admin panel for managing plans
    - Enabled customizable plan durations
- Released public template assets:
    - Added screenshot and description for public templates
    - Included Admin panel for managing public templates
    - Added 'Download Template' API
    - Added API for importing templates from public template assets

v0.4.3

Toggle v0.4.3's commit message

Verified

This tag was signed with the committer’s verified signature.
salsabeeljamal Salsabeel
New Features

- Added default pair of Wraft data templates upon organization creation.
- Implemented versioned file naming based on document instance ID for generated documents.
- Included author and title in the meta tags of generated documents.
- Added creation of custom Wraft templates according to Wraft specification.

Bug Fixes 🐛
- Resolved edge cases in unassigning user roles.

Improvements
- Test suite now runs seamlessly.

v0.4.2

Toggle v0.4.2's commit message

Verified

This tag was signed with the committer’s verified signature.
salsabeeljamal Salsabeel
- update Readme

- update docker file
- update env example file
- minor bug fixes