Commit Graph

1656 Commits

Author SHA1 Message Date
John Helmert
491e652470 Encapsulate config constants in Config class 2019-07-01 19:10:18 -05:00
John Helmert
17a17f12d5 Fix and split clipboard tests into *nix and Darwin 2019-06-29 21:33:04 -05:00
John Helmert
54c4e5866d Gitignore htmlcov 2019-06-29 20:19:05 -05:00
John Helmert
9dbd0549f9 Fix tests in test_object that failed with pytest-5 2019-06-29 19:26:16 -05:00
John Helmert
c5f1500ffb Fix tests for modifications made last commit
SubredditContent now has a constructor that uses a config object, this
simply fixes all the constructions of SubredditContent that caused
errors.
2019-06-29 17:02:16 -05:00
John Helmert
6508131212 Implement compact look and feel.
This comes with the addition of adding a reference to the config in
SubredditPage objects, which breaks a lot of tests. Thoroughly discussed
in #3.
2019-06-28 17:24:26 -05:00
John Helmert
d793781089 Minor formatting cleanup in mime_parsers.py 2019-06-18 14:46:58 -05:00
John Helmert III
ceb864825b Merge branch 'Twitch' into 'master'
add Twitch mime parser

See merge request ajak/tuir!1
2019-06-18 19:40:45 +00:00
geeseven
9a8f717b37 add Twitch mime parser 2019-06-18 18:56:33 +00:00
John Helmert
1784f10d0b Version bump 2019-06-12 21:26:14 -05:00
John Helmert
4f37dd1710 Add full test coverage for Content.humanize_timestamp 2019-06-12 21:00:02 -05:00
John Helmert
c30e2559f7 Add test for OSX copy() to clipboard 2019-06-12 19:49:05 -05:00
John Helmert
7670c47d3f Adjust issue templates to Gitlab syntax 2019-06-12 18:49:10 -05:00
John Helmert
10612dfe6e Remove old templates from Git 2019-06-12 16:00:55 -05:00
John Helmert
3d874e5c6d Remove spaces from Bug Report/Feature Request names 2019-06-12 15:25:27 -05:00
John Helmert
16b691f4f3 Add Repology badge 2019-06-12 12:22:40 -05:00
John Helmert
8d79534496 Attempt to fix Github issue templates for Gitlab 2019-06-12 12:13:42 -05:00
John Helmert
734bd81b5f Add PyPi, gitlab-ci, and code test coverage badges 2019-06-12 12:09:16 -05:00
John Helmert
0a5bfe2d0e Add code coverage testing to gitlab-ci 2019-06-12 11:53:36 -05:00
John Helmert
db0be46523 Add 'Migration from RTV' section to README 2019-06-11 20:52:03 -05:00
John Helmert
29461f5f88 Migrate Imgur API key to new one generated for TUIR 2019-06-10 11:08:51 -05:00
John Helmert
337180c2c8 Version bump - hotfix 2019-06-09 22:15:33 -05:00
John Helmert
52061c14ac Update gitlab-ci to run a python2 test 2019-06-09 21:51:32 -05:00
John Helmert
7c51032acd Revert "Replace deprecated ConfigParser method"
This reverts commit de1d06e33c. It breaks
running with python2.7
2019-06-09 21:44:08 -05:00
John Helmert
3cd9b2db46 Version bump 2019-06-09 21:38:50 -05:00
John Helmert
5f7b8bc309 Comment out out-of-date README information
This includes Alex Jarmoszuk's telnet/ssh RTV test, as TUIR is not RTV;
and the package manager installation section, as TUIR is not in any
distribution repositories.
2019-06-09 21:30:30 -05:00
John Helmert
304096f8d8 Revert to old clipboard default xclip command 2019-06-09 21:24:16 -05:00
John Helmert
942e651654 Update test cassette User-Agents to tuir 2019-06-09 21:00:09 -05:00
John Helmert
0b5657d76d Add basic Gitlab CI file 2019-06-09 20:21:02 -05:00
John Helmert
7e9455b4ca Rename rtv to tuir 2019-06-09 19:31:35 -05:00
John Helmert
481780fffa Merge branch 'dev' 2019-06-09 12:31:17 -05:00
John Helmert
1c0afc8a55 More adjustments for new maintainership 2019-06-09 11:05:37 -05:00
John Helmert
7423a43e50 Make the clipboard command user-configurable
Add config item clipboard_cmd, with a default of 'pbcopy w' on Darwin
and 'xclip' on everything else. This will allow the user to use any
command for the clipboard, including 'wl-copy' for Wayland (addressing
issue #693 on Github). With his change, significant simplifications
could be made to clipboard.py - the copy_*() functions have been removed
and combined into copy().

With this simplification, the old OSX test is obsolete, and new OSX
tests are needed (need a way to simulate sys.platform).
2019-06-08 15:18:15 -05:00
John Helmert
e545c7052c Fix Github issue #695
Caused by Page.move_to_bottom() setting self.nav.page_index to -1, only
possible when there are no comments on a submission, but which also
caused a crash when rendering.
2019-06-07 11:39:09 -05:00
John Helmert
0947e47c57 Make Github issue template things Gitlab-friendly 2019-06-06 20:09:56 -05:00
John Helmert
de1d06e33c Replace deprecated ConfigParser method
ConfigParser.readfp() -> ConfigParser.read_file()
2019-06-06 19:32:46 -05:00
John Helmert
04693560f5 Update readme for new maintainer 2019-06-06 19:22:52 -05:00
Michael Lazar
7923890fb3 upping version 2019-06-02 21:07:28 -04:00
Michael Lazar
5e6b4192d5 Update README.md 2019-06-02 21:06:52 -04:00
Michael Lazar
ccef2af042 Merge pull request #681 from MarkusPettersson98/fix-typo
Fixed small typo
2019-04-25 18:52:02 -04:00
Markus Pettersson
b44546ba10 Fixed unicode arrows pointing in the wrong direction 2019-04-25 23:36:02 +02:00
Markus Pettersson
882ac3ce32 Fixed small typo
Fixed small typo in help page regarding vim style movement
2019-04-25 22:43:32 +02:00
Michael Lazar
96e8ce2d42 Merge pull request #674 from pabloariasal/open_links_in_new_window
Add option to force opening links in new browser window
2019-04-22 10:20:23 -04:00
Pablo Arias
d4a7499018 Enforcing new browser window option also for non-graphical browsers 2019-04-17 22:36:28 +02:00
Pablo Arias
9e6b4e50aa Move force_new_browser_window option to the main options 2019-04-17 22:35:43 +02:00
Michael Lazar
e16f76da5f Merge pull request #675 from mattydebie/make-feh-fit-to-window
Make sure feh scales the image to fit the window
2019-04-17 10:13:03 -04:00
Matthias De Bie
2bf1a822d3 Make sure feh scales the image to fit the window 2019-04-17 08:58:54 +02:00
Pablo Arias
5f8afabc54 Add option to force opening links in new browser window 2019-04-14 19:05:18 +02:00
Michael Lazar
911e866478 Update README.md 2019-04-11 19:32:44 -04:00
Michael Lazar
2eba723b07 Update README.md 2019-04-11 17:51:31 -04:00