Commit Graph

148 Commits

Author SHA1 Message Date
2e1d48168a refactor: rename userId to npub
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 34s
2024-09-20 11:13:48 +02:00
70cca9dd10 refactor: add getProfileUsername utility func 2024-09-19 14:46:22 +02:00
f81f2b0523 refactor: better variable names
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 33s
2024-09-19 13:15:54 +02:00
182ef40d8d Merge branch 'staging' into 201-toolbox-update
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 34s
2024-09-19 10:00:45 +00:00
dd53ded518 fix: updates blossom authorisation event
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 34s
2024-09-18 17:57:36 +03:00
f8a4480994 refactor(toolbox): reduce number of mark types
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 33s
Closes #201
2024-09-17 17:22:15 +02:00
43beac48e8 fix(pdf): keep upscaling to match viewport
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 34s
2024-09-17 14:41:54 +02:00
f35e2718ab fix(pdf): mark embedding, position, multiline, & placeholder
Closes  #176, #178
2024-09-17 14:33:50 +02:00
a53914b59d Merge branch 'staging' into 196-ext-login-infinite-loading
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 35s
2024-09-16 12:19:09 +00:00
b
5a2a0ad9c4 Merge branch 'staging' into 196-ext-login-infinite-loading
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 33s
2024-09-16 11:45:22 +00:00
1dfab7b82b refactor: metadatacontroller as singleton 2024-09-16 11:06:55 +02:00
8b4f1a8973 fix(online-detection): use relative url
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 35s
2024-09-16 11:00:16 +02:00
79ef9eb8d6 fix: url
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 34s
2024-09-13 17:47:55 +02:00
ea7e3a0964 refactor: update url for online status 2024-09-13 11:06:06 +02:00
235e76be4e fix: processing gift wraps and notifications (#193)
All checks were successful
Release to Staging / build_and_release (push) Successful in 1m16s
This change will potentially close multiple issues related to the gift-wrapped events processing (#168, #158). Further testing will be required to confirm before closing each.

The commented-out code causes the race condition during the processing of the gift wraps with sigits.

During the processing we perform checks to see if sigit is outdated. In cases where sigit includes multiple signers it's possible for a signer to receive multiple sigit updates at once (especially noticeable for 3rd, 4th signer). Due to async nature of processing we can have same sigit enter processing flow with different states. Since this code also updates user's app state, which includes uploads to the blossom server it takes time to upload local user state which causes both to check against the stale data and un-updated app state. This results in both sigits being "new" and both proceed to update user state and upload app data. We have no guarantees as in which event will update last, meaning that the final state we end up with could be already stale.

The issue is also complicated due to the fact that we mark the gift wraps as processed and it's impossible to update the state without creating a new gift wrap with correct state and processing it last to overwrite stale state.

This is temporary solution to stop broken sigit states until proper async implementation is ready.

Co-authored-by: b
Reviewed-on: #193
Reviewed-by: eugene <eugene@nostrdev.com>
Co-authored-by: enes <mulahasanovic@outlook.com>
Co-committed-by: enes <mulahasanovic@outlook.com>
2024-09-12 08:26:59 +00:00
9c545a477c fix(errors): add custom timeout error 2024-09-11 16:33:53 +02:00
f0ba9da8af fix: outdated cache checks
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 33s
2024-09-09 14:16:58 +02:00
81f40c345a refactor: use ellipsis instead of 3 dots 2024-09-05 09:31:52 +02:00
a3effd878b fix(pdf): use minified version of pdf 2024-09-03 16:46:54 +02:00
c2d065a8a5 refactor(pdf-dist): optimize workers 2024-09-02 12:59:35 +02:00
1c998ab99f refactor(error): refactor MetaParseError 2 2024-08-28 13:25:56 +02:00
fa1811a330 refactor(error): refactor SigitMetaParseError 2024-08-28 13:25:56 +02:00
3a03e3c7e8 chore: comment typo 2024-08-28 13:25:56 +02:00
5570d72f79 chore(git): merge pr #165 from 146-pdf-scaling into staging
All checks were successful
Release to Staging / build_and_release (push) Successful in 1m21s
Reviewed-on: #165
Reviewed-by: eugene <eugene@nostrdev.com>
2024-08-28 11:23:33 +00:00
59c3fc69a2 fix(pdf): reuse content width function
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 33s
2024-08-28 11:41:29 +02:00
9dc160e89c Merge pull request 'Signing Order' (#167) from issue-158 into staging
All checks were successful
Release to Staging / build_and_release (push) Successful in 1m13s
Reviewed-on: #167
Reviewed-by: enes <enes@noreply.git.nostrdev.com>
2024-08-28 08:41:33 +00:00
4712031615 fix(pdf): scaling on resize, add avatars to counterpart select
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 34s
2024-08-27 15:24:19 +02:00
ec305c417b fix: signing order
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 34s
2024-08-27 16:17:34 +03:00
8c5be3713d refactor(pdf): remove unused code
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 34s
2024-08-26 14:10:11 +02:00
ea09daa669 fix(pdf): dynamic mark scaling
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 33s
Caveat: scaling is not fluid, refresh is required
2024-08-23 21:30:32 +02:00
ac3186a02e fix(pdf): scaling and font styles consistency
Closes #146
2024-08-23 13:39:49 +02:00
ae08b07d74 feat: add uploaded image file as preview 2024-08-22 18:48:03 +02:00
05a2dba164 fix: show extension box for non-mark files, de-dupe css and code
Closes #138
2024-08-22 18:20:54 +02:00
c9d7d0a6f5 feat(content): show other file types as gray box 2024-08-22 18:19:16 +02:00
daniyal
070b02abee chore: quick fix
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 43s
2024-08-22 16:12:58 +05:00
daniyal
49c1714962 fix: use old approach of using sha256 for generating d tag
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 44s
2024-08-22 16:11:20 +05:00
daniyal
18270c5d8a feat: use nip04 for encryption and decryption of userData to store on blossom server
Some checks failed
Open PR on Staging / audit_and_check (pull_request) Failing after 17s
2024-08-22 13:08:30 +05:00
daniyal
d7b5ea9b9e fix: use default relayMap if its undefined in redux store
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 33s
2024-08-21 12:53:19 +05:00
b
c1b1c5a075 Merge branch 'staging' into reduce-relay-connection-attempts
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 33s
2024-08-21 07:42:43 +00:00
daniyal
4a553c047c chore: addressed PR comments
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 32s
2024-08-21 12:41:59 +05:00
daniyal
f9fcfb1c9e fix: manage pending relay connection requests
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 34s
Also remove the getMostPopularRelays function and use a hardcoded list of relays
Further, if metadata event is not found from relays cache an empty metadata for that pubkey
2024-08-21 00:16:21 +05:00
4d4a5b63cf fix: displays complete marks from other users
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 32s
2024-08-20 17:04:27 +03:00
15e01f530f chore(git): merge branch 'staging' into 148-create-page 2024-08-20 14:39:19 +02:00
61f39d17ff fix(lint): add deps, remove any, update warning limit
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 34s
2024-08-20 14:38:03 +02:00
s
0f8a40e9f0 Merge branch 'staging' into relay-controller
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 32s
2024-08-20 12:12:11 +00:00
b12ce258eb fix(create-page): show other file types in content 2024-08-20 11:46:45 +02:00
eca31cea4f feat(pdf-marking): adds file validity check 2024-08-20 11:31:11 +02:00
b6479db266 fix(marks): add file grouping for marks, fix read pdf types
Some checks failed
Open PR on Staging / audit_and_check (pull_request) Failing after 33s
2024-08-20 11:18:30 +02:00
b2c3cf2aca fix(sigit): add to submittedBy avatar badge for verified sigit creation 2024-08-20 11:18:30 +02:00
268a4db3ff revert: "feat(pdf-marking): adds file validity check"
Refs: ed7acd6cb4
2024-08-20 11:18:30 +02:00