Commit Graph

2599 Commits

Author SHA1 Message Date
Abdullah Atta
be65594e54 web: update pwa metadata 2022-10-20 15:29:29 +05:00
Abdullah Atta
a45a6466e7 web: exclude code language chunks from service worker prefetch 2022-10-20 15:11:02 +05:00
Abdullah Atta
729192f836 web: remove Permissions-Policy from headers 2022-10-20 14:15:50 +05:00
Abdullah Atta
9ee13df74e web: don't show login button for logged in users 2022-10-20 14:08:41 +05:00
Abdullah Atta
d92357cf82 web: add web app security headers for cloudflare pages 2022-10-20 14:08:41 +05:00
Abdullah Atta
d907d4f0ea web: improve content loader animation colors 2022-10-20 14:08:41 +05:00
Abdullah Atta
18a463219d web: limit editor width to 850px 2022-10-20 14:08:41 +05:00
Abdullah Atta
71b2034195 desktop: bump bundle version to 222 2022-10-19 15:33:29 +05:00
Abdullah Atta
555442aa57 web: bump version to 2.2.2 2022-10-19 15:32:42 +05:00
Abdullah Atta
5d94db7b6c desktop: convert all files to use es imports 2022-10-19 15:27:21 +05:00
Abdullah Atta
2e0c630ccd desktop: update electron to v21 & cleanup deps 2022-10-19 15:26:11 +05:00
Abdullah Atta
27f26065f6 desktop: disable requestSingleInstanceLock for mac app store build 2022-10-19 13:12:08 +05:00
Abdullah Atta
e25d4a3039 global: update qclone to 1.2.0 2022-10-19 12:10:31 +05:00
Abdullah Atta
1d6f7b3e3e global: remove all .npmrc files 2022-10-19 11:29:39 +05:00
Abdullah Atta
8049b02451 web: improve pane resizing 2022-10-19 11:23:23 +05:00
Abdullah Atta
dc7e00e087 web: fix qclone error 2022-10-19 11:18:20 +05:00
Abdullah Atta
d42f617d0f core: fix md export for notes with codeblocks 2022-10-18 17:31:31 +05:00
Abdullah Atta
2974d554ad web: fix blank notes screen on screen resize 2022-10-18 13:52:20 +05:00
Abdullah Atta
7f68c5e57c web: update test snapshots 2022-10-18 10:56:38 +05:00
Abdullah Atta
50cdf8d5d5 web: seemlessly -> seamlessly 2022-10-18 10:14:40 +05:00
Abdullah Atta
0c4698ef14 web: show loading dialog on permanent logout on session expire 2022-10-18 10:14:23 +05:00
Abdullah Atta
c49ad313c9 web: fix login loop when session expires & 2fa is required 2022-10-18 10:14:01 +05:00
Abdullah Atta
3ac3b1bcdb global: update package-lock files 2022-10-17 23:08:39 +05:00
Abdullah Atta
b94af68265 web: cache editor content before saving 2022-10-17 22:45:27 +05:00
Abdullah Atta
112497b1b6 core: add progress during migration & backup restore 2022-10-17 22:43:26 +05:00
Abdullah Atta
dc79c274df web: auto save backup on desktop 2022-10-17 22:42:09 +05:00
Abdullah Atta
d35d355fb3 web: move backup time forward when it is skipped 2022-10-17 22:39:54 +05:00
Abdullah Atta
fdcb8f107f web: minor ui fixes 2022-10-17 19:54:20 +05:00
Abdullah Atta
bb0341ee74 web: fix custom scrollbars on firefox & other browsers 2022-10-17 10:39:22 +05:00
Abdullah Atta
a255766cda web: improve move note to notebook UX 2022-10-14 18:12:08 +05:00
Abdullah Atta
088c143f59 web: auto disable encrypted backups if user is not pro 2022-10-14 17:54:25 +05:00
Abdullah Atta
36f3701b4f web: allow exporting all notes as html, md or txt 2022-10-14 17:49:38 +05:00
Abdullah Atta
bc7b3535e6 web: minor ui fixes 2022-10-14 10:21:00 +05:00
Abdullah Atta
6e64756725 web: fix Failed to execute 'decode' on 'TextDecoder' error 2022-10-14 10:20:24 +05:00
Abdullah Atta
11a3092bac web: make editor title font-size relative to title length 2022-10-13 19:23:48 +05:00
Abdullah Atta
e1fc116994 core: improve content conflict detection using proper HTML diffing (#1183)
Since HTML is a tree-like language it is futile to compare it character
for character. `html1 === html2` is almost always false. This commit
introduces a simple diffing algorithm that only checks the text inside
the html + a few other attributes to decide whether the 2 HTMLs are
actually different or not. This is obviously not foolproof and it will
ignore everything aesthetic (b, em, strong tags etc.). This is actually
desireable because in our case only the text difference should
warrant a conflict. Everything else can easily be brought back.
Similarly, this also ignores whitespace differences surrouding the
tags.

All in all it'll provide a more reliable alternative to MD5 hashing the
2 HTMLs.
2022-10-13 19:22:32 +05:00
Abdullah Atta
9701a3d660 web: make table row toolbar vertical for compactness 2022-10-13 19:18:33 +05:00
Abdullah Atta
73ed73b2b3 web: improve tag auto suggest 2022-10-12 20:16:26 +05:00
Abdullah Atta
74bcd1b27d web: clicking under table should create a new paragraph 2022-10-12 15:16:42 +05:00
Abdullah Atta
ee0fb3680a desktop: reduce minimum required macOS version to 10.12.0
This fixes #1180
2022-10-12 14:35:07 +05:00
Abdullah Atta
bba3e5cf37 desktop: update package-lock.json 2022-09-29 22:40:52 +05:00
Abdullah Atta
b384f85b01 desktop: use official electron-builder-notarize package 2022-09-29 22:37:10 +05:00
Abdullah Atta
32283e973b desktop: use custom fork of electron-builder-notarize 2022-09-29 19:46:41 +05:00
Abdullah Atta
ce889cf1c3 web: bump version to v2.2.1 2022-09-29 19:05:25 +05:00
Abdullah Atta
53ce66f4a6 web: remove limit on no. of pins 2022-09-29 18:48:13 +05:00
Abdullah Atta
0eeaf808fc desktop: fix issue with snap desktop integration 2022-09-29 18:17:11 +05:00
Abdullah Atta
78afb7eaf7 web: update note title only on note open
this was a subtle bug where typing really fast in the editor
caused jank & erratic behavior.
2022-09-29 18:09:03 +05:00
Abdullah Atta
2334987359 web: set user status to premium during tests 2022-09-29 16:03:24 +05:00
Abdullah Atta
745c89ef86 web: fix issue where onboarding is shown to everyone
this happened due to a very annoying issue with javascript where
`null <= 0` is true but `null === 0` is false & `null < 0` is false too.
2022-09-29 16:03:24 +05:00
Abdullah Atta
2d277fbe2b web: don't treat dev environment as a special case 2022-09-29 16:03:24 +05:00