aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | Fix docstring.Jonathan Leech-Pepin2014-11-181-2/+1
| | | | |
| | * | | Provide cache invalidationJonathan Leech-Pepin2014-11-181-0/+26
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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.
* | | | Merge pull request #70 from jleechpe/sx-networksSean Allred2014-11-182-34/+34
|\ \ \ \ | |/ / / |/| | | Update sx-networks and sx-favorites to use sx-initialize
| * | | Replace (sx-favorites--ensure-favorite-list) with (sx-favorites--initialize).Jonathan Leech-Pepin2014-11-181-17/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | Correct naming of cache to correspond to sx-cache-get.Jonathan Leech-Pepin2014-11-181-1/+1
| | | |
| * | | Fix logic for updating cache and setting variables.Jonathan Leech-Pepin2014-11-181-15/+17
|/ / / | | | | | | | | | | | | Turned (sx-network--ensure-user) into (sx-network--initialize) and added as hook for initialization.
* | | Merge pull request #69 from jleechpe/sx-networksSean Allred2014-11-182-0/+198
|\| | | | | | | | Functionality for retrieving network information and keeping track of favorite questions.
| * | GH comment fix:Jonathan Leech-Pepin2014-11-181-1/+1
| | | | | | | | | | | | Use sharp quote for function.
| * | GH comment fixes:Jonathan Leech-Pepin2014-11-181-2/+2
| | | | | | | | | | | | | | | Correct file header. Use sharp quote for function.
| * | (sx-favorites--update-site-favorites): Change from (list ..) to (cons ..).Jonathan Leech-Pepin2014-11-181-1/+1
| | |
| * | Fixes as per Github commentsJonathan Leech-Pepin2014-11-181-5/+6
| | | | | | | | | | | | | | | sx-favorites--user-favorite-list: Clarify docstring (sx-favorites--ensure-favorite-list): Remove extraneous argument
| * | Fixes as per github comments.Jonathan Leech-Pepin2014-11-181-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | (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.
| * | Refactor sx-network--get-associated to avoid double call toJonathan Leech-Pepin2014-11-182-5/+5
| | | | | | | | | | | | | | | | | | sx-cache-set. Fix provides lines (missed quote on symbol).
| * | Fix mistakes:Jonathan Leech-Pepin2014-11-171-2/+3
| | | | | | | | | | | | | | | - sx-network--user-information is a var not a function - remember to setq sx-network--user-sites.
| * | Use sx-network--user-filter to include `user_type' property (non-default).Jonathan Leech-Pepin2014-11-171-1/+26
| | |
| * | Generate and update list of favorited questions.Jonathan Leech-Pepin2014-11-171-0/+87
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Create `sx-networks` and the associated cache.Jonathan Leech-Pepin2014-11-171-0/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #67 from vermiculus/question-mode-keybindings++Artur Malabarba2014-11-182-57/+79
|\ \ \ | |/ / |/| | Question mode keybindings++
| * | Merge branch 'master' into question-mode-keybindings++Artur Malabarba2014-11-176-50/+92
| |\ \ | |/ / |/| |
* | | Merge pull request #52 from jleechpe/sx-request-make-updateArtur Malabarba2014-11-173-44/+76
|\ \ \ | | | | | | | | Updated `sx-request-make` to use a consistent format for both `POST` and `GET` methods
| * | | Update `sx-method-call` to use `need-auth` and `use-post` variables whenJonathan Leech-Pepin2014-11-171-2/+11
| | | | | | | | | | | | | | | | creating a request.
| * | | Change from `add-to-list` to `push` to avoid a strange `(void-variableJonathan Leech-Pepin2014-11-171-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | alist)` error. Moved `api-key` to let binding rather than directly in if statement.
| * | | Merge branch 'master' into sx-request-make-updateJonathan Leech-Pepin2014-11-179-248/+343
| |\ \ \
| * | | | Adjust request keyword creation to verify if AUTH is needed.Jonathan Leech-Pepin2014-11-171-16/+32
| | | | | | | | | | | | | | | | | | | | | | | | | If `need-auth` is `'warn`, break with `user-error` to advise the user to authenticate. Otherwise the query will result in an `Error 401`.
| * | | | Fix incorrect call to `call` rather than `request-url`Jonathan Leech-Pepin2014-11-171-1/+1
| | | | |
| * | | | Remove unneeded newlineJonathan Leech-Pepin2014-11-141-2/+1
| | | | |
| * | | | Updated `sx-request-make` to use a consistent format for both `POST` and ↵Jonathan Leech-Pepin2014-11-142-30/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `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.
* | | | | Merge pull request #68 from vermiculus/question-mode-keybindingsSean Allred2014-11-171-2/+15
|\ \ \ \ \ | |_|/ / / |/| | | | Question mode keybindings
* | | | | Merge pull request #65 from vermiculus/intialize-on-list-questionsSean Allred2014-11-162-4/+14
|\ \ \ \ \ | | | | | | | | | | | | Intialize on list questions
| * | | | | Call sx-initialize on list-questionsArtur Malabarba2014-11-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Addresses #63
| * | | | | Implement sx-initializeArtur Malabarba2014-11-161-4/+13
|/ / / / /
* | | | | Merge pull request #58 from vermiculus/fix-rx-macro-useArtur Malabarba2014-11-151-2/+2
|\ \ \ \ \ | |_|_|_|/ |/| | | | Fix use of `rx' macro
| * | | | Fix use of `rx' macroSean Allred2014-11-151-2/+2
|/ / / / | | | | | | | | | | | | It needs to be evaluated.
| | | * Define -visit to use answer link if available.Artur Malabarba2014-11-172-1/+19
| | | |
| | | * Set text property sx-question-mode--data-hereArtur Malabarba2014-11-171-56/+60
| | |/ | |/| | | | | | | | | | | | | 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.
| * | Add function to browse-url in question-modeSean Allred2014-11-161-2/+14
| | |
| * | Set question data when printing the questionSean Allred2014-11-161-0/+1
|/ /
* | Delete sx-lto.elArtur Malabarba2014-11-151-103/+0
| |
* | Merge pull request #55 from vermiculus/real-scoresSean Allred2014-11-153-26/+76
|\ \ | | | | | | Use real data for mark-as-read
| * \ Merge branch 'master' into real-scoresSean Allred2014-11-152-8/+11
| |\ \ | |/ / |/| |
* | | Merge pull request #56 from vermiculus/filling-and-fontlockingSean Allred2014-11-152-59/+194
|\ \ \ | | | | | | | | Filling and fontlocking
| * | | Use more rx.Artur Malabarba2014-11-151-4/+7
| | | |
| * | | Fix typoArtur Malabarba2014-11-151-3/+3
| | | |
* | | | Merge pull request #53 from vermiculus/network-listSean Allred2014-11-147-55/+58
|\ \ \ \ | | | | | | | | | | Smart caching
* \ \ \ \ Merge pull request #54 from vermiculus/fix-assoc-letSean Allred2014-11-141-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Quick-fix assoc-let
| * | | | | Quick-fix assoc-letArtur Malabarba2014-11-141-1/+1
|/ / / / /
| | | * | Finish mergeArtur Malabarba2014-11-152-6/+9
| | | | |
| | | * | Merge remote-tracking branch 'remotes/origin/network-list' into real-scoresArtur Malabarba2014-11-157-55/+58
| | | |\ \ | | |_|/ / | |/| | |
| * | | | Fix commentSean Allred2014-11-141-1/+1
| | | | |
| * | | | Merge branch 'master' into network-listSean Allred2014-11-1413-155/+666
| |\ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | Conflicts: sx-filter.el sx-question.el