Commit Graph

8632 Commits

Author SHA1 Message Date
Abdullah Atta
c19fed1d9f ci: add proper env_vars for mac-os app notarization 2022-09-29 18:42:23 +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
6469c6d689 core: forcefully set item type to tiptap if it is content 2022-09-29 16:59:43 +05:00
ammarahm-ed
3c00938fe8 mobile: fix back button hidden on tablet 2022-09-29 16:04:13 +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
Abdullah Atta
f69afd2d9a editor: defer update propagation by 100ms
by default our editor sends an update "signal" on every single transaction.
This is oftentimes unnecessary. We can
improve the responsiveness by deferring this so multiple transactions cause
1 rerender.
2022-09-29 15:56:24 +05:00
Abdullah Atta
02459d759f web: speed up word counting
Previously we moved to getting the `innerText` directly from the browser.
This was okay but it strained the browser quite a bit. Now we are moving
back to using `textBetween` since after some benchmarking the difference
in speed is minimal. It is possible
that there is a better alternative
specifically designed for prosemirror.
2022-09-29 15:56:24 +05:00
Abdullah Atta
69d48ce5c1 editor: menus not opening on web/desktop 2022-09-29 15:56:05 +05:00
Abdullah Atta
db5abecb43 web: set title on nav item menus 2022-09-29 15:55:52 +05:00
Abdullah Atta
89123c0be5 web: right click on selected items deselects them 2022-09-29 15:55:52 +05:00
Abdullah Atta
119a931312 web: install @types/marked 2022-09-29 15:55:37 +05:00
Abdullah Atta
e3d86440c1 web: open all links in release notes in a new tab/window 2022-09-29 15:55:37 +05:00
Abdullah Atta
8a19fd8de5 desktop: handle MAC_APP_STORE is not defined error 2022-09-29 14:37:35 +05:00
ammarahm-ed
058431836d mobile: add missing null check 2022-09-29 10:32:28 +05:00
ammarahm-ed
f7d0267ad5 mobile: bump version to 2.2.1 2.2.1-android 2022-09-28 18:03:37 +05:00
ammarahm-ed
4fc4951e2e mobile: fix crash in notes list 2022-09-28 15:42:33 +05:00
Abdullah Atta
1b8dbb440b ci: use -eq instead of == in powershell v2.2.0 2.2.0-android 2022-09-28 13:04:40 +05:00
Abdullah Atta
6b138958fe ci: use $true for boolean comparison on windows 2022-09-28 12:56:56 +05:00
Abdullah Atta
03803cde6d ci: publish arm64 & x64 builds for macOS 2022-09-28 12:31:59 +05:00
Abdullah Atta
a61b577947 web: check for desktop os when filtering announcements 2022-09-28 12:14:41 +05:00
Abdullah Atta
de0bbff296 web: treat mac app store build specially 2022-09-28 12:13:37 +05:00
Abdullah Atta
5646b9249e desktop: ready app for mac store submission (#1057)
* desktop: add support for publishing to mac app store

* ci: add step for deployment to testflight

* ci: temporarily run build only on macos

* config: cache `build:desktop` output in nx

* ci: use `macos-12` instead of `macos-latest`

* ci: no need to install `jq`

* ci: build & deploy manually

* ci: set env_vars using `env` key

* ci: install packages before building

* ci: build electron bundle before deployment

* ci: install distribution signing cert

* web: disable app store offending stuff for macos

* ci: enable deployment to testflight

* ci: remove cert installation to keychain

* desktop: pass entitlement files through plutil

* ci: use a single cert for everything

* ci: fix altool command for uploading macOS package

* ci: use env_vars for apiKey & apiIssuer

* ci: install provisionprofile

* ci: install provisioning profile in `./apps/web/desktop` dir

* desktop: change bundleId to `org.streetwriters.notesnook`

* ci: deploy & build in separate steps

* ci: add jobs for linux & windows releasing

* ci: checkout repo before anything else

* ci: add `GH_TOKEN` to env & use ps syntax on windows

* ci: get app store versions only for mac app

* ci: correct order of steps

Co-authored-by: ammarahm-ed <ammarahmed6506@gmail.com>
2022-09-28 12:00:33 +05:00
Abdullah Atta
b3ea6523ae global: set license prop of all package.json files to GPL-3.0-or-later 2022-09-26 15:30:16 +05:00
Abdullah Atta
2e7b890e40 config: add new global commit scope 2022-09-26 15:29:34 +05:00
Abdullah Atta
0b34af4931 web: allow regional pricing 2022-09-24 09:25:12 +05:00
Abdullah Atta
977e0fd1c1 ci: publish to snapcraft manually 2022-09-23 12:01:34 +05:00
Abdullah Atta
4b138a5d42 ci: use SNAPCRAFT_STORE_CREDENTIALS instead of --with for snapcraft auth 2022-09-23 11:35:17 +05:00
Abdullah Atta
8ee1ccbc2b ci: check for ubuntu for snapcraft installation instead of linux 2022-09-23 11:20:18 +05:00
Abdullah Atta
7b48499527 desktop: publish app to snapcraft 2022-09-23 11:13:35 +05:00
ammarahm-ed
042028f1eb ci: build ipa in two steps 2022-09-22 17:57:13 +05:00
ammarahm-ed
1f16c91a38 ci: update codemagic workflow 2022-09-22 17:38:41 +05:00
ammarahm-ed
aa39103981 mobile: remove push notification listener 2022-09-22 15:55:20 +05:00
ammarahm-ed
71fedd7aad ci: fix apk build command 2022-09-22 15:18:48 +05:00
ammarahm-ed
9b37d4a857 ci: remove debug.keystore 2022-09-22 14:54:08 +05:00
ammarahm-ed
e97d2c076e Merge branch 'master' of https://github.com/streetwriters/notesnook 2022-09-22 14:34:05 +05:00
ammarahm-ed
c790275de3 ci: use github token for current repo 2022-09-22 14:33:59 +05:00
Abdullah Atta
e0e672c892 web: add download link for portable desktop app 2022-09-22 14:02:21 +05:00
Abdullah Atta
5290021b25 desktop: include os & _portable in artifactName 2022-09-22 13:56:16 +05:00
ammarahm-ed
27bb5ce908 Merge branch 'master' of https://github.com/streetwriters/notesnook 2022-09-22 13:44:12 +05:00
ammarahm-ed
508cb9bf2e ci: move codemagic.yaml to root 2022-09-22 13:44:06 +05:00
Abdullah Atta
5643525829 web: fix editor content resets on rerender
this was an annoying issue where any kind of re-render caused the editor
content to be reset.
2022-09-22 13:20:07 +05:00
ammarahm-ed
8f32dbd4df mobile: fix failing tests 2022-09-22 12:45:06 +05:00
Abdullah Atta
fbb8ace28d desktop: generate portable windows binaries (fixes #864) 2022-09-22 12:26:52 +05:00
Abdullah Atta
2749d285e9 ci: GH_TOKEN -> GITHUB_TOKEN 2022-09-22 12:25:44 +05:00
ammarahm-ed
928355a8c4 mobile: add release notes 2022-09-22 12:20:38 +05:00
ammarahm-ed
651c7ba180 ci: add secrets to workflow 2022-09-22 12:12:53 +05:00
Abdullah Atta
df92c8db9d web: remove unused github workflows 2022-09-22 12:08:36 +05:00