Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Refactor list-questions into sx-view-frontpage. | Artur Malabarba | 2014-11-24 | 2 | -22/+85 | |
| | | ||||||
| * | Moving above the top or below the end refreshes | Artur Malabarba | 2014-11-24 | 1 | -1/+23 | |
| | | ||||||
| * | Refactor question-list as a generic backend. | Artur Malabarba | 2014-11-24 | 1 | -50/+112 | |
|/ | ||||||
* | Merge pull request #84 from jleechpe/sx-method-auth | Sean Allred | 2014-11-21 | 8 | -78/+213 | |
|\ | | | | | Implement checking for filter and method authentication requirement. | |||||
| * | Whitespace fixup (spaces not tabs). | Jonathan Leech-Pepin | 2014-11-21 | 1 | -21/+21 | |
| | | ||||||
| * | Fix indentation following indent declaration. | Jonathan Leech-Pepin | 2014-11-21 | 4 | -17/+17 | |
| | | ||||||
| * | Use `\(` for ( at beginning of line in docstring. | Jonathan Leech-Pepin | 2014-11-21 | 1 | -1/+1 | |
| | | ||||||
| * | Use `(declare (indent 1)) in `sx-method-call`. | Jonathan Leech-Pepin | 2014-11-21 | 1 | -0/+1 | |
| | | ||||||
| * | Whitespace/indent fixup. | Jonathan Leech-Pepin | 2014-11-21 | 1 | -38/+38 | |
| | | ||||||
| * | Fix docstring/argument list ordering (mistake during merge). | Jonathan Leech-Pepin | 2014-11-21 | 1 | -3/+3 | |
| | | | | | | | | | | Fix `url-automatic-caching` to use `t` rather than `sx-request-cache-p` (used in tests only). | |||||
| * | Update docstring to reflect uses of `AUTH`. | Jonathan Leech-Pepin | 2014-11-21 | 1 | -0/+15 | |
| | | ||||||
| * | Merge branch 'master' into sx-method-auth. Conflicts have been | Jonathan Leech-Pepin | 2014-11-21 | 17 | -201/+505 | |
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | resolved. Logic and functions have been kept from the `cl-defun` `sx-method-call` while docstrings have been updated as per #77 when possible. Conflicts: sx-auth.el sx-method.el sx-question.el sx-request.el | |||||
| * | | Properly return a nil entry when falling back | Jonathan Leech-Pepin | 2014-11-20 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | sx-request-make returns a nested list (or vector of lists). Return `'(())` to ensure it is an acceptable response. | |||||
| * | | Typo fix. | Jonathan Leech-Pepin | 2014-11-20 | 1 | -1/+1 | |
| | | | ||||||
| * | | Do not initialize Stack-Mode. | Jonathan Leech-Pepin | 2014-11-20 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | Initializing will retrieve user preferences/authentication. We do not need this. | |||||
| * | | Fix auth settings in calls. Do not use 'warn in non-interactive commands. | Jonathan Leech-Pepin | 2014-11-20 | 4 | -4/+4 | |
| | | | ||||||
| * | | Uses of `sx-method-call` have been updated to use new format. | Jonathan Leech-Pepin | 2014-11-20 | 4 | -20/+24 | |
| | | | | | | | | | | | | | | | | | | | | | | | | sx-question now includes 2 authentication requiring parameters, `question.upvoted` and `question.downvoted`. These will only be used if access token exists. sx-favorites still uses site-workaround pending #82. | |||||
| * | | Remove default site specification. Defaults to nil if not | Jonathan Leech-Pepin | 2014-11-20 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | specified (for network-wide searches). Remove :warning, drop back to :debug | |||||
| * | | sx-method-call rewritten and associated improvements in sx-request. | Jonathan Leech-Pepin | 2014-11-20 | 2 | -61/+78 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now requires `'sx-auth` to account for authentication. (sx-method-call) is now defined using `cl-defun` and uses keys rather than positional arguments. Authentication logic is performed in `sx-method-call` to ensure commands are only passed on once they are needed. When access token is available: - Filters will be used as provided - Methods will be called When access token is unavailable: - Filters will downgrade to only request object that do not require auth. - Methods will instead use `sx-request-fallback` and return nil. If auth is not specified but is required, `sx-method-call` will throw an error. If auth is specified as `'warn`, `user-error` will be called. (sx-request--build-keyword-arguments) has been simplified. It will always pass an available access_token (api indicates doing so will use a user/key quota rather than simply key quota). (sx-request-make) now performs url retrieval directly. Query construction is all performed by `sx-method-call`. | |||||
| * | | Improve method for returning clean filter. | Jonathan Leech-Pepin | 2014-11-20 | 1 | -12/+21 | |
| | | | | | | | | | | | | | | | Logic now verifies `include` if `include`,`exclude`,`base` is used. Otherwise verify entire filter. | |||||
| * | | Do not actually need to check for no submethods. Already tested for. | Jonathan Leech-Pepin | 2014-11-20 | 1 | -2/+1 | |
| | | | ||||||
| * | | Fix sx-auth--method-p to work correctly when there is no submethod | Jonathan Leech-Pepin | 2014-11-20 | 1 | -2/+4 | |
| | | | | | | | | | | | | specified. | |||||
| * | | Fix filter logic to account for alist of properties. | Jonathan Leech-Pepin | 2014-11-20 | 1 | -11/+22 | |
| | | | | | | | | | | | | | | | | | | | | | sx-auth-filter-auth now returns a filter that will not require auth for use when auth not available. Add a few known auth-required types. | |||||
| * | | Implement checking for filter and method authentication requirement. | Jonathan Leech-Pepin | 2014-11-19 | 1 | -0/+68 | |
| | | | | | | | | | | | | | | | Currently no filter items are defined pending confirmation of which require it. | |||||
* | | | Merge pull request #87 from vermiculus/dont-derive-markdown | Sean Allred | 2014-11-21 | 1 | -1/+2 | |
|\ \ \ | | | | | | | | | Don't derive from `markdown-mode` | |||||
| * | | | Patch faulty separator | Artur Malabarba | 2014-11-21 | 1 | -0/+1 | |
| | | | | ||||||
| * | | | Derive special-mode instead of markdown-mode | Artur Malabarba | 2014-11-21 | 1 | -1/+1 | |
| | |/ | |/| | | | | | | | After recent changes, markdown-mode no longer makes sense. | |||||
* | | | Merge pull request #80 from jleechpe/invalidate-cache | Artur Malabarba | 2014-11-21 | 1 | -8/+13 | |
|\ \ \ | |/ / |/| | | Fix cache invalidation to behave properly. | |||||
| * | | Merge branch 'master' into invalidate-cache | Jonathan Leech-Pepin | 2014-11-21 | 17 | -253/+667 | |
| |\ \ | |/ / |/| | | | | | | | | Conflicts: sx-cache.el - RESOLVED | |||||
* | | | Merge pull request #77 from vermiculus/documentation | Sean Allred | 2014-11-20 | 17 | -226/+522 | |
|\ \ \ | |_|/ |/| | | Documentation | |||||
| * | | Reflect new purpose of sx.org | Sean Allred | 2014-11-20 | 1 | -4/+6 | |
| | | | ||||||
| * | | GitHub comments -- #77 | Sean Allred | 2014-11-20 | 14 | -124/+54 | |
| | | | ||||||
| * | | Use `user-error' when there's no question at point | Sean Allred | 2014-11-19 | 2 | -1/+2 | |
| | | | ||||||
| * | | Follow package.el convention | Sean Allred | 2014-11-19 | 1 | -2/+2 | |
| | | | ||||||
| * | | Provide alias for `sx-auth-authenticate' | Sean Allred | 2014-11-19 | 1 | -0/+2 | |
| | | | ||||||
| * | | Enhance documentation | Sean Allred | 2014-11-19 | 3 | -5/+11 | |
| | | | ||||||
| * | | Remove -cache-p | Sean Allred | 2014-11-19 | 1 | -6/+1 | |
| | | | ||||||
| * | | Minor typos and incorrect information | Sean Allred | 2014-11-19 | 6 | -12/+7 | |
| | | | ||||||
| * | | Add `customize' data | Sean Allred | 2014-11-19 | 3 | -4/+12 | |
| | | | ||||||
| * | | Merge branch 'master' into documentation | Sean Allred | 2014-11-19 | 10 | -148/+584 | |
| |\ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | Conflicts: sx-method.el sx-question-list.el sx-question-mode.el sx-question.el sx-request.el sx.el | |||||
* | | | Fix missing dependency | Artur Malabarba | 2014-11-19 | 1 | -1/+1 | |
| | | | ||||||
* | | | Add some package definitions. | Artur Malabarba | 2014-11-19 | 1 | -12/+31 | |
| | | | | | | | | | | | | Also run checkdoc on sx.el | |||||
* | | | Merge pull request #76 from vermiculus/mark-read-key | Sean Allred | 2014-11-18 | 1 | -0/+13 | |
|\ \ \ | | | | | | | | | Mark as read with "m" | |||||
| * | | | Mark as read with "m" | Artur Malabarba | 2014-11-19 | 1 | -0/+13 | |
|/ / / | | | | | | | | | | Fixes #61 | |||||
* | | | Merge pull request #71 from vermiculus/hidden-questions | Sean Allred | 2014-11-18 | 3 | -4/+78 | |
|\ \ \ | | | | | | | | | Hidden questions | |||||
| * \ \ | Merge branch 'master' into hidden-questions | Artur Malabarba | 2014-11-18 | 2 | -57/+79 | |
| |\ \ \ | ||||||
| * | | | | Hidden question functionality implemented in the question list | Artur Malabarba | 2014-11-18 | 1 | -1/+14 | |
| | | | | | ||||||
| * | | | | Implement hidden question database | Artur Malabarba | 2014-11-18 | 1 | -3/+49 | |
| | | | | | | | | | | | | | | | | | | | | Also improve read question code. | |||||
| * | | | | Define sorted insertion macro. | Artur Malabarba | 2014-11-18 | 1 | -0/+15 | |
| | | | | | ||||||
* | | | | | Merge pull request #73 from jleechpe/invalidate-cache | Sean Allred | 2014-11-18 | 1 | -0/+25 | |
|\ \ \ \ \ | | | | | | | | | | | | | Provide cache invalidation |