Commit graph

122 commits

Author SHA1 Message Date
Radhi Fadlillah
a4dd1c8687 Specify character set when creating MySQL table #188 2019-10-03 21:02:25 +07:00
Radhi Fadlillah
28ee496a68 Fix title is empty when adding bookmark 2019-10-03 20:23:28 +07:00
Radhi Fadlillah
9f145e27ef Tidy up code for opening database 2019-09-26 06:24:49 +07:00
Radhi
c2eee1d59a
Merge pull request #170 from bvp/master
Initial PostgreSQL support
2019-09-25 11:22:22 +07:00
Radhi Fadlillah
b315c48acf Fix content with double braces not rendered #171 2019-09-25 07:32:03 +07:00
bvp
4eb86d60d7
Initial PostgreSQL support 2019-09-24 19:59:25 +03:00
Radhi Fadlillah
752d1ba4f6 In no-thumbnail mode, make margin more consistent 2019-09-24 21:59:17 +07:00
Radhi Fadlillah
a82b8820bd Add options to hide excerpt #166 2019-09-24 21:16:03 +07:00
Radhi Fadlillah
c77b17caf8 Use formatter in LESS files 2019-09-24 11:56:35 +07:00
Radhi Fadlillah
bccc70b3f8 Add option to hide thumbnail image #166 2019-09-24 09:47:50 +07:00
Radhi Fadlillah
3a9e53cc71 Initial unit test.. 2019-09-23 15:55:17 +07:00
Marko Korhonen
59a0594155
Fixed some typos 2019-09-23 10:43:29 +03:00
Radhi
7d3f8d712c
Merge pull request #164 from deanishe/fix-mysql-schema
Fix MySQL schema
2019-09-23 12:44:54 +07:00
Dean Jackson
988f2d6502 Use single quotes for better compatibility 2019-09-22 19:15:04 +02:00
Dean Jackson
ddf7c37208 Fix MySQL column definitions
- Add AUTO_INCREMENT to `id` fields
- Fix DEFAULT definitions on TEXT/BLOB fields

TEXT/BLOB field default values must be expressions:
https://dev.mysql.com/doc/refman/8.0/en/data-type-defaults.html
2019-09-22 18:58:26 +02:00
Dean Jackson
76a7856f80 Add specific size to bookmark_url key
MySQL can't index an entire TEXT field; the key must be truncated
https://stackoverflow.com/a/1827099
2019-09-22 18:49:11 +02:00
Dean Jackson
c55b1a3fef Default to webpage title, not URL, if user specifies no title 2019-09-22 18:36:36 +02:00
Radhi Fadlillah
fbd4e37643 Fix custom title and excerpt doesn't saved 2019-09-22 16:17:51 +07:00
Radhi Fadlillah
1d83468455 Fix when using extension bookmark doesn't archived 2019-09-22 15:58:26 +07:00
Radhi Fadlillah
018f33228a Fix import skipped when title missing #153 2019-09-22 10:55:22 +07:00
Radhi Fadlillah
df98c281d3 Make MySQL address changeable #156 2019-09-22 08:25:34 +07:00
Radhi Fadlillah
2eb6415fa8 Add check command 2019-09-21 16:30:39 +07:00
Radhi Fadlillah
0bf5772022 Remove unneeded local variables 2019-09-21 16:19:45 +07:00
Radhi Fadlillah
7e16b020d6 Minor gofmt change 2019-09-21 11:10:53 +07:00
Radhi Fadlillah
f68835fdef Minor improvement in cmd description 2019-09-20 17:27:49 +07:00
Radhi Fadlillah
64c62d6b12 Remove repeated code for archiving bookmarks 2019-09-20 16:48:57 +07:00
Radhi Fadlillah
2da0c7e297 Update readme to include web extension 2019-09-05 17:31:44 +07:00
Radhi Fadlillah
a5b4f78f10 Fix typo 2019-08-30 11:43:53 +07:00
Radhi Fadlillah
531c66c955 When session expired and user login, return him to previous page 2019-08-29 16:14:19 +07:00
Radhi Fadlillah
3f43424af0 Make search result share-able by URL 2019-08-29 15:44:03 +07:00
Radhi Fadlillah
89aad30a17 Fix: missing column while updating database 2019-08-29 09:45:45 +07:00
Radhi Fadlillah
af2949b2d9 Tagged and untagged shouldn't be able to renamed 2019-08-27 20:50:40 +07:00
Radhi Fadlillah
abcdfc9d13 Fix failed to rename tag in web interface 2019-08-27 20:42:13 +07:00
Radhi Fadlillah
63070d1b15 Add readme 2019-08-27 16:04:57 +07:00
Radhi Fadlillah
806a3cff40 Add flag to specify custom address 2019-08-27 12:36:24 +07:00
Radhi Fadlillah
c22f904bdd If there are no owner yet, allow to use default account 2019-08-22 14:34:36 +07:00
Radhi Fadlillah
6b39742a35 Make SQLite database compatible with old version 2019-08-22 14:27:38 +07:00
Radhi Fadlillah
02699ab460 Increase write timeout 2019-08-20 15:34:53 +07:00
Radhi Fadlillah
f50d0cca5d Better error handle in JS 2019-08-20 14:29:55 +07:00
Radhi Fadlillah
f62fd30f65 Set cache tag for thumbnail image 2019-08-20 14:29:38 +07:00
Radhi Fadlillah
39bf9840a2 Add API for web extension 2019-08-19 18:22:21 +07:00
Radhi Fadlillah
9616164356 Now session id can be put in cookie or http header 2019-08-13 22:13:38 +07:00
Radhi Fadlillah
86eb8d9a3e Make bookmark menu visible in mobile 2019-08-13 10:58:42 +07:00
Radhi Fadlillah
bd9d4b1d0c For now, ignore modified from import since we don't use it 2019-08-12 21:41:44 +07:00
Radhi Fadlillah
e55070ca77 Better style for empty bookmark message 2019-08-12 20:37:03 +07:00
Radhi Fadlillah
b6f6864ea5 Fix: shiori is a default owner 2019-08-12 20:26:29 +07:00
Radhi Fadlillah
0c4d75f773 Add basic account level management 2019-08-12 19:57:18 +07:00
Radhi Fadlillah
326f04d19e Add icon to show if bookmark archived and public 2019-08-12 11:53:41 +07:00
Radhi Fadlillah
2cb95c1238 Now cache image will uses archive 2019-08-12 09:02:59 +07:00
Radhi Fadlillah
4e76288e09 Add method to exclude or include some tags 2019-08-11 15:55:31 +07:00