Commit graph

12 commits

Author SHA1 Message Date
Sung Won Cho
c9ec331672 Encapsulate config load (#414)
* Use config package

* Add config test

* Fix test
2020-02-10 09:56:47 +10: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
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
Matthias Bilger
914b8dc398 Allow unsecure database connection in production (#276) 2019-11-03 19:05:39 -08: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
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
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
357a587653
Implement server binary (#223) 2019-07-22 13:41:09 +10:00
Renamed from pkg/server/database/main.go (Browse further)