Felipe Martin
c5c7a5f600
Show version in login page ( #652 )
2023-07-21 09:25:19 +02:00
Felipe Martin
6f19c12c95
Start working on new REST API. Refactor logic in domains. ( #497 )
...
* added 404 template
* added auth domain
* added embed file for frontend
* added base config and dependencies
* added basic new http server
* added separated server command
* updated go modules
* removed modd file
* Added shortcut to send internal server error response
* Added JWT support to Auth Domain
* Added JWT support to API
* docs: added comments to response struct
* naming
* inline returns
* updated dependencies
* production logger
* bookmarks endpoint
* reverted old views api path
* frontend for api v1
* proper 404 error (not working atm)
* use response
* removed 404 html
* server error handler
* login and basic auth
* adjusted session duration
* properly retrieve tags
* properly delete bookmark
* cleanup
* archiver domain
* debug routes
* bookmark routes
* expiration by parameter
* move to logrus
* logout
* frontend cache
* updated dependencies
* http: migrated to gin
* linted
* Added version command
* unit tests, docs
* response test utils and tests
* remove logout handler
* auth
* createtag
* improved http test utilities
* assert message equals
* Remove 1.19 from test matrix
* moved api to v1 folder
* docs: contribute docs
* updated makefile
* updated usage docs
* warn in server command
* updaed docs with shiori version command
* Updated documentation
* deps: update
2023-07-17 14:30:18 +01:00
chain710
888e59dabf
Add log args for root command ( #565 )
...
- log-level: specify log level, default info
- log-caller: whether log `file:lineno` or not, default false
- log FullTimestamp
2023-03-17 13:37:23 +01:00
n8225
f1c98a8e98
Update Dependencies and Replace mattn/go-sqlite with modernc.org/sqlite ( #345 )
...
* No more CGO
* Update all dependencies to current
* Only test against go 1.17.
2022-02-11 13:59:49 +01:00
bvp
4eb86d60d7
Initial PostgreSQL support
2019-09-24 19:59:25 +03:00
Radhi Fadlillah
0bf5772022
Remove unneeded local variables
2019-09-21 16:19:45 +07:00
Radhi Fadlillah
667e5b2e74
Initial MySQL support
2019-08-10 08:13:13 +07:00
Radhi Fadlillah
ad502c6749
Add portable mode
2019-08-09 10:19:43 +07:00
Radhi Fadlillah
61bd8244a6
Initial new web interfaces
2019-05-27 17:01:53 +07:00
Radhi Fadlillah
659a3291d8
Implement logic for add and print cmd
2019-05-21 23:24:11 +07:00
Radhi Fadlillah
1e099fbd27
Restructure project directories
2019-05-21 10:31:40 +07:00
Radhi Fadlillah
f582fd1552
Start from zero
2019-05-20 19:43:22 +07:00
Radhi Fadlillah
8c361485ac
Revert merge #97
2018-06-08 16:25:17 +07:00
Sascha Andres
4a1c36463b
feat: allow to change database file name
...
restore complete customization #93
2018-06-06 07:26:29 +02:00
Radhi Fadlillah
0ffd6b3231
Download thumbnail image to local disk
2018-05-18 16:18:38 +07:00
Radhi Fadlillah
ec53fe6113
For development mode, create database in woking dir
2018-05-01 10:23:38 +07:00
Radhi Fadlillah
997781f96e
Use platform specific data dirs
2018-05-01 10:12:55 +07:00
Radhi Fadlillah
2c23f98d0c
Refactor code
2018-04-28 21:02:36 +07:00
Radhi Fadlillah
6bab302785
Change default database to home dir
2018-03-12 16:45:49 +07:00
Radhi Fadlillah
c79b117ddb
Add filename if ENV_SHIORI_DB is directory
2018-03-09 21:15:45 +07:00
Abe Estrada
61fbe8fc8c
Prepend environment path to database path
...
This fixes an error when the `ENV_SHIORI_DB` is defined, it doesn't open a database file because the database file name isn't on the `databasePath` variable.
2018-03-05 17:00:07 -07:00
Radhi Fadlillah
c208894bb6
Move opening database to main file
2018-03-05 07:14:58 +07:00
Sascha
168b623985
feat(database): make path to database configurable
2018-03-01 10:51:30 +01:00
Radhi Fadlillah
786cae511a
Bundle the view in executable
2018-02-23 16:51:06 +07:00
Radhi Fadlillah
aabd1a7838
Create command for add and print bookmarks
2018-01-28 13:55:43 +07:00
Radhi Fadlillah
f24fc48bbc
Initial database
2018-01-26 20:33:26 +07:00
Radhi Fadlillah
0bddceeb36
Initial commit
2018-01-26 17:40:01 +07:00