shiori/internal
Monirzadeh 4a5564d60b
feat: store created and modified time separately on database for bookmarks (#896)
* sqlite migrate script

* create time just when bookmark added and modified update if change happen

* show added and modified time in footer instead of header

* add bun.lockb that missing

* add migrate for postgres

* add pg support of created time

* change modifed to modifed_at and create to created_at in sqlite

* change modifed to modifed_at and create to created_at in postgre

* add created_at to mariadb

* fix migration file names

* better variable name and more clear code for add modified time if created and modified is not in same day

* add unittest

* add unittest to sure filters work as expected

* index for created_at and modified_at

* build new styles.css

* update swagger documents

* make styles

* change Created and Modified to CreatedAt and ModifiedAt

* fix missing Modified

* fix typo

* missing Modified

* fix typo

* make swagger

* run tests parallel

Co-authored-by: Felipe Martin <812088+fmartingr@users.noreply.github.com>

* remove t.Parallel()

* remove dayjs dependency and combine two function

* better unittest name

* fix typo

* diffrnt footer style for login and content page

* use class instead of id

* back parallel

* change duplicate url

* remvoe run Parallel

* make styles

---------

Co-authored-by: Felipe Martin <812088+fmartingr@users.noreply.github.com>
2024-06-26 20:17:51 +02:00
..
cmd feat: store created and modified time separately on database for bookmarks (#896) 2024-06-26 20:17:51 +02:00
config fix: fix problems that may be raised from a 1.5.5 upgrade (#837) 2024-02-08 09:26:33 +01:00
core feat: store created and modified time separately on database for bookmarks (#896) 2024-06-26 20:17:51 +02:00
database feat: store created and modified time separately on database for bookmarks (#896) 2024-06-26 20:17:51 +02:00
dependencies refactor: migrate bookmark static pages to new http server (#775) 2023-12-28 18:18:32 +01:00
domains feat: new migrations system (#876) 2024-04-27 07:46:36 +02:00
http feat: new system info panel in webui settings (#926) 2024-06-08 17:48:55 +02:00
model feat: store created and modified time separately on database for bookmarks (#896) 2024-06-26 20:17:51 +02:00
testutil feat: new system info panel in webui settings (#926) 2024-06-08 17:48:55 +02:00
view feat: store created and modified time separately on database for bookmarks (#896) 2024-06-26 20:17:51 +02:00
webserver feat: store created and modified time separately on database for bookmarks (#896) 2024-06-26 20:17:51 +02:00
assets.go Start working on new REST API. Refactor logic in domains. (#497) 2023-07-17 14:30:18 +01:00