Compare commits

...
Author SHA1 Message Date
StandardNotes CI 5f52b5a454 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].0
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].0
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2022-06-22 20:14:08 +00:00
StandardNotes CI b7e480e2c5 chore(release): components 2022-06-22 20:14:00 +00:00
Mo 76ba98ffb8 chore(workflow): fix syntax 2022-06-22 15:08:10 -05:00
Mo 1b32b2f351 chore(workflow): notify when releases upgraded 2022-06-22 15:06:43 -05:00
StandardNotes CI facd76eb54 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].0-alpha.10
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2022-06-22 18:43:02 +00:00
StandardNotes CI b02d1efaed chore(release): components 2022-06-22 18:42:53 +00:00
Johnny AandJohnny Almonte 8e090ad04f chore(deps): update code editor vendor files (#1137)
* chore(deps): update code editor vendor files

* fix: codemirror paths

* chore: update vendor files

* fix: remove vendor folder

Co-authored-by: Johnny Almonte <[email protected]>
2022-06-22 14:37:38 -04:00
StandardNotes CI a5590af158 chore(release): publish
- @standardnotes/[email protected].9
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].0-alpha.7
2022-06-22 17:02:10 +00:00
Aman Harwara b0911b1574 feat: move display options to icon button in header (#1138) 2022-06-22 22:30:22 +05:30
StandardNotes CI d899e737bc chore(release): publish
- @standardnotes/[email protected].0-alpha.9
2022-06-22 16:54:23 +00:00
Mo 4db63e3a63 fix(mobile): enable workspaces (#1139) 2022-06-22 11:52:32 -05:00
StandardNotes CI 480d17f2b6 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].8
 - @standardnotes/[email protected].0-alpha.8
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].0-alpha.6
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2022-06-22 16:43:43 +00:00
StandardNotes CI 18eb1f2578 chore(release): components 2022-06-22 16:43:35 +00:00
Johnny AandJohnny Almonte e80b4d0ffa fix: components scripts (#1136)
* fix: components test script

* fix: lint & format script

Co-authored-by: Johnny Almonte <[email protected]>
2022-06-22 12:38:56 -04:00
Johnny AandJohnny Almonte 7c0938b877 feat: optional secret field (#1115)
* fix: add grab cursor to drag indicator

* feat: optional secret field

* chore: increment version

* chore: format files

* fix: import React automatically

* fix: qr code button not clickable

* fix: show entry types after title

* fix: remove stylekit references

* fix: import react

* chore: update yarn.lock

* fix: update webpack dev config

* fix: styles import path

* fix: skalert import

* fix: misc

* fix: build components using build:components script

* fix(tmp): @standardnotes/styles as a dependency for @standardnotes/components-meta

Co-authored-by: Johnny Almonte <[email protected]>
2022-06-22 10:32:43 -04:00
StandardNotes CI 6f6cbff855 chore(release): publish
- @standardnotes/[email protected].7
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].0-alpha.5
2022-06-22 14:23:46 +00:00
Aman Harwara 73c65c3714 chore: lint warn on console.log (#1135) 2022-06-22 19:51:52 +05:30
StandardNotes CI 91de7db609 chore(release): publish
- @standardnotes/[email protected].6
 - @standardnotes/[email protected].0-alpha.7
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].0-alpha.4
2022-06-22 12:59:14 +00:00
Mo 957ee5fc85 chore: bump snjs 2022-06-22 07:57:29 -05:00
Mo d798d1c6da chore(workflow): codeql continue on error 2022-06-22 07:31:07 -05:00
Mo 407104e317 chore(workflow): codeql v2 2022-06-22 07:22:41 -05:00
StandardNotes CI 1122394f91 chore(release): publish
- @standardnotes/[email protected].0-alpha.6
2022-06-22 12:20:55 +00:00
Vardan Hakobyan 0608203db5 fix: restore top border of "Manage Sessions" row (#1134) 2022-06-22 07:19:09 -05:00
StandardNotes CI 6be25ae828 chore(release): publish
- @standardnotes/[email protected].0-alpha.5
2022-06-22 12:18:08 +00:00
Mo 112ef2a2c8 fix(mobile): workspaces keychain 2022-06-22 07:15:37 -05:00
StandardNotes CI d833df1b74 chore(release): publish
- @standardnotes/[email protected].5
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].0-alpha.3
2022-06-22 11:04:39 +00:00
Aman Harwara 3b80c170d2 feat: use styled-components for panel resizer (#1131) 2022-06-22 16:32:28 +05:30
StandardNotes CI b0b08ba912 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].4
 - @standardnotes/[email protected].0-alpha.4
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2022-06-22 00:18:19 +00:00
StandardNotes CI c066885315 chore(release): components 2022-06-22 00:18:10 +00:00
Johnny AandJohnny Almonte 7b51131082 fix: build components with dependencies (#1132)
* fix: build components with dependencies

* fix: exclude @standardnotes/components-meta

* chore: update yarn.lock

* fix: remove compile script from VERSION.sh

* fix: skip lint script

* fix: components script names

* fix: build script for components

* fix: run tsc within build script

Co-authored-by: Johnny Almonte <[email protected]>
2022-06-21 20:13:26 -04:00
StandardNotes CI f1573e7112 chore(release): publish
- @standardnotes/[email protected].0-alpha.3
2022-06-21 20:40:24 +00:00
Vardan Hakobyan b25919099f fix: use a specific feature flag for workspace (#1133) 2022-06-22 00:38:40 +04:00
StandardNotes CI 13cb655d1c chore(release): publish
- @standardnotes/[email protected].0-alpha.2
2022-06-21 20:07:54 +00:00
Vardan Hakobyan 3b4797c243 fix: mobile workspace related fixes (#1130)
* feat: put workspaces under unfinished features flag

* fix: mention that signing out will quit the app

* fix: put more affected places under features flag
2022-06-22 00:06:08 +04:00
StandardNotes CI cb209b8dfd chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].3
 - @standardnotes/[email protected].0-alpha.1
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2022-06-21 15:34:31 +00:00
StandardNotes CI 212f07194b chore(release): components 2022-06-21 15:34:23 +00:00
Johnny AandJohnny Almonte f4b9b5b566 fix: markdown visual font size (#1127)
Co-authored-by: Johnny Almonte <[email protected]>
2022-06-21 11:29:11 -04:00
StandardNotes CI 34eb1c80e4 chore(release): publish
- @standardnotes/[email protected].0-alpha.0
2022-06-21 11:48:27 +00:00
Vardan Hakobyan 7d60dfee73 feat: mobile workspaces (#1093) 2022-06-21 06:42:43 -05:00
StandardNotes CI 1f903f17d1 chore(release): publish
- @standardnotes/[email protected].2
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].0-alpha.2
2022-06-21 11:28:12 +00:00
Aman Harwara ee69102001 fix: session history (#1128) 2022-06-21 16:56:33 +05:30
StandardNotes CI 0075fcd208 chore(release): publish
- @standardnotes/[email protected].1
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].0-alpha.1
2022-06-21 07:21:28 +00:00
Aman Harwara 946d50b5df feat: add styled-components (#1126) 2022-06-21 12:49:30 +05:30
StandardNotes CI 49bb5c2001 chore(release): publish
- @standardnotes/[email protected].0
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].0-alpha.0
2022-06-20 20:36:45 +00:00
Aman Harwara b6cd4bf6bf feat: add "Files Navigation" experimental feature to Labs (#1125) 2022-06-21 02:05:10 +05:30
638 changed files with 2620 additions and 2851 deletions
+4 -3
View File
@@ -23,6 +23,7 @@ on:
jobs:
analyze:
if: contains(github.event.head_commit.message, 'chore(release)') == false
continue-on-error: true
name: Analyze
runs-on: ubuntu-latest
@@ -40,7 +41,7 @@ jobs:
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql/codeql-config.yml
@@ -52,7 +53,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2
# ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
@@ -66,4 +67,4 @@ jobs:
# make release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
+6 -5
View File
@@ -21,13 +21,14 @@ jobs:
run: yarn install
- name: Lint components
run: yarn components:lint
working-directory: packages/components
- name: Compile components
run: yarn components:compile
run: yarn lint
working-directory: packages/components
- name: Build components
run: yarn build:components
- name: Test components
run: yarn components:test
run: yarn test
working-directory: packages/components
- name: Lint all
+8
View File
@@ -67,3 +67,11 @@ jobs:
git checkout develop
git pull origin main
git push origin develop
- name: Notify Release Update
if: ${{ github.ref == 'refs/heads/main' }}
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.CI_PAT_TOKEN }}
repository: ${{ secrets.RELEASES_EVENT_RECEIVING_REPO }}
event-type: releases-updated-event
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+9 -8
View File
@@ -13,14 +13,15 @@
"node": ">=12.19.0 <17.0.0"
},
"scripts": {
"lint": "yarn workspaces foreach -pt --parallel --jobs 10 --verbose run lint",
"test": "yarn workspaces foreach -pt --parallel --jobs 10 --verbose run test",
"lint": "yarn workspaces foreach -pt --parallel --jobs 10 --verbose --exclude @standardnotes/components-meta run lint",
"test": "yarn workspaces foreach -pt --parallel --jobs 10 --verbose --exclude @standardnotes/components-meta run test",
"clean": "lerna run clean",
"build:all": "yarn workspaces foreach -pt --verbose run build",
"build:web": "yarn workspaces foreach -pt --verbose -R --from @standardnotes/web run build",
"build:desktop": "yarn workspaces foreach -pt --verbose -R --from @standardnotes/desktop run build",
"build:mobile": "yarn workspaces foreach -pt --verbose -R --from @standardnotes/mobile run build",
"build:web-server": "yarn workspaces foreach -pt --verbose -R --from @standardnotes/web-server run build",
"build:all": "yarn workspaces foreach -pt --verbose --exclude @standardnotes/components-meta run build",
"build:components": "yarn workspaces foreach -pt --verbose -R --from @standardnotes/components-meta run build",
"build:web": "yarn workspaces foreach -pt --verbose -R --from @standardnotes/web --exclude @standardnotes/components-meta run build",
"build:desktop": "yarn workspaces foreach -pt --verbose -R --from @standardnotes/desktop --exclude @standardnotes/components-meta run build",
"build:mobile": "yarn workspaces foreach -pt --verbose -R --from @standardnotes/mobile --exclude @standardnotes/components-meta run build",
"build:web-server": "yarn workspaces foreach -pt --verbose -R --from @standardnotes/web-server --exclude @standardnotes/components-meta run build",
"start:server:web": "lerna run start --scope=@standardnotes/web-server",
"start:server:web:localhost": "lerna run start:no-binding --scope=@standardnotes/web-server",
"prepare": "husky install",
@@ -43,7 +44,7 @@
"@types/hoist-non-react-statics/@types/react": "17.0.2"
},
"dependencies": {
"@standardnotes/snjs": "^2.117.4"
"@standardnotes/snjs": "^2.117.7"
},
"devDependencies": {
"@commitlint/cli": "^17.0.2",
+30
View File
@@ -3,6 +3,36 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [2.2.0](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-22)
**Note:** Version bump only for package @standardnotes/components-meta
# [2.2.0-alpha.1](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-22)
**Note:** Version bump only for package @standardnotes/components-meta
# [2.2.0-alpha.0](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-22)
### Bug Fixes
* components scripts ([#1136](https://github.com/standardnotes/app/issues/1136)) ([e80b4d0](https://github.com/standardnotes/app/commit/e80b4d0ffad495c758b593c30e1c4c754dda9b7e))
### Features
* optional secret field ([#1115](https://github.com/standardnotes/app/issues/1115)) ([7c0938b](https://github.com/standardnotes/app/commit/7c0938b877f21787dd53fbf46e591487ef02a1c8))
## [2.1.7-alpha.1](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-22)
### Bug Fixes
* build components with dependencies ([#1132](https://github.com/standardnotes/app/issues/1132)) ([7b51131](https://github.com/standardnotes/app/commit/7b51131082567e06167664f6f0e69bf37cee6fb3))
## [2.1.7-alpha.0](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-21)
### Bug Fixes
* markdown visual font size ([#1127](https://github.com/standardnotes/app/issues/1127)) ([f4b9b5b](https://github.com/standardnotes/app/commit/f4b9b5b566e8d4104de71a87ee041cdc77c3ce6c))
## [2.1.6](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-18)
**Note:** Version bump only for package @standardnotes/components-meta
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
!function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}((function(e){"use strict";var n={},t=/[^\s\u00a0]/,i=e.Pos,l=e.cmpPos;function o(e){var n=e.search(t);return-1==n?0:n}function r(e,n){var t=e.getMode();return!1!==t.useInnerComments&&t.innerMode?e.getModeAt(n):t}e.commands.toggleComment=function(e){e.toggleComment()},e.defineExtension("toggleComment",(function(e){e||(e=n);for(var t=this,l=1/0,o=this.listSelections(),r=null,a=o.length-1;a>=0;a--){var m=o[a].from(),c=o[a].to();m.line>=l||(c.line>=l&&(c=i(l,0)),l=m.line,null==r?t.uncomment(m,c,e)?r="un":(t.lineComment(m,c,e),r="line"):"un"==r?t.uncomment(m,c,e):t.lineComment(m,c,e))}})),e.defineExtension("lineComment",(function(e,l,a){a||(a=n);var m=this,c=r(m,e),g=m.getLine(e.line);if(null!=g&&(f=e,s=g,!/\bstring\b/.test(m.getTokenTypeAt(i(f.line,0)))||/^[\'\"\`]/.test(s))){var f,s,d=a.lineComment||c.lineComment;if(d){var u=Math.min(0!=l.ch||l.line==e.line?l.line+1:l.line,m.lastLine()+1),h=null==a.padding?" ":a.padding,C=a.commentBlankLines||e.line==l.line;m.operation((function(){if(a.indent){for(var n=null,l=e.line;l<u;++l){var r=(c=m.getLine(l)).slice(0,o(c));(null==n||n.length>r.length)&&(n=r)}for(l=e.line;l<u;++l){var c=m.getLine(l),g=n.length;(C||t.test(c))&&(c.slice(0,g)!=n&&(g=o(c)),m.replaceRange(n+d+h,i(l,0),i(l,g)))}}else for(l=e.line;l<u;++l)(C||t.test(m.getLine(l)))&&m.replaceRange(d+h,i(l,0))}))}else(a.blockCommentStart||c.blockCommentStart)&&(a.fullLines=!0,m.blockComment(e,l,a))}})),e.defineExtension("blockComment",(function(e,o,a){a||(a=n);var m=this,c=r(m,e),g=a.blockCommentStart||c.blockCommentStart,f=a.blockCommentEnd||c.blockCommentEnd;if(g&&f){if(!/\bcomment\b/.test(m.getTokenTypeAt(i(e.line,0)))){var s=Math.min(o.line,m.lastLine());s!=e.line&&0==o.ch&&t.test(m.getLine(s))&&--s;var d=null==a.padding?" ":a.padding;e.line>s||m.operation((function(){if(0!=a.fullLines){var n=t.test(m.getLine(s));m.replaceRange(d+f,i(s)),m.replaceRange(g+d,i(e.line,0));var r=a.blockCommentLead||c.blockCommentLead;if(null!=r)for(var u=e.line+1;u<=s;++u)(u!=s||n)&&m.replaceRange(r+d,i(u,0))}else{var h=0==l(m.getCursor("to"),o),C=!m.somethingSelected();m.replaceRange(f,o),h&&m.setSelection(C?o:m.getCursor("from"),o),m.replaceRange(g,e)}}))}}else(a.lineComment||c.lineComment)&&0!=a.fullLines&&m.lineComment(e,o,a)})),e.defineExtension("uncomment",(function(e,l,o){o||(o=n);var a,m=this,c=r(m,e),g=Math.min(0!=l.ch||l.line==e.line?l.line:l.line-1,m.lastLine()),f=Math.min(e.line,g),s=o.lineComment||c.lineComment,d=[],u=null==o.padding?" ":o.padding;e:if(s){for(var h=f;h<=g;++h){var C=m.getLine(h),p=C.indexOf(s);if(p>-1&&!/comment/.test(m.getTokenTypeAt(i(h,p+1)))&&(p=-1),-1==p&&t.test(C))break e;if(p>-1&&t.test(C.slice(0,p)))break e;d.push(C)}if(m.operation((function(){for(var e=f;e<=g;++e){var n=d[e-f],t=n.indexOf(s),l=t+s.length;t<0||(n.slice(l,l+u.length)==u&&(l+=u.length),a=!0,m.replaceRange("",i(e,t),i(e,l)))}})),a)return!0}var v=o.blockCommentStart||c.blockCommentStart,b=o.blockCommentEnd||c.blockCommentEnd;if(!v||!b)return!1;var k=o.blockCommentLead||c.blockCommentLead,L=m.getLine(f),x=L.indexOf(v);if(-1==x)return!1;var R=g==f?L:m.getLine(g),O=R.indexOf(b,g==f?x+v.length:0),T=i(f,x+1),S=i(g,O+1);if(-1==O||!/comment/.test(m.getTokenTypeAt(T))||!/comment/.test(m.getTokenTypeAt(S))||m.getRange(T,S,"\n").indexOf(b)>-1)return!1;var y=L.lastIndexOf(v,e.ch),E=-1==y?-1:L.slice(0,e.ch).indexOf(b,y+v.length);if(-1!=y&&-1!=E&&E+b.length!=e.ch)return!1;E=R.indexOf(b,l.ch);var M=R.slice(l.ch).lastIndexOf(v,E-l.ch);return y=-1==E||-1==M?-1:l.ch+M,(-1==E||-1==y||y==l.ch)&&(m.operation((function(){m.replaceRange("",i(g,O-(u&&R.slice(O-u.length,O)==u?u.length:0)),i(g,O+b.length));var e=x+v.length;if(u&&L.slice(e,e+u.length)==u&&(e+=u.length),m.replaceRange("",i(f,x),i(f,e)),k)for(var n=f+1;n<=g;++n){var l=m.getLine(n),o=l.indexOf(k);if(-1!=o&&!t.test(l.slice(0,o))){var r=o+k.length;u&&l.slice(r,r+u.length)==u&&(r+=u.length),m.replaceRange("",i(n,o),i(n,r))}}})),!0)}))}));
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More