Correct spelling
This commit is contained in:
parent
0c56b4d580
commit
264f4db567
6 changed files with 8 additions and 8 deletions
|
@ -461,7 +461,7 @@ Version 2.0.13 (Nov 25, 2018)
|
||||||
|
|
||||||
* Add man page
|
* Add man page
|
||||||
* Add support for Systemd Socket Activation (experimental)
|
* Add support for Systemd Socket Activation (experimental)
|
||||||
* Add the possiblity to listen on Unix sockets
|
* Add the possibility to listen on Unix sockets
|
||||||
* Add config options to disable HTTP and scheduler services
|
* Add config options to disable HTTP and scheduler services
|
||||||
* Archive more read entries in cleanup job
|
* Archive more read entries in cleanup job
|
||||||
* Change default database connection string (backward compatible)
|
* Change default database connection string (backward compatible)
|
||||||
|
|
|
@ -171,7 +171,7 @@ func Parse() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// Run migrations and start the deamon.
|
// Run migrations and start the daemon.
|
||||||
if config.Opts.RunMigrations() {
|
if config.Opts.RunMigrations() {
|
||||||
if err := database.Migrate(db); err != nil {
|
if err := database.Migrate(db); err != nil {
|
||||||
logger.Fatal(`%v`, err)
|
logger.Fatal(`%v`, err)
|
||||||
|
@ -182,7 +182,7 @@ func Parse() {
|
||||||
logger.Fatal(`You must run the SQL migrations, %v`, err)
|
logger.Fatal(`You must run the SQL migrations, %v`, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create admin user and start the deamon.
|
// Create admin user and start the daemon.
|
||||||
if config.Opts.CreateAdmin() {
|
if config.Opts.CreateAdmin() {
|
||||||
createAdmin(store)
|
createAdmin(store)
|
||||||
}
|
}
|
||||||
|
|
|
@ -222,7 +222,7 @@ func (c *Client) MarkCategoryAsRead(categoryID int64) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
// CategoryFeeds gets feeds of a cateogry.
|
// CategoryFeeds gets feeds of a category.
|
||||||
func (c *Client) CategoryFeeds(categoryID int64) (Feeds, error) {
|
func (c *Client) CategoryFeeds(categoryID int64) (Feeds, error) {
|
||||||
body, err := c.request.Get(fmt.Sprintf("/v1/categories/%d/feeds", categoryID))
|
body, err := c.request.Get(fmt.Sprintf("/v1/categories/%d/feeds", categoryID))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
@ -116,7 +116,7 @@ func (s *Storage) CreateFeedIcon(feedID int64, icon *model.Icon) error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// Icons returns all icons tht belongs to a user.
|
// Icons returns all icons that belongs to a user.
|
||||||
func (s *Storage) Icons(userID int64) (model.Icons, error) {
|
func (s *Storage) Icons(userID int64) (model.Icons, error) {
|
||||||
query := `
|
query := `
|
||||||
SELECT
|
SELECT
|
||||||
|
|
|
@ -11,7 +11,7 @@ import (
|
||||||
"miniflux.app/model"
|
"miniflux.app/model"
|
||||||
)
|
)
|
||||||
|
|
||||||
// NewBatch returns a serie of jobs.
|
// NewBatch returns a series of jobs.
|
||||||
func (s *Storage) NewBatch(batchSize int) (jobs model.JobList, err error) {
|
func (s *Storage) NewBatch(batchSize int) (jobs model.JobList, err error) {
|
||||||
pollingParsingErrorLimit := config.Opts.PollingParsingErrorLimit()
|
pollingParsingErrorLimit := config.Opts.PollingParsingErrorLimit()
|
||||||
query := `
|
query := `
|
||||||
|
@ -28,7 +28,7 @@ func (s *Storage) NewBatch(batchSize int) (jobs model.JobList, err error) {
|
||||||
return s.fetchBatchRows(query, pollingParsingErrorLimit, batchSize)
|
return s.fetchBatchRows(query, pollingParsingErrorLimit, batchSize)
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewUserBatch returns a serie of jobs but only for a given user.
|
// NewUserBatch returns a series of jobs but only for a given user.
|
||||||
func (s *Storage) NewUserBatch(userID int64, batchSize int) (jobs model.JobList, err error) {
|
func (s *Storage) NewUserBatch(userID int64, batchSize int) (jobs model.JobList, err error) {
|
||||||
// We do not take the error counter into consideration when the given
|
// We do not take the error counter into consideration when the given
|
||||||
// user refresh manually all his feeds to force a refresh.
|
// user refresh manually all his feeds to force a refresh.
|
||||||
|
|
|
@ -88,7 +88,7 @@ func (f *funcMap) Map() template.FuncMap {
|
||||||
))
|
))
|
||||||
},
|
},
|
||||||
|
|
||||||
// These functions are overrided at runtime after the parsing.
|
// These functions are overrode at runtime after the parsing.
|
||||||
"elapsed": func(timezone string, t time.Time) string {
|
"elapsed": func(timezone string, t time.Time) string {
|
||||||
return ""
|
return ""
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue