60 Commits (8eea7b3ee01a7148cc97904ed0939865594dd71e)

Author SHA1 Message Date
poikilos 8eea7b3ee0 Fix a crash that prevented non-GitHub issues from being displayed. 1 year ago
poikilos 301e08e962 Account for the remote URL changing to uppercase. 1 year ago
poikilos 51a5a5b267 Check the Python version explicitly. 2 years ago
poikilos 2aaacab590 Use PEP8 more. Import print_function more. Declare encoding more. 2 years ago
poikilos e170a2b123 Rename error to echo0 and debug to echo1. Add and use main's return in many cases. Remove lint. Move TRY_SHARE_MT_DIRS from deprecated. 2 years ago
poikilos dc7efe662a Check for the --verbose (or --debug) argument early. 3 years ago
poikilos ba00d36081 Add a notice when the end is reached. 3 years ago
poikilos 8e8cdb4620 Restore python2 support by removing a non-ASCII character (Fix #571). 3 years ago
poikilos 594b01a900 Automatically get the next page if there were 0 matches by the end of the page (improves issue #570 further). 3 years ago
poikilos 08ce6649c8 Clarify output when page 1 has no issues when listing by label (Fix #570). 3 years ago
poikilos e1dd452632 (enissue.py) Fix list mode, including paging through issues or listing and paging through labels (Fix #568). 3 years ago
poikilos bc873ce58d Bring back the labels mode to list labels (Fix #569). Move the download code (now used from two places) to a new _get_url method. 3 years ago
poikilos 5386343f42 Add sanity checks and quote handling in str_to_value. Rename datetime variables for clarity. Use sites_users_repos_meta for acurrate repository_id. 3 years ago
poikilos 4e5f4d727c Add a conf file option for enissue.py. 3 years ago
poikilos b54587fe07 Move reusable functions to enissue. Reduce output of show_issue when quiet. 3 years ago
poikilos d459267ba3 Load subcomponents of issues. 3 years ago
poikilos ae38adb88e Handle non-standard and standard website errors better. 3 years ago
poikilos 1b335d6307 Store last_src for reporting and detecting whether cache or url was loaded. Outline code for using a token. Improve documentation. Handle options and usage more predictably. 3 years ago
poikilos 4096b5cab1 Get issues until you can't. Further improve reporting and documentation. 3 years ago
poikilos e569d6181c Translate timestamps. 3 years ago
poikilos 47e3bfbb71 Fix: Use save_option correctly. 3 years ago
poikilos e729d47735 Fix: Preserve remote_user and repo_name. Handle some known keys. 3 years ago
poikilos 8fe94c3993 Write an outline for writing issues. Always track HTTPError and trickle the error up to the caller. 3 years ago
poikilos eabd2df697 Add a flat cache directory option. Move the caches_path option to the options dict. Make the 410 error message uniform for the purpose of the caller checking for one. 3 years ago
poikilos a40fda6296 Add a never_expire option and --never-expire command. Remove deprecated code. Move --refresh to the managed option list. 3 years ago
poikilos 36e3a2a339 Indent labels. Clarify max_issue message and only show it if verbose. 3 years ago
poikilos 385549996b Prevent a bad query where state is None. Make tests failures more clear. Clarify on-screen instructions for list mode. 3 years ago
poikilos 7629a07180 Fix use of save_option (initialize it first). Place labels at the end. Add tests. Only show command metadata if verbose. 3 years ago
poikilos 959dcfd2a5 Add comments. Store deprecated code. 3 years ago
poikilos 661d7934e8 Generate the comments URL when not specified by the response. 3 years ago
poikilos d29016227a Move API description to metadata to deprecate GiteaRepo subclass. 3 years ago
poikilos ed9806b2b0 Add Repo subclass GiteaRepo. Always collect and use the instance_url for cross-api compatibility. 3 years ago
poikilos 9e217fbc60 Use getCachedJsonDict for show_issue, and only even try if refresh is True. Return _get_issues errors for the consumer to handle and show. 3 years ago
poikilos f82bfe390f Allow setting the base caches directory. 3 years ago
poikilos a2526d6e67 Fix: convert cached non-list to list not just non-cached list. Fix: Correctly add the find options to the cached filename (not label since the program itself filters by label not the API query). 3 years ago
poikilos dc84ffb88f Cache individual issues and each per-issue timeline. 3 years ago
poikilos f4e7646f4d Implement new commands: find, AND (and cache such pages separately). 3 years ago
poikilos 049a353fbb Show reactions to events. 3 years ago
poikilos f136354107 Improve python2 support. 3 years ago
poikilos 84a2363842 Improve the error function. Remove the redundant emeralds mod. Improve the error function. 3 years ago
poikilos 083b3f46e1 Add debug and verbose output. Indent Query URL. 3 years ago
poikilos ef799ffca2 Implement the --refresh option. Add the missing error function. Move a print statement to a new verbose mode. 3 years ago
poikilos cecebacc9a Rename match_number to issue_no for consistency. 3 years ago
poikilos a99b560b0c Fix bug with missing parent directory of a temp subdirectory. 3 years ago
poikilos dfdf2cc2bb show labeled and unlabeled events. Allow forcing ignore (check ignored list first). 3 years ago
poikilos acf3403fb8 Show the timeline feed rather than the comments feed to show cross-referenced, reopened, etc. 3 years ago
poikilos d7828111ca Allow viewing by issue number even if unlisted (resolves #466). 3 years ago
poikilos dc76e2a9bd Move code into a class. Rename p to self.log_prefix. Move matching_issue_labels to issue['lower_labels']. Rename cmd to mode. 3 years ago
poikilos 1ffae48821 Don't use body when it is None. 3 years ago
poikilos 668dda4e16 Conform EnlivenMinetest scripts to PEP8 fully. 5 years ago