Commit Graph

8801 Commits

Author SHA1 Message Date
ammarahm-ed
92aab25da2 mobile: fix crash on android 7.0 devices 2022-10-06 12:05:50 +05:00
ammarahm-ed
9af77e1161 mobile: fix incorrect device orientation detection 2022-09-30 11:40:16 +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
aa27c27e8b ci: fix altool command for deploying to testflight v2.2.1 2022-09-29 21:29:45 +05:00
Abdullah Atta
c81046081f ci: specify full path to API_KEY 2.2.2-android 2022-09-29 21:13:18 +05:00
ammarahm-ed
fea0bade69 mobile: bump version code on android 2022-09-29 20:27:46 +05:00
Abdullah Atta
cd9096d1a8 ci: change both APPLE_API_KEY env_vars 2022-09-29 20:26:17 +05:00
Ammar Ahmed
dc92f40ee2 Merge pull request #1104 from streetwriters/fix-migration-flow
Fix migration flow
2022-09-29 20:26:03 +05:00
Abdullah Atta
2f5de8149d ci: use api key name as APPLE_API_KEY 2022-09-29 20:14:29 +05:00
Abdullah Atta
f7ade8a4c3 ci: upload web app build artifact folder 2022-09-29 19:59:07 +05:00
Abdullah Atta
f200737e9b ci: do not skip snapcraft publishing 2022-09-29 19:50:22 +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
ammarahm-ed
6ab9777fbd mobile: bump version to 2.2.2 2022-09-29 18:52:52 +05:00
ammarahm-ed
e3820b3e12 mobile: remove pin limit 2022-09-29 18:48:13 +05:00
Abdullah Atta
53ce66f4a6 web: remove limit on no. of pins 2022-09-29 18:48:13 +05:00
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
20819325fb core: add null sanity checks in migration 2022-09-29 15:12:20 +05:00
Abdullah Atta
8a19fd8de5 desktop: handle MAC_APP_STORE is not defined error 2022-09-29 14:37:35 +05:00
ammarahm-ed
65b8faa5c9 mobile: add error handling in migration sheet 2022-09-29 14:13:27 +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