Toui

Latest version: v3.4.2

Safety actively analyzes 625951 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

3.5.0alpha.1

Changes include:
- Allow opening URL with different origin in `app.open_new_page()`.
- Add checkout using stripe and paypal
- Access firestore database using `app.firestore` attribute
- Add page-specific variables `app.page_vars` which stores data that is reset after the user leaves the page.
- Add `app.get_current_url()` which returns the current full URL.
- Add `app.get_query_params` which returns a dictionary of the current URL query parameters (or a different URL).
- Add more parameters in `app.redirect_response()
- Add `app.get_users_ids_from_data`.
- Add `Element.get_class_list`.
- Add `Element.add_to_class_list`
- Add `Element.remove_from_class_list`.
- Add example about creating "widgets"
- Some fixes related to signing up and signing in
- Fix `Element.from_str`
- Fix `Element.set_content` and `Element.add_content`

**Full Changelog**: https://github.com/mubarakalmehairbi/ToUI/compare/v3.4.0...v3.5.0-alpha.1

3.4.0

- Fix Google sign in
- Add `toui init --full` command, which creates a full web app template.
- Navigation bar and footer now are added to the page before the function in `on_url_request` is called.
- Fix an issue when the user signs up using their email and password then tries to sign in using google.

**Full Changelog**: https://github.com/mubarakalmehairbi/ToUI/compare/v3.2.0...v3.4.0

3.2.0

- Add `default` parameter in some methods.
- Update docs.

**Full Changelog**: https://github.com/mubarakalmehairbi/ToUI/compare/v3.1.0...v3.2.0

3.1.0

- Add `Website.redirect_response`
- Add `Page.set_footer`
- Fix `Element.get_attr` to return string instead of list when getting class
- Add html_file parameter in `set_navigation_bar`
- Add example for connecting to SQL for user data
- Returns ``False`` when `set_current_user_data` tries to set a key for a column that was not added before in a SQL database.
-
**Full Changelog**: https://github.com/mubarakalmehairbi/ToUI/compare/v3.0.4...v3.1.0

3.0.3

- Add Firebase support including user authentication,
user database, and file storage
- Add google sign in
- Rename `add_user_database` to `add_user_database_using_sql`
- Replace `get_current_user` with other methods that gets the users data: `get_current_user_data`,
`set_current_user_data`, and `get_current_user_id`.
- Add `email_exists` function.
- Add `is_signed_in` function.
- Add `RedirectingPage` for pages that are created only to redirect to another page.
- Different method for storing temporary user variables
- A method that adds navigation bar to page
- Fixes

**Full Changelog**: https://github.com/mubarakalmehairbi/ToUI/compare/v2.4.1...v3.0.3

2.4.3beta

Fix WebSockets disconnection

**Full Changelog**: https://github.com/mubarakalmehairbi/ToUI/compare/v2.4.2-beta...v2.4.3-beta

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.