Commit graph

53 commits

Author SHA1 Message Date
Sung Won Cho
b92bff942b
Deprecate spaced repetition (#397)
* Change button style

* Require pro

* Update README

* Change wording

* Require sudo
2020-02-03 14:29:42 +10:00
Sung Won Cho
e6b5aea147
Add client field (#396)
* Record client

* Fix test
2020-01-31 08:49:12 +10:00
Sung Won Cho
d6496b27d1
Fix email type (#385) 2020-01-08 09:27:55 +11:00
Sung Won Cho
ea51514c85
Fix digest note review (#383)
* Fix issue where unreviewed note is displayed as reviewed

* Show unreviewed first

* Fix menu alignment on mobile

* Show completion message

* Display help on empty digest list

* Fix email type
2020-01-07 16:03:45 +11:00
Sung Won Cho
952e0e62f3
Update copyright notice for the new year (#382)
* Update script

* Update the year in the license
2020-01-07 11:59:40 +11:00
Sung Won Cho
91414da0ac
Digests on web (#380)
* Implement operations

* Implement digest endpoints

* Implement digests reducer and basic page

* Make note component reusable

* Implement digest page

* Add license

* Fix style and accessbility

* Fix loading

* Fix query

* Test

* Remove debug
2020-01-07 11:42:48 +11:00
Sung Won Cho
3152ca770b
Alert when we stop learning (#375)
* Send password reset alert

* Send inactive reminder

* Send subscription confirmation email
2019-12-24 13:07:27 +07:00
Sung Won Cho
7f981c9f57
Allow to disable registration (#365)
* Allow to disable registration

* Document changes

* Add env vars to templates

* Fix test

* fix
2019-12-17 15:15:06 +07:00
Sung Won Cho
3e41b29a74
Decouple web from App implementation (#364)
* Decouple app from web

* Simplify

* Fix test

* Encapsulate SSL logic to dbconn

* Fix test

* Fix email type
2019-12-17 12:26:42 +07:00
Sung Won Cho
7856d09a92
Fix OnPremise signup (#361)
* Allow to provide test server url directly

* Set on premise

* Fix release title
2019-12-16 15:27:41 +07:00
Sung Won Cho
891be61031
Improve email and signup for self-hosting users (#355)
* Add app abstraction

* Abstract out email sending

* Get sender

* Test

* Move operations to app

* Test

* Test

* Add license

* Fix lint
2019-12-14 12:10:48 +07:00
Sung Won Cho
9744a21789
Fix email type (#353) 2019-11-29 18:29:12 +08:00
Sung Won Cho
292dc7d515
Allow to receive welcome email with login instruction (#352)
* Implement email backend

* Add job ctx

* Remove job ctx and use EmailBackend everywhere

* Fix watcher to terminate cmd when inturrupted

* Test runner validation

* Send welcome email upon register

* Use plaintext for verification email

* Use plaintext for password reset email

* Fix from
2019-11-29 17:59:04 +08:00
Sung Won Cho
4adb7764ed
Add free plan (#351)
* Allow free usage

* Update features

* Update plan details

* Render footer

* Type

* Unlimited books

* Restrict repetition for non pro
2019-11-28 15:59:49 +08:00
Sung Won Cho
0e83ba1a5c
Allow to reuse watcher (#350)
* Make watcher reusable

* Allow to add multiple watched targets

* Move watcher

* Allow to ignore
2019-11-26 15:13:33 +08:00
Sung Won Cho
0bcd06600e
Fix direct access to note pages (#324)
* Initialize database

* Document change

* Test regression
2019-11-20 14:38:39 +08:00
Sung Won Cho
b5630adc88
Fix ratelimit (#321)
* Allow to synchronize large number of records

* Fix link

* Unexport

* Fix docker
2019-11-19 12:52:47 +08:00
Sung Won Cho
39d18638a9
Build Docker image (#316)
* Make preview image

* Use local build

* Fix build

* Release

* Build dnote docker

* Simplify

* Document
2019-11-18 16:59:53 +08:00
Sung Won Cho
6d474b1f18
Display helpful error message to the client (#314) 2019-11-18 11:16:46 +08:00
Sung Won Cho
22aa25498d
Fix test (#317) 2019-11-17 14:58:15 +08:00
Sung Won Cho
bd97209af8
Refactor to avoid global database variable (#313)
* Avoid global database

* Fix Twitter summary card

* Fix CLI test
2019-11-16 09:45:56 +08:00
Sung Won Cho
ec6773dc45
Fix verification link (#312) 2019-11-13 14:27:04 +08:00
Sung Won Cho
ed5dd9c61a
Release 0.3.0 (#306) 2019-11-12 11:31:53 +08:00
Sung Won Cho
9bfc8f217a
Allow to recover from having missed a repetition processing (#305) 2019-11-12 11:16:06 +08:00
Sung Won Cho
2124e28a9f
Use go module (#303)
* Migrate to gomodule

* Fix install

* Update makefile
2019-11-11 15:28:47 +08:00
Sung Won Cho
5d9662373b
Simplify dev environment (#301) 2019-11-08 17:30:01 -08:00
Sung Won Cho
41ada2298c
Implement note sharing (#300)
* Implement publicity control for notes

* Implement server side rendering for note sharing

* Implement UI

* Modularize

* Remove autofocus

* Fix test

* Document
2019-11-07 22:47:25 -08:00
Sung Won Cho
4a3fd2d1a7
Use Vagrant for easy development setup (#297)
* Use vagrant

* Stop using polling

* Fix test

* Document

* Fix
2019-11-03 20:04:17 -08:00
Matthias Bilger
914b8dc398 Allow unsecure database connection in production (#276) 2019-11-03 19:05:39 -08:00
Sung Won Cho
8e7d24d409
Allow to configure SMTP port (#292)
* Allow to customize SMTP port

* Document change

* Fix test

* Add env vars
2019-10-29 21:34:52 -07:00
Sung Won Cho
5d6ad342f3
Customize app URLs in the emails (#290)
* Allow to customize app url in emails

* Validate env var

* Test

* Add license

* Add guide
2019-10-29 20:21:08 -07:00
Sung Won Cho
bdb75fd16c
Upgrade (#284)
* Add licenses

* Upgrade deps

* Update deprecated

* Upgrade deps
2019-10-28 18:36:24 -07:00
Sung Won Cho
5902585216
Allow to specify repetition rule (#280)
* Implement data model and basic UI for repetition rules

* Implement tooltip

* Allow to update and write test

* Stop processing the first repetition until having waited at least the frequency amount

* Set up email dev server reload

* Test pro only

* Allow to toggle repetition using token

* Remove unused

* Add last active

* Simplify nextActive calculation

* Create weekly digest repetition rules for existing users

* Fix style

* Fix link

* Create default repetition rule upon signup

* Get notes with thresholds

* Fix test

* Fix test
2019-10-28 00:34:59 -07:00
Sung Won Cho
1250825578
Include license notices (#255) 2019-09-30 11:55:11 +08:00
Sung Won Cho
2758923c34
Implement personal knowedge base version (#254)
* Allow to add and edit notes

* Implement search

* Implement settings

* Implement checkout page

* Implement paywall

* Fix inconsistent margin

* Render mobile menu

* Allow to logout

* emails

* Implement user migration

* Always build standalone

* Embed digest in email

* Move browser extension

* Fix test

* Use system font

* Add favicon and app icons

* Make tabbar smaller

* Initialize focus on editor

* Fix various UI audit issues

* Simplify asset serving

* Register sw

* Upgrade deps
2019-09-30 11:02:09 +08:00
Sung Won Cho
a3ee4fbc21
Improve shell portability (#249) 2019-08-13 12:54:06 +10:00
Sung Won Cho
7e81c2cde6
Implement payment method update (#245)
* Implement payment method update

* Add license
2019-08-03 19:22:48 +10:00
Sung Won Cho
e84e8ed2f3
Allow to rename books (#239)
* Allow to rename books

* Avoid mutating the flag variable

* Validate book name upon edit

* Write integration test

* Add missing licenses

* Mark book as dirty upon renaming so it can be synced

* Remove TODO that is no longer needed
2019-08-01 09:21:24 +10:00
Sung Won Cho
8f54e3b3e6
Fix conflict report format (#237)
* Improve assert output

* Get editor input as is

* Avoid appending a linebreak to a normal diff

* Test multi-line conflict diff
2019-07-30 18:57:23 +10:00
Sung Won Cho
b45952968b
Implement structured logging (#232)
* Implement structured logging

* Remove debug

* Log additional information for ncoming requests
2019-07-29 10:05:48 +10:00
Sung Won Cho
0317e7f1de
Allow to move notes to another book (#234)
* Print more information upon edit

* Allow to move notes between books

* Allow to update content and book at the same time

* Fix test
2019-07-27 19:51:30 +10:00
Sung Won Cho
2c82e36f7a
Require database connection configuraton (#228)
* Require explicit configuration for database connection

* Test validation

* Remove stutter

* Only use packr for self hosting

* Restart server upon change
2019-07-24 17:32:12 +10:00
Sung Won Cho
a5bcf771d7
Allow empty param in the connection string (#227) 2019-07-23 17:52:00 +10:00
Sung Won Cho
ee14a3c9be
Fix test by enabling database SSL only in production (#226)
* Fix test

* Always specify sslmode
2019-07-23 17:06:03 +10:00
Sung Won Cho
73d66eea07
Simplify the env vars (#225) 2019-07-23 15:55:23 +10:00
Sung Won Cho
6fbe08e2a9
Simplify template path (#224)
* Simplify template path

* Fix
2019-07-22 15:42:56 +10:00
Sung Won Cho
357a587653
Implement server binary (#223) 2019-07-22 13:41:09 +10:00
Sung Won Cho
ddabdd9732
Allow multiple editor sessions (#221)
* Allow to get editor input from multiple sessions at a given time

* Add license
2019-07-13 13:02:09 +10:00
Sung Won Cho
92c3d8376e
Fix test (#217)
* Remove debug

* Fix missing directory
2019-07-02 18:27:29 +10:00
Sung Won Cho
35dc7abfae
Server migration (#214)
* Allow to run server side postgres migration

* Automate migration creation

* Check if sql-migrate exists
2019-06-29 12:31:42 +10:00