Commit graph

70 commits

Author SHA1 Message Date
Ryan Welch 1b03cc48d6
Reset page when searching for new tag (#550) 2023-01-10 12:46:13 +01:00
Felipe Martin 77269b7a64
feat(frontend): username autofocus on login (#519) 2022-10-16 12:17:02 +02:00
Felipe Martin Garcia cba5046231
feat: session expire time from backend (#437)
* feat: session expire time from backend

Deduplicated logic from backend and frontend where we needed to take the
login checkbox into account for both back and front codebases. Now the
backend will send the frontend the expire time calculated only in one
place.

This is part of a multi-step process that will store sessions in
database, but this will ease the maintenance of this section for now.

* chore: remove test logger
2022-07-23 11:32:53 +02:00
Felipe M 2ca628b7fe
hotfix: fixes session duration from #346 2022-02-11 16:00:38 +01:00
Felipe Martin Garcia d56993292b
fix: remember me session duration (#346)
- Default session duration is 1h
- Increased session duration (when remember me is checked) is
  increased to 30d.
2022-02-11 14:05:34 +01:00
Dean Jackson a5cb2c6e40 Fix login autofill
Add <form> element, as some browsers won't autofill fields
not contained in form.

Remove username and password bindings, and explicitly read
inputs instead. Some browsers do not fire onChange events
when a field is autofilled for security reasons, so Vue
bindings don't register the change.

https://github.com/facebook/react/issues/1159#issuecomment-506584346
2019-12-13 08:36:16 +01:00
Ninh Pham 98353369f7
Fix: grid layout on dialog 2019-10-14 10:51:11 +07:00
Radhi Fadlillah 7a2bcacf51 Fix: hasArchive icon gone after update bookmark 2019-10-13 08:37:10 +07:00
Radhi Fadlillah 7d938f3893 Fix: checkbox in dialog doesn't work 2019-10-13 08:22:17 +07:00
Ninh Pham ef248c8fc4
Fix: Bookmark content displays Invalid Date if database is PostgreSQL #201 2019-10-12 20:15:11 +07:00
Radhi Fadlillah d2906b126a Fix wrong cookie path 2019-10-11 14:14:17 +07:00
Ninh Pham e41cea6642
Fix: Safari does not accept document.baseURI for cookie path 2019-10-11 13:28:25 +07:00
Radhi Fadlillah 9e962f0b2d Fix: now cookie set per subpath #39 2019-10-07 15:33:32 +07:00
Radhi Fadlillah 99d27930ea Initial support for subpath #39 2019-10-07 13:38:40 +07:00
Radhi Fadlillah 3077c7fbb8 Use tab instead of spaces 2019-10-04 16:51:08 +07:00
Radhi Fadlillah bf974facdc Add border around table in content view 2019-10-04 16:36:41 +07:00
Radhi Fadlillah b315c48acf Fix content with double braces not rendered #171 2019-09-25 07:32:03 +07: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 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 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 f50d0cca5d Better error handle in JS 2019-08-20 14:29:55 +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 e55070ca77 Better style for empty bookmark message 2019-08-12 20:37:03 +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
Radhi Fadlillah 11c6680397 Add options to keep title and excerpt when update 2019-08-10 20:13:13 +07:00
Radhi Fadlillah 20e89216f0 Add option to mark if bookmark archive is public 2019-08-08 20:16:25 +07:00
Radhi Fadlillah 54e02e5c76 Add edit URL on web interface 2019-08-08 11:00:48 +07:00
Radhi Fadlillah 36195dc202 Improve UX for renaming tags 2019-08-08 08:28:24 +07:00
Radhi Fadlillah ea73eaff64 Add method for renaming tag 2019-08-07 23:30:17 +07:00
Radhi Fadlillah 690bda85f7 Make dialog closable using esc key 2019-08-07 17:38:53 +07:00
Radhi Fadlillah dcef9162e4 Load initial page depending on submitted URL 2019-08-07 17:01:19 +07:00
Radhi Fadlillah f79eb5c1dd Show localtime instead of UTC 2019-08-06 23:37:52 +07:00
Radhi Fadlillah c8c29fe933 Fix: add rel=noopener on link that open new tab 2019-08-06 22:30:01 +07:00
Radhi Fadlillah 6eb8c749a5 Now server provides Source Sans Pro fonts 2019-08-06 08:45:39 +07:00
Radhi Fadlillah efa59d6d8b Minor css fix: stop image stretched vertically in content view 2019-08-06 08:31:29 +07:00
Radhi Fadlillah 3d12d6170b Increase z-index for archive header 2019-08-05 22:39:13 +07:00
Radhi Fadlillah 5d89454d95 By default now it uses night mode 2019-08-05 22:32:43 +07:00
Radhi Fadlillah 5443be039e Add link to open archive and content page 2019-08-05 22:06:00 +07:00
Radhi Fadlillah 43040a9bc4 Initial archive page 2019-08-05 18:26:37 +07:00
Radhi Fadlillah 3345d8db29 Initial bookmark content 2019-08-04 21:34:23 +07:00
Radhi Fadlillah a7d59d55e3 Minor padding change 2019-08-03 14:38:15 +07:00