* Began the fax
* Bumped ruff
* Fixed a BUNCH of ruff errors
* Fixed a lot of ruff errors
* Simplify if statements
* Fixed black
* Updated some stuff
* Updated some stuff
* A lot more ruff fixes
* Added a fix
* Added a fix
* Fixed mypy
* Fixed some stuff
* Reverted one thing
* Small fix
* Small fix
* Small fix
* Added fix
* Added fix
* Update requirements
* check that routine title is valid
* more updates
* small fixes
* override local routine
* more improvements to routine logic
* --debug runs .dev
* few more updates
* small fix
* rename BASE_URL from ultima to ULTIMA_BASE_URL
* use debug from dataclasses instead of env since env doesn't get updated
* create --dev flag that can point to .dev backend
* merge conflits
* few changes, made it actually work 🤣
---------
Co-authored-by: tehcoderer <me@tehcoderer.com>
* no guest if installer
* prevent guest if logout from account
* this not true
* rename reloop var
* ask for email again if no email
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* keep session alive on reset
* remove print
* silence routines
* ruff
* skip login if is papermill
* ruff
* move is_papermill to avoid prompt_toolkit warning fd is not a terminal
* move is_papermill back and check for atty instead
* only download routines and update sources if terminal
* only starts prompt toolkit if isatty
* black
* avoid duplicate files after reset/login
* remove hub routines on reset
* comment
* fix unittest
* forgot this debugging prints
* add remember attribute to user
* don't save hist if not remember
* remove routines on exit if not remember
* fix unittests
* remove hub routines on exit
* check if user is local first
* remove hist file on exit if not remember
* comma
* Fix `exe --file` choices on login (#4799)
* download and save routines in sync, to have choices immediatly available
* fix: docs min
---------
Co-authored-by: jose-donato <zmcdonato@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
---------
Co-authored-by: jose-donato <zmcdonato@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* make default routines available
* remove unecessary change
* user to personal
* rename some funcs
* add last update to tables
* add routines download on login
* move some routines funcs to controller
* fix tests
* add space
* wrap some funcs inside try, except
* fix account test
* suppress outputs
* rewrite docstring
* remove circular import
* reverse order
* update docstring
* allow exe with spaces in file name
* fix exe with input
* Update terminal_controller.py
* fix regex for file extensions
* pylint
* put default routines url inside constants
---------
Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* move update flair
* sort repr
* remove packaged sys model var
* update decorator for check api key
* ruff
* change if stat
* ruff
* no need for new var
* pylint
* fix show version
* update login prompt and account
* update set preference
* fix account controller
* block login/logout if not called from account
* change conditions to start terminal
* fix required args account model
* add not to login command
* pylint
* accounte controller messages
* set default user when logout
* logout then show menu
* remove unused functions
* fix logging bug
* ruff
* fix account unittests
* fix session unittests
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>