Commit Graph

84 Commits

Author SHA1 Message Date
Jaume Delclòs Coll 729e5268e4 don't use "is" to compare string literals 2020-10-25 02:09:29 +02:00
Akronymus 979c925234
Error handling when getch() throws an error
Currently untested, but should work well enough. Doing this as an reference implementation.
2020-09-15 19:45:54 +02:00
Marcos Marado 2b9cc31b17 Added info about where the readme actually is
The help menu points out to the readme for more info, but, in cases
where people are using this because it is installed on their server, but
they weren't the ones getting it from the web, they probably don't know
where to find that README. It might not happen to many people, but it
happened to me :-)

This patch just adds another line, with the URL for the README.
2020-04-02 00:03:05 +01:00
Jake Funke a38c64914f clarify growth rate 2019-08-26 16:34:08 +00:00
Jake Funke 9d7c5966d3 cleanup comments 2019-08-16 17:25:45 +00:00
Jake Funke 9bb1f74f74 fix harvest numeric input bug 2019-08-16 17:21:40 +00:00
Jake Funke 8fd35a5927 logic tweak 2019-02-28 00:41:15 +00:00
Jake Funke 300b9e8d00 Added alpine-like q to quit 2018-12-13 22:54:57 +00:00
Netscape Navigator 7fcfedade0 Better strategy for truncating long usernames. 2018-11-24 22:47:28 -06:00
Netscape Navigator 056df53b47 Revert previous changes. NEXT: draw_info_text stuff. 2018-11-24 22:34:04 -06:00
Netscape Navigator 6ceffd9098 Limit length of longer usernames 2018-11-20 20:43:48 -06:00
Jake Funke c5e0bbaef8 allow underscore in names 2018-11-14 23:24:34 +00:00
Jake Funke 2212596e5e halloween feature and death check fix 2018-10-03 18:53:49 +00:00
Jake Funke 6f7cddd5bb tweaks 2018-08-27 21:01:46 +00:00
Ensis 2619bd87bb Prevent infinite loops when piping to botany 2018-07-03 14:18:09 +02:00
Jake Funke 0f78cf20d3 fixed permissions bug 2018-06-19 23:58:51 +00:00
Jake Funke a23656b1be
Merge pull request #18 from Ensiss/login-autocomplete
Add autocompletion for logins in the visit prompt
2018-06-19 16:39:14 -07:00
Jake Funke dc7eab6aa4
Merge pull request #17 from Ensiss/thread-safe
Fix race conditions messing up the display
2018-06-19 16:36:24 -07:00
Jake Funke f3a5459ef7 menu range fix 2018-06-18 18:16:05 +00:00
Jake Funke f758b8bbbf Merge branch 'master' of https://github.com/jifunks/botany 2018-06-13 00:07:13 +00:00
Jake Funke 2eb347e11b garden bar text 2018-06-13 00:06:57 +00:00
Ensis 8616904350 Add autocompletion for logins in the visit prompt 2018-06-10 12:05:17 +02:00
Ensis 8e18ecbee6 Fix race conditions messing up the display 2018-06-07 11:09:29 +02:00
Ensis 5288ead6b6 Fix sort by age 2018-06-06 22:34:30 +02:00
Ensis 454cccec26 Add user control on the garden screen 2018-06-06 17:25:28 +02:00
Ensis 780ee0f5bb Prevent overflow on small terminals and show garden scores as ints 2018-06-06 11:01:29 +02:00
Ensis e005c5f207 Show ascii art of visited plants 2018-06-05 14:38:11 +02:00
Jake Funke 57203b21f4 tweak for score display 2018-06-05 00:19:47 +00:00
troido 6c72cc3d39 properly clean up after crash
put cleanup in finally block so it happens no matter the crash
this should prevend scrambled lines all over the terminal
2018-05-23 21:45:51 +02:00
troido 484981f5de don't try to use colours if unsupported 2018-05-23 21:03:20 +02:00
Jake Funke 09b18e862d updated todos 2018-05-21 18:00:53 +00:00
Jake Funke 130b04e21b Correct water bar position 2018-04-24 17:47:19 +00:00
Jake Funke 864a33215a Update instructions 2018-03-14 21:42:10 +00:00
Jake Funke b9ef7c31bb Block user from visiting self, fix guest watering bug 2018-03-12 14:35:42 -07:00
Jake Funke e6e8778dfb fixed art bug and update readme 2018-03-11 16:36:55 -07:00
Jake Funke f716b4ab96 added unix backspace 2018-03-11 15:10:07 -07:00
Jake Funke eed6e61199 Cleanup and revisions 2018-03-11 14:30:10 -07:00
Jake Funke 2644370a40 Removed debugging and added clear weekly users cronjob 2018-03-11 14:23:00 -07:00
Jake Funke d22b7d4b33 Weekly visits now held in db 2018-03-11 13:46:45 -07:00
Jake Funke 105a95f92e visitor queue handled 2018-03-07 23:31:00 -08:00
Jake Funke 55ce486dee Can check visitors now 2018-03-07 23:07:32 -08:00
Jake Funke 539c162bb7 Add pachypodium 2018-03-06 17:40:07 -08:00
Jake Funke 0665ba3506 water handling 2018-03-02 21:20:29 -08:00
Jake Funke fba9bacf07 Update data structures 2017-09-21 14:29:11 -07:00
Jake Funke e20a219cf6 Merge branch 'master' of https://github.com/jifunks/botany 2017-07-19 19:11:06 +00:00
Jake Funke 2696a9d61d Decrease mutation rarity and reformat garden printing 2017-07-19 19:10:55 +00:00
jmdejong f385b5601b Ignore curs_set(0) error
~sui has mentioned that botany always crashes for him with the stack trace:  
    Traceback (most recent call last):   File "/home/curiouser/botany/botany.py", line 543, in <module>     botany_menu == CursedMenu(my_plant,my_data)   File "/home/curiouser/botany/menu_screen.py", line 19, in __init__     curses.curs_set(0) _curses.error: curs_set() returned ERR

According to the docs, an error will be returned when the terminal does not support the visibility requested.
Appearently hiding the cursor is not supported in ~sui's terminal (cmder).

To keep botany as accesible as possible I suggest to ignore this error
2017-05-28 21:44:08 +02:00
Jake Funke 3fe1a8283c Plant death is now sadder 2017-05-22 19:06:57 +00:00
Jake Funke b3aef701f5 Update harvest confirmation 2017-05-09 19:32:08 +00:00
Jake Funke 7c2282df5d Correct growth rate display 2017-05-03 23:43:58 +00:00