shiori/internal/database
Felipe Martin a60dbf3dc5
Run legacy API and new API at the same time. (#648)
* config: backwards comptabile dir

* remove duplicated frontend

* frontend: move assets to assets folder

* legacy routes handler in gin

* templates and asset in different embed

* new routes

* frontend routes serve old views

* added DTO for account object

* api auth calls legacy handler

* frontend: handle new error messages

* frontend: update urls

* frontend: login using new api

* updated frontend tests

* chore: remove debug route

* create shiori/gopher user if no owner is present

* server as default command

* serve -> server

* refactored database logic, allow database url

* removed unused configuration

* storage docs

* refactor cli to use cfg and deps

* check errors only in server

* log fatal instead of os exit

* dont default data directory to current dir

* fixed sqlite path

* trigger build on prs

* avoid releasing if lint/test fails

* pull request condition

* event -> event_name

* Get correct pull request number

* added workflow to delete dangling tags

* fix: nil error checking

* set gin mode first

* set gin mode before initialization

* fix logger

* allow version bump from custom ref

* Updated matrix link to workspace
2023-07-19 18:25:41 +02:00
..
migrations fix: remove manual transaction on sqlite migration 2 (#468) 2022-08-11 13:40:17 +02:00
database.go Run legacy API and new API at the same time. (#648) 2023-07-19 18:25:41 +02:00
database_test.go Start working on new REST API. Refactor logic in domains. (#497) 2023-07-17 14:30:18 +01:00
mysql.go Start working on new REST API. Refactor logic in domains. (#497) 2023-07-17 14:30:18 +01:00
mysql_test.go fix: saving bookmarks inconsistencies (#500) 2022-10-11 23:47:38 +02:00
pg.go Start working on new REST API. Refactor logic in domains. (#497) 2023-07-17 14:30:18 +01:00
pg_test.go fix: saving bookmarks inconsistencies (#500) 2022-10-11 23:47:38 +02:00
sqlite.go Run legacy API and new API at the same time. (#648) 2023-07-19 18:25:41 +02:00
sqlite_test.go fix(db): avoid using dash in fts5 queries (#514) 2022-10-15 11:33:29 +02:00