Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge Release/1.15 into master #1946

Merged
merged 65 commits into from
Mar 10, 2020
Merged
Show file tree
Hide file tree
Changes from 63 commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
127763c
Note list: Make decorator for search result highlighting case insensi…
codebykat Jan 13, 2020
8c8ef67
Refactor tag suggestions (#1827)
dmsnell Jan 13, 2020
ee3c63e
Fix tag rename functionality (#1834)
belcherj Jan 14, 2020
93ff646
Bump node version in CI (#1842)
dmsnell Jan 16, 2020
fd7cdc0
Fix: Conditionally strip-out markdown in note previews (#1839)
dmsnell Jan 17, 2020
dee5093
Refactor: Use direct comparison of note id when receiving remote upat…
dmsnell Jan 17, 2020
3f75e82
Cycle AppVeyor GH Token (#1845)
belcherj Jan 17, 2020
43bc2a5
Fix: Replace missing click handler in revision slider (#1837)
dmsnell Jan 21, 2020
29c30c2
Stop erasing the copy buffer if copying empty editor selections (#1847)
dmsnell Jan 21, 2020
5b501e7
Add Types to state ui actions (#1849)
belcherj Jan 23, 2020
c7284e6
Fix: Added change notes to wrong version (#1860)
dmsnell Jan 24, 2020
62fb618
Fix: Added change notes to wrong version (#1860) (#1861)
dmsnell Jan 24, 2020
23a31e4
Types: Add core types to support Redux refactors (#1855)
dmsnell Jan 24, 2020
3d24822
Refactor: Add types to legacy Redux modules (#1856)
dmsnell Jan 24, 2020
02a5fe0
Merge pull request #1865 from Automattic/release/1.14
dmsnell Jan 27, 2020
2e23711
Updates Dependencies to latest (#1848)
belcherj Jan 27, 2020
4fcc492
Remove uneeded action declarations (#1867)
belcherj Jan 28, 2020
2632d3e
Move simperium connection state from flux to redux (#1870)
belcherj Jan 29, 2020
82016dc
Types: Add legacy action types (#1873)
dmsnell Jan 30, 2020
a6e77e0
Allow unselecting tags by keyboard (#1853)
qualitymanifest Jan 30, 2020
c1cb40a
Refactor selected note state from flux to redux (#1851)
belcherj Jan 30, 2020
3867114
Fix: Restore markdown preview button (#1876)
dmsnell Jan 31, 2020
4b915b1
Move unsyncednoteids state from flux to redux (#1871)
belcherj Feb 3, 2020
9c14685
Fix: Update selected note when making changes in the editor view (#1880)
dmsnell Feb 6, 2020
1632c11
Update Electron and associated dependencies (#1771)
belcherj Feb 10, 2020
4795d1a
Use name attribute not the deprecated getter function (#1804)
belcherj Feb 11, 2020
c0a0901
Fix note up/down shortcut on Windows Chrome (#1888)
belcherj Feb 11, 2020
3e45fc3
Add types and reduce function context (#1889)
belcherj Feb 11, 2020
6518521
Types: Add types to <EditableList /> component (#1886)
dmsnell Feb 11, 2020
c83d3fc
Types: Add some more types to boot and some utils (#1884)
dmsnell Feb 11, 2020
342ad49
Move list title to redux (#1902)
belcherj Feb 13, 2020
83bdc4d
Fixes background on tag edit button (#1900)
belcherj Feb 13, 2020
07e16ee
Move editor mode to redux (#1866)
belcherj Feb 13, 2020
2f33deb
tag suggestions should be case insensitive (#1905)
codebykat Feb 13, 2020
d2d7f04
Refactor getNoteTitles (#1894)
belcherj Feb 13, 2020
d28c963
Move Search state to redux (#1881)
belcherj Feb 13, 2020
85bae61
move showNoteInfo and various accoutrements into redux (#1896)
codebykat Feb 14, 2020
586dadc
Refactors closeNote to Redux (#1895)
belcherj Feb 17, 2020
e9d4100
Moves Tag Editing state from flux to redux (#1899)
belcherj Feb 17, 2020
cab8de5
Move viewing revisions logic to redux (#1903)
belcherj Feb 17, 2020
a9b36ff
Include diff-match-patch surrogate fix v2 (#1912)
dmsnell Feb 17, 2020
f5d3033
Move showTrash from appState to Redux (#1901)
belcherj Feb 18, 2020
a73d3b9
make className optional (#1916)
codebykat Feb 19, 2020
7a39d7a
State refactor: Move toggle navigation to Redux (#1907)
codebykat Feb 20, 2020
8e4633f
Fix revisions loading on revisions panel toggle (#1915)
belcherj Feb 20, 2020
f3218d4
Refactor: Replace search field focus state with middleware (#1914)
dmsnell Feb 20, 2020
fc58344
Add Redux Devtools enhancer to store to make extension function (#1918)
belcherj Feb 20, 2020
8dbda58
Fix: Render unicode bullet as list in Markdown preview (#1922)
dmsnell Feb 21, 2020
480e543
Fix: Use proper import path for state types in app layout (#1923)
dmsnell Feb 21, 2020
47cea60
Remove hard-source-plugin (#1924)
dmsnell Feb 22, 2020
bd03885
Fix: Actually reset auth when authorizing without acess token (#1885)
dmsnell Feb 22, 2020
78a057a
Refactor: Move revision-fetching into new Simperium middleware (#1921)
dmsnell Feb 22, 2020
1aff3f2
Bump version to 1.15.0-beta.1
loremattei Feb 24, 2020
3a4fadd
Fixes tag list editing mode (#1927)
belcherj Feb 24, 2020
dafff35
Add testing checklist to revision control (#1925)
belcherj Feb 24, 2020
81a221e
Types: Add types to analytics module, fix module syntax (#1883)
dmsnell Feb 25, 2020
4964ffd
e2e tests: improve reliability of login test (#1913)
dmsnell Feb 25, 2020
5ea0e8a
Add types to BootWarning component (#1932)
belcherj Feb 26, 2020
1e7c3c3
Types: Add random types to various files (#1933)
dmsnell Feb 26, 2020
1127d65
Move previous index store to Redux (#1919)
belcherj Feb 26, 2020
8d2c669
Merge branch 'develop' into release/1.15
belcherj Feb 26, 2020
47840c6
Bump version to 1.15.0-beta.2
belcherj Feb 26, 2020
907c4db
Bump version to 1.15.0
loremattei Mar 9, 2020
66704a8
Release/v1.15 release notes (#1948)
dmsnell Mar 10, 2020
20c5413
update package-lock.json to include new version
dmsnell Mar 10, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
118 changes: 105 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,45 @@
version: 2
version: 2.1

orbs:
win: circleci/[email protected]

references:
restore_nvm: &restore_nvm
restore_cache:
name: Restoring NVM cache
keys:
- v1-nvm-0-33-11-{{ arch }}-{{ checksum ".nvmrc" }}
- v1-nvm-0-33-11-{{ arch }}
setup_nvm: &setup_nvm
run:
name: Install nvm and node version
command: |
set +e
set +u
set +x
NODE_VERSION=$(cat .nvmrc)
export NVM_DIR="${HOME}/.nvm"
mkdir -p "$NVM_DIR"
if [ ! -f "${NVM_DIR}/nvm.sh" ]; then
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
fi
[ -s "${NVM_DIR}/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
nvm install "$NODE_VERSION"
nvm alias default "$NODE_VERSION"
nvm use "$NODE_VERSION"
save_nvm: &save_nvm
save_cache:
name: Saving NVM cache
key: v1-nvm-0-33-11-{{ arch }}-{{ checksum ".nvmrc" }}
paths:
- ~/.nvm
npm_install: &npm_install
run:
name: Npm install
command: |
source $HOME/.nvm/nvm.sh
nvm use
npm ci
npm_restore_cache: &npm_restore_cache
restore_cache:
name: Restore npm cache
Expand All @@ -23,12 +62,12 @@ references:
command: |
sudo dpkg --add-architecture i386
sudo apt update
sudo apt -y install libxkbfile-dev libxkbfile-dev:i386 libx11-dev libx11-dev:i386 libxss-dev gcc-multilib g++-multilib rpm
sudo apt -y install libxkbfile-dev libxkbfile-dev:i386 libxext-dev libx11-dev libx11-dev:i386 libxss-dev gcc-multilib g++-multilib rpm

jobs:
build:
docker:
- image: circleci/node:10.16.3
- image: circleci/node:12.14.0
shell: /bin/bash --login
working_directory: ~/simplenote
steps:
Expand All @@ -37,12 +76,14 @@ jobs:
- run:
name: Decrypt assets
command: |
openssl aes-256-cbc -md md5 -d -in ./resources/certificates/win.p12.enc -out ./resources/certificates/win.p12 -k ${SECRETS_ENCRYPTION_KEY}
openssl aes-256-cbc -md md5 -d -in ./resources/certificates/mac.p12.enc -out ./resources/certificates/mac.p12 -k ${SECRETS_ENCRYPTION_KEY}
openssl aes-256-cbc -md md5 -d -in ./resources/secrets/config.json.enc -out ./config.json -k ${SECRETS_ENCRYPTION_KEY}
- *restore_nvm
- *setup_nvm
- *save_nvm
- *npm_restore_cache
- run: npm ci
- run: patch -p1 < ./resources/macos/macPackager-patch.diff
- run: patch -p1 < ./resources/macos/scheme-patch.diff
- *npm_install
- run: make build
- run: make lint
- run: make test
Expand All @@ -52,17 +93,18 @@ jobs:

linux:
docker:
- image: circleci/node:10.16.3
- image: circleci/node:12.14.0
working_directory: ~/simplenote
steps:
- checkout
- attach_workspace:
at: ~/simplenote
- *restore_nvm
- *setup_nvm
- *save_nvm
- *npm_restore_cache
- *install_linux_deps
- run: npm ci
- run: patch -p1 < ./resources/macos/macPackager-patch.diff
- run: patch -p1 < ./resources/macos/scheme-patch.diff
- *npm_install
- *npm_save_cache
- run: make package-linux SKIP_BUILD=true
- run:
Expand All @@ -85,10 +127,11 @@ jobs:
- checkout
- attach_workspace:
at: /Users/distiller/simplenote
- *restore_nvm
- *setup_nvm
- *save_nvm
- *npm_restore_cache
- run: npm ci
- run: patch -p1 < ./resources/macos/macPackager-patch.diff
- run: patch -p1 < ./resources/macos/scheme-patch.diff
- *npm_install
- *npm_save_cache
- run:
name: Build Mac
Expand All @@ -108,6 +151,46 @@ jobs:
paths:
- release

windows:
executor:
name: win/default
working_directory: C:\Users\circleci\simplenote-electron
environment:
CSC_FOR_PULL_REQUEST: true
steps:
- checkout
- attach_workspace:
at: C:\Users\circleci\simplenote-electron
- run:
name: Install make
command: cinst make
- run:
name: Install node version
command: |
$NODE_VERSION = Get-Content .\.nvmrc
nvm install $NODE_VERSION
nvm use $NODE_VERSION
- run:
name: Npm install
command: |
npm ci
- run:
name: Build windows
command: |
# Workaround for Sign Tool "private key filter" bug in Circle's Windows image.
# Ref: https://travis-ci.community/t/codesigning-on-windows/
#
# Fix: Import .p12 into the local certificate store. Sign Tool will use
# package.json's `certificateSubjectName` to find the imported cert.
Import-PfxCertificate -FilePath C:\Users\circleci\simplenote-electron\resources\certificates\win.p12 -CertStoreLocation Cert:\LocalMachine\Root -Password (ConvertTo-SecureString -String $env:WIN_CSC_KEY_PASSWORD -AsPlainText -Force)
make package-win32 IS_WINDOWS=true
npx electron-builder --win -p onTag
- persist_to_workspace:
root: C:\Users\circleci\simplenote-electron
paths:
- release\*.exe
- release\*.appx
- release\*.yml
artifacts:
docker:
- image: buildpack-deps:trusty
Expand Down Expand Up @@ -144,10 +227,19 @@ workflows:
ignore: webapp
tags:
only: /.*/
- windows:
requires:
- build
filters:
branches:
ignore: webapp
tags:
only: /.*/
- artifacts:
requires:
- linux
- mac
- windows
filters:
branches:
ignore: webapp
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
12.14.0
Loading