| Commit message (Expand) | Author | Age | Files | Lines |
* | Merge pull request #1620 from profanity-im/readd-ci | Michael Vetter | 2021-12-03 | 3 | -15/+16 |
|\ |
|
| * | ci: re-enable tumblweed | Michael Vetter | 2021-12-03 | 2 | -2/+2 |
| * | ci: update ubuntu python package names | Michael Vetter | 2021-12-03 | 1 | -1/+2 |
| * | ci: re-enable ubuntu | Michael Vetter | 2021-12-03 | 1 | -1/+1 |
| * | ci: re-enable macos | Michael Vetter | 2021-12-03 | 1 | -12/+12 |
|/ |
|
* | Merge pull request #1610 from nandesu-utils/master | Michael Vetter | 2021-11-30 | 1 | -4/+10 |
|\ |
|
| * | Refined sender device acquirement | nandesu-utils | 2021-10-29 | 1 | -5/+7 |
| * | Acquire sender's device list on connection | nandesu-utils | 2021-10-28 | 1 | -4/+8// Copyright (c) 2020, Andinus <andinus@inventati.org>
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission notice appear in all copies.
// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
// WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
// ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
// WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
package bing
import (
"encoding/json"
"fmt"
"io/ioutil"
"net/http"
"time"
)
// Photo holds responses
type Photo struct {
StartDate string `json:"startdate"`
FullStartDate string `json:"fullstartdate"`
EndDate string `json:"enddate"`
URL string `json:"url"`
URLBase string `json:"urlbase"`
Copyright string `json:"copyright"`
CopyrightLink string `json:"copyrightlink"`
Title string `json:"title"`
Hsh string `json:"hsh"`
}
// BPOD holds list of response
type BPOD struct {
Photos []Photo `json:"images"`
}
// BPODPath returns Bing Photo of the Day responses
func BPODPath(bpodInfo map[string]string, timeout time.Duration) (BPOD, error)
|
* | Remove spec file | Michael Vetter | 2021-10-23 | 1 | -51/+0 |
* | readme: remove chat badge | Michael Vetter | 2021-10-22 | 1 | -1/+1 |
* | Merge pull request #1607 from profanity-im/utf8indicatorchar | Michael Vetter | 2021-10-22 | 8 | -230/+202 |
|\ |
|
| * | ci: remove ubuntu | Michael Vetter | 2021-10-22 | 1 | -1/+1 |
| * | Allow utf8 in occupants header char | Michael Vetter | 2021-10-22 | 6 | -29/+24 |
| * | Allow utf8 in occupants char | Michael Vetter | 2021-10-22 | 6 | -29/+25 |
| * | Allow utf8 in roster room private char | Michael Vetter | 2021-10-22 | 6 | -27/+22 |
| * | Allow utf8 in roster rooms char | Michael Vetter | 2021-10-22 | 6 | -29/+24 |
| * | Allow utf8 in roster private char | Michael Vetter | 2021-10-22 | 6 | -27/+22 |
| * | Allow utf8 in roster resource char | Michael Vetter | 2021-10-22 | 6 | -30/+28 |
| * | Allow utf8 in roster contact char | Michael Vetter | 2021-10-22 | 6 | -33/+28 |
| * | Allow utf8 in roster header char | Michael Vetter | 2021-10-21 | 6 | -29/+32 |
* | | tests: Add win_get_last_sent_messag() stub | Michael Vetter | 2021-10-22 | 1 | -0/+5 |
* | | Merge pull request #1601 from MarcoPolo-PasTonMolo/master | Michael Vetter | 2021-10-22 | 6 | -55/+145 |
|\ \
| |/
|/| |
|
| * | Move declaration and definition of win_get_last_sent_message to the correct p... | MarcoPolo-PasTonMolo | 2021-10-22 | 5 | -32/+33 |
| * | Remove autocomplete for /correct-editor | MarcoPolo-PasTonMolo | 2021-10-21 | 4 | -31/+18 |
| * | Export common code to helper functions | MarcoPolo-PasTonMolo | 2021-10-17 | 1 | -122/+72 |
| * | Add /correct-editor command | MarcoPolo-PasTonMolo | 2021-10-07 | 4 | -1/+153 |
* | | ci: debian test.. | Michael Vetter | 2021-10-16 | 1 | -0/+1 |
* | | ci: use new icons switch | Michael Vetter | 2021-10-16 | 1 | -6/+6 |
* | | Merge pull request #1604 from mdosch/themes-snikket | Michael Vetter | 2021-10-16 | 1 | -0/+82 |
|\ \ |
|
| * | | Add (experimental) theme snikket. | Martin Dosch | 2021-10-16 | 1 | -0/+82 |