48 Commits (c2e260a159cb8607b6374d51413297c109b3639b)

Author SHA1 Message Date
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
poikilos b996372fe3 add paging to labels; make output more easily parseable 5 years ago
poikilos 34a36b8b35 implement caching and check for rate limiting. 5 years ago
poikilos 6a0488f02a check if assignees list is present since sometimes assignee is not 5 years ago
poikilos 083466887b fix assignee display; triple quote the issue or comment body 5 years ago
poikilos a30a6476ad Try to decode bytes correctly 5 years ago
poikilos ce102c3c3d Allow paging with labels. 5 years ago
poikilos 667df20bbc add paging 5 years ago
poikilos 23d8f00637 Fix list feature. 5 years ago
poikilos 0ed93448cc mark script as executable 5 years ago
poikilos 946d04b339 add cli issue script 5 years ago