| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
sx-method.el
sx-question-list.el
sx-question-mode.el
sx-question.el
sx-request.el
sx.el
|
| | |
|
| |
| |
| |
| | |
Also run checkdoc on sx.el
|
| |\
| | |
| | | |
Mark as read with "m"
|
| |/
| |
| |
| | |
Fixes #61
|
| |\
| | |
| | | |
Hidden questions
|
| | |\ |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Also improve read question code.
|
| | | | |
|
| |\ \ \
| | | | |
| | | | | |
Provide cache invalidation
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
(sx-cache--invalidate): Invalidate provided cache. Allows for
invalidating variables associated with cache using `makunbound`. Cache
can be reinitialized using arg `init-method`.
(sx-cache-invalidate-all): Invalidate all caches then call
`sx-initialize` to reinitialize. Arg `save-auth` prevents access_token
from being lost.
|
| | | | | |
|
| |\ \ \ \
| | |/ / /
| |/| | | |
Implements indication of starred questions in question-list
|
| | | |/
| | |/|
| | | |
| | | |
| | | |
| | | |
| | | | |
`sx-question-list-favorite` inherits face from
`sx-question-list-score-upvoted`
Favorite is displayed using char \x2b26 WHITE MEDIUM DIAMOND.
|
| |\ \ \
| | |/ /
| |/| | |
Update sx-networks and sx-favorites to use sx-initialize
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Simplify initialization since it is run at startup rather than tested
for by functions.
Clean up (sx-favorites--update-site-favorites) to provide the same
values for new sites as for existing.
|
| | | | |
|
| |/ /
| | |
| | |
| | |
| | | |
Turned (sx-network--ensure-user) into (sx-network--initialize) and added
as hook for initialization.
|
| |\|
| | |
| | | |
Functionality for retrieving network information and keeping track of favorite questions.
|
| | |
| | |
| | |
| | | |
Use sharp quote for function.
|
| | |
| | |
| | |
| | |
| | | |
Correct file header.
Use sharp quote for function.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
sx-favorites--user-favorite-list: Clarify docstring
(sx-favorites--ensure-favorite-list): Remove extraneous argument
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
(sx-network--get-associated): Ensure user-sites is also set when
retrieving cache.
(sx-network--ensure-user): Simplify. Used to ensure cache is loaded
before attempting to use it.
Fix quoted lambda in sx-network--map-site-url-to-site-api.
|
| | |
| | |
| | |
| | |
| | |
| | | |
sx-cache-set.
Fix provides lines (missed quote on symbol).
|
| | |
| | |
| | |
| | |
| | | |
- sx-network--user-information is a var not a function
- remember to setq sx-network--user-sites.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
sx-favorites--ensure-favorite-list: List of favorites in format (SITE
QUESTION_ID QUESTION_ID ...).
(sx-favorites--update-site-favorites): Update favorites for given SITE.
(sx-favorites-update): Update favorites for all networks user has an
account on.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
sx-network--user-information: User query from site.
sx-network--user-sites: List of sites user is active on for use when
querying sites.
(sx-network--ensure-user): Ensures network-user cache is available for
use.
(sx-network--update): Retrieve most recent network user information.
|
| |\ \
| | |/
| |/| |
Question mode keybindings++
|
| | |\
| | |/
| |/| |
|
| |\ \
| | | |
| | | | |
Updated `sx-request-make` to use a consistent format for both `POST` and `GET` methods
|
| | | |
| | | |
| | | |
| | | | |
creating a request.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
alist)` error.
Moved `api-key` to let binding rather than directly in if statement.
|
| | |\ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
If `need-auth` is `'warn`, break with `user-error` to advise the user
to authenticate. Otherwise the query will result in an `Error 401`.
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
`GET` methods.
(sx-request-make): Added optional arguments for using "POST" and AUTH
when performing requests
(sx-request--build-keyword-arguments): Add option of using AUTH and
including in query when required.
(sx-request-build): Removed
(sx-request--request): New function to perform query with all
variables let bound.
sx-auth.el: Updated `sx-auth-root` to be full auth URL rather than
lack method.
(sx-auth-authenticate): Remove dependency on `sx-request-build` and
perform construction inline.
|
| |\ \ \ \
| | |_|/ /
| |/| | | |
Question mode keybindings
|
| |\ \ \ \
| | | | | |
| | | | | | |
Intialize on list questions
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Addresses #63
|
| |/ / / / |
|
| |\ \ \ \
| | | | | |
| | | | | | |
Fix use of `rx' macro
|
| |/ / / /
| | | | |
| | | | |
| | | | | |
It needs to be evaluated.
|
| | | | | |
|
| | | |/
| | |/|
| | | |
| | | |
| | | |
| | | | |
It holds the data of current section, which is a question or answer for
now. This means the data of thing-at-point is always immediately
available through get-text-property.
|