Commit Graph

49 Commits

Author SHA1 Message Date
Karol Sójko
0e40469e2f
feat: add snjs package 2022-07-06 14:04:30 +02:00
Karol Sójko
6ec66795d2
feat: add sncrypto client side packages 2022-07-06 12:21:21 +02:00
Karol Sójko
9d1f7043e5
feat: add responses package 2022-07-06 11:59:04 +02:00
Karol Sójko
9d7d18e7f2
feat: add api package 2022-07-06 11:53:39 +02:00
Karol Sójko
aef4ceb7f8
feat: add utils package 2022-07-06 11:34:54 +02:00
Karol Sójko
fbfed0a05c
feat: add services package 2022-07-05 20:58:24 +02:00
Karol Sójko
b614c71e79
feat: add models package 2022-07-05 20:58:23 +02:00
Karol Sójko
1cd8a47fa4
feat: add files package 2022-07-05 20:36:00 +02:00
Mo
4abbda7537
chore: gitignore 2022-07-05 12:53:52 -05:00
Mo
65aca615a1
chore: gitignore 2022-07-05 12:50:47 -05:00
Mo
5bacb4562f
chore: update gitignore 2022-07-05 12:46:58 -05:00
Karol Sójko
d4188a3fa2
feat: add filepicker package 2022-07-05 19:28:22 +02:00
Mo
8f65d5f5bf
chore(mobile): add encryption package to metro config 2022-07-05 10:02:05 -05:00
Karol Sójko
2f4b79fab3
fix: gitignore features dist 2022-07-05 15:49:00 +02:00
Karol Sójko
e5771fcbde
feat: add @standardnotes/encryption package (#1199)
* feat: add @standardnotes/encryption package

* fix: mobile dependency on encryption package

* fix: order of build & lint in pr workflows

* fix: web dependency on encryption package

* fix: remove encryption package composite configuration

* fix: import order
2022-07-05 10:06:03 +02:00
Mo
a2535e5d93
chore: add yarn cache 2022-06-12 12:11:00 -05:00
Mo
209a07113e
chore: ignore components in web-server public dir 2022-06-10 18:49:12 -05:00
Mo
189664cfba
chore: config 2022-06-10 11:57:33 -05:00
Mo
e3d6001a17
feat(wip): components monorepo (#1082) 2022-06-10 10:15:44 -05:00
Mo
8248a38280
feat: mobile app package (#1075) 2022-06-09 09:45:15 -05:00
Mo
f4ef63693c
refactor: repo (#1070) 2022-06-07 07:18:41 -05:00
Vardan Hakobyan
f120af3b43
feat: handle unprotected session expiration (#779)
* feat: hide note contents if the protection expires when the protected note is open and wasn't edited for a while

* feat: handle session expiration for opened protected note for both plain advanced editors

* fix: if after canceling  session expiry modal only one unprotected note stays selected, show its contents in the editor

* refactor: handle session expiration for opened protected note (move the logic to web client)

* feat: handle the case of selecting "Don't remember" option in session expiry dialog

* test (WIP): add unit tests for protecting opened note after the session has expired

* test: add remaining unit tests

* refactor: move the opened note protection logic to "editor_view"

* refactor: reviewer comments
- don't rely on user signed-in/out status to require authentication for protected note
- remove unnecessary async/awaits
- better wording on ui

* refactor: reviewer's comments:
 - use snjs method to check if "Don't remember" option is selected in authentication modal
 - move the constant to snjs
 - fix eslint error

* refactor: avoid `any` type for `appEvent` payload

* test: add unit tests

* chore: update function name

* refactor: use simpler protection session event types

* refactor: protected access terminology

* refactor: start counting idle timer after every edit (instead of counting by interval in spite of edits)

* test: unit tests

* style: don't give extra brightness to the "View Note"/"Authenticate" button on hover/focus

* chore: bump snjs version

* chore: put snjs "beta" version

* fix: run protection timeout when the note is marked as protected

* chore: snjs version bump

* refactor: immediately lock the note if it's marked as "Protected"

* refactor: rename component, directive and some props

* refactor: remove extra check

* refactor: rename the method

* chore: update snjs version

Co-authored-by: Mo Bitar <me@bitar.io>
2021-12-20 20:54:37 +04:00
Karol Sójko
2e168df929
Revert "feat: handle unprotected session expiration (#747)"
This reverts commit 8db549f6f6.
2021-12-15 15:26:31 +01:00
Vardan Hakobyan
8db549f6f6
feat: handle unprotected session expiration (#747)
* feat: hide note contents if the protection expires when the protected note is open and wasn't edited for a while

* feat: handle session expiration for opened protected note for both plain advanced editors

* fix: if after canceling  session expiry modal only one unprotected note stays selected, show its contents in the editor

* refactor: handle session expiration for opened protected note (move the logic to web client)

* feat: handle the case of selecting "Don't remember" option in session expiry dialog

* test (WIP): add unit tests for protecting opened note after the session has expired

* test: add remaining unit tests

* refactor: move the opened note protection logic to "editor_view"

* refactor: reviewer comments
- don't rely on user signed-in/out status to require authentication for protected note
- remove unnecessary async/awaits
- better wording on ui

* refactor: reviewer's comments:
 - use snjs method to check if "Don't remember" option is selected in authentication modal
 - move the constant to snjs
 - fix eslint error

* refactor: avoid `any` type for `appEvent` payload

* test: add unit tests

* chore: update function name

* refactor: use simpler protection session event types

* refactor: protected access terminology

* refactor: start counting idle timer after every edit (instead of counting by interval in spite of edits)

* test: unit tests

* style: don't give extra brightness to the "View Note"/"Authenticate" button on hover/focus

* chore: bump snjs version

Co-authored-by: Mo Bitar <me@bitar.io>
2021-12-14 19:14:01 +04:00
Laurent Senta
c27dce1ab7
style: with prettier (#762)
* style: use pretty quick on staged files

* style: test edit utils

* style: try with lint-staged

* style: test lint application
2021-12-06 15:27:18 +01:00
Karol Sójko
22b0f8e964
Merge branch 'hotfix/3.8.29' into develop 2021-10-26 08:57:20 +02:00
Karol Sójko
c1e3d32e16
fix: add robots.txt dependant on the environment 2021-10-26 08:56:23 +02:00
Mo Bitar
9b06e00ba8
fix: asset pipeline 2021-10-22 16:09:26 -05:00
Vardan Hakobyan
5b18fc7146
feat: add "sync" pane to preferences -> account tab (#621)
* feat: add "sync" pane to preferences -> account tab

* chore: configure eslint to add new line at the end of file and remove trailing spaces

* chore: add newline at the end of file
2021-08-26 22:57:27 +04:00
Johnny A
7679ba7c61
chore: codeql analysis action (#548)
* Create codeql-analysis.yml

* fix: custom codeql config

* fix: ignore codeqldb dir

* fix: use config file in codeql workflow

Co-authored-by: Johnny Almonte <johnny243@users.noreply.github.com>
2021-04-26 13:59:48 -04:00
Baptiste Grob
993d241c72
feat: switch from npm to yarn (#500)
* feat: switch from npm to yarn

* fix: build

* fix: replace yarn run with yarn

* fix: nodejs version install in Docker image

* fix: initialize mobx state

Co-authored-by: Karol Sójko <karolsojko@gmail.com>
2020-12-08 14:59:22 +01:00
Baptiste Grob
0f84a6cbad
fix: do not emit type declarations 2020-11-13 12:19:10 +01:00
Baptiste Grob
57aa942c91
feat: reduce number of steps needed to get going for local development (#454)
* feat: reduce number of steps to get going for local development

* fix: set default sync server in SNJS

* chore: keep --force in submodules command
2020-09-02 17:37:50 +02:00
Baptiste Grob
e06311c56b
fix: stop tracking dist fonts 2020-08-07 17:07:51 +02:00
Karol Sójko
ef44c0818e
fix: remove generated dist files from repo 2020-07-30 19:30:31 +02:00
Karol Sójko
1da66a2c81
Revert "fix: Remove from repository files generated during build process" 2020-07-29 17:48:07 +02:00
Karol Sójko
da0d715910
fix: Remove from repository files generated during build process 2020-07-29 16:50:32 +02:00
Baptiste Grob
5eff00545e
fix: ignore index.html and provide a sample file instead 2020-07-22 12:09:13 +02:00
Baptiste Grob
dd0dd1579d
Rename dev-index.html to public/dev.html 2020-03-12 18:09:53 +01:00
Baptiste Grob
bbceed8c42
Add webpack dev server 2020-03-11 16:46:01 +01:00
Mo Bitar
05e5f311ad
Fixes #352 2020-01-31 10:25:03 -06:00
Mo Bitar
ff527ea8b8
Include dist in git 2019-10-22 13:46:54 -05:00
Mo Bitar
678f8d73bc
No debounce while offline, static index.html page, 3.0.10-beta2 2019-06-03 11:41:08 -05:00
Mo Bitar
4f42330167
Angular 1.6.9, remove bower 2019-01-30 16:16:43 -06:00
Mo Bitar
2203ee9b5e
Refactor into publishable npm module 2018-08-11 19:05:31 -05:00
Mo Bitar
0130fae17d gitignore 2017-01-12 20:29:45 -06:00
Mo Bitar
3794d0496c angular supress unhandled rejection 2016-12-18 00:09:57 -06:00
Mo Bitar
4088c6cf06 angular res 2016-12-17 23:24:28 -06:00
Mo Bitar
c6ab2f4122 initial commit 2016-12-05 17:33:27 -06:00